Class MixEndedEventArgs
Raised when a mix layer ended.
public sealed class MixEndedEventArgs : EventArgs
- Inheritance
-
MixEndedEventArgs
- Inherited Members
Remarks
NodeLink only. The FINISHED and MAIN_ENDED reasons only arrive when the server's mix auto-cleanup is enabled, a layer that plays through with it off ends through the mixer's teardown instead.
Properties
EndReason
Why the layer ended.
[JsonPropertyName("reason")]
[JsonInclude]
public MixEndReason EndReason { get; }
Property Value
Remarks
Defaults to Unknown, a frame without a reason must not read as a natural finish.
GuildId
The guild the player plays in.
[JsonPropertyName("guildId")]
[JsonInclude]
[JsonConverter(typeof(TolerantSnowflakeConverter))]
public ulong GuildId { get; }
Property Value
MixId
The id of the mix layer that ended.
[JsonPropertyName("mixId")]
[JsonInclude]
public string MixId { get; }
Property Value
Remarks
Absorbs a null the server sends, the getter never hands out null, a missing or nulled id reads as the empty string.