diff --git a/src/packet/messages.rs b/src/packet/messages.rs index 1f591c9..d50a5bf 100644 --- a/src/packet/messages.rs +++ b/src/packet/messages.rs @@ -336,10 +336,10 @@ pub struct ComboStep3 { #[pso_message(0x46)] pub struct TargetsHit { - num_of_targets: [u8; 4], // thats a lot of targets? - client2: u8, // TODO: what even is this? - target2: u8, // TODO: what even is this? - unknown2: [u8; 2], + #[length_of(targets)] + num_of_targets: u32, // thats a lot of targets? + #[length_is(num_of_targets)] + targets: Vec, } #[pso_message(0x47)]