- item(slotData?: 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];
}): default | undefined
-
Parameters
-
Optional
slotData: 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 default | undefined