mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Update protos
This commit is contained in:
@ -31,4 +31,5 @@ message CMsgTEFireBullets {
|
|||||||
optional fixed32 sound_dsp_effect = 12;
|
optional fixed32 sound_dsp_effect = 12;
|
||||||
optional .CMsgVector ent_origin = 13;
|
optional .CMsgVector ent_origin = 13;
|
||||||
optional uint32 num_bullets_remaining = 14;
|
optional uint32 num_bullets_remaining = 14;
|
||||||
|
optional uint32 attack_type = 15;
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,15 @@ message CSGOUserCmdPB {
|
|||||||
k_eSecondaryAttack = 2;
|
k_eSecondaryAttack = 2;
|
||||||
k_eZoom = 3;
|
k_eZoom = 3;
|
||||||
k_eReload = 4;
|
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;
|
optional .CBaseUserCmdPB base = 1;
|
||||||
@ -41,4 +50,5 @@ message CSGOUserCmdPB {
|
|||||||
optional int32 attack3_start_history_index = 8 [default = -1];
|
optional int32 attack3_start_history_index = 8 [default = -1];
|
||||||
optional .CSGOUserCmdPB.EWeaponDecision weapon_decision = 9 [default = k_eNone];
|
optional .CSGOUserCmdPB.EWeaponDecision weapon_decision = 9 [default = k_eNone];
|
||||||
optional int32 weapon_decision_weapon = 10;
|
optional int32 weapon_decision_weapon = 10;
|
||||||
|
optional .CSGOUserCmdPB.EGrenadeStrength target_grenade_strength = 11 [default = k_eLow];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user