1 private List<LootTableEntry> lootEntries = new List<LootTableEntry>(); 2 //The sum of all of the entries' weights 3 private int totalWeights = 0; 4 //Item weights as overall percentages 5 private List<int> weightPercentages = new List<int>(); 6 //The cumulative percentage table to check against 7 private List<int> cumulativePercentages = new List<int>();