Constructors
constructor
- new default(game: Game): default
-
Methods
clearCacheEntry
- clearCacheEntry(referenceId: undefined | string | number): void
-
Parameters
-
referenceId: undefined | string | number
Returns void
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: default): undefined | [id: number, type: NPC, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number]
-
Returns undefined | [id: number, type: NPC, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number]
- get(thing: Referenceable): undefined | Reference<ReferenceableReferenceTypes>
-
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 | ItemTypeExtra] | [Dismantle, ItemType] | [Stat, Stat] | [Action, ActionId] | [EquipSlot, EquipType] | [Deity, Deity] | [Quality, Quality] | [Magic, MagicalPropertyIdentityHash] | [Status, StatusType] | [Damage, DamageType]
-
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>