1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-17 10:47:44 +00:00

unk3 in GainEffect/LostEffect is the source actor

This commit is contained in:
Joshua Goins 2025-07-14 19:01:17 -04:00
parent 1c2b757359
commit e7bda4c5e4

View file

@ -1,6 +1,6 @@
use binrw::binrw;
use crate::common::{read_bool_from, write_bool_as};
use crate::common::{ObjectId, read_bool_from, write_bool_as};
use super::OnlineStatus;
@ -161,14 +161,14 @@ pub enum ActorControlCategory {
#[brw(pad_before = 2)] // padding
effect_id: u32,
unk2: u32,
unk3: u32,
source_actor_id: ObjectId,
},
#[brw(magic = 0x14u16)]
GainEffect {
#[brw(pad_before = 2)] // padding
effect_id: u32,
unk2: u32,
unk3: u32,
source_actor_id: ObjectId,
},
#[brw(magic = 0x11u16)]
Cooldown {