Struct airmash_protocol::server::PlayerFire
[−]
[src]
pub struct PlayerFire { pub clock: u32, pub id: u16, pub energy: f32, pub energy_regen: f32, pub projectiles: Vec<PlayerFireProjectile>, }
Packet indicating that a player has fired projectiles.
Fields
clock: u32
Current server clock
id: u16
Id of firing player
energy: f32
Energy of firing player
energy_regen: f32
Energy regen of firing player
projectiles: Vec<PlayerFireProjectile>
All projectiles fired by the player
Trait Implementations
impl Clone for PlayerFire
[src]
fn clone(&self) -> PlayerFire
[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