import { InventoryCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/mod.ts";
Constructors
new
InventoryCallbacks(inventoryController: InventoryController, questController: QuestController)Properties
protected
inventoryController: InventoryControllerprotected
questController: QuestControllerMethods
bindItem(): IItemEventRouterResponse
pmcData: IPmcData,
body: IInventoryBindRequestData,
sessionID: string,
output: IItemEventRouterResponse,
createMapMarker(): IItemEventRouterResponse
deleteMapMarker(): IItemEventRouterResponse
editMapMarker(): IItemEventRouterResponse
examineItem(): IItemEventRouterResponse
pmcData: IPmcData,
body: IInventoryExamineRequestData,
sessionID: string,
output: IItemEventRouterResponse,
failQuest(): IItemEventRouterResponse
pmcData: IPmcData,
request: IFailQuestRequestData,
sessionID: string,
output: IItemEventRouterResponse,
TODO - MOVE INTO QUEST CODE Handle game/profile/items/moving - QuestFail
mergeItem(): IItemEventRouterResponse
pmcData: IPmcData,
body: IInventoryMergeRequestData,
sessionID: string,
output: IItemEventRouterResponse,
moveItem(): IItemEventRouterResponse
pmcData: IPmcData,
body: IInventoryMoveRequestData,
sessionID: string,
output: IItemEventRouterResponse,
Handle client/game/profile/items/moving Move event
openRandomLootContainer(): IItemEventRouterResponse
Handle OpenRandomLootContainer
Handle ReadEncyclopedia
redeemProfileReward(): IItemEventRouterResponse
pmcData: IPmcData,
body: IRedeemProfileRequestData,
sessionId: string,
output: IItemEventRouterResponse,
removeItem(): IItemEventRouterResponse
pmcData: IPmcData,
body: IInventoryRemoveRequestData,
sessionID: string,
output: IItemEventRouterResponse,
Handle Remove event
sortInventory(): IItemEventRouterResponse
pmcData: IPmcData,
body: IInventorySortRequestData,
sessionID: string,
output: IItemEventRouterResponse,
Handle ApplyInventoryChanges
splitItem(): IItemEventRouterResponse
pmcData: IPmcData,
body: IInventorySplitRequestData,
sessionID: string,
output: IItemEventRouterResponse,
Handle Split event
Handle Swap
transferItem(): IItemEventRouterResponse
pmcData: IPmcData,
request: IInventoryTransferRequestData,
sessionID: string,
output: IItemEventRouterResponse,
unbindItem(): IItemEventRouterResponse
pmcData: IPmcData,
body: IInventoryBindRequestData,
sessionID: string,
output: IItemEventRouterResponse,