Exemple #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);
         }
     }
 }
Exemple #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);
                }
            }
        }