static public void UpdateItemsPickedStats( GItemStats Last, GItemStats New) { Last.Total = New.Total; Last.TotalPotions = New.TotalPotions; Last.TotalGems = New.TotalGems; Last.TotalInfernalKeys = New.TotalInfernalKeys; CopyArray(Last.TotalPerQuality, New.TotalPerQuality); CopyArray(Last.TotalPerLevel, New.TotalPerLevel); CopyArray(Last.TotalPerQPerL, New.TotalPerQPerL); CopyArray(Last.PotionsPerLevel, New.PotionsPerLevel); CopyArray(Last.GemsPerType, New.GemsPerType); CopyArray(Last.GemsPerLevel, New.GemsPerLevel); CopyArray(Last.GemsPerTPerL, New.GemsPerTPerL); }
public void AddItemsPickedStats( GItemStats Last, GItemStats New) { ItemsPicked.Total += New.Total - Last.Total; ItemsPicked.TotalPotions += New.TotalPotions - Last.TotalPotions; ItemsPicked.TotalGems += New.TotalGems - Last.TotalGems; ItemsPicked.TotalInfernalKeys += New.TotalInfernalKeys - Last.TotalInfernalKeys; AddArray(ItemsPicked.TotalPerQuality, Last.TotalPerQuality, New.TotalPerQuality); AddArray(ItemsPicked.TotalPerLevel, Last.TotalPerLevel, New.TotalPerLevel); AddArray(ItemsPicked.TotalPerQPerL, Last.TotalPerQPerL, New.TotalPerQPerL); AddArray(ItemsPicked.PotionsPerLevel, Last.PotionsPerLevel, New.PotionsPerLevel); AddArray(ItemsPicked.GemsPerType, Last.GemsPerType, New.GemsPerType); AddArray(ItemsPicked.GemsPerLevel, Last.GemsPerLevel, New.GemsPerLevel); AddArray(ItemsPicked.GemsPerTPerL, Last.GemsPerTPerL, New.GemsPerTPerL); }