use crate::shared::player::*; use lightyear::prelude::*; use serde::*; #[derive(Message, Serialize, Deserialize, PartialEq, Clone, Debug)] pub struct HealthEvent { pub target_player: PlayerId, pub health_gained: f32, }