Skip to content

Commit

Permalink
13 files | A csgo/base_gcmessages.proto, M csgo/cs_usercmd.proto, M c…
Browse files Browse the repository at this point in the history
…sgo/cstrike15_gcmessages.proto, M csgo/cstrike15_usermessages.proto, M csgo/demo.proto, M csgo/econ_gcmessages.proto, M csgo/gcsdk_gcmessages.proto, M csgo/gcsystemmsgs.proto, M csgo/netmessages.proto, M csgo/networkbasetypes.proto, M csgo/steammessages.proto, M csgo/usercmd.proto, M csgo/usermessages.proto
  • Loading branch information
SteamDB-Tracker committed Feb 7, 2024
1 parent c76eac4 commit 1f31b91
Show file tree
Hide file tree
Showing 13 changed files with 627 additions and 32 deletions.
552 changes: 552 additions & 0 deletions csgo/base_gcmessages.proto

Large diffs are not rendered by default.

20 changes: 0 additions & 20 deletions csgo/cs_usercmd.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
17 changes: 17 additions & 0 deletions csgo/cstrike15_gcmessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion csgo/cstrike15_usermessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
5 changes: 5 additions & 0 deletions csgo/demo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ message CGameInfo {
optional uint32 end_time = 11;
}

message CCSGameInfo {
repeated int32 round_start_ticks = 1;
}

optional .CGameInfo.CDotaGameInfo dota = 4;
optional .CGameInfo.CCSGameInfo cs = 5;
}

message CDemoFileInfo {
Expand Down
9 changes: 0 additions & 9 deletions csgo/econ_gcmessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -222,7 +217,3 @@ message CMsgGCItemCustomizationNotification {
repeated uint64 item_id = 1;
optional uint32 request = 2;
}

message CAttribute_String {
optional string value = 1;
}
2 changes: 2 additions & 0 deletions csgo/gcsdk_gcmessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ enum GCClientLauncherType {
GCClientLauncherType_DEFAULT = 0;
GCClientLauncherType_PERFECTWORLD = 1;
GCClientLauncherType_STEAMCHINA = 2;
GCClientLauncherType_SOURCE2 = 3;
}

enum GCConnectionStatus {
Expand Down Expand Up @@ -162,6 +163,7 @@ message CMsgServerHello {
optional bytes legacy_steamdatagram_routing = 6;
optional uint32 required_internal_addr = 7;
optional bytes steamdatagram_login = 8;
optional uint32 socache_control = 9;
}

message CMsgClientWelcome {
Expand Down
1 change: 1 addition & 0 deletions csgo/gcsystemmsgs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ message CCommunity_GetGamePersonalDataEntries_Response {
optional uint32 gceresult = 1;
repeated string entries = 2;
optional string continue_token = 3;
optional string continue_text = 4;
}

message CCommunity_TerminateGamePersonalDataEntries_Request {
Expand Down
15 changes: 13 additions & 2 deletions csgo/netmessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -369,21 +369,31 @@ message CSVCMsg_PacketEntities {
optional int32 baseline_index = 2;
}

message non_transmitted_entities_t {
optional int32 header_count = 1;
optional bytes data = 2;
}

optional int32 max_entries = 1;
optional int32 updated_entries = 2;
optional bool is_delta = 3;
optional bool legacy_is_delta = 3;
optional bool update_baseline = 4;
optional int32 baseline = 5;
optional int32 delta_from = 6;
optional bytes entity_data = 7;
optional bool pending_full_frame = 8;
optional uint32 active_spawngroup_handle = 9;
optional uint32 max_spawngroup_creationsequence = 10;
optional uint32 last_cmd_number = 11;
optional uint32 last_cmd_number_executed = 11;
optional sint32 last_cmd_number_recv_delta = 17;
optional uint32 server_tick = 12;
optional bytes serialized_entities = 13;
optional .CSVCMsg_PacketEntities.command_queue_info_t command_queue_info = 14;
repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15;
optional uint32 has_pvs_vis_bits = 16;
optional uint32 last_cmd_recv_margin = 18;
optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19;
optional bytes dev_padding = 999;
}

message CSVCMsg_TempEntities {
Expand Down Expand Up @@ -494,6 +504,7 @@ message ProtoFlattenedSerializerField_t {
optional int32 send_node_sym = 9;
optional int32 var_encoder_sym = 10;
repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11;
optional int32 var_serializer_sym = 12;
}

message ProtoFlattenedSerializer_t {
Expand Down
2 changes: 2 additions & 0 deletions csgo/networkbasetypes.proto
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ message CNETMsg_Tick {
optional uint32 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;
}

message CNETMsg_StringCmd {
Expand Down
23 changes: 23 additions & 0 deletions csgo/steammessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,28 @@ message CMsgGCGetPartnerAccountLink_Response {
optional bool is_adult = 5;
}

message CMsgGCAddressMask {
optional fixed32 ipv4 = 1;
optional uint32 maskbits = 2 [default = 32];
}

message CMsgGCAddressMaskGroup {
repeated .CMsgGCAddressMask addrs = 1;
}

message CMsgGCRoutingInfo {
message TokenBucketConfiguration {
optional int32 tokens_start = 1;
optional int32 tokens_grant = 2;
optional int32 grant_seconds = 3;
}

message PolicyRule {
optional int32 account_type = 1;
optional int32 address_mask_group_id = 2;
optional .CMsgGCRoutingInfo.TokenBucketConfiguration token_bucket = 3;
}

enum RoutingMethod {
RANDOM = 0;
DISCARD = 1;
Expand All @@ -457,6 +478,7 @@ message CMsgGCRoutingInfo {
optional .CMsgGCRoutingInfo.RoutingMethod fallback = 3 [default = DISCARD];
optional uint32 protobuf_field = 4;
optional string webapi_param = 5;
repeated .CMsgGCRoutingInfo.PolicyRule policy_rules = 6;
}

message CMsgGCMsgMasterSetWebAPIRouting {
Expand All @@ -476,6 +498,7 @@ message CMsgGCMsgMasterSetClientMsgRouting {
}

repeated .CMsgGCMsgMasterSetClientMsgRouting.Entry entries = 1;
repeated .CMsgGCAddressMaskGroup address_mask_groups = 2;
}

message CMsgGCMsgMasterSetWebAPIRouting_Response {
Expand Down
2 changes: 2 additions & 0 deletions csgo/usercmd.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
10 changes: 10 additions & 0 deletions csgo/usermessages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 1f31b91

Please sign in to comment.