name
name: (HttpWorldType) -> stringThe constant's name as declared.
HttpWorldType.valueOf(…)
HttpWorldType.MEMBERS
HttpWorldType.PVP| 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(HttpWorldType) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
getMask() | number | This constant's getMask() value, listed on each constant. |
values() | {HttpWorldType} | 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) | HttpWorldType | valueOf(name): the constant named name; any other name is an error. |
| Field | Type | Description |
|---|---|---|
MEMBERS | HttpWorldType | MEMBERS: ordinal 0; getMask() 1. |
PVP | HttpWorldType | PVP: ordinal 1; getMask() 4. |
BOUNTY | HttpWorldType | BOUNTY: ordinal 2; getMask() 32. |
PVP_ARENA | HttpWorldType | PVP_ARENA: ordinal 3; getMask() 64. |
SKILL_TOTAL | HttpWorldType | SKILL_TOTAL: ordinal 4; getMask() 128. |
QUEST_SPEEDRUNNING | HttpWorldType | QUEST_SPEEDRUNNING: ordinal 5; getMask() 256. |
HIGH_RISK | HttpWorldType | HIGH_RISK: ordinal 6; getMask() 1024. |
HARDCORE_MAIN | HttpWorldType | HARDCORE_MAIN: ordinal 7; getMask() 2048. |
LAST_MAN_STANDING | HttpWorldType | LAST_MAN_STANDING: ordinal 8; getMask() 16384. |
BETA_WORLD | HttpWorldType | BETA_WORLD: ordinal 9; getMask() 65536. |
LEGACY_ONLY | HttpWorldType | LEGACY_ONLY: ordinal 10; getMask() 4194304. |
EOC_ONLY | HttpWorldType | EOC_ONLY: ordinal 11; getMask() 8388608. |
NOSAVE_MODE | HttpWorldType | NOSAVE_MODE: ordinal 12; getMask() 33554432. |
TOURNAMENT | HttpWorldType | TOURNAMENT: ordinal 13; getMask() 67108864. |
FRESH_START_WORLD | HttpWorldType | FRESH_START_WORLD: ordinal 14; getMask() 134217728. |
DEADMAN | HttpWorldType | DEADMAN: ordinal 15; getMask() 536870912. |
SEASONAL | HttpWorldType | SEASONAL: ordinal 16; getMask() 1073741824. |
| Method | Returns | Description |
|---|---|---|
HttpWorld.getTypes | {[HttpWorldType]: boolean} | Its types, as a set. |
HttpWorldTypeClass.valueOf | HttpWorldType | valueOf(name): the constant named name; any other name is an error. |
HttpWorldTypeClass.values | {HttpWorldType} | 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: (HttpWorldType) -> stringThe constant's name as declared.
ordinalordinal: (HttpWorldType) -> numberThe constant's 0-based position in values().
toStringtoString: (HttpWorldType) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (HttpWorldType, HttpWorldType) -> numberThis ordinal less other's.
equalsequals: (HttpWorldType, any) -> booleanWhether other is this constant. == answers the same.
getMaskgetMask: (HttpWorldType) -> numberThis constant's getMask() value, listed on each constant.
valuesvalues: () -> {HttpWorldType}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) -> HttpWorldTypevalueOf(name): the constant named name; any other name is an error.