Constructors
constructor
- new default(game: Game): default
-
Methods
create
- create(): number
-
Returns number
get
- get(thing: default): undefined | [id: number, type: Item, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number]
-
Returns undefined | [id: number, type: Item, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number]
- get(thing: default): undefined | [id: number, type: Doodad, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number]
-
Returns undefined | [id: number, type: Doodad, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number]
- get(thing: default): undefined | [id: number, type: Creature, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number]
-
Returns undefined | [id: number, type: Creature, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number]
- get(thing: Referenceable): undefined | Reference
-
Returns undefined | Reference
getReferenceType
- getReferenceType(thing: Value<IReferenceTypeMap>): ReferenceType
-
Returns ReferenceType
inspect
- inspect<REFTYPE>(reference: Reference<REFTYPE>, ...args: any[]): undefined | default<any>
-
Parameters
-
reference: Reference<REFTYPE>
-
Rest
...args: any[]
Returns undefined | default<any>
- inspect(reference: Reference, ...args: any[]): undefined | default<any>
-
Returns undefined | default<any>
reset
- reset(): void
-
Returns void
resolve
- resolve<REFTYPE>(reference?: Reference<REFTYPE>, gameIsland?: default): undefined | IReferenceTypeMap[REFTYPE]
-
- resolve(reference?: Reference, gameIsland?: default): undefined | default | default | default | default | default | default | default | default | [Skill, SkillType] | [Milestone, Milestone] | [Recipe, ItemType] | [ItemType, ItemType] | [Dismantle, ItemType] | [Stat, Stat] | [Action, ActionId] | [EquipSlot, EquipType]
-
tooltip
- tooltip(reference: Reference, initializer?: ((tooltip: default, handler: default) => any), context?: InfoProviderContext): ((tooltip: default) => Promise<void>)
-
Returns ((tooltip: default) => Promise<void>)
-
- (tooltip: default): Promise<void>
-
Returns Promise<void>
Static
getReferenceType
- getReferenceType(thing: Value<IReferenceTypeMap>): ReferenceType
-
Returns ReferenceType