1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00
Files
hl2sdk/game/shared/usercmd.proto

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.1 KiB
Protocol Buffer
Raw Normal View History

import "networkbasetypes.proto";
message CInButtonStatePB {
optional uint64 buttonstate1 = 1;
optional uint64 buttonstate2 = 2;
optional uint64 buttonstate3 = 3;
}
message CSubtickMoveStep {
optional uint64 button = 1;
optional bool pressed = 2;
optional float when = 3;
2024-02-07 08:26:21 -05:00
optional float analog_forward_delta = 4;
optional float analog_left_delta = 5;
}
message CBaseUserCmdPB {
2025-08-04 20:40:59 -04:00
optional int32 command_number = 1;
2024-05-25 06:08:59 +03:00
optional int32 client_tick = 2;
optional .CInButtonStatePB buttons_pb = 3;
optional .CMsgQAngle viewangles = 4;
optional float forwardmove = 5;
optional float leftmove = 6;
optional float upmove = 7;
optional int32 impulse = 8;
optional int32 weaponselect = 9;
optional int32 random_seed = 10;
optional int32 mousedx = 11;
optional int32 mousedy = 12;
optional uint32 pawn_entity_handle = 14 [default = 16777215];
repeated .CSubtickMoveStep subtick_moves = 18;
optional bytes move_crc = 19;
optional uint32 consumed_server_angle_changes = 20;
optional int32 cmd_flags = 21;
}
message CUserCmdBasePB {
optional .CBaseUserCmdPB base = 1;
}