EventHelperGetAdventureEnterItems 方法 |
获取进入奇遇时放入的所有物品的ItemKey
命名空间: GameData.Domains.TaiwuEvent.EventHelper程序集: GameData (在 GameData.exe 中) 版本:1.0.0
语法public static List<ItemKey> GetAdventureEnterItems()
返回值
ListItemKey获取进入奇遇时使用的物品
示例
ItemKey 使用方法
获取物品品阶:sbyte grade = ItemTemplateHelper.GetGrade(itemKey.ItemType, itemKey.TemplateId);
获取物品价格:ItemTemplateHelper.GetPrice(itemKey.ItemType, itemKey.TemplateId);
查看物品是否为伏虞剑:itemKey.ItemType == ItemType.Misc 且 itemKey.TemplateId == Misc.DefKey.FuyuSwordGrip
参见