From 486133fea8432615da545ae529afca670b609085 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Mon, 1 Sep 2014 11:10:41 -0400 Subject: [PATCH] Update usermessage and engine protos. --- public/engine/protobuf/netmessages.proto | 7 ++++--- .../protobuf/cstrike15_usermessages.proto | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/public/engine/protobuf/netmessages.proto b/public/engine/protobuf/netmessages.proto index b71008f8..927cef14 100644 --- a/public/engine/protobuf/netmessages.proto +++ b/public/engine/protobuf/netmessages.proto @@ -122,8 +122,9 @@ enum NET_Messages message CNETMsg_Tick { optional uint32 tick = 1; // current tick count - optional uint32 host_frametime = 2; // Host frame time in 1/100000th of a second - optional uint32 host_frametime_std_deviation = 3; // Host frame time stddev in 1/100000th of a second + optional uint32 host_computationtime = 4; + optional uint32 host_computationtime_std_deviation = 5; + optional uint32 host_framestarttime_std_deviation = 6; } message CNETMsg_StringCmd @@ -462,7 +463,7 @@ message CSVCMsg_BSPDecal message CSVCMsg_SplitScreen { - optional ESplitScreenMessageType type = 1; + optional ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; optional int32 slot = 2; optional int32 player_index = 3; } diff --git a/public/game/shared/csgo/protobuf/cstrike15_usermessages.proto b/public/game/shared/csgo/protobuf/cstrike15_usermessages.proto index f838a5b1..eff40ea0 100644 --- a/public/game/shared/csgo/protobuf/cstrike15_usermessages.proto +++ b/public/game/shared/csgo/protobuf/cstrike15_usermessages.proto @@ -124,6 +124,8 @@ enum ECstrike15UserMessages CS_UM_ItemDrop = 59; CS_UM_GlowPropTurnOff = 60; CS_UM_SendPlayerItemDrops = 61; + CS_UM_RoundBackupFilenames = 62; + CS_UM_SendPlayerItemFound = 63; } //============================================================================= @@ -326,6 +328,9 @@ message CEconItemPreviewDataBlock } repeated Sticker stickers = 12; + optional uint32 inventory = 13; + optional uint32 origin = 14; + optional uint32 questid = 15; } message CCSUsrMsg_SendPlayerItemDrops @@ -333,6 +338,12 @@ message CCSUsrMsg_SendPlayerItemDrops repeated CEconItemPreviewDataBlock entity_updates = 1; } +message CCSUsrMsg_SendPlayerItemFound +{ + optional CEconItemPreviewDataBlock iteminfo = 1; + optional int32 entindex = 2; +} + message CCSUsrMsg_ReloadEffect { optional int32 entidx = 1; @@ -516,6 +527,14 @@ message CCSUsrMsg_GlowPropTurnOff optional int32 entidx = 1; } +message CCSUsrMsg_RoundBackupFilenames { + optional int32 count = 1; + optional int32 index = 2; + optional string filename = 3; + optional string nicename = 4; +} + + //============================================================================= // Messages where the data seems to be irrelevant //=============================================================================