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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user