private List <WeaponMetaData> GetAllWeaponData() { List <WeaponMetaData> itemList = WeaponMetaDataReader.GetItemList(); List <WeaponMetaData> list2 = new List <WeaponMetaData>(); int num = 0; int count = itemList.Count; while (num < count) { WeaponMetaData item = itemList[num]; if (!ItempediaData.IsInBlacklist(item.ID) && (item.subRarity == 0)) { list2.Add(item); } num++; } return(list2); }
private List <ItemMetaData> GetAllItemData() { List <ItemMetaData> itemList = ItemMetaDataReader.GetItemList(); List <ItemMetaData> list2 = new List <ItemMetaData>(); int num = 0; int count = itemList.Count; while (num < count) { ItemMetaData item = itemList[num]; if (!ItempediaData.IsInBlacklist(item.ID)) { list2.Add(item); } num++; } return(list2); }