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

Update protos

This commit is contained in:
Nick Hastings
2024-02-07 08:26:21 -05:00
parent d5e46112df
commit 7687b61810
11 changed files with 70 additions and 32 deletions

View File

@ -26,29 +26,9 @@ message CSGOInputHistoryEntryPB {
}
message CSGOUserCmdPB {
enum EWeaponDecision {
k_eNone = 0;
k_ePrimaryAttack = 1;
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;
repeated .CSGOInputHistoryEntryPB input_history = 2;
optional int32 attack1_start_history_index = 6 [default = -1];
optional int32 attack2_start_history_index = 7 [default = -1];
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];
}

View File

@ -101,6 +101,7 @@ enum ECsgoGCMsg {
k_EMsgGCCStrike15_v2_GC2ClientInitSystem_Response = 9213;
k_EMsgGCCStrike15_v2_PrivateQueues = 9214;
k_EMsgGCCStrike15_v2_MatchListTournamentOperatorMgmt = 9215;
k_EMsgGCCStrike15_v2_BetaEnrollment = 9217;
k_EMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName = 9218;
k_EMsgGCCStrike15_v2_ClientRedeemFreeReward = 9219;
k_EMsgGCCStrike15_v2_ClientNetworkConfig = 9220;
@ -531,6 +532,7 @@ message CMsgGCCStrike15_v2_MatchmakingGC2ServerReserve {
optional uint32 rtime32_event_start = 16;
optional uint32 tv_control = 17;
repeated .OperationalVarValue op_var_values = 19;
optional uint32 socache_control = 20;
}
message CMsgGCCStrike15_v2_MatchmakingServerReservationResponse {
@ -551,6 +553,8 @@ message CMsgGCCStrike15_v2_MatchmakingServerReservationResponse {
optional uint32 steamdatagram_routing = 17;
optional fixed32 test_token = 15;
optional uint32 flags = 16;
optional uint32 system_load = 18;
optional uint32 cpus_online = 19;
}
message CMsgGCCStrike15_v2_MatchmakingGC2ClientReserve {
@ -766,6 +770,9 @@ message CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded {
optional uint32 upgraded_defidx = 5;
optional uint32 operation_points_awarded = 6;
optional uint32 free_rewards = 7;
optional uint32 xp_trail_remaining = 8;
optional int32 xp_trail_xp_needed = 9;
optional uint32 xp_trail_level = 10;
}
message CMsgGCCStrike15_v2_ClientNetworkConfig {
@ -1017,6 +1024,10 @@ message CMsgGCCStrike15_v2_Fantasy {
repeated .CMsgGCCStrike15_v2_Fantasy.FantasyTeam teams = 2;
}
message CAttribute_String {
optional string value = 1;
}
message CMsgLegacySource1ClientWelcome {
message Location {
optional float latitude = 1;
@ -1131,6 +1142,8 @@ message CSOPersonaDataPublic {
optional int32 player_level = 1;
optional .PlayerCommendationInfo commendation = 2;
optional bool elevated_state = 3;
optional uint32 xp_trail_timestamp_refresh = 4;
optional uint32 xp_trail_level = 5;
}
message CMsgGC_GlobalGame_Subscribe {
@ -1208,6 +1221,10 @@ message CMsgGCCStrike15_v2_ClientPlayerDecalSign {
optional uint64 itemid = 2;
}
message CMsgGCCStrike15_v2_BetaEnrollment {
optional uint32 eresult = 1;
}
message CMsgGCCStrike15_v2_ClientLogonFatalError {
optional uint32 errorcode = 1;
optional string message = 2;

View File

@ -76,7 +76,6 @@ enum ECstrike15UserMessages {
CS_UM_RoundEndReportData = 379;
CS_UM_CurrentRoundOdds = 380;
CS_UM_DeepStats = 381;
CS_UM_UtilMsg = 382;
CS_UM_ShootInfo = 383;
}

View File

@ -204,11 +204,6 @@ message CMsgGCGiftedItems {
repeated uint32 recipients_accountids = 5;
}
message CMsgApplyAutograph {
optional uint64 autograph_item_id = 1;
optional uint64 item_item_id = 2;
}
message CMsgCasketItem {
optional uint64 casket_item_id = 1;
optional uint64 item_item_id = 2;
@ -222,7 +217,3 @@ message CMsgGCItemCustomizationNotification {
repeated uint64 item_id = 1;
optional uint32 request = 2;
}
message CAttribute_String {
optional string value = 1;
}

View File

@ -10,6 +10,8 @@ message CSubtickMoveStep {
optional uint64 button = 1;
optional bool pressed = 2;
optional float when = 3;
optional float analog_forward_delta = 4;
optional float analog_left_delta = 5;
}
message CBaseUserCmdPB {

View File

@ -19,6 +19,7 @@ enum EBaseUserMessages {
UM_SayTextChannel = 119;
UM_Shake = 120;
UM_ShakeDir = 121;
UM_WaterShake = 122;
UM_TextMsg = 124;
UM_ScreenTilt = 125;
UM_VoiceMask = 128;
@ -163,6 +164,13 @@ message CUserMessageShakeDir {
optional .CMsgVector direction = 2;
}
message CUserMessageWaterShake {
optional uint32 command = 1;
optional float amplitude = 2;
optional float frequency = 3;
optional float duration = 4;
}
message CUserMessageScreenTilt {
optional uint32 command = 1;
optional bool ease_in_out = 2;
@ -334,6 +342,8 @@ message CUserMsg_ParticleManager {
optional bool apply_voice_ban_rules = 5;
optional int32 team_behavior = 6;
optional string control_point_configuration = 7;
optional bool cluster = 8;
optional float endcap_time = 9;
}
message DestroyParticle {