blob: e41bb42fd5b7276c657f6562a0cd83e91259f774 (
plain)
1
2
3
4
5
6
7
8
9
|
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,
}
|