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
player_id: u8
Internal ID of the player who issused the command
tick: u32
Tick count where the command occurred
command_type: CmdType
Type of command issued
entity_id: u32
If applicable, refers to the pbgid
of an entity in Relic's attribute files
x: f32
If applicable, x coordinate of command
y: f32
If applicable, y coordinate of command
z: f32
If applicable, z coordinate of command
bytes: Option<Vec<u8>>
If command_bytes = true
, the byte sequence of the command