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