- itemIs(slotData: undefined | IActionBarSlotData | Omit<IUsableActionPossibleUsing, "fromTile" | "vehicle" | "npc" | "doodad" | "item" | "creature" | "targetTile"> & {
creature?: [id: number, type: Creature, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
doodad?: [id: number, type: Doodad, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
fromTile?: number;
item?: [id: number, type: Item, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
npc?: [id: number, type: NPC, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
targetTile?: number;
vehicle?: [id: number, type: Doodad, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
}, item: default): boolean
-
Parameters
-
slotData: undefined | IActionBarSlotData | Omit<IUsableActionPossibleUsing, "fromTile" | "vehicle" | "npc" | "doodad" | "item" | "creature" | "targetTile"> & {
creature?: [id: number, type: Creature, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
doodad?: [id: number, type: Doodad, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
fromTile?: number;
item?: [id: number, type: Item, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
npc?: [id: number, type: NPC, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
targetTile?: number;
vehicle?: [id: number, type: Doodad, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
}
-
Returns boolean