Class PlayerUpdateEventArgs
The server reported the state of the player.
public sealed class PlayerUpdateEventArgs : EventArgs
- Inheritance
-
PlayerUpdateEventArgs
- Inherited Members
Properties
GuildId
The guild the player plays in.
[JsonPropertyName("guildId")]
[JsonInclude]
[JsonConverter(typeof(TolerantSnowflakeConverter))]
public ulong GuildId { get; }
Property Value
State
The state the server reported.
[JsonPropertyName("state")]
[JsonInclude]
public PlayerState State { get; }
Property Value
Remarks
Absorbs a null or missing state, the getter materializes a fresh instance, so handlers never read null but cannot tell a fabricated empty state from a server-reported one.