1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-03 16:13:22 +08:00

Update protobufs

After 8/8/2024 CS2 update
This commit is contained in:
GAMMACASE 2024-08-09 03:59:37 +03:00
parent 1a19a2cca1
commit c57d5ab398
4 changed files with 67 additions and 16 deletions

View File

@ -5,19 +5,17 @@ enum CLC_Messages {
clc_Move = 21;
clc_VoiceData = 22;
clc_BaselineAck = 23;
clc_ListenEvents = 24;
clc_RespondCvarValue = 25;
clc_FileCRCCheck = 26;
clc_LoadingProgress = 27;
clc_SplitPlayerConnect = 28;
clc_ClientMessage = 29;
clc_SplitPlayerDisconnect = 30;
clc_ServerStatus = 31;
clc_ServerPing = 32;
clc_RequestPause = 33;
clc_CmdKeyValues = 34;
clc_RconServerDetails = 35;
clc_HltvReplay = 36;
clc_Diagnostic = 37;
}
enum SVC_Messages {
@ -48,7 +46,6 @@ enum SVC_Messages {
svc_FullFrameSplit = 70;
svc_RconServerDetails = 71;
svc_UserMessage = 72;
svc_HltvReplay = 73;
svc_Broadcast_Command = 74;
svc_HltvFixupOperatorStatus = 75;
svc_UserCmds = 76;
@ -123,8 +120,7 @@ message CCLCMsg_ClientInfo {
message CCLCMsg_Move {
optional bytes data = 3;
optional uint32 command_number = 4;
optional uint32 num_commands = 5;
optional uint32 last_command_number = 4;
}
message CMsgVoiceAudio {
@ -177,11 +173,6 @@ message CCLCMsg_SplitPlayerConnect {
optional string playername = 1;
}
message CCLCMsg_ClientMessage {
optional int32 msg_type = 1;
optional bytes data = 2;
}
message CCLCMsg_SplitPlayerDisconnect {
optional int32 slot = 1;
}
@ -203,6 +194,60 @@ message CCLCMsg_RconServerDetails {
optional bytes token = 1;
}
message CMsgSource2SystemSpecs {
optional string cpu_id = 1;
optional string cpu_brand = 2;
optional uint32 cpu_model = 3;
optional uint32 cpu_num_physical = 4;
optional uint32 ram_physical_total_mb = 21;
optional string gpu_rendersystem_dll_name = 41;
optional uint32 gpu_vendor_id = 42;
optional string gpu_driver_name = 43;
optional uint32 gpu_driver_version_high = 44;
optional uint32 gpu_driver_version_low = 45;
optional uint32 gpu_dx_support_level = 46;
optional uint32 gpu_texture_memory_size_mb = 47;
}
message CMsgSource2VProfLiteReportItem {
optional string name = 1;
optional uint32 active_samples = 2;
optional uint32 usec_max = 3;
optional uint32 usec_avg_active = 11;
optional uint32 usec_p50_active = 12;
optional uint32 usec_p99_active = 13;
optional uint32 usec_avg_all = 21;
optional uint32 usec_p50_all = 22;
optional uint32 usec_p99_all = 23;
}
message CMsgSource2VProfLiteReport {
optional .CMsgSource2VProfLiteReportItem total = 1;
repeated .CMsgSource2VProfLiteReportItem items = 2;
optional uint32 discarded_frames = 3;
}
message CCLCMsg_Diagnostic {
optional .CMsgSource2SystemSpecs system_specs = 1;
optional .CMsgSource2VProfLiteReport vprof_report = 2;
}
message CSource2Metrics_MatchPerfSummary_Notification {
message Client {
optional .CMsgSource2SystemSpecs system_specs = 1;
optional .CMsgSource2VProfLiteReport profile = 2;
optional uint32 build_id = 3;
optional fixed64 steamid = 10;
}
optional uint32 appid = 1;
optional string game_mode = 2;
optional uint32 server_build_id = 3;
optional .CMsgSource2VProfLiteReport server_profile = 10;
repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11;
optional string map = 20;
}
message CSVCMsg_ServerInfo {
optional int32 protocol = 1;
optional int32 server_count = 2;
@ -383,7 +428,7 @@ message CSVCMsg_PacketEntities {
optional bytes serialized_entities = 13;
repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15;
optional uint32 has_pvs_vis_bits = 16;
optional uint32 last_cmd_recv_margin = 18;
repeated sint32 cmd_recv_status = 22 [packed = true];
optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19;
optional uint32 cq_starved_command_ticks = 20;
optional uint32 cq_discarded_command_ticks = 21;

View File

@ -105,10 +105,6 @@ message CNETMsg_SplitScreenUser {
optional int32 slot = 1;
}
message CNETMsg_Disconnect_Legacy {
optional .ENetworkDisconnectionReason reason = 2 [default = NETWORK_DISCONNECT_INVALID];
}
message CNETMsg_Tick {
optional uint32 tick = 1;
optional uint32 host_frametime = 2;

View File

@ -404,6 +404,7 @@ message CMsgGC_ServerQuestUpdateData {
optional bytes binary_data = 2;
optional uint32 mm_game_mode = 3;
optional .ScoreLeaderboardData missionlbsdata = 4;
optional uint32 flags = 5;
}
message CMsgGCCStrike15_v2_MatchmakingGC2ServerConfirm {
@ -899,6 +900,7 @@ message CEconItemPreviewDataBlock {
optional uint32 musicindex = 17;
optional int32 entindex = 18;
optional uint32 petindex = 19;
repeated .CEconItemPreviewDataBlock.Sticker keychains = 20;
}
message CMsgGCCStrike15_v2_MatchEndRewardDropsNotification {

View File

@ -114,6 +114,7 @@ enum EGCItemMsg {
k_EMsgGCDev_NewItemRequest = 2001;
k_EMsgGCDev_NewItemRequestResponse = 2002;
k_EMsgGCDev_PaintKitDropItem = 2003;
k_EMsgGCDev_SchemaReservationRequest = 2004;
k_EMsgGCStoreGetUserData = 2500;
k_EMsgGCStoreGetUserDataResponse = 2501;
k_EMsgGCStorePurchaseInit_DEPRECATED = 2502;
@ -207,6 +208,13 @@ message CMsgGCGiftedItems {
repeated uint32 recipients_accountids = 5;
}
message CMsgGCDev_SchemaReservationRequest {
optional string schema_typename = 1;
optional string instance_name = 2;
optional uint64 context = 3;
optional uint64 id = 4;
}
message CMsgCasketItem {
optional uint64 casket_item_id = 1;
optional uint64 item_item_id = 2;