Container for multiple individual LootStats (Summary)
Beispiel #1
0
        internal string GenerateOutputString()
        {
            LootTracking totalloottracker = TotalLootTracker;

            return(String.Format("Games:{0}" +
                                 "\r\nTime {3}" +
                                 "\r\nUnique Profiles:{1}" +
                                 "\r\nDeaths:{2} ({5} dph)" +
                                 "\r\nTown Runs: {13}  Items Gambled: {12}  Horadric Cache Opened: {11}" +
                                 "\r\nBounties Completed: {14}" +
                                 "\r\nRifts Completed: {15} Trials Completed: {16}" +
                                 "\r\n{4}" +
                                 "Drops Per Hour: {6} -- Looted Per Hour: {7}\r\n" + "Stash Per Hour: {8} -- Vendored Per Hour: {9} -- Salvaged Per Hour: {10}",
                                 GameCount,
                                 Profiles.Count,
                                 TotalDeaths,
                                 TotalTimeRunning.ToString(@"hh\ \h\ mm\ \m\ ss\ \s"),
                                 totalloottracker,
                                 (TotalDeaths / TotalTimeRunning.TotalHours).ToString("#.##"),
                                 (totalloottracker.GetTotalLootStatCount(LootStatTypes.Dropped) / TotalTimeRunning.TotalHours).ToString("#.##"),
                                 (totalloottracker.GetTotalLootStatCount(LootStatTypes.Looted) / TotalTimeRunning.TotalHours).ToString("#.##"),
                                 (totalloottracker.GetTotalLootStatCount(LootStatTypes.Stashed) / TotalTimeRunning.TotalHours).ToString("#.##"),
                                 (totalloottracker.GetTotalLootStatCount(LootStatTypes.Vendored) / TotalTimeRunning.TotalHours).ToString("#.##"),
                                 (totalloottracker.GetTotalLootStatCount(LootStatTypes.Salvaged) / TotalTimeRunning.TotalHours).ToString("#.##"),
                                 TotalHoradricCacheOpened, TotalItemsGambled, TotalTownRuns,
                                 BountiesCompleted, RiftBossKills, RiftTrialsCompleted));
        }
Beispiel #2
0
 public void Merge(LootTracking other)
 {
     Magical.Merge(other.Magical);
     Rare.Merge(other.Rare);
     Legendary.Merge(other.Legendary);
     Gems.Merge(other.Gems);
     Crafting.Merge(other.Crafting);
     Keys.Merge(other.Keys);
     KeyStoneFragments.Merge(other.KeyStoneFragments);
     HoradricCache.Merge(other.HoradricCache);
 }
Beispiel #3
0
        public TrackedProfile(string name)
        {
            TownRuns = 0;
            ItemsGambled = 0;
            HoradricCacheOpened = 0;
            DeathCount = 0;
            //TotalXP = 0;
            //TotalGold = 0;

            //StartingXP = FunkyGame.Hero.CurrentExp;
            //StartingGold = FunkyGame.Hero.Coinage;
            ProfileName = name;
            DateStartedProfile = DateTime.Now;
            DateStartedProfile_Real = DateTime.Now;
            LootTracker = new LootTracking();
            TotalTimeSpan = new TimeSpan();
        }
Beispiel #4
0
        public TrackedProfile(string name)
        {
            TownRuns            = 0;
            ItemsGambled        = 0;
            HoradricCacheOpened = 0;
            DeathCount          = 0;
            //TotalXP = 0;
            //TotalGold = 0;

            //StartingXP = FunkyGame.Hero.CurrentExp;
            //StartingGold = FunkyGame.Hero.Coinage;
            ProfileName             = name;
            DateStartedProfile      = DateTime.Now;
            DateStartedProfile_Real = DateTime.Now;
            LootTracker             = new LootTracking();
            TotalTimeSpan           = new TimeSpan();
        }
Beispiel #5
0
 public void Merge(LootTracking other)
 {
     Magical.Merge(other.Magical);
     Rare.Merge(other.Rare);
     Legendary.Merge(other.Legendary);
     Gems.Merge(other.Gems);
     Crafting.Merge(other.Crafting);
     Keys.Merge(other.Keys);
     KeyStoneFragments.Merge(other.KeyStoneFragments);
     HoradricCache.Merge(other.HoradricCache);
 }