mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-17 10:47:44 +00:00
Add UpdateSearchInfo IPC opcode
This commit is contained in:
parent
46cf7d4200
commit
8083be24c7
2 changed files with 19 additions and 0 deletions
|
@ -269,6 +269,11 @@
|
|||
"name": "ActorGauge",
|
||||
"opcode": 424,
|
||||
"size": 16
|
||||
},
|
||||
{
|
||||
"name": "UpdateSearchInfo",
|
||||
"opcode": 415,
|
||||
"size": 216
|
||||
}
|
||||
],
|
||||
"ClientZoneIpcType": [
|
||||
|
|
|
@ -443,6 +443,20 @@ pub enum ServerZoneIpcData {
|
|||
ObjectSpawn(ObjectSpawn),
|
||||
#[br(pre_assert(*magic == ServerZoneIpcType::ActorGauge))]
|
||||
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 {
|
||||
#[br(count = size - 32)]
|
||||
unk: Vec<u8>,
|
||||
|
|
Loading…
Add table
Reference in a new issue