Struct airmash_protocol::server::PlayerKill
[−]
[src]
pub struct PlayerKill { pub id: u16, pub killer: u16, pub pos_x: f32, pub pos_y: f32, }
Event for when a player has been killed.
Fields
id: u16
Id of killed player
killer: u16
Id of the player that killed them
pos_x: f32
X position of killed player
pos_y: f32
Y position of killed player
Trait Implementations
impl Clone for PlayerKill
[src]
fn clone(&self) -> PlayerKill
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for PlayerKill
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more