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

Trait Implementations

impl Clone for LoginPlayer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LoginPlayer
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for LoginPlayer

impl Sync for LoginPlayer