1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00

Update usermessage and engine protos.

This commit is contained in:
Nicholas Hastings 2014-09-01 11:10:41 -04:00
parent 2f99947e76
commit 486133fea8
2 changed files with 23 additions and 3 deletions

View File

@ -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;
}

View File

@ -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
//=============================================================================