From 12040e4bee76d07e56ad77c831075b608c6ec463 Mon Sep 17 00:00:00 2001 From: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com> Date: Mon, 7 Oct 2024 21:58:14 +0300 Subject: [PATCH] Update protobufs --- common/networkbasetypes.proto | 7 +++-- game/shared/base_gcmessages.proto | 2 ++ game/shared/cs/cs_usercmd.proto | 18 ++++++++----- .../cstrike15/cstrike15_gcmessages.proto | 26 ++++++++++++++++++- .../cstrike15/cstrike15_usermessages.proto | 1 + game/shared/econ/econ_gcmessages.proto | 5 ++++ game/shared/te.proto | 3 +++ game/shared/usermessages.proto | 19 ++++++++++++++ 8 files changed, 69 insertions(+), 12 deletions(-) diff --git a/common/networkbasetypes.proto b/common/networkbasetypes.proto index d9f3fb22..ed0cd4b7 100644 --- a/common/networkbasetypes.proto +++ b/common/networkbasetypes.proto @@ -107,16 +107,15 @@ message CNETMsg_SplitScreenUser { message CNETMsg_Tick { optional uint32 tick = 1; - optional uint32 host_frametime = 2; - optional uint32 host_frametime_std_deviation = 3; optional uint32 host_computationtime = 4; optional uint32 host_computationtime_std_deviation = 5; - optional uint32 host_framestarttime_std_deviation = 6; - optional uint32 host_loss = 7; + optional uint32 legacy_host_loss = 7; optional uint32 host_unfiltered_frametime = 8; optional uint32 hltv_replay_flags = 9; optional uint32 expected_long_tick = 10; optional string expected_long_tick_reason = 11; + optional uint32 host_frame_dropped_pct_x10 = 12; + optional uint32 host_frame_irregular_arrival_pct_x10 = 13; } message CNETMsg_StringCmd { diff --git a/game/shared/base_gcmessages.proto b/game/shared/base_gcmessages.proto index 54522956..a5072081 100644 --- a/game/shared/base_gcmessages.proto +++ b/game/shared/base_gcmessages.proto @@ -173,6 +173,8 @@ message CMsgApplySticker { optional float sticker_scale = 7; optional float sticker_offset_x = 8; optional float sticker_offset_y = 9; + optional float sticker_offset_z = 10; + optional float sticker_wear_target = 11; } message CMsgModifyItemAttribute { diff --git a/game/shared/cs/cs_usercmd.proto b/game/shared/cs/cs_usercmd.proto index 1a320917..265f7948 100644 --- a/game/shared/cs/cs_usercmd.proto +++ b/game/shared/cs/cs_usercmd.proto @@ -7,22 +7,26 @@ message CSGOInterpolationInfoPB { optional float frac = 3 [default = 0]; } +message CSGOInterpolationInfoPB_CL { + optional float frac = 3 [default = 0]; +} + message CSGOInputHistoryEntryPB { optional .CMsgQAngle view_angles = 2; optional int32 render_tick_count = 4; optional float render_tick_fraction = 5; optional int32 player_tick_count = 6; optional float player_tick_fraction = 7; - optional .CSGOInterpolationInfoPB cl_interp = 12; + optional .CSGOInterpolationInfoPB_CL cl_interp = 12; optional .CSGOInterpolationInfoPB sv_interp0 = 13; optional .CSGOInterpolationInfoPB sv_interp1 = 14; optional .CSGOInterpolationInfoPB player_interp = 15; - optional int32 frame_number = 20; - optional int32 target_ent_index = 8 [default = -1]; - optional .CMsgVector shoot_position = 3; - optional .CMsgVector target_head_pos_check = 9; - optional .CMsgVector target_abs_pos_check = 10; - optional .CMsgQAngle target_abs_ang_check = 11; + optional int32 frame_number = 64; + optional int32 target_ent_index = 65 [default = -1]; + optional .CMsgVector shoot_position = 66; + optional .CMsgVector target_head_pos_check = 67; + optional .CMsgVector target_abs_pos_check = 68; + optional .CMsgQAngle target_abs_ang_check = 69; } message CSGOUserCmdPB { diff --git a/game/shared/cstrike15/cstrike15_gcmessages.proto b/game/shared/cstrike15/cstrike15_gcmessages.proto index e751cd5c..9e8bde94 100644 --- a/game/shared/cstrike15/cstrike15_gcmessages.proto +++ b/game/shared/cstrike15/cstrike15_gcmessages.proto @@ -105,6 +105,8 @@ enum ECsgoGCMsg { k_EMsgGCCStrike15_v2_SetPlayerLeaderboardSafeName = 9218; k_EMsgGCCStrike15_v2_ClientRedeemFreeReward = 9219; k_EMsgGCCStrike15_v2_ClientNetworkConfig = 9220; + k_EMsgGCCStrike15_v2_GC2ClientNotifyXPShop = 9221; + k_EMsgGCCStrike15_v2_Client2GcAckXPShopTracks = 9222; } enum ECsgoSteamUserStat { @@ -879,6 +881,8 @@ message CEconItemPreviewDataBlock { optional uint32 tint_id = 6; optional float offset_x = 7; optional float offset_y = 8; + optional float offset_z = 9; + optional uint32 pattern = 10; } optional uint32 accountid = 1; @@ -1119,11 +1123,21 @@ message CSOEconCoupon { } message CSOAccountItemPersonalStore { - optional uint32 generation_time = 1 [(key_field) = true]; + optional uint32 generation_time = 1; optional uint32 redeemable_balance = 2; repeated uint64 items = 3; } +message CSOAccountXpShop { + optional uint32 generation_time = 1; + optional uint32 redeemable_balance = 2; + repeated uint32 xp_tracks = 3; +} + +message CSOAccountKeychainRemoveToolCharges { + optional uint32 charges = 1; +} + message CSOQuestProgress { optional uint32 questid = 1 [(key_field) = true]; optional uint32 points_remaining = 2; @@ -1153,6 +1167,16 @@ message CSOPersonaDataPublic { optional uint32 xp_trail_level = 5; } +message CMsgGCCStrike15_v2_GC2ClientNotifyXPShop { + optional .CSOAccountXpShop prematch = 1; + optional .CSOAccountXpShop postmatch = 2; + optional uint32 current_xp = 3; + optional uint32 current_level = 4; +} + +message CMsgGCCStrike15_v2_Client2GcAckXPShopTracks { +} + message CMsgGC_GlobalGame_Subscribe { optional uint64 ticket = 1; } diff --git a/game/shared/cstrike15/cstrike15_usermessages.proto b/game/shared/cstrike15/cstrike15_usermessages.proto index 6161243b..d09b90f2 100644 --- a/game/shared/cstrike15/cstrike15_usermessages.proto +++ b/game/shared/cstrike15/cstrike15_usermessages.proto @@ -597,4 +597,5 @@ message CCSUsrMsgPreMatchSayText { message CCSUsrMsg_CounterStrafe { optional int32 press_to_release_ns = 1; + optional int32 total_keys_down = 2; } diff --git a/game/shared/econ/econ_gcmessages.proto b/game/shared/econ/econ_gcmessages.proto index f7c1d7e7..e8922896 100644 --- a/game/shared/econ/econ_gcmessages.proto +++ b/game/shared/econ/econ_gcmessages.proto @@ -192,12 +192,16 @@ enum EGCItemCustomizationNotification { k_EGCItemCustomizationNotification_StatTrakSwap = 1088; k_EGCItemCustomizationNotification_RemovePatch = 1089; k_EGCItemCustomizationNotification_ApplyPatch = 1090; + k_EGCItemCustomizationNotification_ApplyKeychain = 1091; + k_EGCItemCustomizationNotification_RemoveKeychain = 1092; k_EGCItemCustomizationNotification_ActivateFanToken = 9178; k_EGCItemCustomizationNotification_ActivateOperationCoin = 9179; k_EGCItemCustomizationNotification_GraffitiUnseal = 9185; k_EGCItemCustomizationNotification_GenerateSouvenir = 9204; k_EGCItemCustomizationNotification_ClientRedeemMissionReward = 9209; k_EGCItemCustomizationNotification_ClientRedeemFreeReward = 9219; + k_EGCItemCustomizationNotification_XpShopUseTicket = 9221; + k_EGCItemCustomizationNotification_XpShopAckTracks = 9222; } message CMsgGCGiftedItems { @@ -227,4 +231,5 @@ message CMsgGCUserTrackTimePlayedConsecutively { message CMsgGCItemCustomizationNotification { repeated uint64 item_id = 1; optional uint32 request = 2; + repeated uint64 extra_data = 3; } diff --git a/game/shared/te.proto b/game/shared/te.proto index b22990cc..bca8351f 100644 --- a/game/shared/te.proto +++ b/game/shared/te.proto @@ -197,6 +197,9 @@ message CMsgTEExplosion { optional bool affect_ragdolls = 9; optional string effect_name = 10; optional uint32 explosion_type = 11; + optional bool create_debris = 12; + optional .CMsgVector debris_origin = 13; + optional fixed32 debris_surfaceprop = 14; } message CMsgTEDust { diff --git a/game/shared/usermessages.proto b/game/shared/usermessages.proto index b6f8c329..eff07260 100644 --- a/game/shared/usermessages.proto +++ b/game/shared/usermessages.proto @@ -108,6 +108,7 @@ enum PARTICLE_MESSAGE { GAME_PARTICLE_MANAGER_EVENT_CREATE_PHYSICS_SIM = 32; GAME_PARTICLE_MANAGER_EVENT_DESTROY_PHYSICS_SIM = 33; GAME_PARTICLE_MANAGER_EVENT_SET_VDATA = 34; + GAME_PARTICLE_MANAGER_EVENT_SET_MATERIAL_OVERRIDE = 35; } enum EHapticPulseType { @@ -351,6 +352,7 @@ message CUserMsg_ParticleManager { optional string control_point_configuration = 7; optional bool cluster = 8; optional float endcap_time = 9; + optional .CMsgVector aggregation_position = 10; } message DestroyParticle { @@ -532,6 +534,8 @@ message CUserMsg_ParticleManager { message CreatePhysicsSim { optional string prop_group_name = 1; + optional bool use_high_quality_simulation = 2; + optional uint32 max_particle_count = 3; } message DestroyPhysicsSim { @@ -541,6 +545,11 @@ message CUserMsg_ParticleManager { optional string vdata_name = 1; } + message SetMaterialOverride { + optional string material_name = 1; + optional bool include_children = 2; + } + required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE]; required uint32 index = 2; optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; @@ -577,6 +586,7 @@ message CUserMsg_ParticleManager { optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35; optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36; optional .CUserMsg_ParticleManager.SetVData set_vdata = 37; + optional .CUserMsg_ParticleManager.SetMaterialOverride set_material_override = 38; extensions 100 to 201; } @@ -783,6 +793,13 @@ message CUserMessage_NotifyResponseFound { optional string response_value = 3; optional string response_concept = 4; repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5; + repeated uint32 int_criteria_names = 6 [packed = true]; + repeated int32 int_criteria_values = 7 [packed = true]; + repeated uint32 float_criteria_names = 8 [packed = true]; + repeated float float_criteria_values = 9; + repeated uint32 symbol_criteria_names = 10 [packed = true]; + repeated uint32 symbol_criteria_values = 11 [packed = true]; + optional int32 speak_result = 12; } message CUserMessage_PlayResponseConditional { @@ -790,4 +807,6 @@ message CUserMessage_PlayResponseConditional { repeated int32 player_slots = 2; optional string response = 3; optional .CMsgVector ent_origin = 4; + optional float pre_delay = 5; + optional int32 mix_priority = 6; }