Class GameRecord
- Namespace
- Uncreated.Warfare.Models.GameData
- Assembly
- Uncreated.Warfare.dll
[Table("stats_games")]
public class GameRecord
- Inheritance
-
GameRecord
- Inherited Members
-
Properties
EndTimestamp
public DateTimeOffset? EndTimestamp { get; set; }
Property Value
- DateTimeOffset?
GameId
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public ulong GameId { get; set; }
Property Value
- ulong
Gamemode
[Required]
public string Gamemode { get; set; }
Property Value
- string
IsSeeding
public bool IsSeeding { get; set; }
Property Value
- bool
Map
public int Map { get; set; }
Property Value
- int
Region
public byte Region { get; set; }
Property Value
- byte
Season
public int Season { get; set; }
Property Value
- int
Sessions
public IList<SessionRecord> Sessions { get; set; }
Property Value
- IList<SessionRecord>
StartTimestamp
public DateTimeOffset StartTimestamp { get; set; }
Property Value
- DateTimeOffset
WinnerFaction
public Faction? WinnerFaction { get; set; }
Property Value
- Faction
WinnerFactionId
[ForeignKey("WinnerFaction")]
[Column("Winner")]
public uint? WinnerFactionId { get; set; }
Property Value
- uint?