mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-04 00:23:25 +08:00
Update and regenerate protobuf files (#48)
This commit is contained in:
parent
3db18b7b76
commit
dcb91d06b8
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -117,6 +117,7 @@ enum NET_Messages
|
||||
net_StringCmd = 5; // a string command
|
||||
net_SetConVar = 6; // sends one/multiple convar/userinfo settings
|
||||
net_SignonState = 7; // signals or acks current signon state
|
||||
net_PlayerAvatarData = 100;
|
||||
}
|
||||
|
||||
message CNETMsg_Tick
|
||||
@ -125,6 +126,7 @@ message CNETMsg_Tick
|
||||
optional uint32 host_computationtime = 4;
|
||||
optional uint32 host_computationtime_std_deviation = 5;
|
||||
optional uint32 host_framestarttime_std_deviation = 6;
|
||||
optional uint32 hltv_replay_flags = 7;
|
||||
}
|
||||
|
||||
message CNETMsg_StringCmd
|
||||
@ -180,6 +182,11 @@ message CNETMsg_SplitScreenUser
|
||||
optional int32 slot = 1;
|
||||
}
|
||||
|
||||
message CNETMsg_PlayerAvatarData {
|
||||
optional uint32 accountid = 1;
|
||||
optional bytes rgb = 2;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
// Client messages
|
||||
//=============================================================================
|
||||
@ -197,6 +204,7 @@ enum CLC_Messages
|
||||
clc_SplitPlayerConnect = 16;
|
||||
clc_ClientMessage = 17;
|
||||
clc_CmdKeyValues = 18;
|
||||
clc_HltvReplay = 20;
|
||||
}
|
||||
|
||||
message CCLCMsg_ClientInfo
|
||||
@ -221,6 +229,10 @@ message CCLCMsg_VoiceData
|
||||
{
|
||||
optional bytes data = 1;
|
||||
optional fixed64 xuid = 2;
|
||||
optional VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_ENGINE];
|
||||
optional int32 sequence_bytes = 4;
|
||||
optional uint32 section_number = 5;
|
||||
optional uint32 uncompressed_sample_offset = 6;
|
||||
}
|
||||
|
||||
message CCLCMsg_BaselineAck
|
||||
@ -290,6 +302,11 @@ message CCLCMsg_CmdKeyValues
|
||||
// Server messages
|
||||
//=============================================================================
|
||||
|
||||
enum VoiceDataFormat_t {
|
||||
VOICEDATA_FORMAT_STEAM = 0;
|
||||
VOICEDATA_FORMAT_ENGINE = 1;
|
||||
}
|
||||
|
||||
enum ESplitScreenMessageType
|
||||
{
|
||||
option allow_alias = true;
|
||||
@ -298,6 +315,13 @@ enum ESplitScreenMessageType
|
||||
MSG_SPLITSCREEN_TYPE_BITS = 1;
|
||||
};
|
||||
|
||||
enum ReplayEventType_t {
|
||||
REPLAY_EVENT_CANCEL = 0;
|
||||
REPLAY_EVENT_DEATH = 1;
|
||||
REPLAY_EVENT_GENERIC = 2;
|
||||
REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3;
|
||||
}
|
||||
|
||||
enum SVC_Messages
|
||||
{
|
||||
svc_ServerInfo = 8; // first message from server about game; map etc
|
||||
@ -327,6 +351,8 @@ enum SVC_Messages
|
||||
svc_PaintmapData = 33;
|
||||
svc_CmdKeyValues = 34; // Server submits KeyValues command for the client
|
||||
svc_EncryptedData = 35;
|
||||
svc_HltvReplay = 36;
|
||||
svc_Broadcast_Command = 38;
|
||||
}
|
||||
|
||||
message CSVCMsg_ServerInfo
|
||||
@ -427,6 +453,7 @@ message CSVCMsg_VoiceInit
|
||||
{
|
||||
optional int32 quality = 1;
|
||||
optional string codec = 2;
|
||||
optional int32 version = 3 [default = 0];
|
||||
}
|
||||
|
||||
message CSVCMsg_VoiceData
|
||||
@ -437,6 +464,10 @@ message CSVCMsg_VoiceData
|
||||
optional int32 audible_mask = 4;
|
||||
optional bytes voice_data = 5;
|
||||
optional bool caster = 6;
|
||||
optional VoiceDataFormat_t format = 7 [default = VOICEDATA_FORMAT_ENGINE];
|
||||
optional int32 sequence_bytes = 8;
|
||||
optional uint32 section_number = 9;
|
||||
optional uint32 uncompressed_sample_offset = 10;
|
||||
}
|
||||
|
||||
message CSVCMsg_FixAngle
|
||||
@ -486,7 +517,8 @@ message CSVCMsg_Menu
|
||||
message CSVCMsg_UserMessage
|
||||
{
|
||||
optional int32 msg_type = 1;
|
||||
optional bytes msg_data = 2;
|
||||
optional bytes msg_data = 2;
|
||||
optional int32 passthrough = 3;
|
||||
}
|
||||
|
||||
message CSVCMsg_PaintmapData
|
||||
@ -512,6 +544,7 @@ message CSVCMsg_GameEvent
|
||||
optional string event_name = 1;
|
||||
optional int32 eventid = 2;
|
||||
repeated key_t keys = 3;
|
||||
optional int32 passthrough = 4;
|
||||
}
|
||||
|
||||
message CSVCMsg_GameEventList
|
||||
@ -593,4 +626,26 @@ message CSVCMsg_EncryptedData
|
||||
{
|
||||
optional bytes encrypted = 1;
|
||||
optional int32 key_type = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message CSVCMsg_HltvReplay {
|
||||
optional int32 delay = 1;
|
||||
optional int32 primary_target = 2;
|
||||
optional int32 replay_stop_at = 3;
|
||||
optional int32 replay_start_at = 4;
|
||||
optional int32 replay_slowdown_begin = 5;
|
||||
optional int32 replay_slowdown_end = 6;
|
||||
optional float replay_slowdown_rate = 7;
|
||||
}
|
||||
|
||||
message CCLCMsg_HltvReplay {
|
||||
optional int32 request = 1;
|
||||
optional float slowdown_length = 2;
|
||||
optional float slowdown_rate = 3;
|
||||
optional int32 primary_target_ent_index = 4;
|
||||
optional float event_time = 5;
|
||||
}
|
||||
|
||||
message CSVCMsg_Broadcast_Command {
|
||||
optional string cmd = 1;
|
||||
}
|
||||
|
@ -74,6 +74,16 @@ CCstrike15UsermessageHelpers::CCstrike15UsermessageHelpers()
|
||||
SETUP_MESSAGE( RoundBackupFilenames );
|
||||
SETUP_MESSAGE( SendPlayerItemFound );
|
||||
SETUP_MESSAGE( ReportHit );
|
||||
SETUP_MESSAGE( XpUpdate );
|
||||
SETUP_MESSAGE( QuestProgress );
|
||||
SETUP_MESSAGE( ScoreLeaderboardData );
|
||||
SETUP_MESSAGE( PlayerDecalDigitalSignature );
|
||||
SETUP_MESSAGE( WeaponSound );
|
||||
SETUP_MESSAGE( UpdateScreenHealthBar );
|
||||
SETUP_MESSAGE( EntityOutlineHighlight );
|
||||
SETUP_MESSAGE( SSUI );
|
||||
SETUP_MESSAGE( SurvivalStats );
|
||||
//SETUP_MESSAGE( DisconnectToLobby2 );
|
||||
}
|
||||
|
||||
const google::protobuf::Message *CCstrike15UsermessageHelpers::GetPrototype( int index ) const
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -127,6 +127,21 @@ enum ECstrike15UserMessages
|
||||
CS_UM_RoundBackupFilenames = 62;
|
||||
CS_UM_SendPlayerItemFound = 63;
|
||||
CS_UM_ReportHit = 64;
|
||||
CS_UM_XpUpdate = 65;
|
||||
CS_UM_QuestProgress = 66;
|
||||
CS_UM_ScoreLeaderboardData = 67;
|
||||
CS_UM_PlayerDecalDigitalSignature = 68;
|
||||
CS_UM_WeaponSound = 69;
|
||||
CS_UM_UpdateScreenHealthBar = 70;
|
||||
CS_UM_EntityOutlineHighlight = 71;
|
||||
CS_UM_SSUI = 72;
|
||||
CS_UM_SurvivalStats = 73;
|
||||
CS_UM_DisconnectToLobby2 = 74;
|
||||
}
|
||||
|
||||
enum ECSUsrMsg_DisconnectToLobby_Action {
|
||||
k_ECSUsrMsg_DisconnectToLobby_Action_Default = 0;
|
||||
k_ECSUsrMsg_DisconnectToLobby_Action_GoQueue = 1;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
@ -263,6 +278,7 @@ message CCSUsrMsg_Damage
|
||||
{
|
||||
optional int32 amount = 1;
|
||||
optional CMsgVector inflictor_world_pos = 2;
|
||||
optional int32 victim_entindex = 3;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_RadioText
|
||||
@ -326,12 +342,16 @@ message CEconItemPreviewDataBlock
|
||||
optional float wear = 3;
|
||||
optional float scale = 4;
|
||||
optional float rotation = 5;
|
||||
optional uint32 tint_id = 6;
|
||||
}
|
||||
|
||||
repeated Sticker stickers = 12;
|
||||
optional uint32 inventory = 13;
|
||||
optional uint32 origin = 14;
|
||||
optional uint32 questid = 15;
|
||||
optional uint32 dropreason = 16;
|
||||
optional uint32 musicindex = 17;
|
||||
optional int32 entindex = 18;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_SendPlayerItemDrops
|
||||
@ -459,7 +479,7 @@ message CCSUsrMsg_VotePass
|
||||
{
|
||||
optional int32 team = 1;
|
||||
optional int32 vote_type = 2;
|
||||
optional string disp_str= 3;
|
||||
optional string disp_str = 3;
|
||||
optional string details_str = 4;
|
||||
}
|
||||
|
||||
@ -491,6 +511,7 @@ message CCSUsrMsg_ServerRankUpdate
|
||||
optional int32 rank_new = 3;
|
||||
optional int32 num_wins = 4;
|
||||
optional float rank_change = 5;
|
||||
optional int32 rank_type_id = 6;
|
||||
}
|
||||
|
||||
repeated RankUpdate rank_update = 1;
|
||||
@ -546,6 +567,125 @@ message CCSUsrMsg_RoundBackupFilenames {
|
||||
optional string nicename = 4;
|
||||
}
|
||||
|
||||
message XpProgressData {
|
||||
optional uint32 xp_points = 1;
|
||||
optional int32 xp_category = 2;
|
||||
}
|
||||
|
||||
message CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded {
|
||||
repeated XpProgressData xp_progress_data = 1;
|
||||
optional uint32 account_id = 2;
|
||||
optional uint32 current_xp = 3;
|
||||
optional uint32 current_level = 4;
|
||||
optional uint32 upgraded_defidx = 5;
|
||||
optional uint32 operation_points_awarded = 6;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_XpUpdate {
|
||||
optional CMsgGCCstrike15_v2_GC2ServerNotifyXPRewarded data = 1;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_QuestProgress {
|
||||
optional uint32 quest_id = 1;
|
||||
optional uint32 normal_points = 2;
|
||||
optional uint32 bonus_points = 3;
|
||||
optional bool is_event_quest = 4;
|
||||
}
|
||||
|
||||
message ScoreLeaderboardData {
|
||||
message Entry {
|
||||
optional uint32 tag = 1;
|
||||
optional uint32 val = 2;
|
||||
}
|
||||
|
||||
message AccountEntries {
|
||||
optional uint32 accountid = 1;
|
||||
repeated Entry entries = 2;
|
||||
}
|
||||
|
||||
optional uint64 quest_id = 1;
|
||||
optional uint32 score = 2;
|
||||
repeated AccountEntries accountentries = 3;
|
||||
repeated Entry matchentries = 5;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_ScoreLeaderboardData {
|
||||
optional ScoreLeaderboardData data = 1;
|
||||
}
|
||||
|
||||
message PlayerDecalDigitalSignature {
|
||||
optional bytes signature = 1;
|
||||
optional uint32 accountid = 2;
|
||||
optional uint32 rtime = 3;
|
||||
repeated float endpos = 4;
|
||||
repeated float startpos = 5;
|
||||
repeated float right = 6;
|
||||
optional uint32 tx_defidx = 7;
|
||||
optional int32 entindex = 8;
|
||||
optional uint32 hitbox = 9;
|
||||
optional float creationtime = 10;
|
||||
optional uint32 equipslot = 11;
|
||||
optional uint32 trace_id = 12;
|
||||
repeated float normal = 13;
|
||||
optional uint32 tint_id = 14;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_PlayerDecalDigitalSignature {
|
||||
optional PlayerDecalDigitalSignature data = 1;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_WeaponSound {
|
||||
optional int32 entidx = 1;
|
||||
optional float origin_x = 2;
|
||||
optional float origin_y = 3;
|
||||
optional float origin_z = 4;
|
||||
optional string sound = 5;
|
||||
optional float timestamp = 6;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_UpdateScreenHealthBar {
|
||||
optional int32 entidx = 1;
|
||||
optional float healthratio_old = 2;
|
||||
optional float healthratio_new = 3;
|
||||
optional int32 style = 4;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_EntityOutlineHighlight {
|
||||
optional int32 entidx = 1;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_SSUI {
|
||||
optional bool show = 1;
|
||||
}
|
||||
|
||||
message CCSUsrMsg_SurvivalStats {
|
||||
message Fact {
|
||||
optional int32 type = 1;
|
||||
optional int32 display = 2;
|
||||
optional int32 value = 3;
|
||||
optional float interestingness = 4;
|
||||
}
|
||||
|
||||
message Placement {
|
||||
optional uint64 xuid = 1;
|
||||
optional int32 teamnumber = 2;
|
||||
optional int32 placement = 3;
|
||||
}
|
||||
|
||||
message Damage {
|
||||
optional uint64 xuid = 1;
|
||||
optional int32 to = 2;
|
||||
optional int32 to_hits = 3;
|
||||
optional int32 from = 4;
|
||||
optional int32 from_hits = 5;
|
||||
}
|
||||
|
||||
optional uint64 xuid = 1;
|
||||
repeated Fact facts = 2;
|
||||
repeated Placement users = 3;
|
||||
repeated Damage damages = 5;
|
||||
optional int32 ticknumber = 4;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
// Messages where the data seems to be irrelevant
|
||||
|
Loading…
x
Reference in New Issue
Block a user