Class PlayerRecord
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
What the history knows about one player, all in one place.
public sealed class PlayerRecord
- Inheritance
-
PlayerRecord
- Inherited Members
Remarks
Times are UTC. Mutable because it is the index's own storage, not a message.
Properties
EventCount
Lines in the events file, so it can be compacted without being counted each time.
public int EventCount { get; set; }
Property Value
FirstSeen
public DateTime? FirstSeen { get; set; }
Property Value
LastEventAt
The newest event recorded for this player.
public DateTime? LastEventAt { get; set; }
Property Value
LastJoin
public DateTime? LastJoin { get; set; }
Property Value
LastLeave
public DateTime? LastLeave { get; set; }
Property Value
LastSeen
The last time this player was seen: leaving, joining, or doing anything at all.
[JsonIgnore]
public DateTime? LastSeen { get; }
Property Value
Messages
public int Messages { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
OpenSince
When the session in progress started; null when the player is not on the server.
public DateTime? OpenSince { get; set; }
Property Value
SecondsPlayed
public long SecondsPlayed { get; set; }
Property Value
Sessions
public int Sessions { get; set; }
Property Value
Uuid
public string? Uuid { get; set; }
Property Value
Methods
Copy()
public PlayerRecord Copy()