From 8e3da65bdf33e2dfb04ad57208e85ffc9e93c048 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 26 Sep 2025 08:57:41 -0400 Subject: [PATCH] Update protobufs (#342) --- common/netmessages.proto | 28 +++++++++++++------ game/shared/cs/cs_usercmd.proto | 1 - .../cstrike15/cstrike15_gcmessages.proto | 13 +++++++++ .../cstrike15/cstrike15_usermessages.proto | 22 ++++++++------- game/shared/usercmd.proto | 4 +-- game/shared/usermessages.proto | 11 ++++++++ 6 files changed, 57 insertions(+), 22 deletions(-) diff --git a/common/netmessages.proto b/common/netmessages.proto index bece4667..5295a467 100644 --- a/common/netmessages.proto +++ b/common/netmessages.proto @@ -6,7 +6,6 @@ enum CLC_Messages { clc_VoiceData = 22; clc_BaselineAck = 23; clc_RespondCvarValue = 25; - clc_FileCRCCheck = 26; clc_LoadingProgress = 27; clc_SplitPlayerConnect = 28; clc_SplitPlayerDisconnect = 30; @@ -158,14 +157,6 @@ message CCLCMsg_RespondCvarValue { optional string value = 4; } -message CCLCMsg_FileCRCCheck { - optional int32 code_path = 1; - optional string path = 2; - optional int32 code_filename = 3; - optional string filename = 4; - optional fixed32 crc = 5; -} - message CCLCMsg_LoadingProgress { optional int32 progress = 1; } @@ -208,6 +199,8 @@ message CMsgSource2SystemSpecs { optional uint32 gpu_driver_version_low = 45; optional uint32 gpu_dx_support_level = 46; optional uint32 gpu_texture_memory_size_mb = 47; + optional uint32 backbuffer_width = 51; + optional uint32 backbuffer_height = 52; } message CMsgSource2VProfLiteReportItem { @@ -269,11 +262,26 @@ message CMsgSource2NetworkFlowQuality { optional sint32 recvmargin_p95 = 66; } +message CMsgSource2PerfIntervalSample { + message Tag { + optional string tag = 1; + optional uint32 max_value = 2; + } + + optional float frame_time_max_ms = 1; + optional float frame_time_avg_ms = 2; + optional float frame_time_min_ms = 3; + optional int32 frame_count = 4; + optional float frame_time_total_ms = 5; + repeated .CMsgSource2PerfIntervalSample.Tag tags = 6; +} + message CCLCMsg_Diagnostic { optional .CMsgSource2SystemSpecs system_specs = 1; optional .CMsgSource2VProfLiteReport vprof_report = 2; optional .CMsgSource2NetworkFlowQuality downstream_flow = 3; optional .CMsgSource2NetworkFlowQuality upstream_flow = 4; + repeated .CMsgSource2PerfIntervalSample perf_samples = 5; } message CSource2Metrics_MatchPerfSummary_Notification { @@ -284,11 +292,13 @@ message CSource2Metrics_MatchPerfSummary_Notification { optional .CMsgSource2NetworkFlowQuality downstream_flow = 4; optional .CMsgSource2NetworkFlowQuality upstream_flow = 5; optional fixed64 steamid = 10; + repeated .CMsgSource2PerfIntervalSample perf_samples = 11; } optional uint32 appid = 1; optional string game_mode = 2; optional uint32 server_build_id = 3; + optional fixed32 server_popid = 4; optional .CMsgSource2VProfLiteReport server_profile = 10; repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11; optional string map = 20; diff --git a/game/shared/cs/cs_usercmd.proto b/game/shared/cs/cs_usercmd.proto index f813ccd1..6b9bfc6e 100644 --- a/game/shared/cs/cs_usercmd.proto +++ b/game/shared/cs/cs_usercmd.proto @@ -34,7 +34,6 @@ message CSGOUserCmdPB { 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 bool left_hand_desired = 9 [default = false]; optional bool is_predicting_body_shot_fx = 11 [default = false]; optional bool is_predicting_head_shot_fx = 12 [default = false]; diff --git a/game/shared/cstrike15/cstrike15_gcmessages.proto b/game/shared/cstrike15/cstrike15_gcmessages.proto index 9408651b..4c6f5436 100644 --- a/game/shared/cstrike15/cstrike15_gcmessages.proto +++ b/game/shared/cstrike15/cstrike15_gcmessages.proto @@ -110,6 +110,7 @@ enum ECsgoGCMsg { k_EMsgGCCStrike15_v2_PremierSeasonSummary = 9224; k_EMsgGCCStrike15_v2_RequestRecurringMissionSchedule = 9225; k_EMsgGCCStrike15_v2_RecurringMissionSchema = 9226; + k_EMsgGCCStrike15_v2_VolatileItemClaimReward = 9227; } enum ECsgoSteamUserStat { @@ -1184,6 +1185,18 @@ message CSOAccountXpShopBids { optional uint32 generation_time = 4; } +message CSOVolatileItemOffer { + optional uint32 defidx = 1 [(key_field) = true]; + repeated uint64 faux_itemid = 2; + repeated uint32 generation_time = 3; +} + +message CSOVolatileItemClaimedRewards { + optional uint32 defidx = 1 [(key_field) = true]; + repeated uint32 reward = 2; + repeated uint32 generation_time = 3; +} + message CSOAccountKeychainRemoveToolCharges { optional uint32 charges = 1; } diff --git a/game/shared/cstrike15/cstrike15_usermessages.proto b/game/shared/cstrike15/cstrike15_usermessages.proto index b4c98d5b..32e7f5e5 100644 --- a/game/shared/cstrike15/cstrike15_usermessages.proto +++ b/game/shared/cstrike15/cstrike15_usermessages.proto @@ -37,7 +37,6 @@ enum ECstrike15UserMessages { CS_UM_MatchEndConditions = 334; CS_UM_DisconnectToLobby = 335; CS_UM_PlayerStatsUpdate = 336; - CS_UM_WarmupHasEnded = 338; CS_UM_ClientInfo = 339; CS_UM_XRankGet = 340; CS_UM_XRankUpd = 341; @@ -56,7 +55,6 @@ enum ECstrike15UserMessages { CS_UM_MarkAchievement = 357; CS_UM_MatchStatsUpdate = 358; CS_UM_ItemDrop = 359; - CS_UM_GlowPropTurnOff = 360; CS_UM_SendPlayerItemDrops = 361; CS_UM_RoundBackupFilenames = 362; CS_UM_SendPlayerItemFound = 363; @@ -80,6 +78,7 @@ enum ECstrike15UserMessages { CS_UM_CounterStrafe = 385; CS_UM_DamagePrediction = 386; CS_UM_RecurringMissionSchema = 387; + CS_UM_SendPlayerLoadout = 388; } enum ECSUsrMsg_DisconnectToLobby_Action { @@ -422,10 +421,6 @@ message CCSUsrMsg_ItemDrop { optional bool death = 2; } -message CCSUsrMsg_GlowPropTurnOff { - optional int32 entidx = 1 [default = -1]; -} - message CCSUsrMsg_RoundBackupFilenames { optional int32 count = 1; optional int32 index = 2; @@ -578,10 +573,6 @@ message CCSUsrMsg_DisconnectToLobby { optional int32 dummy = 1; } -message CCSUsrMsg_WarmupHasEnded { - optional int32 dummy = 1; -} - message CCSUsrMsg_ClientInfo { optional int32 dummy = 1; } @@ -617,3 +608,14 @@ message CCSUsrMsg_RecurringMissionSchema { optional uint32 period = 1; optional bytes mission_schema = 2; } + +message CCSUsrMsg_SendPlayerLoadout { + message LoadoutItem { + optional .CEconItemPreviewDataBlock econ_item = 1; + optional int32 team = 2; + optional int32 slot = 3; + } + + repeated .CCSUsrMsg_SendPlayerLoadout.LoadoutItem loadout = 1; + optional int32 playerslot = 2 [default = -1]; +} diff --git a/game/shared/usercmd.proto b/game/shared/usercmd.proto index 05a1f46b..8dcf2eb1 100644 --- a/game/shared/usercmd.proto +++ b/game/shared/usercmd.proto @@ -12,8 +12,8 @@ message CSubtickMoveStep { optional float when = 3; optional float analog_forward_delta = 4; optional float analog_left_delta = 5; - optional float analog_pitch_delta = 6; - optional float analog_yaw_delta = 7; + optional float pitch_delta = 8; + optional float yaw_delta = 9; } message CBaseUserCmdPB { diff --git a/game/shared/usermessages.proto b/game/shared/usermessages.proto index b68a696e..cea4ffb8 100644 --- a/game/shared/usermessages.proto +++ b/game/shared/usermessages.proto @@ -111,6 +111,7 @@ enum PARTICLE_MESSAGE { GAME_PARTICLE_MANAGER_EVENT_ADD_FAN = 36; GAME_PARTICLE_MANAGER_EVENT_UPDATE_FAN = 37; GAME_PARTICLE_MANAGER_EVENT_SET_CLUSTER_GROWTH = 38; + GAME_PARTICLE_MANAGER_EVENT_REMOVE_FAN = 39; } enum EHapticPulseType { @@ -565,6 +566,12 @@ message CUserMsg_ParticleManager { optional bool pull_towards_point = 10; optional float curve_min_dist = 11; optional float curve_max_dist = 12; + optional uint32 fan_type = 13; + optional float cone_start_radius = 14; + optional float cone_end_radius = 15; + optional float cone_length = 16; + optional uint32 entity_handle = 17 [default = 16777215]; + optional string attachment_name = 18; } message UpdateFan { @@ -577,6 +584,9 @@ message CUserMsg_ParticleManager { optional .CMsgVector bounds_maxs = 6; } + message RemoveFan { + } + message SetParticleClusterGrowth { optional float duration = 1; optional .CMsgVector origin = 2; @@ -622,6 +632,7 @@ message CUserMsg_ParticleManager { optional .CUserMsg_ParticleManager.AddFan add_fan = 39; optional .CUserMsg_ParticleManager.UpdateFan update_fan = 40; optional .CUserMsg_ParticleManager.SetParticleClusterGrowth set_particle_cluster_growth = 41; + optional .CUserMsg_ParticleManager.RemoveFan remove_fan = 42; extensions 100 to 201; }