声明
event OnAccessItem(itemID ItemIDType, item entity<Entity>)
go
参数
名称 | 类型 | 描述 |
---|---|---|
道具类型 | ItemGoodsIDType | 物品类型 |
实体 | Entity | 物品实体,可能为空 |
在获得物品时触发
event OnAccessItem(itemID ItemIDType, item entity<Entity>)
go
名称 | 类型 | 描述 |
---|---|---|
道具类型 | ItemGoodsIDType | 物品类型 |
实体 | Entity | 物品实体,可能为空 |