1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00

Update protos

This commit is contained in:
Nick Hastings
2023-12-05 17:24:31 -05:00
parent 6349d71be0
commit 32cb68e6fc
2 changed files with 11 additions and 0 deletions

View File

@ -31,4 +31,5 @@ message CMsgTEFireBullets {
optional fixed32 sound_dsp_effect = 12;
optional .CMsgVector ent_origin = 13;
optional uint32 num_bullets_remaining = 14;
optional uint32 attack_type = 15;
}

View File

@ -32,6 +32,15 @@ message CSGOUserCmdPB {
k_eSecondaryAttack = 2;
k_eZoom = 3;
k_eReload = 4;
k_eGrenadeThrow = 5;
k_eGrenadeHold = 6;
k_eGrenadeHoldThenThrow = 7;
}
enum EGrenadeStrength {
k_eLow = 0;
k_eMid = 1;
k_eHigh = 2;
}
optional .CBaseUserCmdPB base = 1;
@ -41,4 +50,5 @@ message CSGOUserCmdPB {
optional int32 attack3_start_history_index = 8 [default = -1];
optional .CSGOUserCmdPB.EWeaponDecision weapon_decision = 9 [default = k_eNone];
optional int32 weapon_decision_weapon = 10;
optional .CSGOUserCmdPB.EGrenadeStrength target_grenade_strength = 11 [default = k_eLow];
}