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:
parent
1c2b757359
commit
e7bda4c5e4
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue