From 822f693f8c818148f879901dfbb7f38157ff5240 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 13 Jul 2025 09:10:32 -0400 Subject: [PATCH] Add XiCharacterInfo IPC opcode I don't know what this is, I got the name from Sapphire. --- resources/opcodes.json | 5 +++++ src/ipc/lobby/mod.rs | 3 +++ 2 files changed, 8 insertions(+) diff --git a/resources/opcodes.json b/resources/opcodes.json index 2a263b9..08ec4e1 100644 --- a/resources/opcodes.json +++ b/resources/opcodes.json @@ -473,6 +473,11 @@ "name": "DistRetainerInfo", "opcode": 23, "size": 536 + }, + { + "name": "XiCharacterInfo", + "opcode": 22, + "size": 496 } ], "ClientLobbyIpcType": [ diff --git a/src/ipc/lobby/mod.rs b/src/ipc/lobby/mod.rs index 54ced96..9260dec 100644 --- a/src/ipc/lobby/mod.rs +++ b/src/ipc/lobby/mod.rs @@ -203,6 +203,9 @@ pub enum ServerLobbyIpcData { /// Sent by the server to inform the client of their retainers. #[br(pre_assert(*magic == ServerLobbyIpcType::DistRetainerInfo))] DistRetainerInfo(DistRetainerInfo), + /// Unknown purpose + #[br(pre_assert(*magic == ServerLobbyIpcType::XiCharacterInfo))] + XiCharacterInfo { unk: [u8; 496] }, Unknown { #[br(count = size - 32)] unk: Vec,