Struct airmash_protocol::server::PlayerLevel[][src]

pub struct PlayerLevel {
    pub id: Player,
    pub ty: PlayerLevelType,
    pub level: Level,
}

Assign a level to a player. Either the player levelled up, or the server is updating their level for all clients.

Fields

Trait Implementations

impl Copy for PlayerLevel
[src]

impl Clone for PlayerLevel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PlayerLevel
[src]

Formats the value using the given formatter. Read more

impl From<PlayerLevel> for ServerPacket
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for PlayerLevel

impl Sync for PlayerLevel