name
name: (InstanceTemplates) -> stringThe constant's name as declared.
InstanceTemplates.valueOf(…)
InstanceTemplates.findMatch(…)
InstanceTemplates.RAIDS_LOBBY| 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(InstanceTemplates) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
getBaseX() | number | This constant's getBaseX() value, listed on each constant. |
getBaseY() | number | This constant's getBaseY() value, listed on each constant. |
getHeight() | number | This constant's getHeight() value, listed on each constant. |
getPlane() | number | This constant's getPlane() value, listed on each constant. |
getWidth() | number | This constant's getWidth() value, listed on each constant. |
values() | {InstanceTemplates} | 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) | InstanceTemplates | valueOf(name): the constant named name; any other name is an error. |
findMatch(number) | InstanceTemplates? | The first template, in declaration order, whose area holds the template chunk an instance chunk entry points at, or nil. |
| Field | Type | Description |
|---|---|---|
RAIDS_LOBBY | InstanceTemplates | RAIDS_LOBBY: ordinal 0; getBaseX() 3264, getBaseY() 5184, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_START | InstanceTemplates | RAIDS_START: ordinal 1; getBaseX() 3264, getBaseY() 5696, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_END | InstanceTemplates | RAIDS_END: ordinal 2; getBaseX() 3264, getBaseY() 5152, getHeight() 32, getPlane() 0, getWidth() 64. |
RAIDS_SCAVENGERS | InstanceTemplates | RAIDS_SCAVENGERS: ordinal 3; getBaseX() 3264, getBaseY() 5216, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_SHAMANS | InstanceTemplates | RAIDS_SHAMANS: ordinal 4; getBaseX() 3264, getBaseY() 5248, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_VASA | InstanceTemplates | RAIDS_VASA: ordinal 5; getBaseX() 3264, getBaseY() 5280, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_VANGUARDS | InstanceTemplates | RAIDS_VANGUARDS: ordinal 6; getBaseX() 3264, getBaseY() 5312, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_ICE_DEMON | InstanceTemplates | RAIDS_ICE_DEMON: ordinal 7; getBaseX() 3264, getBaseY() 5344, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_THIEVING | InstanceTemplates | RAIDS_THIEVING: ordinal 8; getBaseX() 3264, getBaseY() 5376, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_FARMING | InstanceTemplates | RAIDS_FARMING: ordinal 9; getBaseX() 3264, getBaseY() 5440, getHeight() 32, getPlane() 0, getWidth() 96. |
RAIDS_SCAVENGERS2 | InstanceTemplates | RAIDS_SCAVENGERS2: ordinal 10; getBaseX() 3264, getBaseY() 5216, getHeight() 32, getPlane() 1, getWidth() 96. |
RAIDS_MUTTADILES | InstanceTemplates | RAIDS_MUTTADILES: ordinal 11; getBaseX() 3264, getBaseY() 5312, getHeight() 32, getPlane() 1, getWidth() 96. |
RAIDS_MYSTICS | InstanceTemplates | RAIDS_MYSTICS: ordinal 12; getBaseX() 3264, getBaseY() 5248, getHeight() 32, getPlane() 1, getWidth() 96. |
RAIDS_TEKTON | InstanceTemplates | RAIDS_TEKTON: ordinal 13; getBaseX() 3264, getBaseY() 5280, getHeight() 32, getPlane() 1, getWidth() 96. |
RAIDS_TIGHTROPE | InstanceTemplates | RAIDS_TIGHTROPE: ordinal 14; getBaseX() 3264, getBaseY() 5344, getHeight() 32, getPlane() 1, getWidth() 96. |
RAIDS_FARMING2 | InstanceTemplates | RAIDS_FARMING2: ordinal 15; getBaseX() 3264, getBaseY() 5440, getHeight() 32, getPlane() 1, getWidth() 96. |
RAIDS_GUARDIANS | InstanceTemplates | RAIDS_GUARDIANS: ordinal 16; getBaseX() 3264, getBaseY() 5248, getHeight() 32, getPlane() 2, getWidth() 96. |
RAIDS_VESPULA | InstanceTemplates | RAIDS_VESPULA: ordinal 17; getBaseX() 3264, getBaseY() 5280, getHeight() 32, getPlane() 2, getWidth() 96. |
RAIDS_CRABS | InstanceTemplates | RAIDS_CRABS: ordinal 18; getBaseX() 3264, getBaseY() 5344, getHeight() 32, getPlane() 2, getWidth() 96. |
| Method | Returns | Description |
|---|---|---|
InstanceTemplatesClass.findMatch | InstanceTemplates? | The first template, in declaration order, whose area holds the template chunk an instance chunk entry points at, or nil. |
InstanceTemplatesClass.valueOf | InstanceTemplates | valueOf(name): the constant named name; any other name is an error. |
InstanceTemplatesClass.values | {InstanceTemplates} | 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: (InstanceTemplates) -> stringThe constant's name as declared.
ordinalordinal: (InstanceTemplates) -> numberThe constant's 0-based position in values().
toStringtoString: (InstanceTemplates) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (InstanceTemplates, InstanceTemplates) -> numberThis ordinal less other's.
equalsequals: (InstanceTemplates, any) -> booleanWhether other is this constant. == answers the same.
getBaseXgetBaseX: (InstanceTemplates) -> numberThis constant's getBaseX() value, listed on each constant.
getBaseYgetBaseY: (InstanceTemplates) -> numberThis constant's getBaseY() value, listed on each constant.
getHeightgetHeight: (InstanceTemplates) -> numberThis constant's getHeight() value, listed on each constant.
getPlanegetPlane: (InstanceTemplates) -> numberThis constant's getPlane() value, listed on each constant.
getWidthgetWidth: (InstanceTemplates) -> numberThis constant's getWidth() value, listed on each constant.
valuesvalues: () -> {InstanceTemplates}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) -> InstanceTemplatesvalueOf(name): the constant named name; any other name is an error.
findMatchfindMatch: (number) -> InstanceTemplates?The first template, in declaration order, whose area holds the template chunk an instance chunk entry points at, or nil.