Struct airmash_protocol::server::LoginPlayer [−][src]
pub struct LoginPlayer {
pub id: Player,
pub status: PlayerStatus,
pub level: Level,
pub name: String,
pub ty: PlaneType,
pub team: Team,
pub pos: Position,
pub rot: Rotation,
pub flag: FlagCode,
pub upgrades: Upgrades,
}Initial data passed in for a player when the server starts.
This is an element of the players
array within the Login packet.
Fields
id: Player
status: PlayerStatus
level: Level
name: String
ty: PlaneType
team: Team
pos: Position
rot: Rotation
flag: FlagCode
upgrades: Upgrades
Trait Implementations
impl Clone for LoginPlayer[src]
impl Clone for LoginPlayerfn clone(&self) -> LoginPlayer[src]
fn clone(&self) -> LoginPlayerReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for LoginPlayer[src]
impl Debug for LoginPlayerAuto Trait Implementations
impl Send for LoginPlayer
impl Send for LoginPlayerimpl Sync for LoginPlayer
impl Sync for LoginPlayer