声明
event OnDropConsumable(consumableID ItemIDType, item entity<Entity>)
go
参数
名称 | 类型 | 描述 |
---|---|---|
道具ID | ItemGoodsIDType | 物品类型 |
实体 | Entity | 物品实体,可能为空 |
在玩家丢弃武器以外的物品时触发
event OnDropConsumable(consumableID ItemIDType, item entity<Entity>)
go
名称 | 类型 | 描述 |
---|---|---|
道具ID | ItemGoodsIDType | 物品类型 |
实体 | Entity | 物品实体,可能为空 |