OverviewPacketsClientboundUpdateSoundData ID 0x15C · 348Server → ClientAudio
clientbound-update-sound-data.bin
struct ClientboundUpdateSoundData {
ServerSoundHandle ServerSoundHandle;
tagged case index (0=Stop, 1=SetVolume, 2=SetPitch, 3=Fade, 4=SeekTo, 5=Pause, 6=Resume) Event;
}Structure
| Field | Type | Description |
|---|
| Server Sound Handle | ServerSoundHandle | |
| Event | tagged case index (0=Stop, 1=SetVolume, 2=SetPitch, 3=Fade, 4=SeekTo, 5=Pause, 6=Resume) | Variant: an index selects the payload type — see the tables below. |
Structure of ServerSoundHandle
| Field | Type | Description |
|---|
| Value | uint64 (LE) | |
Structure of SetVolume
| Field | Type | Description |
|---|
| Volume | float32 (LE) | |
Structure of SetPitch
| Field | Type | Description |
|---|
| Pitch | float32 (LE) | |
Structure of Fade
| Field | Type | Description |
|---|
| Duration | float32 (LE) | |
| Target Volume | float32 (LE) | |
Structure of SeekTo
| Field | Type | Description |
|---|
| Seconds | float32 (LE) | |
Notes