Exemplo n.º 1
0
 public static void LoadItemsOtb()
 {
     OtbReader reader = new OtbReader();
     foreach (var info in reader.GetAllItemInfo())
     {
         if (!itemInfoDictionary.ContainsKey(info.SpriteId))
         {
             itemInfoDictionary.Add(info.SpriteId, info);
         }
     }
 }
Exemplo n.º 2
0
        public static void LoadItemsOtb()
        {
            OtbReader reader = new OtbReader();

            foreach (var info in reader.GetAllItemInfo())
            {
                if (!itemInfoDictionary.ContainsKey(info.SpriteId))
                {
                    itemInfoDictionary.Add(info.SpriteId, info);
                }
            }
        }