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

Current server clock

Id of firing player

Energy of firing player

Energy regen of firing player

All projectiles fired by the player

Trait Implementations

impl Clone for PlayerFire
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PlayerFire
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for PlayerFire

impl Sync for PlayerFire