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
ty: u8
flag: u8
Which team's flag is being updated
id: u16
Id of carrier, or 0 if flag is no longer being carried.
pos_x: f32
Flag X position
pos_y: f32
Flag Y position
blueteam: u8
redteam: u8
Trait Implementations
impl Clone for GameFlag
[src]
fn clone(&self) -> GameFlag
[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
impl Debug for GameFlag
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more