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

Updated protobufs, regenerated.

This commit is contained in:
Nicholas Hastings 2013-06-18 12:12:50 -04:00
parent d5f624f533
commit 7db20d956c
22 changed files with 7303 additions and 5907 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -71,29 +71,8 @@ option cc_generic_services = false;
import "google/protobuf/descriptor.proto";
//=============================================================================
// Common Types
//=============================================================================
message CMsgVector
{
optional float x = 1;
optional float y = 2;
optional float z = 3;
}
message CMsgVector2D
{
optional float x = 1;
optional float y = 2;
}
message CMsgQAngle
{
optional float x = 1;
optional float y = 2;
optional float z = 3;
}
// for CMsgVector, etc.
import "networkbasetypes.proto";
//=============================================================================
// Bidirectional NET Messages
@ -111,18 +90,6 @@ enum NET_Messages
net_SignonState = 7; // signals or acks current signon state
}
enum SIGNONSTATE
{
SIGNONSTATE_NONE = 0; // no state yet; about to connect
SIGNONSTATE_CHALLENGE = 1; // client challenging server; all OOB packets
SIGNONSTATE_CONNECTED = 2; // client is connected to server; netchans ready
SIGNONSTATE_NEW = 3; // just got serverinfo and string tables
SIGNONSTATE_PRESPAWN = 4; // received signon buffers
SIGNONSTATE_SPAWN = 5; // ready to receive entity packets
SIGNONSTATE_FULL = 6; // we are fully connected; first non-delta packet received
SIGNONSTATE_CHANGELEVEL = 7; // server is changing level; please wait
}
message CMsg_CVars
{
message CVar
@ -462,25 +429,6 @@ message CSVCMsg_SendTable
repeated sendprop_t props = 4;
}
message CSVCMsg_GameEvent
{
message key_t
{
optional int32 type = 1; // type
optional string val_string = 2; // TYPE_STRING
optional float val_float = 3; // TYPE_FLOAT
optional int32 val_long = 4; // TYPE_LONG
optional int32 val_short = 5; // TYPE_SHORT
optional int32 val_byte = 6; // TYPE_BYTE
optional bool val_bool = 7; // TYPE_BOOL
optional uint64 val_uint64 = 8; // TYPE_UINT64
}
optional string event_name = 1;
optional int32 eventid = 2;
repeated key_t keys = 3;
}
message CSVCMsg_GameEventList
{
message key_t
@ -536,12 +484,6 @@ message CSVCMsg_UpdateStringTable
optional bytes string_data = 3;
}
message CSVCMsg_UserMessage
{
optional int32 msg_type = 1;
optional bytes msg_data = 2;
}
message CSVCMsg_VoiceData
{
optional int32 client = 1;
@ -552,28 +494,6 @@ message CSVCMsg_VoiceData
optional VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM];
}
message CSVCMsgList_GameEvents
{
message event_t
{
optional int32 tick = 1;
optional CSVCMsg_GameEvent event = 2;
}
repeated event_t events = 1;
}
message CSVCMsgList_UserMessages
{
message usermsg_t
{
optional int32 tick = 1;
optional CSVCMsg_UserMessage msg = 2;
}
repeated usermsg_t usermsgs = 1;
}
message CSVCMsg_PacketReliable
{
optional int32 tick = 1;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,160 @@
//====== 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";
//=============================================================================
// Common Types
//=============================================================================
message CMsgVector
{
optional float x = 1;
optional float y = 2;
optional float z = 3;
}
message CMsgVector2D
{
optional float x = 1;
optional float y = 2;
}
message CMsgQAngle
{
optional float x = 1;
optional float y = 2;
optional float z = 3;
}
//=============================================================================
// Bidirectional NET Messages
//=============================================================================
enum SIGNONSTATE
{
SIGNONSTATE_NONE = 0; // no state yet; about to connect
SIGNONSTATE_CHALLENGE = 1; // client challenging server; all OOB packets
SIGNONSTATE_CONNECTED = 2; // client is connected to server; netchans ready
SIGNONSTATE_NEW = 3; // just got serverinfo and string tables
SIGNONSTATE_PRESPAWN = 4; // received signon buffers
SIGNONSTATE_SPAWN = 5; // ready to receive entity packets
SIGNONSTATE_FULL = 6; // we are fully connected; first non-delta packet received
SIGNONSTATE_CHANGELEVEL = 7; // server is changing level; please wait
}
message CSVCMsg_GameEvent
{
message key_t
{
optional int32 type = 1; // type
optional string val_string = 2; // TYPE_STRING
optional float val_float = 3; // TYPE_FLOAT
optional int32 val_long = 4; // TYPE_LONG
optional int32 val_short = 5; // TYPE_SHORT
optional int32 val_byte = 6; // TYPE_BYTE
optional bool val_bool = 7; // TYPE_BOOL
optional uint64 val_uint64 = 8; // TYPE_UINT64
}
optional string event_name = 1;
optional int32 eventid = 2;
repeated key_t keys = 3;
}
message CSVCMsgList_GameEvents
{
message event_t
{
optional int32 tick = 1;
optional CSVCMsg_GameEvent event = 2;
}
repeated event_t events = 1;
}
message CSVCMsg_UserMessage
{
optional int32 msg_type = 1;
optional bytes msg_data = 2;
}
message CSVCMsgList_UserMessages
{
message usermsg_t
{
optional int32 tick = 1;
optional CSVCMsg_UserMessage msg = 2;
}
repeated usermsg_t usermsgs = 1;
}

View File

@ -427,48 +427,48 @@ void protobuf_AddDesc_dota_5fclientmessages_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
::protobuf_AddDesc_netmessages_2eproto();
::protobuf_AddDesc_networkbasetypes_2eproto();
::protobuf_AddDesc_dota_5fcommonmessages_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\031dota_clientmessages.proto\032 google/prot"
"obuf/descriptor.proto\032\021netmessages.proto"
"\032\031dota_commonmessages.proto\"G\n\026CDOTAClie"
"ntMsg_MapPing\022-\n\rlocation_ping\030\001 \001(\0132\026.C"
"DOTAMsg_LocationPing\"C\n\030CDOTAClientMsg_I"
"temAlert\022\'\n\nitem_alert\030\001 \001(\0132\023.CDOTAMsg_"
"ItemAlert\"<\n\026CDOTAClientMsg_MapLine\022\"\n\007m"
"apline\030\001 \001(\0132\021.CDOTAMsg_MapLine\"+\n\032CDOTA"
"ClientMsg_AspectRatio\022\r\n\005ratio\030\001 \001(\002\"1\n\036"
"CDOTAClientMsg_UnitsAutoAttack\022\017\n\007enable"
"d\030\001 \001(\010\"3\n CDOTAClientMsg_AutoPurchaseIt"
"ems\022\017\n\007enabled\030\001 \001(\010\".\n\030CDOTAClientMsg_T"
"estItems\022\022\n\nkey_values\030\001 \001(\t\"-\n\033CDOTACli"
"entMsg_SearchString\022\016\n\006search\030\001 \001(\t\"\026\n\024C"
"DOTAClientMsg_Pause\"+\n\033CDOTAClientMsg_Sh"
"opViewMode\022\014\n\004mode\030\001 \001(\r\"P\n\037CDOTAClientM"
"sg_SetUnitShareFlag\022\020\n\010playerID\030\001 \001(\r\022\014\n"
"\004flag\030\002 \001(\r\022\r\n\005state\030\003 \001(\010\"/\n\032CDOTAClien"
"tMsg_SwapRequest\022\021\n\tplayer_id\030\001 \001(\r\".\n\031C"
"DOTAClientMsg_SwapAccept\022\021\n\tplayer_id\030\001 "
"\001(\r\"B\n\030CDOTAClientMsg_WorldLine\022&\n\tworld"
"line\030\001 \001(\0132\023.CDOTAMsg_WorldLine\"#\n!CDOTA"
"ClientMsg_RequestGraphUpdate\"W\n\030CDOTACli"
"entMsg_ChatWheel\022;\n\014chat_message\030\001 \001(\0162\026"
".EDOTAChatWheelMessage:\rk_EDOTA_CW_Ok\"J\n"
"\034CDOTAClientMsg_SendStatPopup\022*\n\tstatpop"
"up\030\001 \001(\0132\027.CDOTAMsg_SendStatPopup*\301\003\n\023ED"
"otaClientMessages\022\023\n\017DOTA_CM_MapLine\020\001\022\027"
"\n\023DOTA_CM_AspectRatio\020\002\022\023\n\017DOTA_CM_MapPi"
"ng\020\003\022\033\n\027DOTA_CM_UnitsAutoAttack\020\004\022\035\n\031DOT"
"A_CM_AutoPurchaseItems\020\005\022\025\n\021DOTA_CM_Test"
"Items\020\006\022\030\n\024DOTA_CM_SearchString\020\007\022\021\n\rDOT"
"A_CM_Pause\020\010\022\030\n\024DOTA_CM_ShopViewMode\020\t\022\034"
"\n\030DOTA_CM_SetUnitShareFlag\020\n\022\027\n\023DOTA_CM_"
"SwapRequest\020\013\022\026\n\022DOTA_CM_SwapAccept\020\014\022\025\n"
"\021DOTA_CM_WorldLine\020\r\022\036\n\032DOTA_CM_RequestG"
"raphUpdate\020\016\022\025\n\021DOTA_CM_ItemAlert\020\017\022\025\n\021D"
"OTA_CM_ChatWheel\020\020\022\031\n\025DOTA_CM_SendStatPo"
"pup\020\021B\005H\001\200\001\000", 1532);
"obuf/descriptor.proto\032\026networkbasetypes."
"proto\032\031dota_commonmessages.proto\"G\n\026CDOT"
"AClientMsg_MapPing\022-\n\rlocation_ping\030\001 \001("
"\0132\026.CDOTAMsg_LocationPing\"C\n\030CDOTAClient"
"Msg_ItemAlert\022\'\n\nitem_alert\030\001 \001(\0132\023.CDOT"
"AMsg_ItemAlert\"<\n\026CDOTAClientMsg_MapLine"
"\022\"\n\007mapline\030\001 \001(\0132\021.CDOTAMsg_MapLine\"+\n\032"
"CDOTAClientMsg_AspectRatio\022\r\n\005ratio\030\001 \001("
"\002\"1\n\036CDOTAClientMsg_UnitsAutoAttack\022\017\n\007e"
"nabled\030\001 \001(\010\"3\n CDOTAClientMsg_AutoPurch"
"aseItems\022\017\n\007enabled\030\001 \001(\010\".\n\030CDOTAClient"
"Msg_TestItems\022\022\n\nkey_values\030\001 \001(\t\"-\n\033CDO"
"TAClientMsg_SearchString\022\016\n\006search\030\001 \001(\t"
"\"\026\n\024CDOTAClientMsg_Pause\"+\n\033CDOTAClientM"
"sg_ShopViewMode\022\014\n\004mode\030\001 \001(\r\"P\n\037CDOTACl"
"ientMsg_SetUnitShareFlag\022\020\n\010playerID\030\001 \001"
"(\r\022\014\n\004flag\030\002 \001(\r\022\r\n\005state\030\003 \001(\010\"/\n\032CDOTA"
"ClientMsg_SwapRequest\022\021\n\tplayer_id\030\001 \001(\r"
"\".\n\031CDOTAClientMsg_SwapAccept\022\021\n\tplayer_"
"id\030\001 \001(\r\"B\n\030CDOTAClientMsg_WorldLine\022&\n\t"
"worldline\030\001 \001(\0132\023.CDOTAMsg_WorldLine\"#\n!"
"CDOTAClientMsg_RequestGraphUpdate\"W\n\030CDO"
"TAClientMsg_ChatWheel\022;\n\014chat_message\030\001 "
"\001(\0162\026.EDOTAChatWheelMessage:\rk_EDOTA_CW_"
"Ok\"J\n\034CDOTAClientMsg_SendStatPopup\022*\n\tst"
"atpopup\030\001 \001(\0132\027.CDOTAMsg_SendStatPopup*\301"
"\003\n\023EDotaClientMessages\022\023\n\017DOTA_CM_MapLin"
"e\020\001\022\027\n\023DOTA_CM_AspectRatio\020\002\022\023\n\017DOTA_CM_"
"MapPing\020\003\022\033\n\027DOTA_CM_UnitsAutoAttack\020\004\022\035"
"\n\031DOTA_CM_AutoPurchaseItems\020\005\022\025\n\021DOTA_CM"
"_TestItems\020\006\022\030\n\024DOTA_CM_SearchString\020\007\022\021"
"\n\rDOTA_CM_Pause\020\010\022\030\n\024DOTA_CM_ShopViewMod"
"e\020\t\022\034\n\030DOTA_CM_SetUnitShareFlag\020\n\022\027\n\023DOT"
"A_CM_SwapRequest\020\013\022\026\n\022DOTA_CM_SwapAccept"
"\020\014\022\025\n\021DOTA_CM_WorldLine\020\r\022\036\n\032DOTA_CM_Req"
"uestGraphUpdate\020\016\022\025\n\021DOTA_CM_ItemAlert\020\017"
"\022\025\n\021DOTA_CM_ChatWheel\020\020\022\031\n\025DOTA_CM_SendS"
"tatPopup\020\021B\005H\001\200\001\000", 1537);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"dota_clientmessages.proto", &protobuf_RegisterTypes);
CDOTAClientMsg_MapPing::default_instance_ = new CDOTAClientMsg_MapPing();

View File

@ -24,7 +24,7 @@
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_message_reflection.h>
#include "google/protobuf/descriptor.pb.h"
#include "netmessages.pb.h"
#include "networkbasetypes.pb.h"
#include "dota_commonmessages.pb.h"
// @@protoc_insertion_point(includes)

View File

@ -59,7 +59,7 @@ option cc_generic_services = false;
import "google/protobuf/descriptor.proto";
// for CMsgVector, etc.
import "netmessages.proto";
import "networkbasetypes.proto";
// for structures shared between user and client messages
import "dota_commonmessages.proto";

View File

@ -43,11 +43,12 @@ void protobuf_AssignDesc_dota_5fcommonmessages_2eproto() {
"dota_commonmessages.proto");
GOOGLE_CHECK(file != NULL);
CDOTAMsg_LocationPing_descriptor_ = file->message_type(0);
static const int CDOTAMsg_LocationPing_offsets_[4] = {
static const int CDOTAMsg_LocationPing_offsets_[5] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, x_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, y_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, target_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, direct_ping_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, type_),
};
CDOTAMsg_LocationPing_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
@ -178,31 +179,32 @@ void protobuf_AddDesc_dota_5fcommonmessages_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
::protobuf_AddDesc_netmessages_2eproto();
::protobuf_AddDesc_networkbasetypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\031dota_commonmessages.proto\032 google/prot"
"obuf/descriptor.proto\032\021netmessages.proto"
"\"R\n\025CDOTAMsg_LocationPing\022\t\n\001x\030\001 \001(\005\022\t\n\001"
"y\030\002 \001(\005\022\016\n\006target\030\003 \001(\005\022\023\n\013direct_ping\030\004"
" \001(\010\":\n\022CDOTAMsg_ItemAlert\022\t\n\001x\030\001 \001(\005\022\t\n"
"\001y\030\002 \001(\005\022\016\n\006itemid\030\003 \001(\005\"9\n\020CDOTAMsg_Map"
"Line\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\022\017\n\007initial\030\003 "
"\001(\010\"S\n\022CDOTAMsg_WorldLine\022\t\n\001x\030\001 \001(\005\022\t\n\001"
"y\030\002 \001(\005\022\t\n\001z\030\003 \001(\005\022\017\n\007initial\030\004 \001(\010\022\013\n\003e"
"nd\030\005 \001(\010\"~\n\026CDOTAMsg_SendStatPopup\0229\n\005st"
"yle\030\001 \001(\0162\024.EDOTAStatPopupTypes:\024k_EDOTA"
"_SPT_Textline\022\024\n\014stat_strings\030\002 \003(\t\022\023\n\013s"
"tat_images\030\003 \003(\005*\267\002\n\025EDOTAChatWheelMessa"
"ge\022\021\n\rk_EDOTA_CW_Ok\020\000\022\023\n\017k_EDOTA_CW_Care"
"\020\001\022\026\n\022k_EDOTA_CW_GetBack\020\002\022\030\n\024k_EDOTA_CW"
"_NeedWards\020\003\022\023\n\017k_EDOTA_CW_Stun\020\004\022\023\n\017k_E"
"DOTA_CW_Help\020\005\022\023\n\017k_EDOTA_CW_Push\020\006\022\026\n\022k"
"_EDOTA_CW_GoodJob\020\007\022\026\n\022k_EDOTA_CW_Missin"
"g\020\010\022\032\n\026k_EDOTA_CW_Missing_Top\020\t\022\032\n\026k_EDO"
"TA_CW_Missing_Mid\020\n\022\035\n\031k_EDOTA_CW_Missin"
"g_Bottom\020\013*\\\n\023EDOTAStatPopupTypes\022\030\n\024k_E"
"DOTA_SPT_Textline\020\000\022\025\n\021k_EDOTA_SPT_Basic"
"\020\001\022\024\n\020k_EDOTA_SPT_Poll\020\002B\005H\001\200\001\000", 911);
"obuf/descriptor.proto\032\026networkbasetypes."
"proto\"`\n\025CDOTAMsg_LocationPing\022\t\n\001x\030\001 \001("
"\005\022\t\n\001y\030\002 \001(\005\022\016\n\006target\030\003 \001(\005\022\023\n\013direct_p"
"ing\030\004 \001(\010\022\014\n\004type\030\005 \001(\005\":\n\022CDOTAMsg_Item"
"Alert\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\022\016\n\006itemid\030\003 "
"\001(\005\"9\n\020CDOTAMsg_MapLine\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030"
"\002 \001(\005\022\017\n\007initial\030\003 \001(\010\"S\n\022CDOTAMsg_World"
"Line\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\022\t\n\001z\030\003 \001(\005\022\017\n"
"\007initial\030\004 \001(\010\022\013\n\003end\030\005 \001(\010\"~\n\026CDOTAMsg_"
"SendStatPopup\0229\n\005style\030\001 \001(\0162\024.EDOTAStat"
"PopupTypes:\024k_EDOTA_SPT_Textline\022\024\n\014stat"
"_strings\030\002 \003(\t\022\023\n\013stat_images\030\003 \003(\005*\267\002\n\025"
"EDOTAChatWheelMessage\022\021\n\rk_EDOTA_CW_Ok\020\000"
"\022\023\n\017k_EDOTA_CW_Care\020\001\022\026\n\022k_EDOTA_CW_GetB"
"ack\020\002\022\030\n\024k_EDOTA_CW_NeedWards\020\003\022\023\n\017k_EDO"
"TA_CW_Stun\020\004\022\023\n\017k_EDOTA_CW_Help\020\005\022\023\n\017k_E"
"DOTA_CW_Push\020\006\022\026\n\022k_EDOTA_CW_GoodJob\020\007\022\026"
"\n\022k_EDOTA_CW_Missing\020\010\022\032\n\026k_EDOTA_CW_Mis"
"sing_Top\020\t\022\032\n\026k_EDOTA_CW_Missing_Mid\020\n\022\035"
"\n\031k_EDOTA_CW_Missing_Bottom\020\013*\\\n\023EDOTASt"
"atPopupTypes\022\030\n\024k_EDOTA_SPT_Textline\020\000\022\025"
"\n\021k_EDOTA_SPT_Basic\020\001\022\024\n\020k_EDOTA_SPT_Pol"
"l\020\002B\005H\001\200\001\000", 930);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"dota_commonmessages.proto", &protobuf_RegisterTypes);
CDOTAMsg_LocationPing::default_instance_ = new CDOTAMsg_LocationPing();
@ -272,6 +274,7 @@ const int CDOTAMsg_LocationPing::kXFieldNumber;
const int CDOTAMsg_LocationPing::kYFieldNumber;
const int CDOTAMsg_LocationPing::kTargetFieldNumber;
const int CDOTAMsg_LocationPing::kDirectPingFieldNumber;
const int CDOTAMsg_LocationPing::kTypeFieldNumber;
#endif // !_MSC_VER
CDOTAMsg_LocationPing::CDOTAMsg_LocationPing()
@ -294,6 +297,7 @@ void CDOTAMsg_LocationPing::SharedCtor() {
y_ = 0;
target_ = 0;
direct_ping_ = false;
type_ = 0;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
@ -332,6 +336,7 @@ void CDOTAMsg_LocationPing::Clear() {
y_ = 0;
target_ = 0;
direct_ping_ = false;
type_ = 0;
}
::memset(_has_bits_, 0, sizeof(_has_bits_));
mutable_unknown_fields()->Clear();
@ -402,6 +407,22 @@ bool CDOTAMsg_LocationPing::MergePartialFromCodedStream(
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(40)) goto parse_type;
break;
}
// optional int32 type = 5;
case 5: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_type:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &type_)));
set_has_type();
} else {
goto handle_uninterpreted;
}
if (input->ExpectAtEnd()) return true;
break;
}
@ -444,6 +465,11 @@ void CDOTAMsg_LocationPing::SerializeWithCachedSizes(
::google::protobuf::internal::WireFormatLite::WriteBool(4, this->direct_ping(), output);
}
// optional int32 type = 5;
if (has_type()) {
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->type(), output);
}
if (!unknown_fields().empty()) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
unknown_fields(), output);
@ -472,6 +498,11 @@ void CDOTAMsg_LocationPing::SerializeWithCachedSizes(
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->direct_ping(), target);
}
// optional int32 type = 5;
if (has_type()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->type(), target);
}
if (!unknown_fields().empty()) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
unknown_fields(), target);
@ -509,6 +540,13 @@ int CDOTAMsg_LocationPing::ByteSize() const {
total_size += 1 + 1;
}
// optional int32 type = 5;
if (has_type()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->type());
}
}
if (!unknown_fields().empty()) {
total_size +=
@ -548,6 +586,9 @@ void CDOTAMsg_LocationPing::MergeFrom(const CDOTAMsg_LocationPing& from) {
if (from.has_direct_ping()) {
set_direct_ping(from.direct_ping());
}
if (from.has_type()) {
set_type(from.type());
}
}
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
@ -575,6 +616,7 @@ void CDOTAMsg_LocationPing::Swap(CDOTAMsg_LocationPing* other) {
std::swap(y_, other->y_);
std::swap(target_, other->target_);
std::swap(direct_ping_, other->direct_ping_);
std::swap(type_, other->type_);
std::swap(_has_bits_[0], other->_has_bits_[0]);
_unknown_fields_.Swap(&other->_unknown_fields_);
std::swap(_cached_size_, other->_cached_size_);

View File

@ -24,7 +24,7 @@
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_message_reflection.h>
#include "google/protobuf/descriptor.pb.h"
#include "netmessages.pb.h"
#include "networkbasetypes.pb.h"
// @@protoc_insertion_point(includes)
// Internal implementation detail -- do not call these.
@ -171,6 +171,13 @@ class CDOTAMsg_LocationPing : public ::google::protobuf::Message {
inline bool direct_ping() const;
inline void set_direct_ping(bool value);
// optional int32 type = 5;
inline bool has_type() const;
inline void clear_type();
static const int kTypeFieldNumber = 5;
inline ::google::protobuf::int32 type() const;
inline void set_type(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:CDOTAMsg_LocationPing)
private:
inline void set_has_x();
@ -181,6 +188,8 @@ class CDOTAMsg_LocationPing : public ::google::protobuf::Message {
inline void clear_has_target();
inline void set_has_direct_ping();
inline void clear_has_direct_ping();
inline void set_has_type();
inline void clear_has_type();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@ -188,9 +197,10 @@ class CDOTAMsg_LocationPing : public ::google::protobuf::Message {
::google::protobuf::int32 y_;
::google::protobuf::int32 target_;
bool direct_ping_;
::google::protobuf::int32 type_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
friend void protobuf_AddDesc_dota_5fcommonmessages_2eproto();
friend void protobuf_AssignDesc_dota_5fcommonmessages_2eproto();
@ -732,6 +742,28 @@ inline void CDOTAMsg_LocationPing::set_direct_ping(bool value) {
direct_ping_ = value;
}
// optional int32 type = 5;
inline bool CDOTAMsg_LocationPing::has_type() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void CDOTAMsg_LocationPing::set_has_type() {
_has_bits_[0] |= 0x00000010u;
}
inline void CDOTAMsg_LocationPing::clear_has_type() {
_has_bits_[0] &= ~0x00000010u;
}
inline void CDOTAMsg_LocationPing::clear_type() {
type_ = 0;
clear_has_type();
}
inline ::google::protobuf::int32 CDOTAMsg_LocationPing::type() const {
return type_;
}
inline void CDOTAMsg_LocationPing::set_type(::google::protobuf::int32 value) {
set_has_type();
type_ = value;
}
// -------------------------------------------------------------------
// CDOTAMsg_ItemAlert

View File

@ -59,7 +59,7 @@ option cc_generic_services = false;
import "google/protobuf/descriptor.proto";
// for CMsgVector, etc.
import "netmessages.proto";
import "networkbasetypes.proto";
//=============================================================================
// Dota Common Messages
@ -93,6 +93,7 @@ message CDOTAMsg_LocationPing
optional int32 y = 2;
optional int32 target = 3;
optional bool direct_ping = 4;
optional int32 type = 5;
}
message CDOTAMsg_ItemAlert

View File

@ -102,6 +102,8 @@ CDotaUsermessageHelpers::CDotaUsermessageHelpers()
SETUP_DOTA_MESSAGE( AddQuestLogEntry );
SETUP_DOTA_MESSAGE( SendStatPopup );
SETUP_DOTA_MESSAGE( TutorialFinish );
SETUP_DOTA_MESSAGE( SendRoshanPopup );
SETUP_DOTA_MESSAGE( SendGenericToolTip );
}
const google::protobuf::Message *CDotaUsermessageHelpers::GetPrototype( int index ) const

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_message_reflection.h>
#include "google/protobuf/descriptor.pb.h"
#include "netmessages.pb.h"
#include "networkbasetypes.pb.h"
#include "ai_activity.pb.h"
#include "dota_commonmessages.pb.h"
// @@protoc_insertion_point(includes)
@ -85,11 +85,12 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleOrient;
class CDOTAUserMsg_ParticleManager_UpdateParticleFallback;
class CDOTAUserMsg_ParticleManager_UpdateParticleOffset;
class CDOTAUserMsg_ParticleManager_UpdateParticleEnt;
class CDOTAUserMsg_ParticleManager_UpdateParticleLatency;
class CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen;
class CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw;
class CDOTAUserMsg_OverheadEvent;
class CDOTAUserMsg_TutorialTipInfo;
class CDOTAUserMsg_TutorialFinish;
class CDOTAUserMsg_SendGenericToolTip;
class CDOTAUserMsg_WorldLine;
class CDOTAUserMsg_TournamentDrop;
class CDOTAUserMsg_ChatWheel;
@ -102,6 +103,7 @@ class CDOTAUserMsg_TutorialPingMinimap;
class CDOTA_UM_GamerulesStateChanged;
class CDOTAUserMsg_AddQuestLogEntry;
class CDOTAUserMsg_SendStatPopup;
class CDOTAUserMsg_SendRoshanPopup;
enum CDOTAResponseQuerySerialized_Fact_ValueType {
CDOTAResponseQuerySerialized_Fact_ValueType_NUMERIC = 1,
@ -169,11 +171,13 @@ enum EDotaUserMessages {
DOTA_UM_TutorialFade = 108,
DOTA_UM_AddQuestLogEntry = 109,
DOTA_UM_SendStatPopup = 110,
DOTA_UM_TutorialFinish = 111
DOTA_UM_TutorialFinish = 111,
DOTA_UM_SendRoshanPopup = 112,
DOTA_UM_SendGenericToolTip = 113
};
bool EDotaUserMessages_IsValid(int value);
const EDotaUserMessages EDotaUserMessages_MIN = DOTA_UM_AddUnitToSelection;
const EDotaUserMessages EDotaUserMessages_MAX = DOTA_UM_TutorialFinish;
const EDotaUserMessages EDotaUserMessages_MAX = DOTA_UM_SendGenericToolTip;
const int EDotaUserMessages_ARRAYSIZE = EDotaUserMessages_MAX + 1;
const ::google::protobuf::EnumDescriptor* EDotaUserMessages_descriptor();
@ -358,11 +362,12 @@ enum DOTA_PARTICLE_MESSAGE {
DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8,
DOTA_PARTICLE_MANAGER_EVENT_RELEASE = 9,
DOTA_PARTICLE_MANAGER_EVENT_LATENCY = 10,
DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11
DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11,
DOTA_PARTICLE_MANAGER_EVENT_FROZEN = 12
};
bool DOTA_PARTICLE_MESSAGE_IsValid(int value);
const DOTA_PARTICLE_MESSAGE DOTA_PARTICLE_MESSAGE_MIN = DOTA_PARTICLE_MANAGER_EVENT_CREATE;
const DOTA_PARTICLE_MESSAGE DOTA_PARTICLE_MESSAGE_MAX = DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW;
const DOTA_PARTICLE_MESSAGE DOTA_PARTICLE_MESSAGE_MAX = DOTA_PARTICLE_MANAGER_EVENT_FROZEN;
const int DOTA_PARTICLE_MESSAGE_ARRAYSIZE = DOTA_PARTICLE_MESSAGE_MAX + 1;
const ::google::protobuf::EnumDescriptor* DOTA_PARTICLE_MESSAGE_descriptor();
@ -5514,14 +5519,14 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleEnt : public ::google::protobuf
};
// -------------------------------------------------------------------
class CDOTAUserMsg_ParticleManager_UpdateParticleLatency : public ::google::protobuf::Message {
class CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen : public ::google::protobuf::Message {
public:
CDOTAUserMsg_ParticleManager_UpdateParticleLatency();
virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleLatency();
CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen();
virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen();
CDOTAUserMsg_ParticleManager_UpdateParticleLatency(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from);
CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from);
inline CDOTAUserMsg_ParticleManager_UpdateParticleLatency& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from) {
inline CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from) {
CopyFrom(from);
return *this;
}
@ -5535,17 +5540,17 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleLatency : public ::google::prot
}
static const ::google::protobuf::Descriptor* descriptor();
static const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& default_instance();
static const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& default_instance();
void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleLatency* other);
void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* other);
// implements Message ----------------------------------------------
CDOTAUserMsg_ParticleManager_UpdateParticleLatency* New() const;
CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from);
void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from);
void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from);
void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from);
void Clear();
bool IsInitialized() const;
@ -5568,41 +5573,31 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleLatency : public ::google::prot
// accessors -------------------------------------------------------
// optional int32 player_latency = 1;
inline bool has_player_latency() const;
inline void clear_player_latency();
static const int kPlayerLatencyFieldNumber = 1;
inline ::google::protobuf::int32 player_latency() const;
inline void set_player_latency(::google::protobuf::int32 value);
// optional bool set_frozen = 1;
inline bool has_set_frozen() const;
inline void clear_set_frozen();
static const int kSetFrozenFieldNumber = 1;
inline bool set_frozen() const;
inline void set_set_frozen(bool value);
// optional int32 tick = 2;
inline bool has_tick() const;
inline void clear_tick();
static const int kTickFieldNumber = 2;
inline ::google::protobuf::int32 tick() const;
inline void set_tick(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleLatency)
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen)
private:
inline void set_has_player_latency();
inline void clear_has_player_latency();
inline void set_has_tick();
inline void clear_has_tick();
inline void set_has_set_frozen();
inline void clear_has_set_frozen();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::google::protobuf::int32 player_latency_;
::google::protobuf::int32 tick_;
bool set_frozen_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
friend void protobuf_AddDesc_dota_5fusermessages_2eproto();
friend void protobuf_AssignDesc_dota_5fusermessages_2eproto();
friend void protobuf_ShutdownFile_dota_5fusermessages_2eproto();
void InitAsDefaultInstance();
static CDOTAUserMsg_ParticleManager_UpdateParticleLatency* default_instance_;
static CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* default_instance_;
};
// -------------------------------------------------------------------
@ -5750,7 +5745,7 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message {
typedef CDOTAUserMsg_ParticleManager_UpdateParticleFallback UpdateParticleFallback;
typedef CDOTAUserMsg_ParticleManager_UpdateParticleOffset UpdateParticleOffset;
typedef CDOTAUserMsg_ParticleManager_UpdateParticleEnt UpdateParticleEnt;
typedef CDOTAUserMsg_ParticleManager_UpdateParticleLatency UpdateParticleLatency;
typedef CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen UpdateParticleSetFrozen;
typedef CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw UpdateParticleShouldDraw;
// accessors -------------------------------------------------------
@ -5849,14 +5844,6 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message {
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* mutable_update_particle_ent();
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* release_update_particle_ent();
// optional .CDOTAUserMsg_ParticleManager.UpdateParticleLatency update_particle_latency = 13;
inline bool has_update_particle_latency() const;
inline void clear_update_particle_latency();
static const int kUpdateParticleLatencyFieldNumber = 13;
inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency& update_particle_latency() const;
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* mutable_update_particle_latency();
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* release_update_particle_latency();
// optional .CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14;
inline bool has_update_particle_should_draw() const;
inline void clear_update_particle_should_draw();
@ -5865,6 +5852,14 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message {
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* mutable_update_particle_should_draw();
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* release_update_particle_should_draw();
// optional .CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15;
inline bool has_update_particle_set_frozen() const;
inline void clear_update_particle_set_frozen();
static const int kUpdateParticleSetFrozenFieldNumber = 15;
inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& update_particle_set_frozen() const;
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* mutable_update_particle_set_frozen();
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* release_update_particle_set_frozen();
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager)
private:
inline void set_has_type();
@ -5891,10 +5886,10 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message {
inline void clear_has_update_particle_offset();
inline void set_has_update_particle_ent();
inline void clear_has_update_particle_ent();
inline void set_has_update_particle_latency();
inline void clear_has_update_particle_latency();
inline void set_has_update_particle_should_draw();
inline void clear_has_update_particle_should_draw();
inline void set_has_update_particle_set_frozen();
inline void clear_has_update_particle_set_frozen();
::google::protobuf::UnknownFieldSet _unknown_fields_;
@ -5910,8 +5905,8 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message {
::CDOTAUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback_;
::CDOTAUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset_;
::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent_;
::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* update_particle_latency_;
::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw_;
::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(14 + 31) / 32];
@ -6230,6 +6225,13 @@ class CDOTAUserMsg_TutorialFinish : public ::google::protobuf::Message {
inline ::std::string* mutable_body();
inline ::std::string* release_body();
// optional bool success = 4;
inline bool has_success() const;
inline void clear_success();
static const int kSuccessFieldNumber = 4;
inline bool success() const;
inline void set_success(bool value);
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_TutorialFinish)
private:
inline void set_has_heading();
@ -6238,15 +6240,18 @@ class CDOTAUserMsg_TutorialFinish : public ::google::protobuf::Message {
inline void clear_has_emblem();
inline void set_has_body();
inline void clear_has_body();
inline void set_has_success();
inline void clear_has_success();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* heading_;
::std::string* emblem_;
::std::string* body_;
bool success_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
friend void protobuf_AddDesc_dota_5fusermessages_2eproto();
friend void protobuf_AssignDesc_dota_5fusermessages_2eproto();
@ -6257,6 +6262,126 @@ class CDOTAUserMsg_TutorialFinish : public ::google::protobuf::Message {
};
// -------------------------------------------------------------------
class CDOTAUserMsg_SendGenericToolTip : public ::google::protobuf::Message {
public:
CDOTAUserMsg_SendGenericToolTip();
virtual ~CDOTAUserMsg_SendGenericToolTip();
CDOTAUserMsg_SendGenericToolTip(const CDOTAUserMsg_SendGenericToolTip& from);
inline CDOTAUserMsg_SendGenericToolTip& operator=(const CDOTAUserMsg_SendGenericToolTip& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const CDOTAUserMsg_SendGenericToolTip& default_instance();
void Swap(CDOTAUserMsg_SendGenericToolTip* other);
// implements Message ----------------------------------------------
CDOTAUserMsg_SendGenericToolTip* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CDOTAUserMsg_SendGenericToolTip& from);
void MergeFrom(const CDOTAUserMsg_SendGenericToolTip& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional string title = 1;
inline bool has_title() const;
inline void clear_title();
static const int kTitleFieldNumber = 1;
inline const ::std::string& title() const;
inline void set_title(const ::std::string& value);
inline void set_title(const char* value);
inline void set_title(const char* value, size_t size);
inline ::std::string* mutable_title();
inline ::std::string* release_title();
// optional string text = 2;
inline bool has_text() const;
inline void clear_text();
static const int kTextFieldNumber = 2;
inline const ::std::string& text() const;
inline void set_text(const ::std::string& value);
inline void set_text(const char* value);
inline void set_text(const char* value, size_t size);
inline ::std::string* mutable_text();
inline ::std::string* release_text();
// optional int32 entindex = 3;
inline bool has_entindex() const;
inline void clear_entindex();
static const int kEntindexFieldNumber = 3;
inline ::google::protobuf::int32 entindex() const;
inline void set_entindex(::google::protobuf::int32 value);
// optional bool close = 4;
inline bool has_close() const;
inline void clear_close();
static const int kCloseFieldNumber = 4;
inline bool close() const;
inline void set_close(bool value);
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_SendGenericToolTip)
private:
inline void set_has_title();
inline void clear_has_title();
inline void set_has_text();
inline void clear_has_text();
inline void set_has_entindex();
inline void clear_has_entindex();
inline void set_has_close();
inline void clear_has_close();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* title_;
::std::string* text_;
::google::protobuf::int32 entindex_;
bool close_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
friend void protobuf_AddDesc_dota_5fusermessages_2eproto();
friend void protobuf_AssignDesc_dota_5fusermessages_2eproto();
friend void protobuf_ShutdownFile_dota_5fusermessages_2eproto();
void InitAsDefaultInstance();
static CDOTAUserMsg_SendGenericToolTip* default_instance_;
};
// -------------------------------------------------------------------
class CDOTAUserMsg_WorldLine : public ::google::protobuf::Message {
public:
CDOTAUserMsg_WorldLine();
@ -7387,6 +7512,98 @@ class CDOTAUserMsg_SendStatPopup : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static CDOTAUserMsg_SendStatPopup* default_instance_;
};
// -------------------------------------------------------------------
class CDOTAUserMsg_SendRoshanPopup : public ::google::protobuf::Message {
public:
CDOTAUserMsg_SendRoshanPopup();
virtual ~CDOTAUserMsg_SendRoshanPopup();
CDOTAUserMsg_SendRoshanPopup(const CDOTAUserMsg_SendRoshanPopup& from);
inline CDOTAUserMsg_SendRoshanPopup& operator=(const CDOTAUserMsg_SendRoshanPopup& from) {
CopyFrom(from);
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _unknown_fields_;
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return &_unknown_fields_;
}
static const ::google::protobuf::Descriptor* descriptor();
static const CDOTAUserMsg_SendRoshanPopup& default_instance();
void Swap(CDOTAUserMsg_SendRoshanPopup* other);
// implements Message ----------------------------------------------
CDOTAUserMsg_SendRoshanPopup* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CDOTAUserMsg_SendRoshanPopup& from);
void MergeFrom(const CDOTAUserMsg_SendRoshanPopup& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional bool reclaimed = 1;
inline bool has_reclaimed() const;
inline void clear_reclaimed();
static const int kReclaimedFieldNumber = 1;
inline bool reclaimed() const;
inline void set_reclaimed(bool value);
// optional int32 gametime = 2;
inline bool has_gametime() const;
inline void clear_gametime();
static const int kGametimeFieldNumber = 2;
inline ::google::protobuf::int32 gametime() const;
inline void set_gametime(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_SendRoshanPopup)
private:
inline void set_has_reclaimed();
inline void clear_has_reclaimed();
inline void set_has_gametime();
inline void clear_has_gametime();
::google::protobuf::UnknownFieldSet _unknown_fields_;
bool reclaimed_;
::google::protobuf::int32 gametime_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
friend void protobuf_AddDesc_dota_5fusermessages_2eproto();
friend void protobuf_AssignDesc_dota_5fusermessages_2eproto();
friend void protobuf_ShutdownFile_dota_5fusermessages_2eproto();
void InitAsDefaultInstance();
static CDOTAUserMsg_SendRoshanPopup* default_instance_;
};
// ===================================================================
@ -11207,50 +11424,28 @@ inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleEnt::release_fal
// -------------------------------------------------------------------
// CDOTAUserMsg_ParticleManager_UpdateParticleLatency
// CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen
// optional int32 player_latency = 1;
inline bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::has_player_latency() const {
// optional bool set_frozen = 1;
inline bool CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::has_set_frozen() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_has_player_latency() {
inline void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::set_has_set_frozen() {
_has_bits_[0] |= 0x00000001u;
}
inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_has_player_latency() {
inline void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::clear_has_set_frozen() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_player_latency() {
player_latency_ = 0;
clear_has_player_latency();
inline void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::clear_set_frozen() {
set_frozen_ = false;
clear_has_set_frozen();
}
inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleLatency::player_latency() const {
return player_latency_;
inline bool CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::set_frozen() const {
return set_frozen_;
}
inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_player_latency(::google::protobuf::int32 value) {
set_has_player_latency();
player_latency_ = value;
}
// optional int32 tick = 2;
inline bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::has_tick() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_has_tick() {
_has_bits_[0] |= 0x00000002u;
}
inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_has_tick() {
_has_bits_[0] &= ~0x00000002u;
}
inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_tick() {
tick_ = 0;
clear_has_tick();
}
inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleLatency::tick() const {
return tick_;
}
inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_tick(::google::protobuf::int32 value) {
set_has_tick();
tick_ = value;
inline void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::set_set_frozen(bool value) {
set_has_set_frozen();
set_frozen_ = value;
}
// -------------------------------------------------------------------
@ -11618,44 +11813,15 @@ inline ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* CDOTAUserMsg_ParticleMa
return temp;
}
// optional .CDOTAUserMsg_ParticleManager.UpdateParticleLatency update_particle_latency = 13;
inline bool CDOTAUserMsg_ParticleManager::has_update_particle_latency() const {
return (_has_bits_[0] & 0x00001000u) != 0;
}
inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_latency() {
_has_bits_[0] |= 0x00001000u;
}
inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_latency() {
_has_bits_[0] &= ~0x00001000u;
}
inline void CDOTAUserMsg_ParticleManager::clear_update_particle_latency() {
if (update_particle_latency_ != NULL) update_particle_latency_->::CDOTAUserMsg_ParticleManager_UpdateParticleLatency::Clear();
clear_has_update_particle_latency();
}
inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency& CDOTAUserMsg_ParticleManager::update_particle_latency() const {
return update_particle_latency_ != NULL ? *update_particle_latency_ : *default_instance_->update_particle_latency_;
}
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* CDOTAUserMsg_ParticleManager::mutable_update_particle_latency() {
set_has_update_particle_latency();
if (update_particle_latency_ == NULL) update_particle_latency_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency;
return update_particle_latency_;
}
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* CDOTAUserMsg_ParticleManager::release_update_particle_latency() {
clear_has_update_particle_latency();
::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* temp = update_particle_latency_;
update_particle_latency_ = NULL;
return temp;
}
// optional .CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14;
inline bool CDOTAUserMsg_ParticleManager::has_update_particle_should_draw() const {
return (_has_bits_[0] & 0x00002000u) != 0;
return (_has_bits_[0] & 0x00001000u) != 0;
}
inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_should_draw() {
_has_bits_[0] |= 0x00002000u;
_has_bits_[0] |= 0x00001000u;
}
inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_should_draw() {
_has_bits_[0] &= ~0x00002000u;
_has_bits_[0] &= ~0x00001000u;
}
inline void CDOTAUserMsg_ParticleManager::clear_update_particle_should_draw() {
if (update_particle_should_draw_ != NULL) update_particle_should_draw_->::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::Clear();
@ -11676,6 +11842,35 @@ inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* CDOTAUserMsg_Par
return temp;
}
// optional .CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15;
inline bool CDOTAUserMsg_ParticleManager::has_update_particle_set_frozen() const {
return (_has_bits_[0] & 0x00002000u) != 0;
}
inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_set_frozen() {
_has_bits_[0] |= 0x00002000u;
}
inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_set_frozen() {
_has_bits_[0] &= ~0x00002000u;
}
inline void CDOTAUserMsg_ParticleManager::clear_update_particle_set_frozen() {
if (update_particle_set_frozen_ != NULL) update_particle_set_frozen_->::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::Clear();
clear_has_update_particle_set_frozen();
}
inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& CDOTAUserMsg_ParticleManager::update_particle_set_frozen() const {
return update_particle_set_frozen_ != NULL ? *update_particle_set_frozen_ : *default_instance_->update_particle_set_frozen_;
}
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* CDOTAUserMsg_ParticleManager::mutable_update_particle_set_frozen() {
set_has_update_particle_set_frozen();
if (update_particle_set_frozen_ == NULL) update_particle_set_frozen_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen;
return update_particle_set_frozen_;
}
inline ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* CDOTAUserMsg_ParticleManager::release_update_particle_set_frozen() {
clear_has_update_particle_set_frozen();
::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* temp = update_particle_set_frozen_;
update_particle_set_frozen_ = NULL;
return temp;
}
// -------------------------------------------------------------------
// CDOTAUserMsg_OverheadEvent
@ -12053,6 +12248,192 @@ inline ::std::string* CDOTAUserMsg_TutorialFinish::release_body() {
}
}
// optional bool success = 4;
inline bool CDOTAUserMsg_TutorialFinish::has_success() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void CDOTAUserMsg_TutorialFinish::set_has_success() {
_has_bits_[0] |= 0x00000008u;
}
inline void CDOTAUserMsg_TutorialFinish::clear_has_success() {
_has_bits_[0] &= ~0x00000008u;
}
inline void CDOTAUserMsg_TutorialFinish::clear_success() {
success_ = false;
clear_has_success();
}
inline bool CDOTAUserMsg_TutorialFinish::success() const {
return success_;
}
inline void CDOTAUserMsg_TutorialFinish::set_success(bool value) {
set_has_success();
success_ = value;
}
// -------------------------------------------------------------------
// CDOTAUserMsg_SendGenericToolTip
// optional string title = 1;
inline bool CDOTAUserMsg_SendGenericToolTip::has_title() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CDOTAUserMsg_SendGenericToolTip::set_has_title() {
_has_bits_[0] |= 0x00000001u;
}
inline void CDOTAUserMsg_SendGenericToolTip::clear_has_title() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CDOTAUserMsg_SendGenericToolTip::clear_title() {
if (title_ != &::google::protobuf::internal::kEmptyString) {
title_->clear();
}
clear_has_title();
}
inline const ::std::string& CDOTAUserMsg_SendGenericToolTip::title() const {
return *title_;
}
inline void CDOTAUserMsg_SendGenericToolTip::set_title(const ::std::string& value) {
set_has_title();
if (title_ == &::google::protobuf::internal::kEmptyString) {
title_ = new ::std::string;
}
title_->assign(value);
}
inline void CDOTAUserMsg_SendGenericToolTip::set_title(const char* value) {
set_has_title();
if (title_ == &::google::protobuf::internal::kEmptyString) {
title_ = new ::std::string;
}
title_->assign(value);
}
inline void CDOTAUserMsg_SendGenericToolTip::set_title(const char* value, size_t size) {
set_has_title();
if (title_ == &::google::protobuf::internal::kEmptyString) {
title_ = new ::std::string;
}
title_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CDOTAUserMsg_SendGenericToolTip::mutable_title() {
set_has_title();
if (title_ == &::google::protobuf::internal::kEmptyString) {
title_ = new ::std::string;
}
return title_;
}
inline ::std::string* CDOTAUserMsg_SendGenericToolTip::release_title() {
clear_has_title();
if (title_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = title_;
title_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
// optional string text = 2;
inline bool CDOTAUserMsg_SendGenericToolTip::has_text() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void CDOTAUserMsg_SendGenericToolTip::set_has_text() {
_has_bits_[0] |= 0x00000002u;
}
inline void CDOTAUserMsg_SendGenericToolTip::clear_has_text() {
_has_bits_[0] &= ~0x00000002u;
}
inline void CDOTAUserMsg_SendGenericToolTip::clear_text() {
if (text_ != &::google::protobuf::internal::kEmptyString) {
text_->clear();
}
clear_has_text();
}
inline const ::std::string& CDOTAUserMsg_SendGenericToolTip::text() const {
return *text_;
}
inline void CDOTAUserMsg_SendGenericToolTip::set_text(const ::std::string& value) {
set_has_text();
if (text_ == &::google::protobuf::internal::kEmptyString) {
text_ = new ::std::string;
}
text_->assign(value);
}
inline void CDOTAUserMsg_SendGenericToolTip::set_text(const char* value) {
set_has_text();
if (text_ == &::google::protobuf::internal::kEmptyString) {
text_ = new ::std::string;
}
text_->assign(value);
}
inline void CDOTAUserMsg_SendGenericToolTip::set_text(const char* value, size_t size) {
set_has_text();
if (text_ == &::google::protobuf::internal::kEmptyString) {
text_ = new ::std::string;
}
text_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CDOTAUserMsg_SendGenericToolTip::mutable_text() {
set_has_text();
if (text_ == &::google::protobuf::internal::kEmptyString) {
text_ = new ::std::string;
}
return text_;
}
inline ::std::string* CDOTAUserMsg_SendGenericToolTip::release_text() {
clear_has_text();
if (text_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = text_;
text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
// optional int32 entindex = 3;
inline bool CDOTAUserMsg_SendGenericToolTip::has_entindex() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void CDOTAUserMsg_SendGenericToolTip::set_has_entindex() {
_has_bits_[0] |= 0x00000004u;
}
inline void CDOTAUserMsg_SendGenericToolTip::clear_has_entindex() {
_has_bits_[0] &= ~0x00000004u;
}
inline void CDOTAUserMsg_SendGenericToolTip::clear_entindex() {
entindex_ = 0;
clear_has_entindex();
}
inline ::google::protobuf::int32 CDOTAUserMsg_SendGenericToolTip::entindex() const {
return entindex_;
}
inline void CDOTAUserMsg_SendGenericToolTip::set_entindex(::google::protobuf::int32 value) {
set_has_entindex();
entindex_ = value;
}
// optional bool close = 4;
inline bool CDOTAUserMsg_SendGenericToolTip::has_close() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void CDOTAUserMsg_SendGenericToolTip::set_has_close() {
_has_bits_[0] |= 0x00000008u;
}
inline void CDOTAUserMsg_SendGenericToolTip::clear_has_close() {
_has_bits_[0] &= ~0x00000008u;
}
inline void CDOTAUserMsg_SendGenericToolTip::clear_close() {
close_ = false;
clear_has_close();
}
inline bool CDOTAUserMsg_SendGenericToolTip::close() const {
return close_;
}
inline void CDOTAUserMsg_SendGenericToolTip::set_close(bool value) {
set_has_close();
close_ = value;
}
// -------------------------------------------------------------------
// CDOTAUserMsg_WorldLine
@ -12810,6 +13191,54 @@ inline ::CDOTAMsg_SendStatPopup* CDOTAUserMsg_SendStatPopup::release_statpopup()
return temp;
}
// -------------------------------------------------------------------
// CDOTAUserMsg_SendRoshanPopup
// optional bool reclaimed = 1;
inline bool CDOTAUserMsg_SendRoshanPopup::has_reclaimed() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CDOTAUserMsg_SendRoshanPopup::set_has_reclaimed() {
_has_bits_[0] |= 0x00000001u;
}
inline void CDOTAUserMsg_SendRoshanPopup::clear_has_reclaimed() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CDOTAUserMsg_SendRoshanPopup::clear_reclaimed() {
reclaimed_ = false;
clear_has_reclaimed();
}
inline bool CDOTAUserMsg_SendRoshanPopup::reclaimed() const {
return reclaimed_;
}
inline void CDOTAUserMsg_SendRoshanPopup::set_reclaimed(bool value) {
set_has_reclaimed();
reclaimed_ = value;
}
// optional int32 gametime = 2;
inline bool CDOTAUserMsg_SendRoshanPopup::has_gametime() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void CDOTAUserMsg_SendRoshanPopup::set_has_gametime() {
_has_bits_[0] |= 0x00000002u;
}
inline void CDOTAUserMsg_SendRoshanPopup::clear_has_gametime() {
_has_bits_[0] &= ~0x00000002u;
}
inline void CDOTAUserMsg_SendRoshanPopup::clear_gametime() {
gametime_ = 0;
clear_has_gametime();
}
inline ::google::protobuf::int32 CDOTAUserMsg_SendRoshanPopup::gametime() const {
return gametime_;
}
inline void CDOTAUserMsg_SendRoshanPopup::set_gametime(::google::protobuf::int32 value) {
set_has_gametime();
gametime_ = value;
}
// @@protoc_insertion_point(namespace_scope)

View File

@ -59,7 +59,7 @@ option cc_generic_services = false;
import "google/protobuf/descriptor.proto";
// for CMsgVector, etc.
import "netmessages.proto";
import "networkbasetypes.proto";
// for Activity
import "ai_activity.proto";
@ -120,6 +120,8 @@ enum EDotaUserMessages
DOTA_UM_AddQuestLogEntry = 109;
DOTA_UM_SendStatPopup = 110;
DOTA_UM_TutorialFinish = 111;
DOTA_UM_SendRoshanPopup = 112;
DOTA_UM_SendGenericToolTip = 113;
}
//=============================================================================
@ -523,7 +525,8 @@ enum DOTA_PARTICLE_MESSAGE
DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8;
DOTA_PARTICLE_MANAGER_EVENT_RELEASE = 9;
DOTA_PARTICLE_MANAGER_EVENT_LATENCY = 10;
DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11;
DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11;
DOTA_PARTICLE_MANAGER_EVENT_FROZEN = 12;
};
message CDOTAUserMsg_ParticleManager
@ -581,10 +584,9 @@ message CDOTAUserMsg_ParticleManager
optional int32 attachment = 4;
optional CMsgVector fallback_position = 5;
}
message UpdateParticleLatency
message UpdateParticleSetFrozen
{
optional int32 player_latency = 1;
optional int32 tick = 2;
optional bool set_frozen = 1;
}
message UpdateParticleShouldDraw
@ -605,8 +607,8 @@ message CDOTAUserMsg_ParticleManager
optional UpdateParticleFallback update_particle_fallback = 10; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK
optional UpdateParticleOffset update_particle_offset = 11; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET
optional UpdateParticleEnt update_particle_ent = 12; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT
optional UpdateParticleLatency update_particle_latency = 13; // DOTA_PARTICLE_MANAGER_EVENT_LATENCY
optional UpdateParticleShouldDraw update_particle_should_draw = 14; // DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW
optional UpdateParticleShouldDraw update_particle_should_draw = 14; // DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW
optional UpdateParticleSetFrozen update_particle_set_frozen = 15; // DOTA_PARTICLE_MANAGER_EVENT_FROZEN
}
// If you modify this, make sure you update g_OverheadMessageType!
@ -647,8 +649,18 @@ message CDOTAUserMsg_TutorialFinish
optional string heading = 1;
optional string emblem = 2;
optional string body = 3;
optional bool success = 4;
}
message CDOTAUserMsg_SendGenericToolTip
{
optional string title = 1;
optional string text = 2;
optional int32 entindex = 3;
optional bool close = 4;
}
message CDOTAUserMsg_WorldLine
{
optional int32 player_id = 1;
@ -722,3 +734,8 @@ message CDOTAUserMsg_SendStatPopup
optional CDOTAMsg_SendStatPopup statpopup = 2;
}
message CDOTAUserMsg_SendRoshanPopup
{
optional bool reclaimed = 1;
optional int32 gametime = 2;
}

View File

@ -53,7 +53,7 @@ void protobuf_AddDesc_ai_5factivity_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\021ai_activity.proto*\354{\n\010Activity\022\030\n\013ACT_"
"\n\021ai_activity.proto*\211|\n\010Activity\022\030\n\013ACT_"
"INVALID\020\377\377\377\377\377\377\377\377\377\001\022\r\n\tACT_RESET\020\000\022\014\n\010ACT"
"_IDLE\020\001\022\022\n\016ACT_TRANSITION\020\002\022\r\n\tACT_COVER"
"\020\003\022\021\n\rACT_COVER_MED\020\004\022\021\n\rACT_COVER_LOW\020\005"
@ -449,8 +449,8 @@ void protobuf_AddDesc_ai_5factivity_2eproto() {
"_CREEP_RAGE_OUT\020\266\004\022\037\n\032ACT_DOTA_CAGED_CRE"
"EP_SMASH\020\267\004\022#\n\036ACT_DOTA_CAGED_CREEP_SMAS"
"H_OUT\020\270\004\022&\n!ACT_DOTA_IDLE_IMPATIENT_SWOR"
"D_TAP\020\271\004\022\030\n\023ACT_DOTA_INTRO_LOOP\020\272\004B\005H\001\200\001"
"\000", 15881);
"D_TAP\020\271\004\022\030\n\023ACT_DOTA_INTRO_LOOP\020\272\004\022\033\n\026AC"
"T_DOTA_BRIDGE_THREAT\020\273\004B\005H\001\200\001\000", 15910);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"ai_activity.proto", &protobuf_RegisterTypes);
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_ai_5factivity_2eproto);
@ -1039,6 +1039,7 @@ bool Activity_IsValid(int value) {
case 568:
case 569:
case 570:
case 571:
return true;
default:
return false;

View File

@ -601,11 +601,12 @@ enum Activity {
ACT_DOTA_CAGED_CREEP_SMASH = 567,
ACT_DOTA_CAGED_CREEP_SMASH_OUT = 568,
ACT_DOTA_IDLE_IMPATIENT_SWORD_TAP = 569,
ACT_DOTA_INTRO_LOOP = 570
ACT_DOTA_INTRO_LOOP = 570,
ACT_DOTA_BRIDGE_THREAT = 571
};
bool Activity_IsValid(int value);
const Activity Activity_MIN = ACT_INVALID;
const Activity Activity_MAX = ACT_DOTA_INTRO_LOOP;
const Activity Activity_MAX = ACT_DOTA_BRIDGE_THREAT;
const int Activity_ARRAYSIZE = Activity_MAX + 1;
const ::google::protobuf::EnumDescriptor* Activity_descriptor();

View File

@ -694,6 +694,7 @@ enum Activity
ACT_DOTA_CAGED_CREEP_SMASH_OUT = 568;
ACT_DOTA_IDLE_IMPATIENT_SWORD_TAP = 569;
ACT_DOTA_INTRO_LOOP = 570;
ACT_DOTA_BRIDGE_THREAT = 571;
};

View File

@ -756,74 +756,75 @@ void protobuf_AddDesc_usermessages_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
::protobuf_AddDesc_netmessages_2eproto();
::protobuf_AddDesc_networkbasetypes_2eproto();
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\022usermessages.proto\032 google/protobuf/de"
"scriptor.proto\032\021netmessages.proto\"0\n\031CUs"
"erMsg_AchievementEvent\022\023\n\013achievement\030\001 "
"\001(\r\"L\n\025CUserMsg_CloseCaption\022\014\n\004hash\030\001 \001"
"(\007\022\020\n\010duration\030\002 \001(\002\022\023\n\013from_player\030\003 \001("
"\010\",\n\031CUserMsg_CurrentTimescale\022\017\n\007curren"
"t\030\001 \001(\002\"n\n\031CUserMsg_DesiredTimescale\022\017\n\007"
"desired\030\001 \001(\002\022\020\n\010duration\030\002 \001(\002\022\024\n\014inter"
"polator\030\003 \001(\r\022\030\n\020start_blend_time\030\004 \001(\002\""
"R\n\rCUserMsg_Fade\022\020\n\010duration\030\001 \001(\r\022\021\n\tho"
"ld_time\030\002 \001(\r\022\r\n\005flags\030\003 \001(\r\022\r\n\005color\030\004 "
"\001(\007\"Y\n\016CUserMsg_Shake\022\017\n\007command\030\001 \001(\r\022\021"
"\n\tamplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010"
"duration\030\004 \001(\002\"S\n\021CUserMsg_ShakeDir\022\036\n\005s"
"hake\030\001 \001(\0132\017.CUserMsg_Shake\022\036\n\tdirection"
"\030\002 \001(\0132\013.CMsgVector\"q\n\rCUserMsg_Tilt\022\017\n\007"
"command\030\001 \001(\r\022\023\n\013ease_in_out\030\002 \001(\010\022\032\n\005an"
"gle\030\003 \001(\0132\013.CMsgVector\022\020\n\010duration\030\004 \001(\002"
"\022\014\n\004time\030\005 \001(\002\">\n\020CUserMsg_SayText\022\016\n\006cl"
"ient\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\022\014\n\004chat\030\003 \001(\010\"q"
"\n\021CUserMsg_SayText2\022\016\n\006client\030\001 \001(\r\022\014\n\004c"
"hat\030\002 \001(\010\022\016\n\006format\030\003 \001(\t\022\016\n\006prefix\030\004 \001("
"\t\022\014\n\004text\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\"\312\001\n\017CU"
"serMsg_HudMsg\022\017\n\007channel\030\001 \001(\r\022\t\n\001x\030\002 \001("
"\002\022\t\n\001y\030\003 \001(\002\022\016\n\006color1\030\004 \001(\r\022\016\n\006color2\030\005"
" \001(\r\022\016\n\006effect\030\006 \001(\r\022\024\n\014fade_in_time\030\007 \001"
"(\002\022\025\n\rfade_out_time\030\010 \001(\002\022\021\n\thold_time\030\t"
" \001(\002\022\017\n\007fx_time\030\n \001(\002\022\017\n\007message\030\013 \001(\t\"#"
"\n\020CUserMsg_HudText\022\017\n\007message\030\001 \001(\t\"/\n\020C"
"UserMsg_TextMsg\022\014\n\004dest\030\001 \001(\r\022\r\n\005param\030\002"
" \003(\t\"\024\n\022CUserMsg_GameTitle\"\023\n\021CUserMsg_R"
"esetHUD\"0\n\022CUserMsg_SendAudio\022\014\n\004stop\030\002 "
"\001(\010\022\014\n\004name\030\003 \001(\t\"N\n\022CUserMsg_VoiceMask\022"
"\034\n\024audible_players_mask\030\001 \003(\005\022\032\n\022player_"
"mod_enabled\030\002 \001(\010\"\027\n\025CUserMsg_RequestSta"
"te\"$\n\021CUserMsg_HintText\022\017\n\007message\030\001 \001(\t"
"\"(\n\024CUserMsg_KeyHintText\022\020\n\010messages\030\001 \003"
"(\t\"\030\n\026CUserMsg_StatsCrawlMsg\"A\n\027CUserMsg"
"_StatsSkipState\022\021\n\tnum_skips\030\001 \001(\005\022\023\n\013nu"
"m_players\030\002 \001(\005\"G\n\026CUserMsg_VoiceSubtitl"
"e\022\021\n\tent_index\030\001 \001(\005\022\014\n\004menu\030\002 \001(\005\022\014\n\004it"
"em\030\003 \001(\005\"{\n\021CUserMsg_VGUIMenu\022\014\n\004name\030\001 "
"\001(\t\022\014\n\004show\030\002 \001(\010\022%\n\004keys\030\003 \003(\0132\027.CUserM"
"sg_VGUIMenu.Keys\032#\n\004Keys\022\014\n\004name\030\001 \001(\t\022\r"
"\n\005value\030\002 \001(\t\" \n\017CUserMsg_Geiger\022\r\n\005rang"
"e\030\001 \001(\005\"=\n\017CUserMsg_Rumble\022\r\n\005index\030\001 \001("
"\005\022\014\n\004data\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\"\037\n\016CUserM"
"sg_Train\022\r\n\005train\030\001 \001(\005\"H\n\027CUserMsg_SayT"
"extChannel\022\016\n\006player\030\001 \001(\005\022\017\n\007channel\030\002 "
"\001(\005\022\014\n\004text\030\003 \001(\t\"3\n\024CUserMsg_MessageTex"
"t\022\r\n\005color\030\001 \001(\r\022\014\n\004text\030\002 \001(\t*\324\004\n\021EBase"
"UserMessages\022\027\n\023UM_AchievementEvent\020\001\022\023\n"
"\017UM_CloseCaption\020\002\022\031\n\025UM_CloseCaptionDir"
"ect\020\003\022\027\n\023UM_CurrentTimescale\020\004\022\027\n\023UM_Des"
"iredTimescale\020\005\022\013\n\007UM_Fade\020\006\022\020\n\014UM_GameT"
"itle\020\007\022\r\n\tUM_Geiger\020\010\022\017\n\013UM_HintText\020\t\022\r"
"\n\tUM_HudMsg\020\n\022\016\n\nUM_HudText\020\013\022\022\n\016UM_KeyH"
"intText\020\014\022\022\n\016UM_MessageText\020\r\022\023\n\017UM_Requ"
"estState\020\016\022\017\n\013UM_ResetHUD\020\017\022\r\n\tUM_Rumble"
"\020\020\022\016\n\nUM_SayText\020\021\022\017\n\013UM_SayText2\020\022\022\025\n\021U"
"M_SayTextChannel\020\023\022\014\n\010UM_Shake\020\024\022\017\n\013UM_S"
"hakeDir\020\025\022\024\n\020UM_StatsCrawlMsg\020\026\022\025\n\021UM_St"
"atsSkipState\020\027\022\016\n\nUM_TextMsg\020\030\022\013\n\007UM_Til"
"t\020\031\022\014\n\010UM_Train\020\032\022\017\n\013UM_VGUIMenu\020\033\022\020\n\014UM"
"_VoiceMask\020\034\022\024\n\020UM_VoiceSubtitle\020\035\022\020\n\014UM"
"_SendAudio\020\036\022\017\n\013UM_MAX_BASE\020\?B\005H\001\200\001\000", 2636);
"scriptor.proto\032\026networkbasetypes.proto\"0"
"\n\031CUserMsg_AchievementEvent\022\023\n\013achieveme"
"nt\030\001 \001(\r\"L\n\025CUserMsg_CloseCaption\022\014\n\004has"
"h\030\001 \001(\007\022\020\n\010duration\030\002 \001(\002\022\023\n\013from_player"
"\030\003 \001(\010\",\n\031CUserMsg_CurrentTimescale\022\017\n\007c"
"urrent\030\001 \001(\002\"n\n\031CUserMsg_DesiredTimescal"
"e\022\017\n\007desired\030\001 \001(\002\022\020\n\010duration\030\002 \001(\002\022\024\n\014"
"interpolator\030\003 \001(\r\022\030\n\020start_blend_time\030\004"
" \001(\002\"R\n\rCUserMsg_Fade\022\020\n\010duration\030\001 \001(\r\022"
"\021\n\thold_time\030\002 \001(\r\022\r\n\005flags\030\003 \001(\r\022\r\n\005col"
"or\030\004 \001(\007\"Y\n\016CUserMsg_Shake\022\017\n\007command\030\001 "
"\001(\r\022\021\n\tamplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 \001("
"\002\022\020\n\010duration\030\004 \001(\002\"S\n\021CUserMsg_ShakeDir"
"\022\036\n\005shake\030\001 \001(\0132\017.CUserMsg_Shake\022\036\n\tdire"
"ction\030\002 \001(\0132\013.CMsgVector\"q\n\rCUserMsg_Til"
"t\022\017\n\007command\030\001 \001(\r\022\023\n\013ease_in_out\030\002 \001(\010\022"
"\032\n\005angle\030\003 \001(\0132\013.CMsgVector\022\020\n\010duration\030"
"\004 \001(\002\022\014\n\004time\030\005 \001(\002\">\n\020CUserMsg_SayText\022"
"\016\n\006client\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\022\014\n\004chat\030\003 "
"\001(\010\"q\n\021CUserMsg_SayText2\022\016\n\006client\030\001 \001(\r"
"\022\014\n\004chat\030\002 \001(\010\022\016\n\006format\030\003 \001(\t\022\016\n\006prefix"
"\030\004 \001(\t\022\014\n\004text\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\"\312"
"\001\n\017CUserMsg_HudMsg\022\017\n\007channel\030\001 \001(\r\022\t\n\001x"
"\030\002 \001(\002\022\t\n\001y\030\003 \001(\002\022\016\n\006color1\030\004 \001(\r\022\016\n\006col"
"or2\030\005 \001(\r\022\016\n\006effect\030\006 \001(\r\022\024\n\014fade_in_tim"
"e\030\007 \001(\002\022\025\n\rfade_out_time\030\010 \001(\002\022\021\n\thold_t"
"ime\030\t \001(\002\022\017\n\007fx_time\030\n \001(\002\022\017\n\007message\030\013 "
"\001(\t\"#\n\020CUserMsg_HudText\022\017\n\007message\030\001 \001(\t"
"\"/\n\020CUserMsg_TextMsg\022\014\n\004dest\030\001 \001(\r\022\r\n\005pa"
"ram\030\002 \003(\t\"\024\n\022CUserMsg_GameTitle\"\023\n\021CUser"
"Msg_ResetHUD\"0\n\022CUserMsg_SendAudio\022\014\n\004st"
"op\030\002 \001(\010\022\014\n\004name\030\003 \001(\t\"N\n\022CUserMsg_Voice"
"Mask\022\034\n\024audible_players_mask\030\001 \003(\005\022\032\n\022pl"
"ayer_mod_enabled\030\002 \001(\010\"\027\n\025CUserMsg_Reque"
"stState\"$\n\021CUserMsg_HintText\022\017\n\007message\030"
"\001 \001(\t\"(\n\024CUserMsg_KeyHintText\022\020\n\010message"
"s\030\001 \003(\t\"\030\n\026CUserMsg_StatsCrawlMsg\"A\n\027CUs"
"erMsg_StatsSkipState\022\021\n\tnum_skips\030\001 \001(\005\022"
"\023\n\013num_players\030\002 \001(\005\"G\n\026CUserMsg_VoiceSu"
"btitle\022\021\n\tent_index\030\001 \001(\005\022\014\n\004menu\030\002 \001(\005\022"
"\014\n\004item\030\003 \001(\005\"{\n\021CUserMsg_VGUIMenu\022\014\n\004na"
"me\030\001 \001(\t\022\014\n\004show\030\002 \001(\010\022%\n\004keys\030\003 \003(\0132\027.C"
"UserMsg_VGUIMenu.Keys\032#\n\004Keys\022\014\n\004name\030\001 "
"\001(\t\022\r\n\005value\030\002 \001(\t\" \n\017CUserMsg_Geiger\022\r\n"
"\005range\030\001 \001(\005\"=\n\017CUserMsg_Rumble\022\r\n\005index"
"\030\001 \001(\005\022\014\n\004data\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\"\037\n\016C"
"UserMsg_Train\022\r\n\005train\030\001 \001(\005\"H\n\027CUserMsg"
"_SayTextChannel\022\016\n\006player\030\001 \001(\005\022\017\n\007chann"
"el\030\002 \001(\005\022\014\n\004text\030\003 \001(\t\"3\n\024CUserMsg_Messa"
"geText\022\r\n\005color\030\001 \001(\r\022\014\n\004text\030\002 \001(\t*\324\004\n\021"
"EBaseUserMessages\022\027\n\023UM_AchievementEvent"
"\020\001\022\023\n\017UM_CloseCaption\020\002\022\031\n\025UM_CloseCapti"
"onDirect\020\003\022\027\n\023UM_CurrentTimescale\020\004\022\027\n\023U"
"M_DesiredTimescale\020\005\022\013\n\007UM_Fade\020\006\022\020\n\014UM_"
"GameTitle\020\007\022\r\n\tUM_Geiger\020\010\022\017\n\013UM_HintTex"
"t\020\t\022\r\n\tUM_HudMsg\020\n\022\016\n\nUM_HudText\020\013\022\022\n\016UM"
"_KeyHintText\020\014\022\022\n\016UM_MessageText\020\r\022\023\n\017UM"
"_RequestState\020\016\022\017\n\013UM_ResetHUD\020\017\022\r\n\tUM_R"
"umble\020\020\022\016\n\nUM_SayText\020\021\022\017\n\013UM_SayText2\020\022"
"\022\025\n\021UM_SayTextChannel\020\023\022\014\n\010UM_Shake\020\024\022\017\n"
"\013UM_ShakeDir\020\025\022\024\n\020UM_StatsCrawlMsg\020\026\022\025\n\021"
"UM_StatsSkipState\020\027\022\016\n\nUM_TextMsg\020\030\022\013\n\007U"
"M_Tilt\020\031\022\014\n\010UM_Train\020\032\022\017\n\013UM_VGUIMenu\020\033\022"
"\020\n\014UM_VoiceMask\020\034\022\024\n\020UM_VoiceSubtitle\020\035\022"
"\020\n\014UM_SendAudio\020\036\022\017\n\013UM_MAX_BASE\020\?B\005H\001\200\001"
"\000", 2641);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"usermessages.proto", &protobuf_RegisterTypes);
CUserMsg_AchievementEvent::default_instance_ = new CUserMsg_AchievementEvent();

View File

@ -24,7 +24,7 @@
#include <google/protobuf/extension_set.h>
#include <google/protobuf/generated_message_reflection.h>
#include "google/protobuf/descriptor.pb.h"
#include "netmessages.pb.h"
#include "networkbasetypes.pb.h"
// @@protoc_insertion_point(includes)
// Internal implementation detail -- do not call these.

View File

@ -59,7 +59,7 @@ option cc_generic_services = false;
import "google/protobuf/descriptor.proto";
// for CMsgVector, etc.
import "netmessages.proto";
import "networkbasetypes.proto";
//=============================================================================
// Base User Messages