1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-26 15:13:00 -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

@ -9,7 +9,9 @@ public abstract class ZombieClientStat : DatedRecord
{
[Key]
public long ZombieClientStatId { get; set; }
[NotMapped] public override long Id => ZombieClientStatId;
public int? MatchId { get; set; }
[ForeignKey(nameof(MatchId))]
@ -17,13 +19,14 @@ public abstract class ZombieClientStat : DatedRecord
public int ClientId { get; set; }
[ForeignKey(nameof(ClientId))]
public virtual EFClient? Client { get; set; }
public virtual EFClient Client { get; set; }
public int Kills { get; set; }
public int Deaths { get; set; }
public int DamageDealt { get; set; }
public long DamageDealt { get; set; }
public int DamageReceived { get; set; }
public int Headshots { get; set; }
public int HeadshotKills { get; set; }
public int Melees { get; set; }
public int Downs { get; set; }
public int Revives { get; set; }