name
name: (LegacyInventoryID) -> stringThe constant's name as declared.
LegacyInventoryID.valueOf(…)
LegacyInventoryID.FISHING_TRAWLER_REWARD
LegacyInventoryID.TRADE| 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(LegacyInventoryID) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
getId() | number | This constant's getId() value, listed on each constant. |
values() | {LegacyInventoryID} | 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) | LegacyInventoryID | valueOf(name): the constant named name; any other name is an error. |
| Field | Type | Description |
|---|---|---|
FISHING_TRAWLER_REWARD | LegacyInventoryID | FISHING_TRAWLER_REWARD: ordinal 0; getId() 0. |
TRADE | LegacyInventoryID | TRADE: ordinal 1; getId() 90. |
TRADEOTHER | LegacyInventoryID | TRADEOTHER: ordinal 2; getId() 32858. |
INVENTORY | LegacyInventoryID | INVENTORY: ordinal 3; getId() 93. |
EQUIPMENT | LegacyInventoryID | EQUIPMENT: ordinal 4; getId() 94. |
BANK | LegacyInventoryID | BANK: ordinal 5; getId() 95. |
PUZZLE_BOX | LegacyInventoryID | PUZZLE_BOX: ordinal 6; getId() 140. |
BARROWS_REWARD | LegacyInventoryID | BARROWS_REWARD: ordinal 7; getId() 141. |
MONKEY_MADNESS_PUZZLE_BOX | LegacyInventoryID | MONKEY_MADNESS_PUZZLE_BOX: ordinal 8; getId() 221. |
DRIFT_NET_FISHING_REWARD | LegacyInventoryID | DRIFT_NET_FISHING_REWARD: ordinal 9; getId() 307. |
KINGDOM_OF_MISCELLANIA | LegacyInventoryID | KINGDOM_OF_MISCELLANIA: ordinal 10; getId() 390. |
CHAMBERS_OF_XERIC_CHEST | LegacyInventoryID | CHAMBERS_OF_XERIC_CHEST: ordinal 11; getId() 581. |
THEATRE_OF_BLOOD_CHEST | LegacyInventoryID | THEATRE_OF_BLOOD_CHEST: ordinal 12; getId() 612. |
SEED_VAULT | LegacyInventoryID | SEED_VAULT: ordinal 13; getId() 626. |
GROUP_STORAGE | LegacyInventoryID | GROUP_STORAGE: ordinal 14; getId() 659. |
GROUP_STORAGE_INV | LegacyInventoryID | GROUP_STORAGE_INV: ordinal 15; getId() 660. |
WILDERNESS_LOOT_CHEST | LegacyInventoryID | WILDERNESS_LOOT_CHEST: ordinal 16; getId() 797. |
TOA_REWARD_CHEST | LegacyInventoryID | TOA_REWARD_CHEST: ordinal 17; getId() 811. |
LUNAR_CHEST | LegacyInventoryID | LUNAR_CHEST: ordinal 18; getId() 847. |
FORTIS_COLOSSEUM_REWARD_CHEST | LegacyInventoryID | FORTIS_COLOSSEUM_REWARD_CHEST: ordinal 19; getId() 843. |
| Method | Returns | Description |
|---|---|---|
LegacyInventoryIDClass.valueOf | LegacyInventoryID | valueOf(name): the constant named name; any other name is an error. |
LegacyInventoryIDClass.values | {LegacyInventoryID} | 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: (LegacyInventoryID) -> stringThe constant's name as declared.
ordinalordinal: (LegacyInventoryID) -> numberThe constant's 0-based position in values().
toStringtoString: (LegacyInventoryID) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (LegacyInventoryID, LegacyInventoryID) -> numberThis ordinal less other's.
equalsequals: (LegacyInventoryID, any) -> booleanWhether other is this constant. == answers the same.
getIdgetId: (LegacyInventoryID) -> numberThis constant's getId() value, listed on each constant.
valuesvalues: () -> {LegacyInventoryID}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) -> LegacyInventoryIDvalueOf(name): the constant named name; any other name is an error.