1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-24 22:20:35 -05:00

Additional zombie stast work

This commit is contained in:
RaidMax
2024-02-11 22:10:12 -06:00
parent 122b6dc79d
commit e1461582fa
45 changed files with 7663 additions and 292 deletions

View File

@ -1,9 +1,15 @@
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Data.Models.Server;
namespace Data.Models.Zombie;
public class ZombieAggregateClientStat : ZombieClientStat
{
public long? ServerId { get; set; }
[ForeignKey(nameof(ServerId))]
public EFServer Server { get; set; }
#region Average
public double AverageKillsPerDown { get; set; }
@ -41,4 +47,8 @@ public class ZombieAggregateClientStat : ZombieClientStat
nameof(TotalRoundsPlayed),
nameof(TotalMatchesPlayed)
};
public static readonly string[] SkillKeys =
RecordsKeys.Except(new[] { nameof(TotalMatchesPlayed), nameof(TotalRoundsPlayed), nameof(AverageDowns) })
.ToArray();
}