当丢弃道具时

物品
服务端
Both Mobile and PC
可触发:
玩家实体组件

在玩家丢弃武器以外的物品时触发

声明

event OnDropConsumable(consumableID ItemIDType, item entity<Entity>)
go

参数

名称 类型 描述
道具ID ItemGoodsIDType 物品类型
实体 Entity 物品实体,可能为空