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: Vec<u8>, }
This type represents a single Company of Heroes 2 player command.
Fields
player_id: u8
tick: u32
command_type: CmdType
entity_id: u32
x: f32
y: f32
z: f32
bytes: Vec<u8>
Methods
impl Command
[src]
fn new(tick: u32, command_type: CmdType) -> Command
Constructs a new, empty Command.
fn display(&self)
Writes the contents of the Command to stdout.