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

pub struct GameFlag {
    pub ty: FlagUpdateType,
    pub flag: Flag,
    pub id: Option<Player>,
    pub pos: Position,
    pub blueteam: u8,
    pub redteam: u8,
}

Update position of flag in CTF

Fields

Blue team score

Red team score

Trait Implementations

impl Copy for GameFlag
[src]

impl Clone for GameFlag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GameFlag
[src]

Formats the value using the given formatter. Read more

impl From<GameFlag> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for GameFlag

impl Sync for GameFlag