name
name: (LayoutRoom) -> stringThe constant's name as declared.
LayoutRoom.valueOf(…)
LayoutRoom.START
LayoutRoom.END| Method | Returns | Description |
|---|---|---|
name() | string | The constant's name as declared. |
ordinal() | number | The constant's 0-based position in values(). |
toString() | string | name(); tostring(c) answers the same. |
compareTo(LayoutRoom) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
values() | {LayoutRoom} | Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it. |
valueOf(string) | LayoutRoom | valueOf(name): the constant named name; any other name is an error. |
| Field | Type | Description |
|---|---|---|
START | LayoutRoom | START: ordinal 0. |
END | LayoutRoom | END: ordinal 1. |
SCAVENGERS | LayoutRoom | SCAVENGERS: ordinal 2. |
FARMING | LayoutRoom | FARMING: ordinal 3. |
EMPTY | LayoutRoom | EMPTY: ordinal 4. |
TEKTON | LayoutRoom | TEKTON: ordinal 5. |
MUTTADILES | LayoutRoom | MUTTADILES: ordinal 6. |
GUARDIANS | LayoutRoom | GUARDIANS: ordinal 7. |
VESPULA | LayoutRoom | VESPULA: ordinal 8. |
SHAMANS | LayoutRoom | SHAMANS: ordinal 9. |
VASA | LayoutRoom | VASA: ordinal 10. |
VANGUARDS | LayoutRoom | VANGUARDS: ordinal 11. |
MYSTICS | LayoutRoom | MYSTICS: ordinal 12. |
UNKNOWN_COMBAT | LayoutRoom | UNKNOWN_COMBAT: ordinal 13. |
CRABS | LayoutRoom | CRABS: ordinal 14. |
ICE_DEMON | LayoutRoom | ICE_DEMON: ordinal 15. |
TIGHTROPE | LayoutRoom | TIGHTROPE: ordinal 16. |
THIEVING | LayoutRoom | THIEVING: ordinal 17. |
UNKNOWN_PUZZLE | LayoutRoom | UNKNOWN_PUZZLE: ordinal 18. |
| Method | Returns | Description |
|---|---|---|
ChatApi.getLayoutAsync | {LayoutRoom}? | The raid layout, nil until fetched. |
LayoutRoomClass.valueOf | LayoutRoom | valueOf(name): the constant named name; any other name is an error. |
LayoutRoomClass.values | {LayoutRoom} | Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it. |
namename: (LayoutRoom) -> stringThe constant's name as declared.
ordinalordinal: (LayoutRoom) -> numberThe constant's 0-based position in values().
toStringtoString: (LayoutRoom) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (LayoutRoom, LayoutRoom) -> numberThis ordinal less other's.
equalsequals: (LayoutRoom, any) -> booleanWhether other is this constant. == answers the same.
valuesvalues: () -> {LayoutRoom}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOfvalueOf: (string) -> LayoutRoomvalueOf(name): the constant named name; any other name is an error.