MidiSongV2

class MidiSongV2 : OutgoingGameMessage

Midi song packets are used to play songs through the music player.

Constructors

Link copied to clipboard
constructor(id: Int, fadeOutDelay: Int, fadeOutSpeed: Int, fadeInDelay: Int, fadeInSpeed: Int)

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard

the delay until the new song begins playing, in client cycles (20ms/cc). The default value for this, based on the old midi song packet is 60.

Link copied to clipboard

the speed at which the new song fades in, in client cycles (20ms/cc). The default value for this, based on the old midi song packet is 0.

Link copied to clipboard

the delay in client cycles (20ms/cc) until the old song begins fading out. The default value for this, based on the old midi song packet, is 0.

Link copied to clipboard

the speed at which the old song fades out in client cycles (20ms/cc). The default value for this, based on the old midi song packet, is 60.

Link copied to clipboard
val id: Int

the id of the midi song

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun estimateSize(): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String