mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
public usercmdn
This commit is contained in:
parent
fefda77884
commit
5b6b3e127f
1 changed files with 9 additions and 9 deletions
|
|
@ -35,15 +35,15 @@ impl BitWrite<LittleEndian> for UserCmdPacket {
|
|||
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
|
||||
#[derive(Debug, PartialEq, BitRead, BitWrite, Serialize, Deserialize, Clone)]
|
||||
pub struct UserCmd {
|
||||
command_number: Option<u32>,
|
||||
tick_count: Option<u32>,
|
||||
view_angles: [Option<f32>; 3],
|
||||
movement: [Option<f32>; 3],
|
||||
buttons: Option<u32>,
|
||||
impulse: Option<u8>,
|
||||
weapon_select: Option<WeaponSelect>,
|
||||
mouse_dx: Option<u16>,
|
||||
mouse_dy: Option<u16>,
|
||||
pub command_number: Option<u32>,
|
||||
pub tick_count: Option<u32>,
|
||||
pub view_angles: [Option<f32>; 3],
|
||||
pub movement: [Option<f32>; 3],
|
||||
pub buttons: Option<u32>,
|
||||
pub impulse: Option<u8>,
|
||||
pub weapon_select: Option<WeaponSelect>,
|
||||
pub mouse_dx: Option<u16>,
|
||||
pub mouse_dy: Option<u16>,
|
||||
}
|
||||
|
||||
#[cfg_attr(feature = "schema", derive(schemars::JsonSchema))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue