Struct vault::Command [] [src]

pub struct Command {
    pub player_id: u8,
    pub tick: u32,
    pub command_type: CmdType,
    pub entity_id: u32,
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub bytes: Option<Vec<u8>>,
}

This type represents a single Company of Heroes 2 player command.

Fields

Internal ID of the player who issused the command

Tick count where the command occurred

Type of command issued

If applicable, refers to the pbgid of an entity in Relic's attribute files

If applicable, x coordinate of command

If applicable, y coordinate of command

If applicable, z coordinate of command

If command_bytes = true, the byte sequence of the command

Methods

impl Command
[src]

Constructs a new, empty Command.

Trait Implementations

impl Debug for Command
[src]

Formats the value using the given formatter.

impl Encodable for Command
[src]

Serialize a value using an Encoder.