Struct airmash_protocol::server::PlayerHit [] [src]

pub struct PlayerHit {
    pub id: u16,
    pub ty: u8,
    pub pos_x: f32,
    pub pos_y: f32,
    pub owner: u16,
    pub players: Vec<PlayerHitPlayer>,
}

Event for when players have been hit by a projectile.

Fields

Projectile id

Projectile type

X position of projectile

Y position of projectile

Projectile owner

Players hit by projectile

Trait Implementations

impl Clone for PlayerHit
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PlayerHit
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for PlayerHit

impl Sync for PlayerHit