getSoundId
getSoundId: (SoundEffectPlayed) -> numberThe sound.
| Method | Returns | Description |
|---|---|---|
getSoundId() | number | The sound. |
getDelay() | number | Its delay, client cycles. |
consume() | () | Do not play it. |
| Field | Type | Description |
|---|---|---|
__eventClass | string | "SoundEffectPlayed": the class's name, which host APIs that take the class itself read. |
getSoundIdgetSoundId: (SoundEffectPlayed) -> numberThe sound.
getDelaygetDelay: (SoundEffectPlayed) -> numberIts delay, client cycles.
consumeconsume: (SoundEffectPlayed) -> ()Do not play it.