mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-08 10:13:28 +08:00
Update usermessage and engine protos.
This commit is contained in:
parent
5cce01a48e
commit
e4ff29c755
@ -73,6 +73,7 @@ import "google/protobuf/descriptor.proto";
|
||||
|
||||
// for CMsgVector, etc.
|
||||
import "networkbasetypes.proto";
|
||||
import "network_connection.proto";
|
||||
|
||||
//=============================================================================
|
||||
// Bidirectional NET Messages
|
||||
@ -107,7 +108,7 @@ message CNETMsg_NOP
|
||||
|
||||
message CNETMsg_Disconnect
|
||||
{
|
||||
optional string text = 1;
|
||||
optional ENetworkDisconnectionReason reason = 2 [default = NETWORK_DISCONNECT_INVALID];
|
||||
}
|
||||
|
||||
message CNETMsg_File
|
||||
@ -126,8 +127,9 @@ message CNETMsg_SplitScreenUser
|
||||
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
|
||||
@ -196,6 +198,9 @@ message CCLCMsg_VoiceData
|
||||
optional bytes data = 1;
|
||||
optional fixed64 xuid = 2;
|
||||
optional VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM];
|
||||
optional int32 sequence_bytes = 4;
|
||||
optional uint32 section_number = 5;
|
||||
optional uint32 uncompressed_sample_offset = 6;
|
||||
}
|
||||
|
||||
message CCLCMsg_BaselineAck
|
||||
@ -273,6 +278,7 @@ enum SVC_Messages
|
||||
svc_GameEventList = 30; // list of known games events and fields
|
||||
svc_GetCvarValue = 31; // Server wants to know the value of a cvar on the client
|
||||
svc_PacketReliable = 32;
|
||||
svc_FullFrameSplit = 33;
|
||||
}
|
||||
|
||||
message CSVCMsg_ServerInfo
|
||||
@ -457,6 +463,7 @@ message CSVCMsg_PacketEntities
|
||||
optional int32 baseline = 5;
|
||||
optional int32 delta_from = 6;
|
||||
optional bytes entity_data = 7;
|
||||
optional bool pending_full_frame = 8;
|
||||
}
|
||||
|
||||
message CSVCMsg_TempEntities
|
||||
@ -493,6 +500,9 @@ message CSVCMsg_VoiceData
|
||||
optional int32 audible_mask = 4;
|
||||
optional bytes voice_data = 5;
|
||||
optional VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
|
||||
optional int32 sequence_bytes = 7;
|
||||
optional uint32 section_number = 8;
|
||||
optional uint32 uncompressed_sample_offset = 9;
|
||||
}
|
||||
|
||||
message CSVCMsg_PacketReliable
|
||||
@ -501,3 +511,10 @@ message CSVCMsg_PacketReliable
|
||||
optional int32 messagessize = 2;
|
||||
}
|
||||
|
||||
message CSVCMsg_FullFrameSplit
|
||||
{
|
||||
optional int32 tick = 1;
|
||||
optional int32 section = 2;
|
||||
optional int32 total = 3;
|
||||
optional bytes data = 4;
|
||||
}
|
||||
|
129
public/engine/protobuf/network_connection.proto
Normal file
129
public/engine/protobuf/network_connection.proto
Normal file
@ -0,0 +1,129 @@
|
||||
//====== Copyright (c) 2012, Valve Corporation, All rights reserved. ========//
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are met:
|
||||
//
|
||||
// Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
// Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
||||
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
// THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//===========================================================================//
|
||||
//
|
||||
// Purpose: The file defines our Google Protocol Buffers which are used in over
|
||||
// the wire messages for the Source engine.
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
// Note about encoding:
|
||||
// http://code.google.com/apis/protocolbuffers/docs/encoding.html
|
||||
//
|
||||
// TL;DR: Use sint32/sint64 for values that may be negative.
|
||||
//
|
||||
// There is an important difference between the signed int types (sint32 and sint64)
|
||||
// and the "standard" int types (int32 and int64) when it comes to encoding negative
|
||||
// numbers. If you use int32 or int64 as the type for a negative number, the
|
||||
// resulting varint is always ten bytes long – it is, effectively, treated like a
|
||||
// very large unsigned integer. If you use one of the signed types, the resulting
|
||||
// varint uses ZigZag encoding, which is much more efficient.
|
||||
|
||||
|
||||
// Commenting this out allows it to be compiled for SPEED or LITE_RUNTIME.
|
||||
// option optimize_for = SPEED;
|
||||
|
||||
// We don't use the service generation functionality
|
||||
option cc_generic_services = false;
|
||||
|
||||
|
||||
//
|
||||
// STYLE NOTES:
|
||||
//
|
||||
// Use CamelCase CMsgMyMessageName style names for messages.
|
||||
//
|
||||
// Use lowercase _ delimited names like my_steam_id for field names, this is non-standard for Steam,
|
||||
// but plays nice with the Google formatted code generation.
|
||||
//
|
||||
// Try not to use required fields ever. Only do so if you are really really sure you'll never want them removed.
|
||||
// Optional should be preffered as it will make versioning easier and cleaner in the future if someone refactors
|
||||
// your message and wants to remove or rename fields.
|
||||
//
|
||||
// Use fixed64 for JobId_t, GID_t, or SteamID. This is appropriate for any field that is normally
|
||||
// going to be larger than 2^56. Otherwise use int64 for 64 bit values that are frequently smaller
|
||||
// than 2^56 as it will safe space on the wire in those cases.
|
||||
//
|
||||
// Similar to fixed64, use fixed32 for RTime32 or other 32 bit values that are frequently larger than
|
||||
// 2^28. It will safe space in those cases, otherwise use int32 which will safe space for smaller values.
|
||||
// An exception to this rule for RTime32 is if the value will frequently be zero rather than set to an actual
|
||||
// time.
|
||||
//
|
||||
|
||||
import "google/protobuf/descriptor.proto";
|
||||
|
||||
extend .google.protobuf.EnumValueOptions
|
||||
{
|
||||
optional string network_connection_token = 50500;
|
||||
}
|
||||
|
||||
enum ENetworkDisconnectionReason
|
||||
{
|
||||
NETWORK_DISCONNECT_INVALID = 0;
|
||||
NETWORK_DISCONNECT_SHUTDOWN = 1;
|
||||
NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2 [(network_connection_token) = "#GameUI_Disconnect_User"];
|
||||
NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3 [(network_connection_token) = "#GameUI_Disconnect_Server"];
|
||||
NETWORK_DISCONNECT_LOST = 4 [(network_connection_token) = "#GameUI_Disconnect_ConnectionLost"];
|
||||
NETWORK_DISCONNECT_OVERFLOW = 5 [(network_connection_token) = "#GameUI_Disconnect_ConnectionOverflow"];
|
||||
NETWORK_DISCONNECT_STEAM_BANNED = 6 [(network_connection_token) = "#GameUI_Disconnect_SteamIDBanned"];
|
||||
NETWORK_DISCONNECT_STEAM_INUSE = 7 [(network_connection_token) = "#GameUI_Disconnect_SteamIDInUse"];
|
||||
NETWORK_DISCONNECT_STEAM_TICKET = 8 [(network_connection_token) = "#GameUI_Disconnect_SteamTicket"];
|
||||
NETWORK_DISCONNECT_STEAM_LOGON = 9 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||
NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||
NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||
NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||
NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC"];
|
||||
NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14 [(network_connection_token) = "#GameUI_Disconnect_SteamInUse"];
|
||||
NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15 [(network_connection_token) = "#GameUI_Disconnect_SteamTimeOut"];
|
||||
NETWORK_DISCONNECT_STEAM_DROPPED = 16 [(network_connection_token) = "#GameUI_Disconnect_SteamDropped"];
|
||||
NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17 [(network_connection_token) = "#GameUI_Disconnect_SteamOwnership"];
|
||||
NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18 [(network_connection_token) = "#GameUI_Disconnect_ServerInfoOverflow"];
|
||||
NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19 [(network_connection_token) = "#GameUI_Disconnect_TickMessage"];
|
||||
NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20 [(network_connection_token) = "#GameUI_Disconnect_StringTableMessage"];
|
||||
NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21 [(network_connection_token) = "#GameUI_Disconnect_DeltaEntMessage"];
|
||||
NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22 [(network_connection_token) = "#GameUI_Disconnect_TempEntMessage"];
|
||||
NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23 [(network_connection_token) = "#GameUI_Disconnect_SoundsMessage"];
|
||||
NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24 [(network_connection_token) = "#GameUI_Disconnect_SnapshotOverflow"];
|
||||
NETWORK_DISCONNECT_SNAPSHOTERROR = 25 [(network_connection_token) = "#GameUI_Disconnect_SnapshotError"];
|
||||
NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26 [(network_connection_token) = "#GameUI_Disconnect_ReliableOverflow"];
|
||||
NETWORK_DISCONNECT_BADDELTATICK = 27 [(network_connection_token) = "#GameUI_Disconnect_BadClientDeltaTick"];
|
||||
NETWORK_DISCONNECT_NOMORESPLITS = 28 [(network_connection_token) = "#GameUI_Disconnect_NoMoreSplits"];
|
||||
NETWORK_DISCONNECT_TIMEDOUT = 29 [(network_connection_token) = "#GameUI_Disconnect_TimedOut"];
|
||||
NETWORK_DISCONNECT_DISCONNECTED = 30 [(network_connection_token) = "#GameUI_Disconnect_Disconnected"];
|
||||
NETWORK_DISCONNECT_LEAVINGSPLIT = 31 [(network_connection_token) = "#GameUI_Disconnect_LeavingSplit"];
|
||||
NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32 [(network_connection_token) = "#GameUI_Disconnect_DifferentClassTables"];
|
||||
NETWORK_DISCONNECT_BADRELAYPASSWORD = 33 [(network_connection_token) = "#GameUI_Disconnect_BadRelayPassword"];
|
||||
NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34 [(network_connection_token) = "#GameUI_Disconnect_BadSpectatorPassword"];
|
||||
NETWORK_DISCONNECT_HLTVRESTRICTED = 35 [(network_connection_token) = "#GameUI_Disconnect_HLTVRestricted"];
|
||||
NETWORK_DISCONNECT_NOSPECTATORS = 36 [(network_connection_token) = "#GameUI_Disconnect_NoSpectators"];
|
||||
NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37 [(network_connection_token) = "#GameUI_Disconnect_HLTVUnavailable"];
|
||||
NETWORK_DISCONNECT_HLTVSTOP = 38 [(network_connection_token) = "#GameUI_Disconnect_HLTVStop"];
|
||||
NETWORK_DISCONNECT_KICKED = 39 [(network_connection_token) = "#GameUI_Disconnect_Kicked"];
|
||||
NETWORK_DISCONNECT_BANADDED = 40 [(network_connection_token) = "#GameUI_Disconnect_BanAdded"];
|
||||
NETWORK_DISCONNECT_KICKBANADDED = 41 [(network_connection_token) = "#GameUI_Disconnect_KickBanAdded"];
|
||||
NETWORK_DISCONNECT_HLTVDIRECT = 42 [(network_connection_token) = "#GameUI_Disconnect_HLTVDirect"];
|
||||
NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43 [(network_connection_token) = "#GameUI_Disconnect_PureServer_ClientExtra"];
|
||||
NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44 [(network_connection_token) = "#GameUI_Disconnect_PureServer_Mismatch"];
|
||||
NETWORK_DISCONNECT_USERCMD = 45 [(network_connection_token) = "#GameUI_Disconnect_UserCmd"];
|
||||
NETWORK_DISCONNECT_REJECTED_BY_GAME = 46 [(network_connection_token) = "#GameUI_Disconnect_RejectedByGame"];
|
||||
}
|
||||
|
@ -94,6 +94,11 @@ enum EDotaClientMessages
|
||||
DOTA_CM_RecordVote = 22;
|
||||
DOTA_CM_UnitsAutoAttackAfterSpell = 23;
|
||||
DOTA_CM_WillPurchaseAlert = 24;
|
||||
DOTA_CM_PlayerShowCase = 25;
|
||||
DOTA_CM_TeleportRequiresHalt = 26;
|
||||
DOTA_CM_CameraZoomAmount = 27;
|
||||
DOTA_CM_BroadcasterUsingCamerman = 28;
|
||||
DOTA_CM_BroadcasterUsingAssistedCameraOperator = 29;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
@ -128,6 +133,11 @@ message CDOTAClientMsg_UnitsAutoAttackAfterSpell
|
||||
optional bool enabled = 1;
|
||||
}
|
||||
|
||||
message CDOTAClientMsg_TeleportRequiresHalt
|
||||
{
|
||||
optional bool enabled = 1;
|
||||
}
|
||||
|
||||
message CDOTAClientMsg_AutoPurchaseItems
|
||||
{
|
||||
optional bool enabled = 1;
|
||||
@ -226,3 +236,19 @@ message CDOTAClientMsg_WillPurchaseAlert
|
||||
optional int32 itemid = 1;
|
||||
}
|
||||
|
||||
message CDOTAClientMsg_PlayerShowCase
|
||||
{
|
||||
optional bool showcase = 1;
|
||||
}
|
||||
message CDOTAClientMsg_CameraZoomAmount
|
||||
{
|
||||
optional float zoom_amount = 1;
|
||||
}
|
||||
message CDOTAClientMsg_BroadcasterUsingCameraman
|
||||
{
|
||||
optional bool cameraman = 1;
|
||||
}
|
||||
message CDOTAClientMsg_BroadcasterUsingAssistedCameraOperator
|
||||
{
|
||||
optional bool enabled = 1;
|
||||
}
|
||||
|
@ -146,6 +146,7 @@ enum EDOTAStatPopupTypes
|
||||
k_EDOTA_SPT_Textline = 0;
|
||||
k_EDOTA_SPT_Basic = 1;
|
||||
k_EDOTA_SPT_Poll = 2;
|
||||
k_EDOTA_SPT_Grid = 3;
|
||||
}
|
||||
|
||||
message CDOTAMsg_LocationPing
|
||||
|
@ -133,6 +133,10 @@ enum EDotaUserMessages
|
||||
DOTA_UM_VoteEnd = 122;
|
||||
DOTA_UM_BoosterState = 123;
|
||||
DOTA_UM_WillPurchaseAlert = 124;
|
||||
DOTA_UM_TutorialMinimapPosition = 125;
|
||||
DOTA_UM_PlayerMMR = 126;
|
||||
DOTA_UM_AbilitySteal = 127;
|
||||
DOTA_UM_CourierKilledAlert = 128;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
@ -171,7 +175,7 @@ enum DOTA_CHAT_MESSAGE
|
||||
CHAT_MESSAGE_DISCONNECT_TIME_REMAINING = 17;
|
||||
CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_PLURAL = 18;
|
||||
CHAT_MESSAGE_RECONNECT = 19;
|
||||
CHAT_MESSAGE_ABANDON = 20;
|
||||
CHAT_MESSAGE_PLAYER_LEFT = 20;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE = 21;
|
||||
CHAT_MESSAGE_RUNE_PICKUP = 22;
|
||||
CHAT_MESSAGE_RUNE_BOTTLE = 23;
|
||||
@ -191,7 +195,6 @@ enum DOTA_CHAT_MESSAGE
|
||||
CHAT_MESSAGE_AUTO_UNPAUSED = 37;
|
||||
CHAT_MESSAGE_YOUPAUSED = 38;
|
||||
CHAT_MESSAGE_CANTUNPAUSETEAM = 39;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER = 40;
|
||||
CHAT_MESSAGE_VOICE_TEXT_BANNED = 41;
|
||||
CHAT_MESSAGE_SPECTATORS_WATCHING_THIS_GAME = 42;
|
||||
CHAT_MESSAGE_REPORT_REMINDER = 43;
|
||||
@ -199,7 +202,6 @@ enum DOTA_CHAT_MESSAGE
|
||||
CHAT_MESSAGE_TAUNT = 45;
|
||||
CHAT_MESSAGE_RANDOM = 46;
|
||||
CHAT_MESSAGE_RD_TURN = 47;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_EARLY = 48;
|
||||
CHAT_MESSAGE_DROP_RATE_BONUS = 49;
|
||||
CHAT_MESSAGE_NO_BATTLE_POINTS = 50;
|
||||
CHAT_MESSAGE_DENIED_AEGIS = 51;
|
||||
@ -211,19 +213,25 @@ enum DOTA_CHAT_MESSAGE
|
||||
CHAT_MESSAGE_HOLDOUT_TOWER_DESTROYED = 57;
|
||||
CHAT_MESSAGE_HOLDOUT_WALL_DESTROYED = 58;
|
||||
CHAT_MESSAGE_HOLDOUT_WALL_FINISHED = 59;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_AFK = 60;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_AFK_EARLY = 61;
|
||||
CHAT_MESSAGE_ABANDON_LIMITED_HERO = 62;
|
||||
CHAT_MESSAGE_PLAYER_LEFT_LIMITED_HERO = 62;
|
||||
CHAT_MESSAGE_ABANDON_LIMITED_HERO_EXPLANATION = 63;
|
||||
CHAT_MESSAGE_DISCONNECT_LIMITED_HERO = 64;
|
||||
CHAT_MESSAGE_LOW_PRIORITY_COMPLETED_EXPLANATION = 65;
|
||||
CHAT_MESSAGE_RECRUITMENT_DROP_RATE_BONUS = 66;
|
||||
CHAT_MESSAGE_FROSTIVUS_SHINING_BOOSTER_ACTIVE = 67;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_RANKED = 68;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_RANKED = 69;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_EARLY_RANKED = 70;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_AFK_RANKED = 71;
|
||||
CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_AFK_EARLY_RANKED = 72;
|
||||
CHAT_MESSAGE_PLAYER_LEFT_AFK = 73;
|
||||
CHAT_MESSAGE_PLAYER_LEFT_DISCONNECTED_TOO_LONG = 74;
|
||||
CHAT_MESSAGE_PLAYER_ABANDONED = 75;
|
||||
CHAT_MESSAGE_PLAYER_ABANDONED_AFK = 76;
|
||||
CHAT_MESSAGE_PLAYER_ABANDONED_DISCONNECTED_TOO_LONG = 77;
|
||||
CHAT_MESSAGE_WILL_NOT_BE_SCORED = 78;
|
||||
CHAT_MESSAGE_WILL_NOT_BE_SCORED_RANKED = 79;
|
||||
CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK = 80;
|
||||
CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK_RANKED = 81;
|
||||
CHAT_MESSAGE_CAN_QUIT_WITHOUT_ABANDON = 82;
|
||||
CHAT_MESSAGE_RANKED_GAME_STILL_SCORED_LEAVERS_GET_LOSS = 83;
|
||||
CHAT_MESSAGE_ABANDON_RANKED_BEFORE_FIRST_BLOOD_PARTY = 84;
|
||||
CHAT_MESSAGE_COMPENDIUM_LEVEL = 85;
|
||||
}
|
||||
|
||||
enum DOTA_NO_BATTLE_POINTS_REASONS
|
||||
@ -269,6 +277,14 @@ enum DOTA_COMBATLOG_TYPES
|
||||
DOTA_COMBATLOG_MODIFIER_ADD = 2;
|
||||
DOTA_COMBATLOG_MODIFIER_REMOVE = 3;
|
||||
DOTA_COMBATLOG_DEATH = 4;
|
||||
DOTA_COMBATLOG_ABILITY = 5;
|
||||
DOTA_COMBATLOG_ITEM = 6;
|
||||
DOTA_COMBATLOG_LOCATION = 7;
|
||||
DOTA_COMBATLOG_GOLD = 8;
|
||||
DOTA_COMBATLOG_GAME_STATE = 9;
|
||||
DOTA_COMBATLOG_XP = 10;
|
||||
DOTA_COMBATLOG_PURCHASE = 11;
|
||||
DOTA_COMBATLOG_BUYBACK = 12;
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_CombatLogData
|
||||
@ -351,6 +367,14 @@ message CDOTAUserMsg_WillPurchaseAlert
|
||||
optional int32 player_id = 2;
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_CourierKilledAlert
|
||||
{
|
||||
optional uint32 team = 1;
|
||||
optional uint32 gold_value = 2;
|
||||
optional int32 entity_handle = 3;
|
||||
optional int32 timestamp = 4;
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_MinimapEvent
|
||||
{
|
||||
optional int32 event_type = 1;
|
||||
@ -394,6 +418,7 @@ message CDOTAUserMsg_DestroyLinearProjectile
|
||||
message CDOTAUserMsg_DodgeTrackingProjectiles
|
||||
{
|
||||
required int32 entindex = 1;
|
||||
optional bool attacks_only = 2;
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_SpectatorPlayerClick
|
||||
@ -694,6 +719,10 @@ message CDOTAUserMsg_TutorialFinish
|
||||
optional bool success = 4;
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_TutorialMinimapPosition
|
||||
{
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_SendGenericToolTip
|
||||
{
|
||||
optional string title = 1;
|
||||
@ -735,6 +764,9 @@ message CDOTAUserMsg_ShowSurvey
|
||||
optional int32 survey_id = 1;
|
||||
optional uint32 match_id = 2;
|
||||
optional string response_style = 3;
|
||||
optional uint32 teammate_hero_id = 4;
|
||||
optional string teammate_name = 5;
|
||||
optional uint32 teammate_account_id = 6;
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_UpdateSharedContent
|
||||
@ -854,6 +886,8 @@ message CDOTAUserMsg_BoosterStatePlayer
|
||||
optional uint32 player_id = 1;
|
||||
optional float bonus = 2;
|
||||
optional float event_bonus = 3;
|
||||
optional uint32 bonus_item_id = 4;
|
||||
optional uint32 event_bonus_item_id = 5;
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_BoosterState
|
||||
@ -861,3 +895,13 @@ message CDOTAUserMsg_BoosterState
|
||||
repeated CDOTAUserMsg_BoosterStatePlayer boosted_players = 1;
|
||||
}
|
||||
|
||||
message CDOTAUserMsg_PlayerMMR
|
||||
{
|
||||
repeated sint32 mmr = 1 [packed = true];
|
||||
}
|
||||
message CDOTAUserMsg_AbilitySteal
|
||||
{
|
||||
optional uint32 player_id = 1;
|
||||
optional uint32 ability_id = 2;
|
||||
optional uint32 ability_level = 3;
|
||||
}
|
||||
|
@ -707,6 +707,24 @@ enum Activity
|
||||
ACT_DOTA_NIAN_INTRO_LEAP = 581;
|
||||
ACT_DOTA_AREA_DENY = 582;
|
||||
ACT_DOTA_NIAN_PIN_TO_STUN = 583;
|
||||
ACT_DOTA_RAZE_1 = 584;
|
||||
ACT_DOTA_RAZE_2 = 585;
|
||||
ACT_DOTA_RAZE_3 = 586;
|
||||
ACT_DOTA_UNDYING_DECAY = 587;
|
||||
ACT_DOTA_UNDYING_SOUL_RIP = 588;
|
||||
ACT_DOTA_UNDYING_TOMBSTONE = 589;
|
||||
ACT_DOTA_WHIRLING_AXES_RANGED = 590;
|
||||
ACT_DOTA_SHALLOW_GRAVE = 591;
|
||||
ACT_DOTA_COLD_FEET = 592;
|
||||
ACT_DOTA_ICE_VORTEX = 593;
|
||||
ACT_DOTA_CHILLING_TOUCH = 594;
|
||||
ACT_DOTA_ENFEEBLE = 595;
|
||||
ACT_DOTA_FATAL_BONDS = 596;
|
||||
ACT_DOTA_MIDNIGHT_PULSE = 597;
|
||||
ACT_DOTA_ANCESTRAL_SPIRIT = 598;
|
||||
ACT_DOTA_THUNDER_STRIKE = 599;
|
||||
ACT_DOTA_KINETIC_FIELD = 600;
|
||||
ACT_DOTA_STATIC_STORM = 601;
|
||||
};
|
||||
|
||||
|
||||
|
@ -97,7 +97,7 @@ enum EBaseUserMessages
|
||||
UM_VoiceMask = 28;
|
||||
UM_VoiceSubtitle = 29;
|
||||
UM_SendAudio = 30;
|
||||
|
||||
UM_CameraTransition = 31;
|
||||
// Game specific user messages should start after this
|
||||
UM_MAX_BASE = 63;
|
||||
}
|
||||
@ -300,5 +300,17 @@ message CUserMsg_MessageText
|
||||
optional string text = 2;
|
||||
}
|
||||
|
||||
|
||||
message CUserMsg_CameraTransition
|
||||
{
|
||||
optional uint32 camera_type = 1;
|
||||
optional float duration = 2;
|
||||
|
||||
message Transition_DataDriven
|
||||
{
|
||||
optional string filename = 1;
|
||||
optional int32 attach_ent_index = 2;
|
||||
}
|
||||
|
||||
optional Transition_DataDriven params_data_driven = 3;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user