聲明
event OnDropConsumable(consumableID ItemIDType, item entity<Entity>)
go
參數
名稱 | 類型 | 描述 |
---|---|---|
道具ID | ItemGoodsIDType | 物品類型 |
實體 | Entity | 物品實體,可能為空 |
當玩家丟棄武器以外的物品時觸發
event OnDropConsumable(consumableID ItemIDType, item entity<Entity>)
go
名稱 | 類型 | 描述 |
---|---|---|
道具ID | ItemGoodsIDType | 物品類型 |
實體 | Entity | 物品實體,可能為空 |