Updated protobufs.

--HG--
extra : rebase_source : 33b658e2d314424a66e48aa987d13fae26bfeb24
This commit is contained in:
Nicholas Hastings 2013-06-05 21:05:42 -04:00
parent d217b943d4
commit 6f2dff28f5
17 changed files with 3031 additions and 183 deletions

View File

@ -1608,10 +1608,9 @@ void protobuf_AddDesc_netmessages_2eproto() {
"\n\020svc_TempEntities\020\033\022\020\n\014svc_Prefetch\020\034\022\014"
"\n\010svc_Menu\020\035\022\025\n\021svc_GameEventList\020\036\022\024\n\020s"
"vc_GetCvarValue\020\037\022\026\n\022svc_PacketReliable\020"
" *u\n\027ESplitScreenMessageType\022\033\n\027MSG_SPLI"
" *V\n\027ESplitScreenMessageType\022\033\n\027MSG_SPLI"
"TSCREEN_ADDUSER\020\000\022\036\n\032MSG_SPLITSCREEN_REM"
"OVEUSER\020\001\022\035\n\031MSG_SPLITSCREEN_TYPE_BITS\020\001"
"B\003\200\001\000", 6565);
"OVEUSER\020\001B\003\200\001\000", 6534);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"netmessages.proto", &protobuf_RegisterTypes);
CMsgVector::default_instance_ = new CMsgVector();

View File

@ -229,8 +229,7 @@ inline bool SVC_Messages_Parse(
}
enum ESplitScreenMessageType {
MSG_SPLITSCREEN_ADDUSER = 0,
MSG_SPLITSCREEN_REMOVEUSER = 1,
MSG_SPLITSCREEN_TYPE_BITS = 1
MSG_SPLITSCREEN_REMOVEUSER = 1
};
bool ESplitScreenMessageType_IsValid(int value);
const ESplitScreenMessageType ESplitScreenMessageType_MIN = MSG_SPLITSCREEN_ADDUSER;

View File

@ -420,7 +420,6 @@ enum ESplitScreenMessageType
{
MSG_SPLITSCREEN_ADDUSER = 0;
MSG_SPLITSCREEN_REMOVEUSER = 1;
MSG_SPLITSCREEN_TYPE_BITS = 1;
};
message CSVCMsg_SplitScreen

View File

@ -30,6 +30,7 @@ CDotaClientMessageHelpers::CDotaClientMessageHelpers()
SETUP_DOTA_MESSAGE( RequestGraphUpdate );
SETUP_DOTA_MESSAGE( ItemAlert );
SETUP_DOTA_MESSAGE( ChatWheel );
SETUP_DOTA_MESSAGE( SendStatPopup );
}
const google::protobuf::Message *CDotaClientMessageHelpers::GetPrototype( int index ) const

View File

@ -63,6 +63,9 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* CDOTAClientMsg_ChatWheel_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
CDOTAClientMsg_ChatWheel_reflection_ = NULL;
const ::google::protobuf::Descriptor* CDOTAClientMsg_SendStatPopup_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
CDOTAClientMsg_SendStatPopup_reflection_ = NULL;
const ::google::protobuf::EnumDescriptor* EDotaClientMessages_descriptor_ = NULL;
} // namespace
@ -314,6 +317,21 @@ void protobuf_AssignDesc_dota_5fclientmessages_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(CDOTAClientMsg_ChatWheel));
CDOTAClientMsg_SendStatPopup_descriptor_ = file->message_type(16);
static const int CDOTAClientMsg_SendStatPopup_offsets_[1] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAClientMsg_SendStatPopup, statpopup_),
};
CDOTAClientMsg_SendStatPopup_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
CDOTAClientMsg_SendStatPopup_descriptor_,
CDOTAClientMsg_SendStatPopup::default_instance_,
CDOTAClientMsg_SendStatPopup_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAClientMsg_SendStatPopup, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAClientMsg_SendStatPopup, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(CDOTAClientMsg_SendStatPopup));
EDotaClientMessages_descriptor_ = file->enum_type(0);
}
@ -359,6 +377,8 @@ void protobuf_RegisterTypes(const ::std::string&) {
CDOTAClientMsg_RequestGraphUpdate_descriptor_, &CDOTAClientMsg_RequestGraphUpdate::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
CDOTAClientMsg_ChatWheel_descriptor_, &CDOTAClientMsg_ChatWheel::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
CDOTAClientMsg_SendStatPopup_descriptor_, &CDOTAClientMsg_SendStatPopup::default_instance());
}
} // namespace
@ -396,6 +416,8 @@ void protobuf_ShutdownFile_dota_5fclientmessages_2eproto() {
delete CDOTAClientMsg_RequestGraphUpdate_reflection_;
delete CDOTAClientMsg_ChatWheel::default_instance_;
delete CDOTAClientMsg_ChatWheel_reflection_;
delete CDOTAClientMsg_SendStatPopup::default_instance_;
delete CDOTAClientMsg_SendStatPopup_reflection_;
}
void protobuf_AddDesc_dota_5fclientmessages_2eproto() {
@ -432,18 +454,21 @@ void protobuf_AddDesc_dota_5fclientmessages_2eproto() {
"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*\246\003"
"\n\023EDotaClientMessages\022\023\n\017DOTA_CM_MapLine"
"\020\001\022\027\n\023DOTA_CM_AspectRatio\020\002\022\023\n\017DOTA_CM_M"
"apPing\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_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_Requ"
"estGraphUpdate\020\016\022\025\n\021DOTA_CM_ItemAlert\020\017\022"
"\025\n\021DOTA_CM_ChatWheel\020\020B\005H\001\200\001\000", 1429);
".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);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"dota_clientmessages.proto", &protobuf_RegisterTypes);
CDOTAClientMsg_MapPing::default_instance_ = new CDOTAClientMsg_MapPing();
@ -462,6 +487,7 @@ void protobuf_AddDesc_dota_5fclientmessages_2eproto() {
CDOTAClientMsg_WorldLine::default_instance_ = new CDOTAClientMsg_WorldLine();
CDOTAClientMsg_RequestGraphUpdate::default_instance_ = new CDOTAClientMsg_RequestGraphUpdate();
CDOTAClientMsg_ChatWheel::default_instance_ = new CDOTAClientMsg_ChatWheel();
CDOTAClientMsg_SendStatPopup::default_instance_ = new CDOTAClientMsg_SendStatPopup();
CDOTAClientMsg_MapPing::default_instance_->InitAsDefaultInstance();
CDOTAClientMsg_ItemAlert::default_instance_->InitAsDefaultInstance();
CDOTAClientMsg_MapLine::default_instance_->InitAsDefaultInstance();
@ -478,6 +504,7 @@ void protobuf_AddDesc_dota_5fclientmessages_2eproto() {
CDOTAClientMsg_WorldLine::default_instance_->InitAsDefaultInstance();
CDOTAClientMsg_RequestGraphUpdate::default_instance_->InitAsDefaultInstance();
CDOTAClientMsg_ChatWheel::default_instance_->InitAsDefaultInstance();
CDOTAClientMsg_SendStatPopup::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_dota_5fclientmessages_2eproto);
}
@ -510,6 +537,7 @@ bool EDotaClientMessages_IsValid(int value) {
case 14:
case 15:
case 16:
case 17:
return true;
default:
return false;
@ -3857,6 +3885,218 @@ void CDOTAClientMsg_ChatWheel::Swap(CDOTAClientMsg_ChatWheel* other) {
}
// ===================================================================
#ifndef _MSC_VER
const int CDOTAClientMsg_SendStatPopup::kStatpopupFieldNumber;
#endif // !_MSC_VER
CDOTAClientMsg_SendStatPopup::CDOTAClientMsg_SendStatPopup()
: ::google::protobuf::Message() {
SharedCtor();
}
void CDOTAClientMsg_SendStatPopup::InitAsDefaultInstance() {
statpopup_ = const_cast< ::CDOTAMsg_SendStatPopup*>(&::CDOTAMsg_SendStatPopup::default_instance());
}
CDOTAClientMsg_SendStatPopup::CDOTAClientMsg_SendStatPopup(const CDOTAClientMsg_SendStatPopup& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
}
void CDOTAClientMsg_SendStatPopup::SharedCtor() {
_cached_size_ = 0;
statpopup_ = NULL;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
CDOTAClientMsg_SendStatPopup::~CDOTAClientMsg_SendStatPopup() {
SharedDtor();
}
void CDOTAClientMsg_SendStatPopup::SharedDtor() {
if (this != default_instance_) {
delete statpopup_;
}
}
void CDOTAClientMsg_SendStatPopup::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* CDOTAClientMsg_SendStatPopup::descriptor() {
protobuf_AssignDescriptorsOnce();
return CDOTAClientMsg_SendStatPopup_descriptor_;
}
const CDOTAClientMsg_SendStatPopup& CDOTAClientMsg_SendStatPopup::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_dota_5fclientmessages_2eproto(); return *default_instance_;
}
CDOTAClientMsg_SendStatPopup* CDOTAClientMsg_SendStatPopup::default_instance_ = NULL;
CDOTAClientMsg_SendStatPopup* CDOTAClientMsg_SendStatPopup::New() const {
return new CDOTAClientMsg_SendStatPopup;
}
void CDOTAClientMsg_SendStatPopup::Clear() {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (has_statpopup()) {
if (statpopup_ != NULL) statpopup_->::CDOTAMsg_SendStatPopup::Clear();
}
}
::memset(_has_bits_, 0, sizeof(_has_bits_));
mutable_unknown_fields()->Clear();
}
bool CDOTAClientMsg_SendStatPopup::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
::google::protobuf::uint32 tag;
while ((tag = input->ReadTag()) != 0) {
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// optional .CDOTAMsg_SendStatPopup statpopup = 1;
case 1: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
input, mutable_statpopup()));
} else {
goto handle_uninterpreted;
}
if (input->ExpectAtEnd()) return true;
break;
}
default: {
handle_uninterpreted:
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
return true;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, mutable_unknown_fields()));
break;
}
}
}
return true;
#undef DO_
}
void CDOTAClientMsg_SendStatPopup::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// optional .CDOTAMsg_SendStatPopup statpopup = 1;
if (has_statpopup()) {
::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1, this->statpopup(), output);
}
if (!unknown_fields().empty()) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
unknown_fields(), output);
}
}
::google::protobuf::uint8* CDOTAClientMsg_SendStatPopup::SerializeWithCachedSizesToArray(
::google::protobuf::uint8* target) const {
// optional .CDOTAMsg_SendStatPopup statpopup = 1;
if (has_statpopup()) {
target = ::google::protobuf::internal::WireFormatLite::
WriteMessageNoVirtualToArray(
1, this->statpopup(), target);
}
if (!unknown_fields().empty()) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
unknown_fields(), target);
}
return target;
}
int CDOTAClientMsg_SendStatPopup::ByteSize() const {
int total_size = 0;
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
// optional .CDOTAMsg_SendStatPopup statpopup = 1;
if (has_statpopup()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
this->statpopup());
}
}
if (!unknown_fields().empty()) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
unknown_fields());
}
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = total_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void CDOTAClientMsg_SendStatPopup::MergeFrom(const ::google::protobuf::Message& from) {
GOOGLE_CHECK_NE(&from, this);
const CDOTAClientMsg_SendStatPopup* source =
::google::protobuf::internal::dynamic_cast_if_available<const CDOTAClientMsg_SendStatPopup*>(
&from);
if (source == NULL) {
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
MergeFrom(*source);
}
}
void CDOTAClientMsg_SendStatPopup::MergeFrom(const CDOTAClientMsg_SendStatPopup& from) {
GOOGLE_CHECK_NE(&from, this);
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (from.has_statpopup()) {
mutable_statpopup()->::CDOTAMsg_SendStatPopup::MergeFrom(from.statpopup());
}
}
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
void CDOTAClientMsg_SendStatPopup::CopyFrom(const ::google::protobuf::Message& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
void CDOTAClientMsg_SendStatPopup::CopyFrom(const CDOTAClientMsg_SendStatPopup& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool CDOTAClientMsg_SendStatPopup::IsInitialized() const {
return true;
}
void CDOTAClientMsg_SendStatPopup::Swap(CDOTAClientMsg_SendStatPopup* other) {
if (other != this) {
std::swap(statpopup_, other->statpopup_);
std::swap(_has_bits_[0], other->_has_bits_[0]);
_unknown_fields_.Swap(&other->_unknown_fields_);
std::swap(_cached_size_, other->_cached_size_);
}
}
::google::protobuf::Metadata CDOTAClientMsg_SendStatPopup::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = CDOTAClientMsg_SendStatPopup_descriptor_;
metadata.reflection = CDOTAClientMsg_SendStatPopup_reflection_;
return metadata;
}
// @@protoc_insertion_point(namespace_scope)
// @@protoc_insertion_point(global_scope)

View File

@ -49,6 +49,7 @@ class CDOTAClientMsg_SwapAccept;
class CDOTAClientMsg_WorldLine;
class CDOTAClientMsg_RequestGraphUpdate;
class CDOTAClientMsg_ChatWheel;
class CDOTAClientMsg_SendStatPopup;
enum EDotaClientMessages {
DOTA_CM_MapLine = 1,
@ -66,11 +67,12 @@ enum EDotaClientMessages {
DOTA_CM_WorldLine = 13,
DOTA_CM_RequestGraphUpdate = 14,
DOTA_CM_ItemAlert = 15,
DOTA_CM_ChatWheel = 16
DOTA_CM_ChatWheel = 16,
DOTA_CM_SendStatPopup = 17
};
bool EDotaClientMessages_IsValid(int value);
const EDotaClientMessages EDotaClientMessages_MIN = DOTA_CM_MapLine;
const EDotaClientMessages EDotaClientMessages_MAX = DOTA_CM_ChatWheel;
const EDotaClientMessages EDotaClientMessages_MAX = DOTA_CM_SendStatPopup;
const int EDotaClientMessages_ARRAYSIZE = EDotaClientMessages_MAX + 1;
const ::google::protobuf::EnumDescriptor* EDotaClientMessages_descriptor();
@ -1407,6 +1409,89 @@ class CDOTAClientMsg_ChatWheel : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static CDOTAClientMsg_ChatWheel* default_instance_;
};
// -------------------------------------------------------------------
class CDOTAClientMsg_SendStatPopup : public ::google::protobuf::Message {
public:
CDOTAClientMsg_SendStatPopup();
virtual ~CDOTAClientMsg_SendStatPopup();
CDOTAClientMsg_SendStatPopup(const CDOTAClientMsg_SendStatPopup& from);
inline CDOTAClientMsg_SendStatPopup& operator=(const CDOTAClientMsg_SendStatPopup& 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 CDOTAClientMsg_SendStatPopup& default_instance();
void Swap(CDOTAClientMsg_SendStatPopup* other);
// implements Message ----------------------------------------------
CDOTAClientMsg_SendStatPopup* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CDOTAClientMsg_SendStatPopup& from);
void MergeFrom(const CDOTAClientMsg_SendStatPopup& 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 .CDOTAMsg_SendStatPopup statpopup = 1;
inline bool has_statpopup() const;
inline void clear_statpopup();
static const int kStatpopupFieldNumber = 1;
inline const ::CDOTAMsg_SendStatPopup& statpopup() const;
inline ::CDOTAMsg_SendStatPopup* mutable_statpopup();
inline ::CDOTAMsg_SendStatPopup* release_statpopup();
// @@protoc_insertion_point(class_scope:CDOTAClientMsg_SendStatPopup)
private:
inline void set_has_statpopup();
inline void clear_has_statpopup();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::CDOTAMsg_SendStatPopup* statpopup_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
friend void protobuf_AddDesc_dota_5fclientmessages_2eproto();
friend void protobuf_AssignDesc_dota_5fclientmessages_2eproto();
friend void protobuf_ShutdownFile_dota_5fclientmessages_2eproto();
void InitAsDefaultInstance();
static CDOTAClientMsg_SendStatPopup* default_instance_;
};
// ===================================================================
@ -1927,6 +2012,39 @@ inline void CDOTAClientMsg_ChatWheel::set_chat_message(EDOTAChatWheelMessage val
chat_message_ = value;
}
// -------------------------------------------------------------------
// CDOTAClientMsg_SendStatPopup
// optional .CDOTAMsg_SendStatPopup statpopup = 1;
inline bool CDOTAClientMsg_SendStatPopup::has_statpopup() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CDOTAClientMsg_SendStatPopup::set_has_statpopup() {
_has_bits_[0] |= 0x00000001u;
}
inline void CDOTAClientMsg_SendStatPopup::clear_has_statpopup() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CDOTAClientMsg_SendStatPopup::clear_statpopup() {
if (statpopup_ != NULL) statpopup_->::CDOTAMsg_SendStatPopup::Clear();
clear_has_statpopup();
}
inline const ::CDOTAMsg_SendStatPopup& CDOTAClientMsg_SendStatPopup::statpopup() const {
return statpopup_ != NULL ? *statpopup_ : *default_instance_->statpopup_;
}
inline ::CDOTAMsg_SendStatPopup* CDOTAClientMsg_SendStatPopup::mutable_statpopup() {
set_has_statpopup();
if (statpopup_ == NULL) statpopup_ = new ::CDOTAMsg_SendStatPopup;
return statpopup_;
}
inline ::CDOTAMsg_SendStatPopup* CDOTAClientMsg_SendStatPopup::release_statpopup() {
clear_has_statpopup();
::CDOTAMsg_SendStatPopup* temp = statpopup_;
statpopup_ = NULL;
return temp;
}
// @@protoc_insertion_point(namespace_scope)

View File

@ -86,6 +86,7 @@ enum EDotaClientMessages
DOTA_CM_RequestGraphUpdate = 14;
DOTA_CM_ItemAlert = 15;
DOTA_CM_ChatWheel = 16;
DOTA_CM_SendStatPopup = 17;
}
//=============================================================================
@ -170,3 +171,8 @@ message CDOTAClientMsg_ChatWheel
optional EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok];
}
message CDOTAClientMsg_SendStatPopup
{
optional CDOTAMsg_SendStatPopup statpopup = 1;
}

View File

@ -27,7 +27,11 @@ const ::google::protobuf::internal::GeneratedMessageReflection*
const ::google::protobuf::Descriptor* CDOTAMsg_WorldLine_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
CDOTAMsg_WorldLine_reflection_ = NULL;
const ::google::protobuf::Descriptor* CDOTAMsg_SendStatPopup_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
CDOTAMsg_SendStatPopup_reflection_ = NULL;
const ::google::protobuf::EnumDescriptor* EDOTAChatWheelMessage_descriptor_ = NULL;
const ::google::protobuf::EnumDescriptor* EDOTAStatPopupTypes_descriptor_ = NULL;
} // namespace
@ -109,7 +113,25 @@ void protobuf_AssignDesc_dota_5fcommonmessages_2eproto() {
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(CDOTAMsg_WorldLine));
CDOTAMsg_SendStatPopup_descriptor_ = file->message_type(4);
static const int CDOTAMsg_SendStatPopup_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_SendStatPopup, style_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_SendStatPopup, stat_strings_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_SendStatPopup, stat_images_),
};
CDOTAMsg_SendStatPopup_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
CDOTAMsg_SendStatPopup_descriptor_,
CDOTAMsg_SendStatPopup::default_instance_,
CDOTAMsg_SendStatPopup_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_SendStatPopup, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_SendStatPopup, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(CDOTAMsg_SendStatPopup));
EDOTAChatWheelMessage_descriptor_ = file->enum_type(0);
EDOTAStatPopupTypes_descriptor_ = file->enum_type(1);
}
namespace {
@ -130,6 +152,8 @@ void protobuf_RegisterTypes(const ::std::string&) {
CDOTAMsg_MapLine_descriptor_, &CDOTAMsg_MapLine::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
CDOTAMsg_WorldLine_descriptor_, &CDOTAMsg_WorldLine::default_instance());
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
CDOTAMsg_SendStatPopup_descriptor_, &CDOTAMsg_SendStatPopup::default_instance());
}
} // namespace
@ -143,6 +167,8 @@ void protobuf_ShutdownFile_dota_5fcommonmessages_2eproto() {
delete CDOTAMsg_MapLine_reflection_;
delete CDOTAMsg_WorldLine::default_instance_;
delete CDOTAMsg_WorldLine_reflection_;
delete CDOTAMsg_SendStatPopup::default_instance_;
delete CDOTAMsg_SendStatPopup_reflection_;
}
void protobuf_AddDesc_dota_5fcommonmessages_2eproto() {
@ -163,25 +189,32 @@ void protobuf_AddDesc_dota_5fcommonmessages_2eproto() {
"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*\267\002\n\025EDOTAChatWheelMessage\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_NeedWar"
"ds\020\003\022\023\n\017k_EDOTA_CW_Stun\020\004\022\023\n\017k_EDOTA_CW_"
"Help\020\005\022\023\n\017k_EDOTA_CW_Push\020\006\022\026\n\022k_EDOTA_C"
"W_GoodJob\020\007\022\026\n\022k_EDOTA_CW_Missing\020\010\022\032\n\026k"
"_EDOTA_CW_Missing_Top\020\t\022\032\n\026k_EDOTA_CW_Mi"
"ssing_Mid\020\n\022\035\n\031k_EDOTA_CW_Missing_Bottom"
"\020\013B\005H\001\200\001\000", 689);
"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);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"dota_commonmessages.proto", &protobuf_RegisterTypes);
CDOTAMsg_LocationPing::default_instance_ = new CDOTAMsg_LocationPing();
CDOTAMsg_ItemAlert::default_instance_ = new CDOTAMsg_ItemAlert();
CDOTAMsg_MapLine::default_instance_ = new CDOTAMsg_MapLine();
CDOTAMsg_WorldLine::default_instance_ = new CDOTAMsg_WorldLine();
CDOTAMsg_SendStatPopup::default_instance_ = new CDOTAMsg_SendStatPopup();
CDOTAMsg_LocationPing::default_instance_->InitAsDefaultInstance();
CDOTAMsg_ItemAlert::default_instance_->InitAsDefaultInstance();
CDOTAMsg_MapLine::default_instance_->InitAsDefaultInstance();
CDOTAMsg_WorldLine::default_instance_->InitAsDefaultInstance();
CDOTAMsg_SendStatPopup::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_dota_5fcommonmessages_2eproto);
}
@ -216,6 +249,21 @@ bool EDOTAChatWheelMessage_IsValid(int value) {
}
}
const ::google::protobuf::EnumDescriptor* EDOTAStatPopupTypes_descriptor() {
protobuf_AssignDescriptorsOnce();
return EDOTAStatPopupTypes_descriptor_;
}
bool EDOTAStatPopupTypes_IsValid(int value) {
switch(value) {
case 0:
case 1:
case 2:
return true;
default:
return false;
}
}
// ===================================================================
@ -1477,6 +1525,314 @@ void CDOTAMsg_WorldLine::Swap(CDOTAMsg_WorldLine* other) {
}
// ===================================================================
#ifndef _MSC_VER
const int CDOTAMsg_SendStatPopup::kStyleFieldNumber;
const int CDOTAMsg_SendStatPopup::kStatStringsFieldNumber;
const int CDOTAMsg_SendStatPopup::kStatImagesFieldNumber;
#endif // !_MSC_VER
CDOTAMsg_SendStatPopup::CDOTAMsg_SendStatPopup()
: ::google::protobuf::Message() {
SharedCtor();
}
void CDOTAMsg_SendStatPopup::InitAsDefaultInstance() {
}
CDOTAMsg_SendStatPopup::CDOTAMsg_SendStatPopup(const CDOTAMsg_SendStatPopup& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
}
void CDOTAMsg_SendStatPopup::SharedCtor() {
_cached_size_ = 0;
style_ = 0;
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
CDOTAMsg_SendStatPopup::~CDOTAMsg_SendStatPopup() {
SharedDtor();
}
void CDOTAMsg_SendStatPopup::SharedDtor() {
if (this != default_instance_) {
}
}
void CDOTAMsg_SendStatPopup::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* CDOTAMsg_SendStatPopup::descriptor() {
protobuf_AssignDescriptorsOnce();
return CDOTAMsg_SendStatPopup_descriptor_;
}
const CDOTAMsg_SendStatPopup& CDOTAMsg_SendStatPopup::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_dota_5fcommonmessages_2eproto(); return *default_instance_;
}
CDOTAMsg_SendStatPopup* CDOTAMsg_SendStatPopup::default_instance_ = NULL;
CDOTAMsg_SendStatPopup* CDOTAMsg_SendStatPopup::New() const {
return new CDOTAMsg_SendStatPopup;
}
void CDOTAMsg_SendStatPopup::Clear() {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
style_ = 0;
}
stat_strings_.Clear();
stat_images_.Clear();
::memset(_has_bits_, 0, sizeof(_has_bits_));
mutable_unknown_fields()->Clear();
}
bool CDOTAMsg_SendStatPopup::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
::google::protobuf::uint32 tag;
while ((tag = input->ReadTag()) != 0) {
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// optional .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
case 1: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
int value;
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
input, &value)));
if (EDOTAStatPopupTypes_IsValid(value)) {
set_style(static_cast< EDOTAStatPopupTypes >(value));
} else {
mutable_unknown_fields()->AddVarint(1, value);
}
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(18)) goto parse_stat_strings;
break;
}
// repeated string stat_strings = 2;
case 2: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_stat_strings:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->add_stat_strings()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->stat_strings(0).data(), this->stat_strings(0).length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(18)) goto parse_stat_strings;
if (input->ExpectTag(24)) goto parse_stat_images;
break;
}
// repeated int32 stat_images = 3;
case 3: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_stat_images:
DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
1, 24, input, this->mutable_stat_images())));
} else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag)
== ::google::protobuf::internal::WireFormatLite::
WIRETYPE_LENGTH_DELIMITED) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, this->mutable_stat_images())));
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(24)) goto parse_stat_images;
if (input->ExpectAtEnd()) return true;
break;
}
default: {
handle_uninterpreted:
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
return true;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, mutable_unknown_fields()));
break;
}
}
}
return true;
#undef DO_
}
void CDOTAMsg_SendStatPopup::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// optional .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
if (has_style()) {
::google::protobuf::internal::WireFormatLite::WriteEnum(
1, this->style(), output);
}
// repeated string stat_strings = 2;
for (int i = 0; i < this->stat_strings_size(); i++) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->stat_strings(i).data(), this->stat_strings(i).length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
2, this->stat_strings(i), output);
}
// repeated int32 stat_images = 3;
for (int i = 0; i < this->stat_images_size(); i++) {
::google::protobuf::internal::WireFormatLite::WriteInt32(
3, this->stat_images(i), output);
}
if (!unknown_fields().empty()) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
unknown_fields(), output);
}
}
::google::protobuf::uint8* CDOTAMsg_SendStatPopup::SerializeWithCachedSizesToArray(
::google::protobuf::uint8* target) const {
// optional .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
if (has_style()) {
target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1, this->style(), target);
}
// repeated string stat_strings = 2;
for (int i = 0; i < this->stat_strings_size(); i++) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->stat_strings(i).data(), this->stat_strings(i).length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target = ::google::protobuf::internal::WireFormatLite::
WriteStringToArray(2, this->stat_strings(i), target);
}
// repeated int32 stat_images = 3;
for (int i = 0; i < this->stat_images_size(); i++) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArray(3, this->stat_images(i), target);
}
if (!unknown_fields().empty()) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
unknown_fields(), target);
}
return target;
}
int CDOTAMsg_SendStatPopup::ByteSize() const {
int total_size = 0;
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
// optional .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
if (has_style()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::EnumSize(this->style());
}
}
// repeated string stat_strings = 2;
total_size += 1 * this->stat_strings_size();
for (int i = 0; i < this->stat_strings_size(); i++) {
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
this->stat_strings(i));
}
// repeated int32 stat_images = 3;
{
int data_size = 0;
for (int i = 0; i < this->stat_images_size(); i++) {
data_size += ::google::protobuf::internal::WireFormatLite::
Int32Size(this->stat_images(i));
}
total_size += 1 * this->stat_images_size() + data_size;
}
if (!unknown_fields().empty()) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
unknown_fields());
}
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = total_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void CDOTAMsg_SendStatPopup::MergeFrom(const ::google::protobuf::Message& from) {
GOOGLE_CHECK_NE(&from, this);
const CDOTAMsg_SendStatPopup* source =
::google::protobuf::internal::dynamic_cast_if_available<const CDOTAMsg_SendStatPopup*>(
&from);
if (source == NULL) {
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
MergeFrom(*source);
}
}
void CDOTAMsg_SendStatPopup::MergeFrom(const CDOTAMsg_SendStatPopup& from) {
GOOGLE_CHECK_NE(&from, this);
stat_strings_.MergeFrom(from.stat_strings_);
stat_images_.MergeFrom(from.stat_images_);
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (from.has_style()) {
set_style(from.style());
}
}
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
void CDOTAMsg_SendStatPopup::CopyFrom(const ::google::protobuf::Message& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
void CDOTAMsg_SendStatPopup::CopyFrom(const CDOTAMsg_SendStatPopup& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool CDOTAMsg_SendStatPopup::IsInitialized() const {
return true;
}
void CDOTAMsg_SendStatPopup::Swap(CDOTAMsg_SendStatPopup* other) {
if (other != this) {
std::swap(style_, other->style_);
stat_strings_.Swap(&other->stat_strings_);
stat_images_.Swap(&other->stat_images_);
std::swap(_has_bits_[0], other->_has_bits_[0]);
_unknown_fields_.Swap(&other->_unknown_fields_);
std::swap(_cached_size_, other->_cached_size_);
}
}
::google::protobuf::Metadata CDOTAMsg_SendStatPopup::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = CDOTAMsg_SendStatPopup_descriptor_;
metadata.reflection = CDOTAMsg_SendStatPopup_reflection_;
return metadata;
}
// @@protoc_insertion_point(namespace_scope)
// @@protoc_insertion_point(global_scope)

View File

@ -36,6 +36,7 @@ class CDOTAMsg_LocationPing;
class CDOTAMsg_ItemAlert;
class CDOTAMsg_MapLine;
class CDOTAMsg_WorldLine;
class CDOTAMsg_SendStatPopup;
enum EDOTAChatWheelMessage {
k_EDOTA_CW_Ok = 0,
@ -66,6 +67,26 @@ inline bool EDOTAChatWheelMessage_Parse(
return ::google::protobuf::internal::ParseNamedEnum<EDOTAChatWheelMessage>(
EDOTAChatWheelMessage_descriptor(), name, value);
}
enum EDOTAStatPopupTypes {
k_EDOTA_SPT_Textline = 0,
k_EDOTA_SPT_Basic = 1,
k_EDOTA_SPT_Poll = 2
};
bool EDOTAStatPopupTypes_IsValid(int value);
const EDOTAStatPopupTypes EDOTAStatPopupTypes_MIN = k_EDOTA_SPT_Textline;
const EDOTAStatPopupTypes EDOTAStatPopupTypes_MAX = k_EDOTA_SPT_Poll;
const int EDOTAStatPopupTypes_ARRAYSIZE = EDOTAStatPopupTypes_MAX + 1;
const ::google::protobuf::EnumDescriptor* EDOTAStatPopupTypes_descriptor();
inline const ::std::string& EDOTAStatPopupTypes_Name(EDOTAStatPopupTypes value) {
return ::google::protobuf::internal::NameOfEnum(
EDOTAStatPopupTypes_descriptor(), value);
}
inline bool EDOTAStatPopupTypes_Parse(
const ::std::string& name, EDOTAStatPopupTypes* value) {
return ::google::protobuf::internal::ParseNamedEnum<EDOTAStatPopupTypes>(
EDOTAStatPopupTypes_descriptor(), name, value);
}
// ===================================================================
class CDOTAMsg_LocationPing : public ::google::protobuf::Message {
@ -504,6 +525,118 @@ class CDOTAMsg_WorldLine : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static CDOTAMsg_WorldLine* default_instance_;
};
// -------------------------------------------------------------------
class CDOTAMsg_SendStatPopup : public ::google::protobuf::Message {
public:
CDOTAMsg_SendStatPopup();
virtual ~CDOTAMsg_SendStatPopup();
CDOTAMsg_SendStatPopup(const CDOTAMsg_SendStatPopup& from);
inline CDOTAMsg_SendStatPopup& operator=(const CDOTAMsg_SendStatPopup& 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 CDOTAMsg_SendStatPopup& default_instance();
void Swap(CDOTAMsg_SendStatPopup* other);
// implements Message ----------------------------------------------
CDOTAMsg_SendStatPopup* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CDOTAMsg_SendStatPopup& from);
void MergeFrom(const CDOTAMsg_SendStatPopup& 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 .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
inline bool has_style() const;
inline void clear_style();
static const int kStyleFieldNumber = 1;
inline EDOTAStatPopupTypes style() const;
inline void set_style(EDOTAStatPopupTypes value);
// repeated string stat_strings = 2;
inline int stat_strings_size() const;
inline void clear_stat_strings();
static const int kStatStringsFieldNumber = 2;
inline const ::std::string& stat_strings(int index) const;
inline ::std::string* mutable_stat_strings(int index);
inline void set_stat_strings(int index, const ::std::string& value);
inline void set_stat_strings(int index, const char* value);
inline void set_stat_strings(int index, const char* value, size_t size);
inline ::std::string* add_stat_strings();
inline void add_stat_strings(const ::std::string& value);
inline void add_stat_strings(const char* value);
inline void add_stat_strings(const char* value, size_t size);
inline const ::google::protobuf::RepeatedPtrField< ::std::string>& stat_strings() const;
inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_stat_strings();
// repeated int32 stat_images = 3;
inline int stat_images_size() const;
inline void clear_stat_images();
static const int kStatImagesFieldNumber = 3;
inline ::google::protobuf::int32 stat_images(int index) const;
inline void set_stat_images(int index, ::google::protobuf::int32 value);
inline void add_stat_images(::google::protobuf::int32 value);
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
stat_images() const;
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
mutable_stat_images();
// @@protoc_insertion_point(class_scope:CDOTAMsg_SendStatPopup)
private:
inline void set_has_style();
inline void clear_has_style();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::google::protobuf::RepeatedPtrField< ::std::string> stat_strings_;
::google::protobuf::RepeatedField< ::google::protobuf::int32 > stat_images_;
int style_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
friend void protobuf_AddDesc_dota_5fcommonmessages_2eproto();
friend void protobuf_AssignDesc_dota_5fcommonmessages_2eproto();
friend void protobuf_ShutdownFile_dota_5fcommonmessages_2eproto();
void InitAsDefaultInstance();
static CDOTAMsg_SendStatPopup* default_instance_;
};
// ===================================================================
@ -853,6 +986,102 @@ inline void CDOTAMsg_WorldLine::set_end(bool value) {
end_ = value;
}
// -------------------------------------------------------------------
// CDOTAMsg_SendStatPopup
// optional .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
inline bool CDOTAMsg_SendStatPopup::has_style() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CDOTAMsg_SendStatPopup::set_has_style() {
_has_bits_[0] |= 0x00000001u;
}
inline void CDOTAMsg_SendStatPopup::clear_has_style() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CDOTAMsg_SendStatPopup::clear_style() {
style_ = 0;
clear_has_style();
}
inline EDOTAStatPopupTypes CDOTAMsg_SendStatPopup::style() const {
return static_cast< EDOTAStatPopupTypes >(style_);
}
inline void CDOTAMsg_SendStatPopup::set_style(EDOTAStatPopupTypes value) {
GOOGLE_DCHECK(EDOTAStatPopupTypes_IsValid(value));
set_has_style();
style_ = value;
}
// repeated string stat_strings = 2;
inline int CDOTAMsg_SendStatPopup::stat_strings_size() const {
return stat_strings_.size();
}
inline void CDOTAMsg_SendStatPopup::clear_stat_strings() {
stat_strings_.Clear();
}
inline const ::std::string& CDOTAMsg_SendStatPopup::stat_strings(int index) const {
return stat_strings_.Get(index);
}
inline ::std::string* CDOTAMsg_SendStatPopup::mutable_stat_strings(int index) {
return stat_strings_.Mutable(index);
}
inline void CDOTAMsg_SendStatPopup::set_stat_strings(int index, const ::std::string& value) {
stat_strings_.Mutable(index)->assign(value);
}
inline void CDOTAMsg_SendStatPopup::set_stat_strings(int index, const char* value) {
stat_strings_.Mutable(index)->assign(value);
}
inline void CDOTAMsg_SendStatPopup::set_stat_strings(int index, const char* value, size_t size) {
stat_strings_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CDOTAMsg_SendStatPopup::add_stat_strings() {
return stat_strings_.Add();
}
inline void CDOTAMsg_SendStatPopup::add_stat_strings(const ::std::string& value) {
stat_strings_.Add()->assign(value);
}
inline void CDOTAMsg_SendStatPopup::add_stat_strings(const char* value) {
stat_strings_.Add()->assign(value);
}
inline void CDOTAMsg_SendStatPopup::add_stat_strings(const char* value, size_t size) {
stat_strings_.Add()->assign(reinterpret_cast<const char*>(value), size);
}
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
CDOTAMsg_SendStatPopup::stat_strings() const {
return stat_strings_;
}
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
CDOTAMsg_SendStatPopup::mutable_stat_strings() {
return &stat_strings_;
}
// repeated int32 stat_images = 3;
inline int CDOTAMsg_SendStatPopup::stat_images_size() const {
return stat_images_.size();
}
inline void CDOTAMsg_SendStatPopup::clear_stat_images() {
stat_images_.Clear();
}
inline ::google::protobuf::int32 CDOTAMsg_SendStatPopup::stat_images(int index) const {
return stat_images_.Get(index);
}
inline void CDOTAMsg_SendStatPopup::set_stat_images(int index, ::google::protobuf::int32 value) {
stat_images_.Set(index, value);
}
inline void CDOTAMsg_SendStatPopup::add_stat_images(::google::protobuf::int32 value) {
stat_images_.Add(value);
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
CDOTAMsg_SendStatPopup::stat_images() const {
return stat_images_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
CDOTAMsg_SendStatPopup::mutable_stat_images() {
return &stat_images_;
}
// @@protoc_insertion_point(namespace_scope)
@ -864,6 +1093,10 @@ template <>
inline const EnumDescriptor* GetEnumDescriptor< EDOTAChatWheelMessage>() {
return EDOTAChatWheelMessage_descriptor();
}
template <>
inline const EnumDescriptor* GetEnumDescriptor< EDOTAStatPopupTypes>() {
return EDOTAStatPopupTypes_descriptor();
}
} // namespace google
} // namespace protobuf

View File

@ -80,6 +80,13 @@ enum EDOTAChatWheelMessage
k_EDOTA_CW_Missing_Bottom = 11;
}
enum EDOTAStatPopupTypes
{
k_EDOTA_SPT_Textline = 0;
k_EDOTA_SPT_Basic = 1;
k_EDOTA_SPT_Poll = 2;
}
message CDOTAMsg_LocationPing
{
optional int32 x = 1;
@ -111,6 +118,13 @@ message CDOTAMsg_WorldLine
optional bool end = 5;
}
message CDOTAMsg_SendStatPopup
{
optional EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
repeated string stat_strings = 2;
repeated int32 stat_images = 3;
}
//=============================================================================

View File

@ -99,6 +99,9 @@ CDotaUsermessageHelpers::CDotaUsermessageHelpers()
SETUP_MESSAGE_MANUAL( DOTA_UM_GamerulesStateChanged, CDOTA_UM_GamerulesStateChanged, GamerulesStateChanged );
SETUP_DOTA_MESSAGE( ShowSurvey );
SETUP_DOTA_MESSAGE( TutorialFade );
SETUP_DOTA_MESSAGE( AddQuestLogEntry );
SETUP_DOTA_MESSAGE( SendStatPopup );
SETUP_DOTA_MESSAGE( TutorialFinish );
}
const google::protobuf::Message *CDotaUsermessageHelpers::GetPrototype( int index ) const

File diff suppressed because it is too large Load Diff

View File

@ -89,6 +89,7 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleLatency;
class CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw;
class CDOTAUserMsg_OverheadEvent;
class CDOTAUserMsg_TutorialTipInfo;
class CDOTAUserMsg_TutorialFinish;
class CDOTAUserMsg_WorldLine;
class CDOTAUserMsg_TournamentDrop;
class CDOTAUserMsg_ChatWheel;
@ -99,6 +100,8 @@ class CDOTAUserMsg_TutorialRequestExp;
class CDOTAUserMsg_TutorialFade;
class CDOTAUserMsg_TutorialPingMinimap;
class CDOTA_UM_GamerulesStateChanged;
class CDOTAUserMsg_AddQuestLogEntry;
class CDOTAUserMsg_SendStatPopup;
enum CDOTAResponseQuerySerialized_Fact_ValueType {
CDOTAResponseQuerySerialized_Fact_ValueType_NUMERIC = 1,
@ -163,11 +166,14 @@ enum EDotaUserMessages {
DOTA_UM_TutorialPingMinimap = 105,
DOTA_UM_GamerulesStateChanged = 106,
DOTA_UM_ShowSurvey = 107,
DOTA_UM_TutorialFade = 108
DOTA_UM_TutorialFade = 108,
DOTA_UM_AddQuestLogEntry = 109,
DOTA_UM_SendStatPopup = 110,
DOTA_UM_TutorialFinish = 111
};
bool EDotaUserMessages_IsValid(int value);
const EDotaUserMessages EDotaUserMessages_MIN = DOTA_UM_AddUnitToSelection;
const EDotaUserMessages EDotaUserMessages_MAX = DOTA_UM_TutorialFade;
const EDotaUserMessages EDotaUserMessages_MAX = DOTA_UM_TutorialFinish;
const int EDotaUserMessages_ARRAYSIZE = EDotaUserMessages_MAX + 1;
const ::google::protobuf::EnumDescriptor* EDotaUserMessages_descriptor();
@ -6137,6 +6143,120 @@ class CDOTAUserMsg_TutorialTipInfo : public ::google::protobuf::Message {
};
// -------------------------------------------------------------------
class CDOTAUserMsg_TutorialFinish : public ::google::protobuf::Message {
public:
CDOTAUserMsg_TutorialFinish();
virtual ~CDOTAUserMsg_TutorialFinish();
CDOTAUserMsg_TutorialFinish(const CDOTAUserMsg_TutorialFinish& from);
inline CDOTAUserMsg_TutorialFinish& operator=(const CDOTAUserMsg_TutorialFinish& 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_TutorialFinish& default_instance();
void Swap(CDOTAUserMsg_TutorialFinish* other);
// implements Message ----------------------------------------------
CDOTAUserMsg_TutorialFinish* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CDOTAUserMsg_TutorialFinish& from);
void MergeFrom(const CDOTAUserMsg_TutorialFinish& 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 heading = 1;
inline bool has_heading() const;
inline void clear_heading();
static const int kHeadingFieldNumber = 1;
inline const ::std::string& heading() const;
inline void set_heading(const ::std::string& value);
inline void set_heading(const char* value);
inline void set_heading(const char* value, size_t size);
inline ::std::string* mutable_heading();
inline ::std::string* release_heading();
// optional string emblem = 2;
inline bool has_emblem() const;
inline void clear_emblem();
static const int kEmblemFieldNumber = 2;
inline const ::std::string& emblem() const;
inline void set_emblem(const ::std::string& value);
inline void set_emblem(const char* value);
inline void set_emblem(const char* value, size_t size);
inline ::std::string* mutable_emblem();
inline ::std::string* release_emblem();
// optional string body = 3;
inline bool has_body() const;
inline void clear_body();
static const int kBodyFieldNumber = 3;
inline const ::std::string& body() const;
inline void set_body(const ::std::string& value);
inline void set_body(const char* value);
inline void set_body(const char* value, size_t size);
inline ::std::string* mutable_body();
inline ::std::string* release_body();
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_TutorialFinish)
private:
inline void set_has_heading();
inline void clear_has_heading();
inline void set_has_emblem();
inline void clear_has_emblem();
inline void set_has_body();
inline void clear_has_body();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* heading_;
::std::string* emblem_;
::std::string* body_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(3 + 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_TutorialFinish* default_instance_;
};
// -------------------------------------------------------------------
class CDOTAUserMsg_WorldLine : public ::google::protobuf::Message {
public:
CDOTAUserMsg_WorldLine();
@ -7054,6 +7174,219 @@ class CDOTA_UM_GamerulesStateChanged : public ::google::protobuf::Message {
void InitAsDefaultInstance();
static CDOTA_UM_GamerulesStateChanged* default_instance_;
};
// -------------------------------------------------------------------
class CDOTAUserMsg_AddQuestLogEntry : public ::google::protobuf::Message {
public:
CDOTAUserMsg_AddQuestLogEntry();
virtual ~CDOTAUserMsg_AddQuestLogEntry();
CDOTAUserMsg_AddQuestLogEntry(const CDOTAUserMsg_AddQuestLogEntry& from);
inline CDOTAUserMsg_AddQuestLogEntry& operator=(const CDOTAUserMsg_AddQuestLogEntry& 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_AddQuestLogEntry& default_instance();
void Swap(CDOTAUserMsg_AddQuestLogEntry* other);
// implements Message ----------------------------------------------
CDOTAUserMsg_AddQuestLogEntry* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CDOTAUserMsg_AddQuestLogEntry& from);
void MergeFrom(const CDOTAUserMsg_AddQuestLogEntry& 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 npc_name = 1;
inline bool has_npc_name() const;
inline void clear_npc_name();
static const int kNpcNameFieldNumber = 1;
inline const ::std::string& npc_name() const;
inline void set_npc_name(const ::std::string& value);
inline void set_npc_name(const char* value);
inline void set_npc_name(const char* value, size_t size);
inline ::std::string* mutable_npc_name();
inline ::std::string* release_npc_name();
// optional string npc_dialog = 2;
inline bool has_npc_dialog() const;
inline void clear_npc_dialog();
static const int kNpcDialogFieldNumber = 2;
inline const ::std::string& npc_dialog() const;
inline void set_npc_dialog(const ::std::string& value);
inline void set_npc_dialog(const char* value);
inline void set_npc_dialog(const char* value, size_t size);
inline ::std::string* mutable_npc_dialog();
inline ::std::string* release_npc_dialog();
// optional bool quest = 3;
inline bool has_quest() const;
inline void clear_quest();
static const int kQuestFieldNumber = 3;
inline bool quest() const;
inline void set_quest(bool value);
// optional int32 quest_type = 4;
inline bool has_quest_type() const;
inline void clear_quest_type();
static const int kQuestTypeFieldNumber = 4;
inline ::google::protobuf::int32 quest_type() const;
inline void set_quest_type(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_AddQuestLogEntry)
private:
inline void set_has_npc_name();
inline void clear_has_npc_name();
inline void set_has_npc_dialog();
inline void clear_has_npc_dialog();
inline void set_has_quest();
inline void clear_has_quest();
inline void set_has_quest_type();
inline void clear_has_quest_type();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::std::string* npc_name_;
::std::string* npc_dialog_;
bool quest_;
::google::protobuf::int32 quest_type_;
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_AddQuestLogEntry* default_instance_;
};
// -------------------------------------------------------------------
class CDOTAUserMsg_SendStatPopup : public ::google::protobuf::Message {
public:
CDOTAUserMsg_SendStatPopup();
virtual ~CDOTAUserMsg_SendStatPopup();
CDOTAUserMsg_SendStatPopup(const CDOTAUserMsg_SendStatPopup& from);
inline CDOTAUserMsg_SendStatPopup& operator=(const CDOTAUserMsg_SendStatPopup& 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_SendStatPopup& default_instance();
void Swap(CDOTAUserMsg_SendStatPopup* other);
// implements Message ----------------------------------------------
CDOTAUserMsg_SendStatPopup* New() const;
void CopyFrom(const ::google::protobuf::Message& from);
void MergeFrom(const ::google::protobuf::Message& from);
void CopyFrom(const CDOTAUserMsg_SendStatPopup& from);
void MergeFrom(const CDOTAUserMsg_SendStatPopup& 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 int32 player_id = 1;
inline bool has_player_id() const;
inline void clear_player_id();
static const int kPlayerIdFieldNumber = 1;
inline ::google::protobuf::int32 player_id() const;
inline void set_player_id(::google::protobuf::int32 value);
// optional .CDOTAMsg_SendStatPopup statpopup = 2;
inline bool has_statpopup() const;
inline void clear_statpopup();
static const int kStatpopupFieldNumber = 2;
inline const ::CDOTAMsg_SendStatPopup& statpopup() const;
inline ::CDOTAMsg_SendStatPopup* mutable_statpopup();
inline ::CDOTAMsg_SendStatPopup* release_statpopup();
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_SendStatPopup)
private:
inline void set_has_player_id();
inline void clear_has_player_id();
inline void set_has_statpopup();
inline void clear_has_statpopup();
::google::protobuf::UnknownFieldSet _unknown_fields_;
::CDOTAMsg_SendStatPopup* statpopup_;
::google::protobuf::int32 player_id_;
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_SendStatPopup* default_instance_;
};
// ===================================================================
@ -11544,6 +11877,184 @@ inline void CDOTAUserMsg_TutorialTipInfo::set_progress(::google::protobuf::int32
// -------------------------------------------------------------------
// CDOTAUserMsg_TutorialFinish
// optional string heading = 1;
inline bool CDOTAUserMsg_TutorialFinish::has_heading() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CDOTAUserMsg_TutorialFinish::set_has_heading() {
_has_bits_[0] |= 0x00000001u;
}
inline void CDOTAUserMsg_TutorialFinish::clear_has_heading() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CDOTAUserMsg_TutorialFinish::clear_heading() {
if (heading_ != &::google::protobuf::internal::kEmptyString) {
heading_->clear();
}
clear_has_heading();
}
inline const ::std::string& CDOTAUserMsg_TutorialFinish::heading() const {
return *heading_;
}
inline void CDOTAUserMsg_TutorialFinish::set_heading(const ::std::string& value) {
set_has_heading();
if (heading_ == &::google::protobuf::internal::kEmptyString) {
heading_ = new ::std::string;
}
heading_->assign(value);
}
inline void CDOTAUserMsg_TutorialFinish::set_heading(const char* value) {
set_has_heading();
if (heading_ == &::google::protobuf::internal::kEmptyString) {
heading_ = new ::std::string;
}
heading_->assign(value);
}
inline void CDOTAUserMsg_TutorialFinish::set_heading(const char* value, size_t size) {
set_has_heading();
if (heading_ == &::google::protobuf::internal::kEmptyString) {
heading_ = new ::std::string;
}
heading_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CDOTAUserMsg_TutorialFinish::mutable_heading() {
set_has_heading();
if (heading_ == &::google::protobuf::internal::kEmptyString) {
heading_ = new ::std::string;
}
return heading_;
}
inline ::std::string* CDOTAUserMsg_TutorialFinish::release_heading() {
clear_has_heading();
if (heading_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = heading_;
heading_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
// optional string emblem = 2;
inline bool CDOTAUserMsg_TutorialFinish::has_emblem() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void CDOTAUserMsg_TutorialFinish::set_has_emblem() {
_has_bits_[0] |= 0x00000002u;
}
inline void CDOTAUserMsg_TutorialFinish::clear_has_emblem() {
_has_bits_[0] &= ~0x00000002u;
}
inline void CDOTAUserMsg_TutorialFinish::clear_emblem() {
if (emblem_ != &::google::protobuf::internal::kEmptyString) {
emblem_->clear();
}
clear_has_emblem();
}
inline const ::std::string& CDOTAUserMsg_TutorialFinish::emblem() const {
return *emblem_;
}
inline void CDOTAUserMsg_TutorialFinish::set_emblem(const ::std::string& value) {
set_has_emblem();
if (emblem_ == &::google::protobuf::internal::kEmptyString) {
emblem_ = new ::std::string;
}
emblem_->assign(value);
}
inline void CDOTAUserMsg_TutorialFinish::set_emblem(const char* value) {
set_has_emblem();
if (emblem_ == &::google::protobuf::internal::kEmptyString) {
emblem_ = new ::std::string;
}
emblem_->assign(value);
}
inline void CDOTAUserMsg_TutorialFinish::set_emblem(const char* value, size_t size) {
set_has_emblem();
if (emblem_ == &::google::protobuf::internal::kEmptyString) {
emblem_ = new ::std::string;
}
emblem_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CDOTAUserMsg_TutorialFinish::mutable_emblem() {
set_has_emblem();
if (emblem_ == &::google::protobuf::internal::kEmptyString) {
emblem_ = new ::std::string;
}
return emblem_;
}
inline ::std::string* CDOTAUserMsg_TutorialFinish::release_emblem() {
clear_has_emblem();
if (emblem_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = emblem_;
emblem_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
// optional string body = 3;
inline bool CDOTAUserMsg_TutorialFinish::has_body() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void CDOTAUserMsg_TutorialFinish::set_has_body() {
_has_bits_[0] |= 0x00000004u;
}
inline void CDOTAUserMsg_TutorialFinish::clear_has_body() {
_has_bits_[0] &= ~0x00000004u;
}
inline void CDOTAUserMsg_TutorialFinish::clear_body() {
if (body_ != &::google::protobuf::internal::kEmptyString) {
body_->clear();
}
clear_has_body();
}
inline const ::std::string& CDOTAUserMsg_TutorialFinish::body() const {
return *body_;
}
inline void CDOTAUserMsg_TutorialFinish::set_body(const ::std::string& value) {
set_has_body();
if (body_ == &::google::protobuf::internal::kEmptyString) {
body_ = new ::std::string;
}
body_->assign(value);
}
inline void CDOTAUserMsg_TutorialFinish::set_body(const char* value) {
set_has_body();
if (body_ == &::google::protobuf::internal::kEmptyString) {
body_ = new ::std::string;
}
body_->assign(value);
}
inline void CDOTAUserMsg_TutorialFinish::set_body(const char* value, size_t size) {
set_has_body();
if (body_ == &::google::protobuf::internal::kEmptyString) {
body_ = new ::std::string;
}
body_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CDOTAUserMsg_TutorialFinish::mutable_body() {
set_has_body();
if (body_ == &::google::protobuf::internal::kEmptyString) {
body_ = new ::std::string;
}
return body_;
}
inline ::std::string* CDOTAUserMsg_TutorialFinish::release_body() {
clear_has_body();
if (body_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = body_;
body_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
// -------------------------------------------------------------------
// CDOTAUserMsg_WorldLine
// optional int32 player_id = 1;
@ -12080,6 +12591,225 @@ inline void CDOTA_UM_GamerulesStateChanged::set_state(::google::protobuf::uint32
state_ = value;
}
// -------------------------------------------------------------------
// CDOTAUserMsg_AddQuestLogEntry
// optional string npc_name = 1;
inline bool CDOTAUserMsg_AddQuestLogEntry::has_npc_name() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_has_npc_name() {
_has_bits_[0] |= 0x00000001u;
}
inline void CDOTAUserMsg_AddQuestLogEntry::clear_has_npc_name() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CDOTAUserMsg_AddQuestLogEntry::clear_npc_name() {
if (npc_name_ != &::google::protobuf::internal::kEmptyString) {
npc_name_->clear();
}
clear_has_npc_name();
}
inline const ::std::string& CDOTAUserMsg_AddQuestLogEntry::npc_name() const {
return *npc_name_;
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_npc_name(const ::std::string& value) {
set_has_npc_name();
if (npc_name_ == &::google::protobuf::internal::kEmptyString) {
npc_name_ = new ::std::string;
}
npc_name_->assign(value);
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_npc_name(const char* value) {
set_has_npc_name();
if (npc_name_ == &::google::protobuf::internal::kEmptyString) {
npc_name_ = new ::std::string;
}
npc_name_->assign(value);
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_npc_name(const char* value, size_t size) {
set_has_npc_name();
if (npc_name_ == &::google::protobuf::internal::kEmptyString) {
npc_name_ = new ::std::string;
}
npc_name_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CDOTAUserMsg_AddQuestLogEntry::mutable_npc_name() {
set_has_npc_name();
if (npc_name_ == &::google::protobuf::internal::kEmptyString) {
npc_name_ = new ::std::string;
}
return npc_name_;
}
inline ::std::string* CDOTAUserMsg_AddQuestLogEntry::release_npc_name() {
clear_has_npc_name();
if (npc_name_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = npc_name_;
npc_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
// optional string npc_dialog = 2;
inline bool CDOTAUserMsg_AddQuestLogEntry::has_npc_dialog() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_has_npc_dialog() {
_has_bits_[0] |= 0x00000002u;
}
inline void CDOTAUserMsg_AddQuestLogEntry::clear_has_npc_dialog() {
_has_bits_[0] &= ~0x00000002u;
}
inline void CDOTAUserMsg_AddQuestLogEntry::clear_npc_dialog() {
if (npc_dialog_ != &::google::protobuf::internal::kEmptyString) {
npc_dialog_->clear();
}
clear_has_npc_dialog();
}
inline const ::std::string& CDOTAUserMsg_AddQuestLogEntry::npc_dialog() const {
return *npc_dialog_;
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_npc_dialog(const ::std::string& value) {
set_has_npc_dialog();
if (npc_dialog_ == &::google::protobuf::internal::kEmptyString) {
npc_dialog_ = new ::std::string;
}
npc_dialog_->assign(value);
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_npc_dialog(const char* value) {
set_has_npc_dialog();
if (npc_dialog_ == &::google::protobuf::internal::kEmptyString) {
npc_dialog_ = new ::std::string;
}
npc_dialog_->assign(value);
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_npc_dialog(const char* value, size_t size) {
set_has_npc_dialog();
if (npc_dialog_ == &::google::protobuf::internal::kEmptyString) {
npc_dialog_ = new ::std::string;
}
npc_dialog_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* CDOTAUserMsg_AddQuestLogEntry::mutable_npc_dialog() {
set_has_npc_dialog();
if (npc_dialog_ == &::google::protobuf::internal::kEmptyString) {
npc_dialog_ = new ::std::string;
}
return npc_dialog_;
}
inline ::std::string* CDOTAUserMsg_AddQuestLogEntry::release_npc_dialog() {
clear_has_npc_dialog();
if (npc_dialog_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = npc_dialog_;
npc_dialog_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
// optional bool quest = 3;
inline bool CDOTAUserMsg_AddQuestLogEntry::has_quest() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_has_quest() {
_has_bits_[0] |= 0x00000004u;
}
inline void CDOTAUserMsg_AddQuestLogEntry::clear_has_quest() {
_has_bits_[0] &= ~0x00000004u;
}
inline void CDOTAUserMsg_AddQuestLogEntry::clear_quest() {
quest_ = false;
clear_has_quest();
}
inline bool CDOTAUserMsg_AddQuestLogEntry::quest() const {
return quest_;
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_quest(bool value) {
set_has_quest();
quest_ = value;
}
// optional int32 quest_type = 4;
inline bool CDOTAUserMsg_AddQuestLogEntry::has_quest_type() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_has_quest_type() {
_has_bits_[0] |= 0x00000008u;
}
inline void CDOTAUserMsg_AddQuestLogEntry::clear_has_quest_type() {
_has_bits_[0] &= ~0x00000008u;
}
inline void CDOTAUserMsg_AddQuestLogEntry::clear_quest_type() {
quest_type_ = 0;
clear_has_quest_type();
}
inline ::google::protobuf::int32 CDOTAUserMsg_AddQuestLogEntry::quest_type() const {
return quest_type_;
}
inline void CDOTAUserMsg_AddQuestLogEntry::set_quest_type(::google::protobuf::int32 value) {
set_has_quest_type();
quest_type_ = value;
}
// -------------------------------------------------------------------
// CDOTAUserMsg_SendStatPopup
// optional int32 player_id = 1;
inline bool CDOTAUserMsg_SendStatPopup::has_player_id() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CDOTAUserMsg_SendStatPopup::set_has_player_id() {
_has_bits_[0] |= 0x00000001u;
}
inline void CDOTAUserMsg_SendStatPopup::clear_has_player_id() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CDOTAUserMsg_SendStatPopup::clear_player_id() {
player_id_ = 0;
clear_has_player_id();
}
inline ::google::protobuf::int32 CDOTAUserMsg_SendStatPopup::player_id() const {
return player_id_;
}
inline void CDOTAUserMsg_SendStatPopup::set_player_id(::google::protobuf::int32 value) {
set_has_player_id();
player_id_ = value;
}
// optional .CDOTAMsg_SendStatPopup statpopup = 2;
inline bool CDOTAUserMsg_SendStatPopup::has_statpopup() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void CDOTAUserMsg_SendStatPopup::set_has_statpopup() {
_has_bits_[0] |= 0x00000002u;
}
inline void CDOTAUserMsg_SendStatPopup::clear_has_statpopup() {
_has_bits_[0] &= ~0x00000002u;
}
inline void CDOTAUserMsg_SendStatPopup::clear_statpopup() {
if (statpopup_ != NULL) statpopup_->::CDOTAMsg_SendStatPopup::Clear();
clear_has_statpopup();
}
inline const ::CDOTAMsg_SendStatPopup& CDOTAUserMsg_SendStatPopup::statpopup() const {
return statpopup_ != NULL ? *statpopup_ : *default_instance_->statpopup_;
}
inline ::CDOTAMsg_SendStatPopup* CDOTAUserMsg_SendStatPopup::mutable_statpopup() {
set_has_statpopup();
if (statpopup_ == NULL) statpopup_ = new ::CDOTAMsg_SendStatPopup;
return statpopup_;
}
inline ::CDOTAMsg_SendStatPopup* CDOTAUserMsg_SendStatPopup::release_statpopup() {
clear_has_statpopup();
::CDOTAMsg_SendStatPopup* temp = statpopup_;
statpopup_ = NULL;
return temp;
}
// @@protoc_insertion_point(namespace_scope)

View File

@ -117,6 +117,9 @@ enum EDotaUserMessages
DOTA_UM_GamerulesStateChanged = 106;
DOTA_UM_ShowSurvey = 107;
DOTA_UM_TutorialFade = 108;
DOTA_UM_AddQuestLogEntry = 109;
DOTA_UM_SendStatPopup = 110;
DOTA_UM_TutorialFinish = 111;
}
//=============================================================================
@ -639,6 +642,13 @@ message CDOTAUserMsg_TutorialTipInfo
optional int32 progress = 2;
}
message CDOTAUserMsg_TutorialFinish
{
optional string heading = 1;
optional string emblem = 2;
optional string body = 3;
}
message CDOTAUserMsg_WorldLine
{
optional int32 player_id = 1;
@ -698,3 +708,17 @@ message CDOTA_UM_GamerulesStateChanged
optional uint32 state = 1;
}
message CDOTAUserMsg_AddQuestLogEntry
{
optional string npc_name = 1;
optional string npc_dialog = 2;
optional bool quest = 3;
optional int32 quest_type = 4;
}
message CDOTAUserMsg_SendStatPopup
{
optional int32 player_id = 1;
optional CDOTAMsg_SendStatPopup statpopup = 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*\275v\n\010Activity\022\030\n\013ACT_"
"\n\021ai_activity.proto*\354{\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"
@ -432,7 +432,25 @@ void protobuf_AddDesc_ai_5factivity_2eproto() {
"NK_BONE\020\236\004\022\033\n\026ACT_DOTA_IDLE_SLEEPING\020\237\004\022"
"\023\n\016ACT_DOTA_INTRO\020\240\004\022\033\n\026ACT_DOTA_GESTURE"
"_POINT\020\241\004\022\034\n\027ACT_DOTA_GESTURE_ACCENT\020\242\004\022"
"\032\n\025ACT_DOTA_SLEEPING_END\020\243\004B\005H\001\200\001\000", 15194);
"\032\n\025ACT_DOTA_SLEEPING_END\020\243\004\022\024\n\017ACT_DOTA_"
"AMBUSH\020\244\004\022\027\n\022ACT_DOTA_ITEM_LOOK\020\245\004\022\025\n\020AC"
"T_DOTA_STARTLE\020\246\004\022\031\n\024ACT_DOTA_FRUSTRATIO"
"N\020\247\004\022\034\n\027ACT_DOTA_TELEPORT_REACT\020\250\004\022 \n\033AC"
"T_DOTA_TELEPORT_END_REACT\020\251\004\022\023\n\016ACT_DOTA"
"_SHRUG\020\252\004\022\034\n\027ACT_DOTA_RELAX_LOOP_END\020\253\004\022"
"\032\n\025ACT_DOTA_PRESENT_ITEM\020\254\004\022\034\n\027ACT_DOTA_"
"IDLE_IMPATIENT\020\255\004\022\034\n\027ACT_DOTA_SHARPEN_WE"
"APON\020\256\004\022 \n\033ACT_DOTA_SHARPEN_WEAPON_OUT\020\257"
"\004\022\037\n\032ACT_DOTA_IDLE_SLEEPING_END\020\260\004\022\034\n\027AC"
"T_DOTA_BRIDGE_DESTROY\020\261\004\022\032\n\025ACT_DOTA_TAU"
"NT_SNIPER\020\262\004\022\035\n\030ACT_DOTA_DEATH_BY_SNIPER"
"\020\263\004\022\031\n\024ACT_DOTA_LOOK_AROUND\020\264\004\022\036\n\031ACT_DO"
"TA_CAGED_CREEP_RAGE\020\265\004\022\"\n\035ACT_DOTA_CAGED"
"_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);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"ai_activity.proto", &protobuf_RegisterTypes);
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_ai_5factivity_2eproto);
@ -998,6 +1016,29 @@ bool Activity_IsValid(int value) {
case 545:
case 546:
case 547:
case 548:
case 549:
case 550:
case 551:
case 552:
case 553:
case 554:
case 555:
case 556:
case 557:
case 558:
case 559:
case 560:
case 561:
case 562:
case 563:
case 564:
case 565:
case 566:
case 567:
case 568:
case 569:
case 570:
return true;
default:
return false;

View File

@ -578,11 +578,34 @@ enum Activity {
ACT_DOTA_INTRO = 544,
ACT_DOTA_GESTURE_POINT = 545,
ACT_DOTA_GESTURE_ACCENT = 546,
ACT_DOTA_SLEEPING_END = 547
ACT_DOTA_SLEEPING_END = 547,
ACT_DOTA_AMBUSH = 548,
ACT_DOTA_ITEM_LOOK = 549,
ACT_DOTA_STARTLE = 550,
ACT_DOTA_FRUSTRATION = 551,
ACT_DOTA_TELEPORT_REACT = 552,
ACT_DOTA_TELEPORT_END_REACT = 553,
ACT_DOTA_SHRUG = 554,
ACT_DOTA_RELAX_LOOP_END = 555,
ACT_DOTA_PRESENT_ITEM = 556,
ACT_DOTA_IDLE_IMPATIENT = 557,
ACT_DOTA_SHARPEN_WEAPON = 558,
ACT_DOTA_SHARPEN_WEAPON_OUT = 559,
ACT_DOTA_IDLE_SLEEPING_END = 560,
ACT_DOTA_BRIDGE_DESTROY = 561,
ACT_DOTA_TAUNT_SNIPER = 562,
ACT_DOTA_DEATH_BY_SNIPER = 563,
ACT_DOTA_LOOK_AROUND = 564,
ACT_DOTA_CAGED_CREEP_RAGE = 565,
ACT_DOTA_CAGED_CREEP_RAGE_OUT = 566,
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
};
bool Activity_IsValid(int value);
const Activity Activity_MIN = ACT_INVALID;
const Activity Activity_MAX = ACT_DOTA_SLEEPING_END;
const Activity Activity_MAX = ACT_DOTA_INTRO_LOOP;
const int Activity_ARRAYSIZE = Activity_MAX + 1;
const ::google::protobuf::EnumDescriptor* Activity_descriptor();

View File

@ -671,6 +671,29 @@ enum Activity
ACT_DOTA_GESTURE_POINT = 545;
ACT_DOTA_GESTURE_ACCENT = 546;
ACT_DOTA_SLEEPING_END = 547;
ACT_DOTA_AMBUSH = 548;
ACT_DOTA_ITEM_LOOK = 549;
ACT_DOTA_STARTLE = 550;
ACT_DOTA_FRUSTRATION = 551;
ACT_DOTA_TELEPORT_REACT = 552;
ACT_DOTA_TELEPORT_END_REACT = 553;
ACT_DOTA_SHRUG = 554;
ACT_DOTA_RELAX_LOOP_END = 555;
ACT_DOTA_PRESENT_ITEM = 556;
ACT_DOTA_IDLE_IMPATIENT = 557;
ACT_DOTA_SHARPEN_WEAPON = 558;
ACT_DOTA_SHARPEN_WEAPON_OUT = 559;
ACT_DOTA_IDLE_SLEEPING_END = 560;
ACT_DOTA_BRIDGE_DESTROY = 561;
ACT_DOTA_TAUNT_SNIPER = 562;
ACT_DOTA_DEATH_BY_SNIPER = 563;
ACT_DOTA_LOOK_AROUND = 564;
ACT_DOTA_CAGED_CREEP_RAGE = 565;
ACT_DOTA_CAGED_CREEP_RAGE_OUT = 566;
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;
};