InstanceTemplates

Methods
13
Fields
19

Getting one

InstanceTemplates.valueOf(…)
InstanceTemplates.findMatch(…)
InstanceTemplates.RAIDS_LOBBY

Methods

MethodReturnsDescription
name()stringThe constant's name as declared.
ordinal()numberThe constant's 0-based position in values().
toString()stringname(); tostring(c) answers the same.
compareTo(InstanceTemplates)numberThis ordinal less other's.
equals(any)booleanWhether other is this constant. == answers the same.
getBaseX()numberThis constant's getBaseX() value, listed on each constant.
getBaseY()numberThis constant's getBaseY() value, listed on each constant.
getHeight()numberThis constant's getHeight() value, listed on each constant.
getPlane()numberThis constant's getPlane() value, listed on each constant.
getWidth()numberThis 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)InstanceTemplatesvalueOf(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.

Fields

FieldTypeDescription
RAIDS_LOBBYInstanceTemplatesRAIDS_LOBBY: ordinal 0; getBaseX() 3264, getBaseY() 5184, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_STARTInstanceTemplatesRAIDS_START: ordinal 1; getBaseX() 3264, getBaseY() 5696, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_ENDInstanceTemplatesRAIDS_END: ordinal 2; getBaseX() 3264, getBaseY() 5152, getHeight() 32, getPlane() 0, getWidth() 64.
RAIDS_SCAVENGERSInstanceTemplatesRAIDS_SCAVENGERS: ordinal 3; getBaseX() 3264, getBaseY() 5216, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_SHAMANSInstanceTemplatesRAIDS_SHAMANS: ordinal 4; getBaseX() 3264, getBaseY() 5248, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_VASAInstanceTemplatesRAIDS_VASA: ordinal 5; getBaseX() 3264, getBaseY() 5280, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_VANGUARDSInstanceTemplatesRAIDS_VANGUARDS: ordinal 6; getBaseX() 3264, getBaseY() 5312, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_ICE_DEMONInstanceTemplatesRAIDS_ICE_DEMON: ordinal 7; getBaseX() 3264, getBaseY() 5344, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_THIEVINGInstanceTemplatesRAIDS_THIEVING: ordinal 8; getBaseX() 3264, getBaseY() 5376, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_FARMINGInstanceTemplatesRAIDS_FARMING: ordinal 9; getBaseX() 3264, getBaseY() 5440, getHeight() 32, getPlane() 0, getWidth() 96.
RAIDS_SCAVENGERS2InstanceTemplatesRAIDS_SCAVENGERS2: ordinal 10; getBaseX() 3264, getBaseY() 5216, getHeight() 32, getPlane() 1, getWidth() 96.
RAIDS_MUTTADILESInstanceTemplatesRAIDS_MUTTADILES: ordinal 11; getBaseX() 3264, getBaseY() 5312, getHeight() 32, getPlane() 1, getWidth() 96.
RAIDS_MYSTICSInstanceTemplatesRAIDS_MYSTICS: ordinal 12; getBaseX() 3264, getBaseY() 5248, getHeight() 32, getPlane() 1, getWidth() 96.
RAIDS_TEKTONInstanceTemplatesRAIDS_TEKTON: ordinal 13; getBaseX() 3264, getBaseY() 5280, getHeight() 32, getPlane() 1, getWidth() 96.
RAIDS_TIGHTROPEInstanceTemplatesRAIDS_TIGHTROPE: ordinal 14; getBaseX() 3264, getBaseY() 5344, getHeight() 32, getPlane() 1, getWidth() 96.
RAIDS_FARMING2InstanceTemplatesRAIDS_FARMING2: ordinal 15; getBaseX() 3264, getBaseY() 5440, getHeight() 32, getPlane() 1, getWidth() 96.
RAIDS_GUARDIANSInstanceTemplatesRAIDS_GUARDIANS: ordinal 16; getBaseX() 3264, getBaseY() 5248, getHeight() 32, getPlane() 2, getWidth() 96.
RAIDS_VESPULAInstanceTemplatesRAIDS_VESPULA: ordinal 17; getBaseX() 3264, getBaseY() 5280, getHeight() 32, getPlane() 2, getWidth() 96.
RAIDS_CRABSInstanceTemplatesRAIDS_CRABS: ordinal 18; getBaseX() 3264, getBaseY() 5344, getHeight() 32, getPlane() 2, getWidth() 96.

Returned by

MethodReturnsDescription
InstanceTemplatesClass.findMatchInstanceTemplates?The first template, in declaration order, whose area holds the template chunk an instance chunk entry points at, or nil.
InstanceTemplatesClass.valueOfInstanceTemplatesvalueOf(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.

Method details

values

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.

findMatch

findMatch: (number) -> InstanceTemplates?

The first template, in declaration order, whose area holds the template chunk an instance chunk entry points at, or nil.