update 6xB2 structure

This commit is contained in:
Martin Michelsen
2024-04-24 23:35:15 -07:00
parent 9815126ced
commit 7decab75c2
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -5563,13 +5563,14 @@ struct G_MoveLobbyChair_6xB0 {
// 6xB2: Play sound from player (not valid on pre-V3 or GC Trial Edition)
// This command is sent when a snapshot is taken on PSO GC, but it can be used
// to play any sound, centered on the player identified by client_id.
// to play any sound, centered on the local player. If localize is FFFF, then
// the sound is not centered on the local player and is just played globally.
struct G_PlaySoundFromPlayer_6xB2 {
G_UnusedHeader header;
uint8_t floor = 0;
uint8_t unused = 0;
le_uint16_t client_id = 0;
le_uint16_t localize = 0;
le_uint32_t sound_id = 0; // 0x00051720 = camera shutter sound
} __packed_ws__(G_PlaySoundFromPlayer_6xB2, 0x0C);
+1 -1
View File
@@ -4532,7 +4532,7 @@ const SubcommandDefinition subcommand_definitions[0x100] = {
/* 6xAF */ {0x00, 0x00, 0xAF, on_forward_check_lobby_client},
/* 6xB0 */ {0x00, 0x00, 0xB0, on_forward_check_lobby_client},
/* 6xB1 */ {0x00, 0x00, 0xB1, forward_subcommand_m},
/* 6xB2 */ {0x00, 0x00, 0xB2, on_forward_check_client_t<G_PlaySoundFromPlayer_6xB2>},
/* 6xB2 */ {0x00, 0x00, 0xB2, forward_subcommand_m},
/* 6xB3 */ {0x00, 0x00, 0xB3, on_xbox_voice_chat_control},
/* 6xB4 */ {0x00, 0x00, 0xB4, on_xbox_voice_chat_control},
/* 6xB5 */ {0x00, 0x00, 0xB5, on_open_shop_bb_or_ep3_battle_subs},