Class MixStartedEventArgs
Raised when a mix started playing on top of the main track.
public sealed class MixStartedEventArgs : EventArgs
- Inheritance
-
MixStartedEventArgs
- Inherited Members
Remarks
NodeLink only.
Properties
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 started.
[JsonPropertyName("mixId")]
[JsonInclude]
public string MixId { get; }
Property Value
Track
The track the layer plays.
[JsonPropertyName("track")]
[JsonInclude]
public Track Track { get; }
Property Value
Remarks
Absorbs a null track the server sends, the setter substitutes a fresh instance, so handlers never read null even when the frame carries one.
Volume
Layer loudness, 0.0-1.0, as reported, the server enforces the range, the read does not clamp.
[JsonPropertyName("volume")]
[JsonInclude]
[JsonConverter(typeof(FiniteFloatConverter))]
public float Volume { get; }
Property Value
Remarks
The converter fails only a non-finite echo inside the read (1e40 reads back non-finite), an in-range value outside 0.0-1.0 is not rejected here.