Class PlayerHWID
- Namespace
- Uncreated.Warfare.Moderation
- Assembly
- Uncreated.Warfare.dll
[Table("hwids")]
[Index(new string[] { "HWID" })]
public class PlayerHWID
- Inheritance
-
PlayerHWID
- Inherited Members
Constructors
PlayerHWID()
public PlayerHWID()
PlayerHWID(uint, int, ulong, HWID, int, DateTimeOffset?, DateTimeOffset)
public PlayerHWID(uint id, int index, ulong steam64, HWID hwid, int loginCount, DateTimeOffset? firstLogin, DateTimeOffset lastLogin)
Parameters
iduintindexintsteam64ulonghwidHWIDloginCountintfirstLoginDateTimeOffset?lastLoginDateTimeOffset
Properties
FirstLogin
[JsonPropertyName("first_login")]
[Column("FirstLogin")]
public DateTimeOffset? FirstLogin { get; set; }
Property Value
HWID
[JsonPropertyName("hwid")]
[Column("HWID")]
public HWID HWID { get; set; }
Property Value
Id
[Key]
[JsonPropertyName("id")]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Column("Id")]
public uint Id { get; set; }
Property Value
Index
[JsonPropertyName("index")]
[Column("Index")]
public int Index { get; set; }
Property Value
LastLogin
[JsonPropertyName("last_login")]
[Column("LastLogin")]
public DateTimeOffset LastLogin { get; set; }
Property Value
LoginCount
[JsonPropertyName("login_count")]
[Column("LoginCount")]
public int LoginCount { get; set; }
Property Value
PlayerData
public WarfareUserData PlayerData { get; set; }
Property Value
Steam64
[Required]
[JsonPropertyName("steam64")]
[ForeignKey("PlayerData")]
[Column("Steam64")]
public ulong Steam64 { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.