Class: PlayerInventoryItemChangeAfterEvent
event player inventoryBeta
包含有关玩家库存物品更改之后的事件信息。
Contains information regarding an event after a player's inventory item changes.
Properties
beforeItemStack?
readonlyoptionalbeforeItemStack?:ItemStack
Beta
之前的物品堆。
Remarks
The previous item stack.
inventoryType
readonlyinventoryType:PlayerInventoryType
Beta
库存类型。
Remarks
Inventory type.
itemStack?
readonlyoptionalitemStack?:ItemStack
Beta
新的物品堆。
Remarks
The new item stack.
player
readonlyplayer:Player
Beta
此事件的源玩家。
Remarks
Source Player for this event.
slot
readonlyslot:number
Beta
发生更改的槽位索引。
Remarks
The slot index with the change.
