Skip to content

CourierState Enum

The CourierState enum defines the different states a courier can be in during.

Enum Values

NameValueDescription
COURIER_STATE_INIT-1Initial state, used during courier initialization.
COURIER_STATE_IDLE0The courier is idle and not performing any actions.
COURIER_STATE_AT_BASE1The courier is stationary at the fountain (base).
COURIER_STATE_MOVING2The courier is moving but not currently delivering items.
COURIER_STATE_DELIVERING_ITEMS3The courier is delivering items to a player.
COURIER_STATE_RETURNING_TO_BASE4The courier is returning to the fountain (base).
COURIER_STATE_DEAD5The courier has been killed and is unavailable until respawn.
COURIER_NUM_STATES6Represents the total number of states, used for enumeration bounds.