// Token: 0x06001CFC RID: 7420 RVA: 0x00087090 File Offset: 0x00085290
 private static void ProcessDeathEvents()
 {
     while (StatManager.deathEvents.Count > 0)
     {
         StatManager.DamageEvent damageEvent = StatManager.deathEvents.Dequeue();
         StatSheet statSheet  = PlayerStatsComponent.FindBodyStatSheet(damageEvent.victim);
         StatSheet statSheet2 = PlayerStatsComponent.FindBodyStatSheet(damageEvent.attacker);
         if (statSheet != null)
         {
             statSheet.PushStatValue(StatDef.totalDeaths, 1UL);
             statSheet.PushStatValue(PerBodyStatDef.deathsAs, damageEvent.victimName, 1UL);
             if (damageEvent.attackerName != null)
             {
                 statSheet.PushStatValue(PerBodyStatDef.deathsFrom, damageEvent.attackerName, 1UL);
             }
         }
         if (statSheet2 != null)
         {
             statSheet2.PushStatValue(StatDef.totalKills, 1UL);
             statSheet2.PushStatValue(PerBodyStatDef.killsAs, damageEvent.attackerName, 1UL);
             if (damageEvent.victimName != null)
             {
                 statSheet2.PushStatValue(PerBodyStatDef.killsAgainst, damageEvent.victimName, 1UL);
                 if (damageEvent.victimIsElite)
                 {
                     statSheet2.PushStatValue(PerBodyStatDef.killsAgainstElite, damageEvent.victimName, 1UL);
                 }
             }
         }
     }
 }
 // Token: 0x06001CFB RID: 7419 RVA: 0x00086FB0 File Offset: 0x000851B0
 private static void ProcessDamageEvents()
 {
     while (StatManager.damageEvents.Count > 0)
     {
         StatManager.DamageEvent damageEvent = StatManager.damageEvents.Dequeue();
         ulong     statValue  = (ulong)damageEvent.damageDealt;
         StatSheet statSheet  = PlayerStatsComponent.FindBodyStatSheet(damageEvent.victim);
         StatSheet statSheet2 = PlayerStatsComponent.FindBodyStatSheet(damageEvent.attacker);
         if (statSheet != null)
         {
             statSheet.PushStatValue(StatDef.totalDamageTaken, statValue);
             if (damageEvent.attackerName != null)
             {
                 statSheet.PushStatValue(PerBodyStatDef.damageTakenFrom, damageEvent.attackerName, statValue);
             }
             if (damageEvent.victimName != null)
             {
                 statSheet.PushStatValue(PerBodyStatDef.damageTakenAs, damageEvent.victimName, statValue);
             }
         }
         if (statSheet2 != null)
         {
             statSheet2.PushStatValue(StatDef.totalDamageDealt, statValue);
             statSheet2.PushStatValue(StatDef.highestDamageDealt, statValue);
             if (damageEvent.attackerName != null)
             {
                 statSheet2.PushStatValue(PerBodyStatDef.damageDealtAs, damageEvent.attackerName, statValue);
             }
             if (damageEvent.victimName != null)
             {
                 statSheet2.PushStatValue(PerBodyStatDef.damageDealtTo, damageEvent.victimName, statValue);
             }
         }
     }
 }