Struct airmash_protocol::server::GameFlag [] [src]

pub struct GameFlag {
    pub ty: u8,
    pub flag: u8,
    pub id: u16,
    pub pos_x: f32,
    pub pos_y: f32,
    pub blueteam: u8,
    pub redteam: u8,
}

Flag position update.

Fields

Which team's flag is being updated

Id of carrier, or 0 if flag is no longer being carried.

Flag X position

Flag Y position

Trait Implementations

impl Clone for GameFlag
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GameFlag
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for GameFlag
[src]

Auto Trait Implementations

impl Send for GameFlag

impl Sync for GameFlag