PortTaskTrigger
Varbits that track the courier task slots.
EnumRLPlugins API
public enum PortTaskTriggerValues
TASK_SLOT_0_ID, TASK_SLOT_0_TAKEN, TASK_SLOT_0_DELIVERED, TASK_SLOT_1_ID, TASK_SLOT_1_TAKEN, TASK_SLOT_1_DELIVERED, TASK_SLOT_2_ID, TASK_SLOT_2_TAKEN, TASK_SLOT_2_DELIVERED, TASK_SLOT_3_ID, TASK_SLOT_3_TAKEN, TASK_SLOT_3_DELIVERED, TASK_SLOT_4_ID, TASK_SLOT_4_TAKEN, TASK_SLOT_4_DELIVERED, LAST_CARGO_TAKEN
Members
Methods
- booleancontains(int)
Contains.
- PortTaskTriggerfromId(int)
From id.
- intgetId()
The id.
- intgetSlot()
The slot.
- PortTaskTrigger.TaskTypegetType()
The type.
- StringtoString()
A text form, for log lines.
contains(int)static
public static boolean contains(int id)Contains.
Parameters
id- Id.
fromId(int)static
public static PortTaskTrigger fromId(int id)From id.
Parameters
id- Id.
getId()
public int getId()The id.
getSlot()
public int getSlot()The slot.
getType()
public PortTaskTrigger.TaskType getType()The type.
toString()
public String toString()A text form, for log lines.
Also allowed
Every enum has these, as in plain Java.
compareTo, equals, hashCode, name, ordinal, valueOf, values