1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-20 03:37:46 +00:00

Add UpdateSearchInfo IPC opcode

This commit is contained in:
Joshua Goins 2025-07-13 09:03:02 -04:00
parent 46cf7d4200
commit 8083be24c7
2 changed files with 19 additions and 0 deletions

View file

@ -269,6 +269,11 @@
"name": "ActorGauge", "name": "ActorGauge",
"opcode": 424, "opcode": 424,
"size": 16 "size": 16
},
{
"name": "UpdateSearchInfo",
"opcode": 415,
"size": 216
} }
], ],
"ClientZoneIpcType": [ "ClientZoneIpcType": [

View file

@ -443,6 +443,20 @@ pub enum ServerZoneIpcData {
ObjectSpawn(ObjectSpawn), ObjectSpawn(ObjectSpawn),
#[br(pre_assert(*magic == ServerZoneIpcType::ActorGauge))] #[br(pre_assert(*magic == ServerZoneIpcType::ActorGauge))]
ActorGauge { classjob_id: u8, data: [u8; 15] }, ActorGauge { classjob_id: u8, data: [u8; 15] },
#[br(pre_assert(*magic == ServerZoneIpcType::UpdateSearchInfo))]
UpdateSearchInfo {
online_status_flags: u64,
unk1: u64,
#[brw(pad_after = 1)] // padding
unk2: u32,
region: u8,
#[brw(pad_after = 1)] // padding
#[brw(pad_size_to = 193)]
#[br(count = 193)]
#[br(map = read_string)]
#[bw(map = write_string)]
message: String,
},
Unknown { Unknown {
#[br(count = size - 32)] #[br(count = size - 32)]
unk: Vec<u8>, unk: Vec<u8>,