1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-09 15:37:45 +00:00

Fix size of InventoryActionAck (#104)

-If it's 16 bytes, there can't be 12 bytes of padding, 4 bytes of u32 and 2 bytes of u16. :)
This commit is contained in:
thedax 2025-07-04 15:48:03 -04:00 committed by GitHub
parent 2f1aee9d09
commit 68f6747598
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -325,7 +325,7 @@ pub enum ServerZoneIpcData {
#[br(pre_assert(*magic == ServerZoneIpcType::InventoryActionAck))]
InventoryActionAck {
sequence: u32,
#[brw(pad_after = 12)]
#[brw(pad_after = 10)]
action_type: u16,
},
#[br(pre_assert(*magic == ServerZoneIpcType::UnkCall))]