SynthSound

class SynthSound : OutgoingGameMessage

Synth sound is used to play a short sound effect locally for the given player.

Constructors

Link copied to clipboard
constructor(id: Int, loops: Int, delay: Int)

Properties

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

the delay in client cycles (20ms/cc) until the sound effect begins playing

Link copied to clipboard
val id: Int

the id of the sound effect to play

Link copied to clipboard
val loops: Int

the number of times to loop the sound effect

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