From 5846589a933a75934fa8fc82f84dd7a2255cd02b Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Fri, 1 Mar 2013 12:48:33 -0500 Subject: [PATCH] Added latest protos and generated code. --- public/engine/protobuf/netmessages.pb.cc | 19363 ++++++++++++++ public/engine/protobuf/netmessages.pb.h | 12266 +++++++++ public/engine/protobuf/netmessages.proto | 583 + .../shared/dota/protobuf/ai_activity.pb.cc | 1010 + .../shared/dota/protobuf/ai_activity.pb.h | 624 + .../shared/dota/protobuf/ai_activity.proto | 676 + .../dota/protobuf/dota_commonmessages.pb.cc | 1482 ++ .../dota/protobuf/dota_commonmessages.pb.h | 874 + .../dota/protobuf/dota_commonmessages.proto | 117 + .../dota/protobuf/dota_usermessages.pb.cc | 20903 ++++++++++++++++ .../dota/protobuf/dota_usermessages.pb.h | 12133 +++++++++ .../dota/protobuf/dota_usermessages.proto | 700 + .../game/shared/protobuf/usermessages.pb.cc | 9054 +++++++ public/game/shared/protobuf/usermessages.pb.h | 5407 ++++ .../game/shared/protobuf/usermessages.proto | 303 + 15 files changed, 85495 insertions(+) create mode 100644 public/engine/protobuf/netmessages.pb.cc create mode 100644 public/engine/protobuf/netmessages.pb.h create mode 100644 public/engine/protobuf/netmessages.proto create mode 100644 public/game/shared/dota/protobuf/ai_activity.pb.cc create mode 100644 public/game/shared/dota/protobuf/ai_activity.pb.h create mode 100644 public/game/shared/dota/protobuf/ai_activity.proto create mode 100644 public/game/shared/dota/protobuf/dota_commonmessages.pb.cc create mode 100644 public/game/shared/dota/protobuf/dota_commonmessages.pb.h create mode 100644 public/game/shared/dota/protobuf/dota_commonmessages.proto create mode 100644 public/game/shared/dota/protobuf/dota_usermessages.pb.cc create mode 100644 public/game/shared/dota/protobuf/dota_usermessages.pb.h create mode 100644 public/game/shared/dota/protobuf/dota_usermessages.proto create mode 100644 public/game/shared/protobuf/usermessages.pb.cc create mode 100644 public/game/shared/protobuf/usermessages.pb.h create mode 100644 public/game/shared/protobuf/usermessages.proto diff --git a/public/engine/protobuf/netmessages.pb.cc b/public/engine/protobuf/netmessages.pb.cc new file mode 100644 index 00000000..75cd4050 --- /dev/null +++ b/public/engine/protobuf/netmessages.pb.cc @@ -0,0 +1,19363 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "netmessages.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace { + +const ::google::protobuf::Descriptor* CMsgVector_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsgVector_reflection_ = NULL; +const ::google::protobuf::Descriptor* CMsgVector2D_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsgVector2D_reflection_ = NULL; +const ::google::protobuf::Descriptor* CMsgQAngle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsgQAngle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CMsg_CVars_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsg_CVars_reflection_ = NULL; +const ::google::protobuf::Descriptor* CMsg_CVars_CVar_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsg_CVars_CVar_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_NOP_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_NOP_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_Disconnect_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_Disconnect_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_File_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_File_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_SplitScreenUser_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_SplitScreenUser_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_Tick_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_Tick_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_StringCmd_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_StringCmd_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_SetConVar_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_SetConVar_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_SignonState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_SignonState_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_ClientInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_ClientInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_Move_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_Move_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_VoiceData_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_VoiceData_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_BaselineAck_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_BaselineAck_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_ListenEvents_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_ListenEvents_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_RespondCvarValue_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_RespondCvarValue_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_FileCRCCheck_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_FileCRCCheck_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_LoadingProgress_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_LoadingProgress_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_SplitPlayerConnect_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_SplitPlayerConnect_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_ClientMessage_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_ClientMessage_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_ServerInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_ServerInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_ClassInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_ClassInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_ClassInfo_class_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_ClassInfo_class_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_SetPause_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_SetPause_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_VoiceInit_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_VoiceInit_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_Print_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_Print_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_Sounds_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_Sounds_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_Sounds_sounddata_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_Sounds_sounddata_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_Prefetch_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_Prefetch_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_SetView_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_SetView_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_FixAngle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_FixAngle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_CrosshairAngle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_CrosshairAngle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_BSPDecal_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_BSPDecal_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_SplitScreen_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_SplitScreen_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_GetCvarValue_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_GetCvarValue_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_Menu_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_Menu_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_SendTable_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_SendTable_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_SendTable_sendprop_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_SendTable_sendprop_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_GameEvent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_GameEvent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_GameEvent_key_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_GameEvent_key_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_GameEventList_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_key_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_GameEventList_key_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_descriptor_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_GameEventList_descriptor_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_PacketEntities_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_PacketEntities_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_TempEntities_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_TempEntities_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_CreateStringTable_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_CreateStringTable_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_UpdateStringTable_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_UpdateStringTable_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_UserMessage_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_UserMessage_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_VoiceData_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_VoiceData_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsgList_GameEvents_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsgList_GameEvents_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsgList_GameEvents_event_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsgList_GameEvents_event_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsgList_UserMessages_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsgList_UserMessages_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsgList_UserMessages_usermsg_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsgList_UserMessages_usermsg_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_PacketReliable_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_PacketReliable_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* SIGNONSTATE_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceDataFormat_t_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* ESplitScreenMessageType_descriptor_ = NULL; + +} // namespace + + +void protobuf_AssignDesc_netmessages_2eproto() { + protobuf_AddDesc_netmessages_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "netmessages.proto"); + GOOGLE_CHECK(file != NULL); + CMsgVector_descriptor_ = file->message_type(0); + static const int CMsgVector_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, z_), + }; + CMsgVector_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsgVector_descriptor_, + CMsgVector::default_instance_, + CMsgVector_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsgVector)); + CMsgVector2D_descriptor_ = file->message_type(1); + static const int CMsgVector2D_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector2D, x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector2D, y_), + }; + CMsgVector2D_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsgVector2D_descriptor_, + CMsgVector2D::default_instance_, + CMsgVector2D_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector2D, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVector2D, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsgVector2D)); + CMsgQAngle_descriptor_ = file->message_type(2); + static const int CMsgQAngle_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, z_), + }; + CMsgQAngle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsgQAngle_descriptor_, + CMsgQAngle::default_instance_, + CMsgQAngle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgQAngle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsgQAngle)); + CMsg_CVars_descriptor_ = file->message_type(3); + static const int CMsg_CVars_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars, cvars_), + }; + CMsg_CVars_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsg_CVars_descriptor_, + CMsg_CVars::default_instance_, + CMsg_CVars_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsg_CVars)); + CMsg_CVars_CVar_descriptor_ = CMsg_CVars_descriptor_->nested_type(0); + static const int CMsg_CVars_CVar_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, value_), + }; + CMsg_CVars_CVar_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsg_CVars_CVar_descriptor_, + CMsg_CVars_CVar::default_instance_, + CMsg_CVars_CVar_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars_CVar, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsg_CVars_CVar)); + CNETMsg_NOP_descriptor_ = file->message_type(4); + static const int CNETMsg_NOP_offsets_[1] = { + }; + CNETMsg_NOP_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_NOP_descriptor_, + CNETMsg_NOP::default_instance_, + CNETMsg_NOP_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_NOP, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_NOP, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_NOP)); + CNETMsg_Disconnect_descriptor_ = file->message_type(5); + static const int CNETMsg_Disconnect_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Disconnect, text_), + }; + CNETMsg_Disconnect_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_Disconnect_descriptor_, + CNETMsg_Disconnect::default_instance_, + CNETMsg_Disconnect_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Disconnect, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Disconnect, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_Disconnect)); + CNETMsg_File_descriptor_ = file->message_type(6); + static const int CNETMsg_File_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, transfer_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, file_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, is_replay_demo_file_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, deny_), + }; + CNETMsg_File_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_File_descriptor_, + CNETMsg_File::default_instance_, + CNETMsg_File_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_File)); + CNETMsg_SplitScreenUser_descriptor_ = file->message_type(7); + static const int CNETMsg_SplitScreenUser_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SplitScreenUser, slot_), + }; + CNETMsg_SplitScreenUser_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_SplitScreenUser_descriptor_, + CNETMsg_SplitScreenUser::default_instance_, + CNETMsg_SplitScreenUser_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SplitScreenUser, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SplitScreenUser, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_SplitScreenUser)); + CNETMsg_Tick_descriptor_ = file->message_type(8); + static const int CNETMsg_Tick_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, tick_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_frametime_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_frametime_std_deviation_), + }; + CNETMsg_Tick_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_Tick_descriptor_, + CNETMsg_Tick::default_instance_, + CNETMsg_Tick_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_Tick)); + CNETMsg_StringCmd_descriptor_ = file->message_type(9); + static const int CNETMsg_StringCmd_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_StringCmd, command_), + }; + CNETMsg_StringCmd_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_StringCmd_descriptor_, + CNETMsg_StringCmd::default_instance_, + CNETMsg_StringCmd_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_StringCmd, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_StringCmd, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_StringCmd)); + CNETMsg_SetConVar_descriptor_ = file->message_type(10); + static const int CNETMsg_SetConVar_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SetConVar, convars_), + }; + CNETMsg_SetConVar_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_SetConVar_descriptor_, + CNETMsg_SetConVar::default_instance_, + CNETMsg_SetConVar_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SetConVar, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SetConVar, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_SetConVar)); + CNETMsg_SignonState_descriptor_ = file->message_type(11); + static const int CNETMsg_SignonState_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, signon_state_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, spawn_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, num_server_players_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, players_networkids_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, map_name_), + }; + CNETMsg_SignonState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_SignonState_descriptor_, + CNETMsg_SignonState::default_instance_, + CNETMsg_SignonState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SignonState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_SignonState)); + CCLCMsg_ClientInfo_descriptor_ = file->message_type(12); + static const int CCLCMsg_ClientInfo_offsets_[7] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, send_table_crc_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, server_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, is_hltv_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, is_replay_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, friends_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, friends_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, custom_files_), + }; + CCLCMsg_ClientInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_ClientInfo_descriptor_, + CCLCMsg_ClientInfo::default_instance_, + CCLCMsg_ClientInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_ClientInfo)); + CCLCMsg_Move_descriptor_ = file->message_type(13); + static const int CCLCMsg_Move_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, num_backup_commands_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, num_new_commands_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, data_), + }; + CCLCMsg_Move_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_Move_descriptor_, + CCLCMsg_Move::default_instance_, + CCLCMsg_Move_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_Move, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_Move)); + CCLCMsg_VoiceData_descriptor_ = file->message_type(14); + static const int CCLCMsg_VoiceData_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, data_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, xuid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, format_), + }; + CCLCMsg_VoiceData_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_VoiceData_descriptor_, + CCLCMsg_VoiceData::default_instance_, + CCLCMsg_VoiceData_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_VoiceData)); + CCLCMsg_BaselineAck_descriptor_ = file->message_type(15); + static const int CCLCMsg_BaselineAck_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_BaselineAck, baseline_tick_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_BaselineAck, baseline_nr_), + }; + CCLCMsg_BaselineAck_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_BaselineAck_descriptor_, + CCLCMsg_BaselineAck::default_instance_, + CCLCMsg_BaselineAck_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_BaselineAck, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_BaselineAck, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_BaselineAck)); + CCLCMsg_ListenEvents_descriptor_ = file->message_type(16); + static const int CCLCMsg_ListenEvents_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ListenEvents, event_mask_), + }; + CCLCMsg_ListenEvents_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_ListenEvents_descriptor_, + CCLCMsg_ListenEvents::default_instance_, + CCLCMsg_ListenEvents_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ListenEvents, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ListenEvents, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_ListenEvents)); + CCLCMsg_RespondCvarValue_descriptor_ = file->message_type(17); + static const int CCLCMsg_RespondCvarValue_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, cookie_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, status_code_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, value_), + }; + CCLCMsg_RespondCvarValue_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_RespondCvarValue_descriptor_, + CCLCMsg_RespondCvarValue::default_instance_, + CCLCMsg_RespondCvarValue_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RespondCvarValue, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_RespondCvarValue)); + CCLCMsg_FileCRCCheck_descriptor_ = file->message_type(18); + static const int CCLCMsg_FileCRCCheck_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, code_path_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, path_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, code_filename_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, filename_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, crc_), + }; + CCLCMsg_FileCRCCheck_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_FileCRCCheck_descriptor_, + CCLCMsg_FileCRCCheck::default_instance_, + CCLCMsg_FileCRCCheck_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_FileCRCCheck, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_FileCRCCheck)); + CCLCMsg_LoadingProgress_descriptor_ = file->message_type(19); + static const int CCLCMsg_LoadingProgress_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_LoadingProgress, progress_), + }; + CCLCMsg_LoadingProgress_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_LoadingProgress_descriptor_, + CCLCMsg_LoadingProgress::default_instance_, + CCLCMsg_LoadingProgress_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_LoadingProgress, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_LoadingProgress, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_LoadingProgress)); + CCLCMsg_SplitPlayerConnect_descriptor_ = file->message_type(20); + static const int CCLCMsg_SplitPlayerConnect_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, convars_), + }; + CCLCMsg_SplitPlayerConnect_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_SplitPlayerConnect_descriptor_, + CCLCMsg_SplitPlayerConnect::default_instance_, + CCLCMsg_SplitPlayerConnect_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_SplitPlayerConnect)); + CCLCMsg_ClientMessage_descriptor_ = file->message_type(21); + static const int CCLCMsg_ClientMessage_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientMessage, msg_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientMessage, data_), + }; + CCLCMsg_ClientMessage_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_ClientMessage_descriptor_, + CCLCMsg_ClientMessage::default_instance_, + CCLCMsg_ClientMessage_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientMessage, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ClientMessage, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_ClientMessage)); + CSVCMsg_ServerInfo_descriptor_ = file->message_type(22); + static const int CSVCMsg_ServerInfo_offsets_[17] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, protocol_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, server_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_dedicated_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_hltv_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_replay_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, c_os_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, map_crc_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, client_crc_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, string_table_crc_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, max_clients_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, max_classes_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, player_slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, tick_interval_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, game_dir_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, map_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, sky_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, host_name_), + }; + CSVCMsg_ServerInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_ServerInfo_descriptor_, + CSVCMsg_ServerInfo::default_instance_, + CSVCMsg_ServerInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_ServerInfo)); + CSVCMsg_ClassInfo_descriptor_ = file->message_type(23); + static const int CSVCMsg_ClassInfo_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo, create_on_client_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo, classes_), + }; + CSVCMsg_ClassInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_ClassInfo_descriptor_, + CSVCMsg_ClassInfo::default_instance_, + CSVCMsg_ClassInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_ClassInfo)); + CSVCMsg_ClassInfo_class_t_descriptor_ = CSVCMsg_ClassInfo_descriptor_->nested_type(0); + static const int CSVCMsg_ClassInfo_class_t_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, class_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, data_table_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, class_name_), + }; + CSVCMsg_ClassInfo_class_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_ClassInfo_class_t_descriptor_, + CSVCMsg_ClassInfo_class_t::default_instance_, + CSVCMsg_ClassInfo_class_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClassInfo_class_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_ClassInfo_class_t)); + CSVCMsg_SetPause_descriptor_ = file->message_type(24); + static const int CSVCMsg_SetPause_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetPause, paused_), + }; + CSVCMsg_SetPause_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_SetPause_descriptor_, + CSVCMsg_SetPause::default_instance_, + CSVCMsg_SetPause_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetPause, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetPause, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_SetPause)); + CSVCMsg_VoiceInit_descriptor_ = file->message_type(25); + static const int CSVCMsg_VoiceInit_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, quality_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, codec_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, version_), + }; + CSVCMsg_VoiceInit_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_VoiceInit_descriptor_, + CSVCMsg_VoiceInit::default_instance_, + CSVCMsg_VoiceInit_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceInit, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_VoiceInit)); + CSVCMsg_Print_descriptor_ = file->message_type(26); + static const int CSVCMsg_Print_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Print, text_), + }; + CSVCMsg_Print_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_Print_descriptor_, + CSVCMsg_Print::default_instance_, + CSVCMsg_Print_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Print, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Print, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_Print)); + CSVCMsg_Sounds_descriptor_ = file->message_type(27); + static const int CSVCMsg_Sounds_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds, reliable_sound_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds, sounds_), + }; + CSVCMsg_Sounds_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_Sounds_descriptor_, + CSVCMsg_Sounds::default_instance_, + CSVCMsg_Sounds_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_Sounds)); + CSVCMsg_Sounds_sounddata_t_descriptor_ = CSVCMsg_Sounds_descriptor_->nested_type(0); + static const int CSVCMsg_Sounds_sounddata_t_offsets_[17] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_z_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, volume_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, delay_value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sequence_number_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, entity_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, channel_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, pitch_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, flags_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sound_num_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sound_num_handle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, speaker_entity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, random_seed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sound_level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, is_sentence_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, is_ambient_), + }; + CSVCMsg_Sounds_sounddata_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_Sounds_sounddata_t_descriptor_, + CSVCMsg_Sounds_sounddata_t::default_instance_, + CSVCMsg_Sounds_sounddata_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_Sounds_sounddata_t)); + CSVCMsg_Prefetch_descriptor_ = file->message_type(28); + static const int CSVCMsg_Prefetch_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, sound_index_), + }; + CSVCMsg_Prefetch_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_Prefetch_descriptor_, + CSVCMsg_Prefetch::default_instance_, + CSVCMsg_Prefetch_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_Prefetch)); + CSVCMsg_SetView_descriptor_ = file->message_type(29); + static const int CSVCMsg_SetView_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, entity_index_), + }; + CSVCMsg_SetView_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_SetView_descriptor_, + CSVCMsg_SetView::default_instance_, + CSVCMsg_SetView_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_SetView)); + CSVCMsg_FixAngle_descriptor_ = file->message_type(30); + static const int CSVCMsg_FixAngle_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FixAngle, relative_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FixAngle, angle_), + }; + CSVCMsg_FixAngle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_FixAngle_descriptor_, + CSVCMsg_FixAngle::default_instance_, + CSVCMsg_FixAngle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FixAngle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FixAngle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_FixAngle)); + CSVCMsg_CrosshairAngle_descriptor_ = file->message_type(31); + static const int CSVCMsg_CrosshairAngle_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CrosshairAngle, angle_), + }; + CSVCMsg_CrosshairAngle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_CrosshairAngle_descriptor_, + CSVCMsg_CrosshairAngle::default_instance_, + CSVCMsg_CrosshairAngle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CrosshairAngle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CrosshairAngle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_CrosshairAngle)); + CSVCMsg_BSPDecal_descriptor_ = file->message_type(32); + static const int CSVCMsg_BSPDecal_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, pos_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, decal_texture_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, entity_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, model_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, low_priority_), + }; + CSVCMsg_BSPDecal_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_BSPDecal_descriptor_, + CSVCMsg_BSPDecal::default_instance_, + CSVCMsg_BSPDecal_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_BSPDecal, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_BSPDecal)); + CSVCMsg_SplitScreen_descriptor_ = file->message_type(33); + static const int CSVCMsg_SplitScreen_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, player_index_), + }; + CSVCMsg_SplitScreen_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_SplitScreen_descriptor_, + CSVCMsg_SplitScreen::default_instance_, + CSVCMsg_SplitScreen_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SplitScreen, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_SplitScreen)); + CSVCMsg_GetCvarValue_descriptor_ = file->message_type(34); + static const int CSVCMsg_GetCvarValue_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GetCvarValue, cookie_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GetCvarValue, cvar_name_), + }; + CSVCMsg_GetCvarValue_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_GetCvarValue_descriptor_, + CSVCMsg_GetCvarValue::default_instance_, + CSVCMsg_GetCvarValue_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GetCvarValue, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GetCvarValue, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_GetCvarValue)); + CSVCMsg_Menu_descriptor_ = file->message_type(35); + static const int CSVCMsg_Menu_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Menu, dialog_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Menu, menu_key_values_), + }; + CSVCMsg_Menu_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_Menu_descriptor_, + CSVCMsg_Menu::default_instance_, + CSVCMsg_Menu_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Menu, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Menu, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_Menu)); + CSVCMsg_SendTable_descriptor_ = file->message_type(36); + static const int CSVCMsg_SendTable_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, is_end_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, net_table_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, needs_decoder_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, props_), + }; + CSVCMsg_SendTable_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_SendTable_descriptor_, + CSVCMsg_SendTable::default_instance_, + CSVCMsg_SendTable_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_SendTable)); + CSVCMsg_SendTable_sendprop_t_descriptor_ = CSVCMsg_SendTable_descriptor_->nested_type(0); + static const int CSVCMsg_SendTable_sendprop_t_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, var_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, flags_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, priority_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, dt_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, num_elements_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, low_value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, high_value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, num_bits_), + }; + CSVCMsg_SendTable_sendprop_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_SendTable_sendprop_t_descriptor_, + CSVCMsg_SendTable_sendprop_t::default_instance_, + CSVCMsg_SendTable_sendprop_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SendTable_sendprop_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_SendTable_sendprop_t)); + CSVCMsg_GameEvent_descriptor_ = file->message_type(37); + static const int CSVCMsg_GameEvent_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, event_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, eventid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, keys_), + }; + CSVCMsg_GameEvent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_GameEvent_descriptor_, + CSVCMsg_GameEvent::default_instance_, + CSVCMsg_GameEvent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_GameEvent)); + CSVCMsg_GameEvent_key_t_descriptor_ = CSVCMsg_GameEvent_descriptor_->nested_type(0); + static const int CSVCMsg_GameEvent_key_t_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_string_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_float_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_long_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_short_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_byte_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_bool_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, val_uint64_), + }; + CSVCMsg_GameEvent_key_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_GameEvent_key_t_descriptor_, + CSVCMsg_GameEvent_key_t::default_instance_, + CSVCMsg_GameEvent_key_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEvent_key_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_GameEvent_key_t)); + CSVCMsg_GameEventList_descriptor_ = file->message_type(38); + static const int CSVCMsg_GameEventList_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList, descriptors_), + }; + CSVCMsg_GameEventList_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_GameEventList_descriptor_, + CSVCMsg_GameEventList::default_instance_, + CSVCMsg_GameEventList_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_GameEventList)); + CSVCMsg_GameEventList_key_t_descriptor_ = CSVCMsg_GameEventList_descriptor_->nested_type(0); + static const int CSVCMsg_GameEventList_key_t_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_key_t, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_key_t, name_), + }; + CSVCMsg_GameEventList_key_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_GameEventList_key_t_descriptor_, + CSVCMsg_GameEventList_key_t::default_instance_, + CSVCMsg_GameEventList_key_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_key_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_key_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_GameEventList_key_t)); + CSVCMsg_GameEventList_descriptor_t_descriptor_ = CSVCMsg_GameEventList_descriptor_->nested_type(1); + static const int CSVCMsg_GameEventList_descriptor_t_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, eventid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, keys_), + }; + CSVCMsg_GameEventList_descriptor_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_GameEventList_descriptor_t_descriptor_, + CSVCMsg_GameEventList_descriptor_t::default_instance_, + CSVCMsg_GameEventList_descriptor_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList_descriptor_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_GameEventList_descriptor_t)); + CSVCMsg_PacketEntities_descriptor_ = file->message_type(39); + static const int CSVCMsg_PacketEntities_offsets_[7] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, max_entries_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, updated_entries_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, is_delta_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, update_baseline_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, baseline_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, delta_from_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, entity_data_), + }; + CSVCMsg_PacketEntities_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_PacketEntities_descriptor_, + CSVCMsg_PacketEntities::default_instance_, + CSVCMsg_PacketEntities_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_PacketEntities)); + CSVCMsg_TempEntities_descriptor_ = file->message_type(40); + static const int CSVCMsg_TempEntities_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, reliable_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, num_entries_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, entity_data_), + }; + CSVCMsg_TempEntities_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_TempEntities_descriptor_, + CSVCMsg_TempEntities::default_instance_, + CSVCMsg_TempEntities_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_TempEntities, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_TempEntities)); + CSVCMsg_CreateStringTable_descriptor_ = file->message_type(41); + static const int CSVCMsg_CreateStringTable_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, max_entries_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, num_entries_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_fixed_size_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_size_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_size_bits_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, flags_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, string_data_), + }; + CSVCMsg_CreateStringTable_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_CreateStringTable_descriptor_, + CSVCMsg_CreateStringTable::default_instance_, + CSVCMsg_CreateStringTable_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_CreateStringTable)); + CSVCMsg_UpdateStringTable_descriptor_ = file->message_type(42); + static const int CSVCMsg_UpdateStringTable_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, table_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, num_changed_entries_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, string_data_), + }; + CSVCMsg_UpdateStringTable_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_UpdateStringTable_descriptor_, + CSVCMsg_UpdateStringTable::default_instance_, + CSVCMsg_UpdateStringTable_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UpdateStringTable, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_UpdateStringTable)); + CSVCMsg_UserMessage_descriptor_ = file->message_type(43); + static const int CSVCMsg_UserMessage_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, msg_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, msg_data_), + }; + CSVCMsg_UserMessage_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_UserMessage_descriptor_, + CSVCMsg_UserMessage::default_instance_, + CSVCMsg_UserMessage_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_UserMessage, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_UserMessage)); + CSVCMsg_VoiceData_descriptor_ = file->message_type(44); + static const int CSVCMsg_VoiceData_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, client_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, proximity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, xuid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, audible_mask_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, voice_data_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, format_), + }; + CSVCMsg_VoiceData_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_VoiceData_descriptor_, + CSVCMsg_VoiceData::default_instance_, + CSVCMsg_VoiceData_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_VoiceData)); + CSVCMsgList_GameEvents_descriptor_ = file->message_type(45); + static const int CSVCMsgList_GameEvents_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_GameEvents, events_), + }; + CSVCMsgList_GameEvents_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsgList_GameEvents_descriptor_, + CSVCMsgList_GameEvents::default_instance_, + CSVCMsgList_GameEvents_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_GameEvents, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_GameEvents, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsgList_GameEvents)); + CSVCMsgList_GameEvents_event_t_descriptor_ = CSVCMsgList_GameEvents_descriptor_->nested_type(0); + static const int CSVCMsgList_GameEvents_event_t_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_GameEvents_event_t, tick_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_GameEvents_event_t, event_), + }; + CSVCMsgList_GameEvents_event_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsgList_GameEvents_event_t_descriptor_, + CSVCMsgList_GameEvents_event_t::default_instance_, + CSVCMsgList_GameEvents_event_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_GameEvents_event_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_GameEvents_event_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsgList_GameEvents_event_t)); + CSVCMsgList_UserMessages_descriptor_ = file->message_type(46); + static const int CSVCMsgList_UserMessages_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_UserMessages, usermsgs_), + }; + CSVCMsgList_UserMessages_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsgList_UserMessages_descriptor_, + CSVCMsgList_UserMessages::default_instance_, + CSVCMsgList_UserMessages_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_UserMessages, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_UserMessages, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsgList_UserMessages)); + CSVCMsgList_UserMessages_usermsg_t_descriptor_ = CSVCMsgList_UserMessages_descriptor_->nested_type(0); + static const int CSVCMsgList_UserMessages_usermsg_t_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_UserMessages_usermsg_t, tick_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_UserMessages_usermsg_t, msg_), + }; + CSVCMsgList_UserMessages_usermsg_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsgList_UserMessages_usermsg_t_descriptor_, + CSVCMsgList_UserMessages_usermsg_t::default_instance_, + CSVCMsgList_UserMessages_usermsg_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_UserMessages_usermsg_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_UserMessages_usermsg_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsgList_UserMessages_usermsg_t)); + CSVCMsg_PacketReliable_descriptor_ = file->message_type(47); + static const int CSVCMsg_PacketReliable_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketReliable, tick_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketReliable, messagessize_), + }; + CSVCMsg_PacketReliable_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_PacketReliable_descriptor_, + CSVCMsg_PacketReliable::default_instance_, + CSVCMsg_PacketReliable_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketReliable, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketReliable, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_PacketReliable)); + NET_Messages_descriptor_ = file->enum_type(0); + SIGNONSTATE_descriptor_ = file->enum_type(1); + CLC_Messages_descriptor_ = file->enum_type(2); + VoiceDataFormat_t_descriptor_ = file->enum_type(3); + SVC_Messages_descriptor_ = file->enum_type(4); + ESplitScreenMessageType_descriptor_ = file->enum_type(5); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_netmessages_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsgVector_descriptor_, &CMsgVector::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsgVector2D_descriptor_, &CMsgVector2D::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsgQAngle_descriptor_, &CMsgQAngle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsg_CVars_descriptor_, &CMsg_CVars::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsg_CVars_CVar_descriptor_, &CMsg_CVars_CVar::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_NOP_descriptor_, &CNETMsg_NOP::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_Disconnect_descriptor_, &CNETMsg_Disconnect::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_File_descriptor_, &CNETMsg_File::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_SplitScreenUser_descriptor_, &CNETMsg_SplitScreenUser::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_Tick_descriptor_, &CNETMsg_Tick::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_StringCmd_descriptor_, &CNETMsg_StringCmd::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_SetConVar_descriptor_, &CNETMsg_SetConVar::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_SignonState_descriptor_, &CNETMsg_SignonState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_ClientInfo_descriptor_, &CCLCMsg_ClientInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_Move_descriptor_, &CCLCMsg_Move::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_VoiceData_descriptor_, &CCLCMsg_VoiceData::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_BaselineAck_descriptor_, &CCLCMsg_BaselineAck::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_ListenEvents_descriptor_, &CCLCMsg_ListenEvents::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_RespondCvarValue_descriptor_, &CCLCMsg_RespondCvarValue::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_FileCRCCheck_descriptor_, &CCLCMsg_FileCRCCheck::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_LoadingProgress_descriptor_, &CCLCMsg_LoadingProgress::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_SplitPlayerConnect_descriptor_, &CCLCMsg_SplitPlayerConnect::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_ClientMessage_descriptor_, &CCLCMsg_ClientMessage::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_ServerInfo_descriptor_, &CSVCMsg_ServerInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_ClassInfo_descriptor_, &CSVCMsg_ClassInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_ClassInfo_class_t_descriptor_, &CSVCMsg_ClassInfo_class_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_SetPause_descriptor_, &CSVCMsg_SetPause::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_VoiceInit_descriptor_, &CSVCMsg_VoiceInit::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_Print_descriptor_, &CSVCMsg_Print::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_Sounds_descriptor_, &CSVCMsg_Sounds::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_Sounds_sounddata_t_descriptor_, &CSVCMsg_Sounds_sounddata_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_Prefetch_descriptor_, &CSVCMsg_Prefetch::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_SetView_descriptor_, &CSVCMsg_SetView::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_FixAngle_descriptor_, &CSVCMsg_FixAngle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_CrosshairAngle_descriptor_, &CSVCMsg_CrosshairAngle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_BSPDecal_descriptor_, &CSVCMsg_BSPDecal::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_SplitScreen_descriptor_, &CSVCMsg_SplitScreen::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_GetCvarValue_descriptor_, &CSVCMsg_GetCvarValue::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_Menu_descriptor_, &CSVCMsg_Menu::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_SendTable_descriptor_, &CSVCMsg_SendTable::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_SendTable_sendprop_t_descriptor_, &CSVCMsg_SendTable_sendprop_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_GameEvent_descriptor_, &CSVCMsg_GameEvent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_GameEvent_key_t_descriptor_, &CSVCMsg_GameEvent_key_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_GameEventList_descriptor_, &CSVCMsg_GameEventList::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_GameEventList_key_t_descriptor_, &CSVCMsg_GameEventList_key_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_GameEventList_descriptor_t_descriptor_, &CSVCMsg_GameEventList_descriptor_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_PacketEntities_descriptor_, &CSVCMsg_PacketEntities::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_TempEntities_descriptor_, &CSVCMsg_TempEntities::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_CreateStringTable_descriptor_, &CSVCMsg_CreateStringTable::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_UpdateStringTable_descriptor_, &CSVCMsg_UpdateStringTable::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_UserMessage_descriptor_, &CSVCMsg_UserMessage::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_VoiceData_descriptor_, &CSVCMsg_VoiceData::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsgList_GameEvents_descriptor_, &CSVCMsgList_GameEvents::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsgList_GameEvents_event_t_descriptor_, &CSVCMsgList_GameEvents_event_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsgList_UserMessages_descriptor_, &CSVCMsgList_UserMessages::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsgList_UserMessages_usermsg_t_descriptor_, &CSVCMsgList_UserMessages_usermsg_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_PacketReliable_descriptor_, &CSVCMsg_PacketReliable::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_netmessages_2eproto() { + delete CMsgVector::default_instance_; + delete CMsgVector_reflection_; + delete CMsgVector2D::default_instance_; + delete CMsgVector2D_reflection_; + delete CMsgQAngle::default_instance_; + delete CMsgQAngle_reflection_; + delete CMsg_CVars::default_instance_; + delete CMsg_CVars_reflection_; + delete CMsg_CVars_CVar::default_instance_; + delete CMsg_CVars_CVar_reflection_; + delete CNETMsg_NOP::default_instance_; + delete CNETMsg_NOP_reflection_; + delete CNETMsg_Disconnect::default_instance_; + delete CNETMsg_Disconnect_reflection_; + delete CNETMsg_File::default_instance_; + delete CNETMsg_File_reflection_; + delete CNETMsg_SplitScreenUser::default_instance_; + delete CNETMsg_SplitScreenUser_reflection_; + delete CNETMsg_Tick::default_instance_; + delete CNETMsg_Tick_reflection_; + delete CNETMsg_StringCmd::default_instance_; + delete CNETMsg_StringCmd_reflection_; + delete CNETMsg_SetConVar::default_instance_; + delete CNETMsg_SetConVar_reflection_; + delete CNETMsg_SignonState::default_instance_; + delete CNETMsg_SignonState_reflection_; + delete CCLCMsg_ClientInfo::default_instance_; + delete CCLCMsg_ClientInfo_reflection_; + delete CCLCMsg_Move::default_instance_; + delete CCLCMsg_Move_reflection_; + delete CCLCMsg_VoiceData::default_instance_; + delete CCLCMsg_VoiceData_reflection_; + delete CCLCMsg_BaselineAck::default_instance_; + delete CCLCMsg_BaselineAck_reflection_; + delete CCLCMsg_ListenEvents::default_instance_; + delete CCLCMsg_ListenEvents_reflection_; + delete CCLCMsg_RespondCvarValue::default_instance_; + delete CCLCMsg_RespondCvarValue_reflection_; + delete CCLCMsg_FileCRCCheck::default_instance_; + delete CCLCMsg_FileCRCCheck_reflection_; + delete CCLCMsg_LoadingProgress::default_instance_; + delete CCLCMsg_LoadingProgress_reflection_; + delete CCLCMsg_SplitPlayerConnect::default_instance_; + delete CCLCMsg_SplitPlayerConnect_reflection_; + delete CCLCMsg_ClientMessage::default_instance_; + delete CCLCMsg_ClientMessage_reflection_; + delete CSVCMsg_ServerInfo::default_instance_; + delete CSVCMsg_ServerInfo_reflection_; + delete CSVCMsg_ClassInfo::default_instance_; + delete CSVCMsg_ClassInfo_reflection_; + delete CSVCMsg_ClassInfo_class_t::default_instance_; + delete CSVCMsg_ClassInfo_class_t_reflection_; + delete CSVCMsg_SetPause::default_instance_; + delete CSVCMsg_SetPause_reflection_; + delete CSVCMsg_VoiceInit::default_instance_; + delete CSVCMsg_VoiceInit_reflection_; + delete CSVCMsg_Print::default_instance_; + delete CSVCMsg_Print_reflection_; + delete CSVCMsg_Sounds::default_instance_; + delete CSVCMsg_Sounds_reflection_; + delete CSVCMsg_Sounds_sounddata_t::default_instance_; + delete CSVCMsg_Sounds_sounddata_t_reflection_; + delete CSVCMsg_Prefetch::default_instance_; + delete CSVCMsg_Prefetch_reflection_; + delete CSVCMsg_SetView::default_instance_; + delete CSVCMsg_SetView_reflection_; + delete CSVCMsg_FixAngle::default_instance_; + delete CSVCMsg_FixAngle_reflection_; + delete CSVCMsg_CrosshairAngle::default_instance_; + delete CSVCMsg_CrosshairAngle_reflection_; + delete CSVCMsg_BSPDecal::default_instance_; + delete CSVCMsg_BSPDecal_reflection_; + delete CSVCMsg_SplitScreen::default_instance_; + delete CSVCMsg_SplitScreen_reflection_; + delete CSVCMsg_GetCvarValue::default_instance_; + delete CSVCMsg_GetCvarValue_reflection_; + delete CSVCMsg_Menu::default_instance_; + delete CSVCMsg_Menu_reflection_; + delete CSVCMsg_SendTable::default_instance_; + delete CSVCMsg_SendTable_reflection_; + delete CSVCMsg_SendTable_sendprop_t::default_instance_; + delete CSVCMsg_SendTable_sendprop_t_reflection_; + delete CSVCMsg_GameEvent::default_instance_; + delete CSVCMsg_GameEvent_reflection_; + delete CSVCMsg_GameEvent_key_t::default_instance_; + delete CSVCMsg_GameEvent_key_t_reflection_; + delete CSVCMsg_GameEventList::default_instance_; + delete CSVCMsg_GameEventList_reflection_; + delete CSVCMsg_GameEventList_key_t::default_instance_; + delete CSVCMsg_GameEventList_key_t_reflection_; + delete CSVCMsg_GameEventList_descriptor_t::default_instance_; + delete CSVCMsg_GameEventList_descriptor_t_reflection_; + delete CSVCMsg_PacketEntities::default_instance_; + delete CSVCMsg_PacketEntities_reflection_; + delete CSVCMsg_TempEntities::default_instance_; + delete CSVCMsg_TempEntities_reflection_; + delete CSVCMsg_CreateStringTable::default_instance_; + delete CSVCMsg_CreateStringTable_reflection_; + delete CSVCMsg_UpdateStringTable::default_instance_; + delete CSVCMsg_UpdateStringTable_reflection_; + delete CSVCMsg_UserMessage::default_instance_; + delete CSVCMsg_UserMessage_reflection_; + delete CSVCMsg_VoiceData::default_instance_; + delete CSVCMsg_VoiceData_reflection_; + delete CSVCMsgList_GameEvents::default_instance_; + delete CSVCMsgList_GameEvents_reflection_; + delete CSVCMsgList_GameEvents_event_t::default_instance_; + delete CSVCMsgList_GameEvents_event_t_reflection_; + delete CSVCMsgList_UserMessages::default_instance_; + delete CSVCMsgList_UserMessages_reflection_; + delete CSVCMsgList_UserMessages_usermsg_t::default_instance_; + delete CSVCMsgList_UserMessages_usermsg_t_reflection_; + delete CSVCMsg_PacketReliable::default_instance_; + delete CSVCMsg_PacketReliable_reflection_; +} + +void protobuf_AddDesc_netmessages_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\021netmessages.proto\032 google/protobuf/des" + "criptor.proto\"-\n\nCMsgVector\022\t\n\001x\030\001 \001(\002\022\t" + "\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"$\n\014CMsgVector2D\022\t\n\001" + "x\030\001 \001(\002\022\t\n\001y\030\002 \001(\002\"-\n\nCMsgQAngle\022\t\n\001x\030\001 " + "\001(\002\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"R\n\nCMsg_CVars\022" + "\037\n\005cvars\030\001 \003(\0132\020.CMsg_CVars.CVar\032#\n\004CVar" + "\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\r\n\013CNETMsg" + "_NOP\"\"\n\022CNETMsg_Disconnect\022\014\n\004text\030\001 \001(\t" + "\"a\n\014CNETMsg_File\022\023\n\013transfer_id\030\001 \001(\005\022\021\n" + "\tfile_name\030\002 \001(\t\022\033\n\023is_replay_demo_file\030" + "\003 \001(\010\022\014\n\004deny\030\004 \001(\010\"\'\n\027CNETMsg_SplitScre" + "enUser\022\014\n\004slot\030\001 \001(\005\"Z\n\014CNETMsg_Tick\022\014\n\004" + "tick\030\001 \001(\r\022\026\n\016host_frametime\030\002 \001(\r\022$\n\034ho" + "st_frametime_std_deviation\030\003 \001(\r\"$\n\021CNET" + "Msg_StringCmd\022\017\n\007command\030\001 \001(\t\"1\n\021CNETMs" + "g_SetConVar\022\034\n\007convars\030\001 \001(\0132\013.CMsg_CVar" + "s\"\212\001\n\023CNETMsg_SignonState\022\024\n\014signon_stat" + "e\030\001 \001(\r\022\023\n\013spawn_count\030\002 \001(\r\022\032\n\022num_serv" + "er_players\030\003 \001(\r\022\032\n\022players_networkids\030\004" + " \003(\t\022\020\n\010map_name\030\005 \001(\t\"\246\001\n\022CCLCMsg_Clien" + "tInfo\022\026\n\016send_table_crc\030\001 \001(\007\022\024\n\014server_" + "count\030\002 \001(\r\022\017\n\007is_hltv\030\003 \001(\010\022\021\n\tis_repla" + "y\030\004 \001(\010\022\022\n\nfriends_id\030\005 \001(\r\022\024\n\014friends_n" + "ame\030\006 \001(\t\022\024\n\014custom_files\030\007 \003(\007\"S\n\014CCLCM" + "sg_Move\022\033\n\023num_backup_commands\030\001 \001(\r\022\030\n\020" + "num_new_commands\030\002 \001(\r\022\014\n\004data\030\003 \001(\014\"k\n\021" + "CCLCMsg_VoiceData\022\014\n\004data\030\001 \001(\014\022\014\n\004xuid\030" + "\002 \001(\006\022:\n\006format\030\003 \001(\0162\022.VoiceDataFormat_" + "t:\026VOICEDATA_FORMAT_STEAM\"A\n\023CCLCMsg_Bas" + "elineAck\022\025\n\rbaseline_tick\030\001 \001(\005\022\023\n\013basel" + "ine_nr\030\002 \001(\005\"*\n\024CCLCMsg_ListenEvents\022\022\n\n" + "event_mask\030\001 \003(\007\"\\\n\030CCLCMsg_RespondCvarV" + "alue\022\016\n\006cookie\030\001 \001(\005\022\023\n\013status_code\030\002 \001(" + "\005\022\014\n\004name\030\003 \001(\t\022\r\n\005value\030\004 \001(\t\"m\n\024CCLCMs" + "g_FileCRCCheck\022\021\n\tcode_path\030\001 \001(\005\022\014\n\004pat" + "h\030\002 \001(\t\022\025\n\rcode_filename\030\003 \001(\005\022\020\n\010filena" + "me\030\004 \001(\t\022\013\n\003crc\030\005 \001(\007\"+\n\027CCLCMsg_Loading" + "Progress\022\020\n\010progress\030\001 \001(\005\":\n\032CCLCMsg_Sp" + "litPlayerConnect\022\034\n\007convars\030\001 \001(\0132\013.CMsg" + "_CVars\"7\n\025CCLCMsg_ClientMessage\022\020\n\010msg_t" + "ype\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\"\342\002\n\022CSVCMsg_Serv" + "erInfo\022\020\n\010protocol\030\001 \001(\005\022\024\n\014server_count" + "\030\002 \001(\005\022\024\n\014is_dedicated\030\003 \001(\010\022\017\n\007is_hltv\030" + "\004 \001(\010\022\021\n\tis_replay\030\005 \001(\010\022\014\n\004c_os\030\006 \001(\005\022\017" + "\n\007map_crc\030\007 \001(\007\022\022\n\nclient_crc\030\010 \001(\007\022\030\n\020s" + "tring_table_crc\030\t \001(\007\022\023\n\013max_clients\030\n \001" + "(\005\022\023\n\013max_classes\030\013 \001(\005\022\023\n\013player_slot\030\014" + " \001(\005\022\025\n\rtick_interval\030\r \001(\002\022\020\n\010game_dir\030" + "\016 \001(\t\022\020\n\010map_name\030\017 \001(\t\022\020\n\010sky_name\030\020 \001(" + "\t\022\021\n\thost_name\030\021 \001(\t\"\244\001\n\021CSVCMsg_ClassIn" + "fo\022\030\n\020create_on_client\030\001 \001(\010\022+\n\007classes\030" + "\002 \003(\0132\032.CSVCMsg_ClassInfo.class_t\032H\n\007cla" + "ss_t\022\020\n\010class_id\030\001 \001(\005\022\027\n\017data_table_nam" + "e\030\002 \001(\t\022\022\n\nclass_name\030\003 \001(\t\"\"\n\020CSVCMsg_S" + "etPause\022\016\n\006paused\030\001 \001(\010\"G\n\021CSVCMsg_Voice" + "Init\022\017\n\007quality\030\001 \001(\005\022\r\n\005codec\030\002 \001(\t\022\022\n\007" + "version\030\003 \001(\005:\0010\"\035\n\rCSVCMsg_Print\022\014\n\004tex" + "t\030\001 \001(\t\"\266\003\n\016CSVCMsg_Sounds\022\026\n\016reliable_s" + "ound\030\001 \001(\010\022+\n\006sounds\030\002 \003(\0132\033.CSVCMsg_Sou" + "nds.sounddata_t\032\336\002\n\013sounddata_t\022\020\n\010origi" + "n_x\030\001 \001(\021\022\020\n\010origin_y\030\002 \001(\021\022\020\n\010origin_z\030" + "\003 \001(\021\022\016\n\006volume\030\004 \001(\r\022\023\n\013delay_value\030\005 \001" + "(\002\022\027\n\017sequence_number\030\006 \001(\005\022\024\n\014entity_in" + "dex\030\007 \001(\005\022\017\n\007channel\030\010 \001(\005\022\r\n\005pitch\030\t \001(" + "\005\022\r\n\005flags\030\n \001(\005\022\021\n\tsound_num\030\013 \001(\r\022\030\n\020s" + "ound_num_handle\030\014 \001(\007\022\026\n\016speaker_entity\030" + "\r \001(\005\022\023\n\013random_seed\030\016 \001(\005\022\023\n\013sound_leve" + "l\030\017 \001(\005\022\023\n\013is_sentence\030\020 \001(\010\022\022\n\nis_ambie" + "nt\030\021 \001(\010\"\'\n\020CSVCMsg_Prefetch\022\023\n\013sound_in" + "dex\030\001 \001(\005\"\'\n\017CSVCMsg_SetView\022\024\n\014entity_i" + "ndex\030\001 \001(\005\"@\n\020CSVCMsg_FixAngle\022\020\n\010relati" + "ve\030\001 \001(\010\022\032\n\005angle\030\002 \001(\0132\013.CMsgQAngle\"4\n\026" + "CSVCMsg_CrosshairAngle\022\032\n\005angle\030\001 \001(\0132\013." + "CMsgQAngle\"\212\001\n\020CSVCMsg_BSPDecal\022\030\n\003pos\030\001" + " \001(\0132\013.CMsgVector\022\033\n\023decal_texture_index" + "\030\002 \001(\005\022\024\n\014entity_index\030\003 \001(\005\022\023\n\013model_in" + "dex\030\004 \001(\005\022\024\n\014low_priority\030\005 \001(\010\"z\n\023CSVCM" + "sg_SplitScreen\022\?\n\004type\030\001 \001(\0162\030.ESplitScr" + "eenMessageType:\027MSG_SPLITSCREEN_ADDUSER\022" + "\014\n\004slot\030\002 \001(\005\022\024\n\014player_index\030\003 \001(\005\"9\n\024C" + "SVCMsg_GetCvarValue\022\016\n\006cookie\030\001 \001(\005\022\021\n\tc" + "var_name\030\002 \001(\t\"<\n\014CSVCMsg_Menu\022\023\n\013dialog" + "_type\030\001 \001(\005\022\027\n\017menu_key_values\030\002 \001(\014\"\260\002\n" + "\021CSVCMsg_SendTable\022\016\n\006is_end\030\001 \001(\010\022\026\n\016ne" + "t_table_name\030\002 \001(\t\022\025\n\rneeds_decoder\030\003 \001(" + "\010\022,\n\005props\030\004 \003(\0132\035.CSVCMsg_SendTable.sen" + "dprop_t\032\255\001\n\nsendprop_t\022\014\n\004type\030\001 \001(\005\022\020\n\010" + "var_name\030\002 \001(\t\022\r\n\005flags\030\003 \001(\005\022\020\n\010priorit" + "y\030\004 \001(\005\022\017\n\007dt_name\030\005 \001(\t\022\024\n\014num_elements" + "\030\006 \001(\005\022\021\n\tlow_value\030\007 \001(\002\022\022\n\nhigh_value\030" + "\010 \001(\002\022\020\n\010num_bits\030\t \001(\005\"\374\001\n\021CSVCMsg_Game" + "Event\022\022\n\nevent_name\030\001 \001(\t\022\017\n\007eventid\030\002 \001" + "(\005\022&\n\004keys\030\003 \003(\0132\030.CSVCMsg_GameEvent.key" + "_t\032\231\001\n\005key_t\022\014\n\004type\030\001 \001(\005\022\022\n\nval_string" + "\030\002 \001(\t\022\021\n\tval_float\030\003 \001(\002\022\020\n\010val_long\030\004 " + "\001(\005\022\021\n\tval_short\030\005 \001(\005\022\020\n\010val_byte\030\006 \001(\005" + "\022\020\n\010val_bool\030\007 \001(\010\022\022\n\nval_uint64\030\010 \001(\004\"\321" + "\001\n\025CSVCMsg_GameEventList\0228\n\013descriptors\030" + "\001 \003(\0132#.CSVCMsg_GameEventList.descriptor" + "_t\032#\n\005key_t\022\014\n\004type\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032" + "Y\n\014descriptor_t\022\017\n\007eventid\030\001 \001(\005\022\014\n\004name" + "\030\002 \001(\t\022*\n\004keys\030\003 \003(\0132\034.CSVCMsg_GameEvent" + "List.key_t\"\254\001\n\026CSVCMsg_PacketEntities\022\023\n" + "\013max_entries\030\001 \001(\005\022\027\n\017updated_entries\030\002 " + "\001(\005\022\020\n\010is_delta\030\003 \001(\010\022\027\n\017update_baseline" + "\030\004 \001(\010\022\020\n\010baseline\030\005 \001(\005\022\022\n\ndelta_from\030\006" + " \001(\005\022\023\n\013entity_data\030\007 \001(\014\"R\n\024CSVCMsg_Tem" + "pEntities\022\020\n\010reliable\030\001 \001(\010\022\023\n\013num_entri" + "es\030\002 \001(\005\022\023\n\013entity_data\030\003 \001(\014\"\312\001\n\031CSVCMs" + "g_CreateStringTable\022\014\n\004name\030\001 \001(\t\022\023\n\013max" + "_entries\030\002 \001(\005\022\023\n\013num_entries\030\003 \001(\005\022\034\n\024u" + "ser_data_fixed_size\030\004 \001(\010\022\026\n\016user_data_s" + "ize\030\005 \001(\005\022\033\n\023user_data_size_bits\030\006 \001(\005\022\r" + "\n\005flags\030\007 \001(\005\022\023\n\013string_data\030\010 \001(\014\"_\n\031CS" + "VCMsg_UpdateStringTable\022\020\n\010table_id\030\001 \001(" + "\005\022\033\n\023num_changed_entries\030\002 \001(\005\022\023\n\013string" + "_data\030\003 \001(\014\"9\n\023CSVCMsg_UserMessage\022\020\n\010ms" + "g_type\030\001 \001(\005\022\020\n\010msg_data\030\002 \001(\014\"\252\001\n\021CSVCM" + "sg_VoiceData\022\016\n\006client\030\001 \001(\005\022\021\n\tproximit" + "y\030\002 \001(\010\022\014\n\004xuid\030\003 \001(\006\022\024\n\014audible_mask\030\004 " + "\001(\005\022\022\n\nvoice_data\030\005 \001(\014\022:\n\006format\030\006 \001(\0162" + "\022.VoiceDataFormat_t:\026VOICEDATA_FORMAT_ST" + "EAM\"\205\001\n\026CSVCMsgList_GameEvents\022/\n\006events" + "\030\001 \003(\0132\037.CSVCMsgList_GameEvents.event_t\032" + ":\n\007event_t\022\014\n\004tick\030\001 \001(\005\022!\n\005event\030\002 \001(\0132" + "\022.CSVCMsg_GameEvent\"\217\001\n\030CSVCMsgList_User" + "Messages\0225\n\010usermsgs\030\001 \003(\0132#.CSVCMsgList" + "_UserMessages.usermsg_t\032<\n\tusermsg_t\022\014\n\004" + "tick\030\001 \001(\005\022!\n\003msg\030\002 \001(\0132\024.CSVCMsg_UserMe" + "ssage\"<\n\026CSVCMsg_PacketReliable\022\014\n\004tick\030" + "\001 \001(\005\022\024\n\014messagessize\030\002 \001(\005*\237\001\n\014NET_Mess" + "ages\022\013\n\007net_NOP\020\000\022\022\n\016net_Disconnect\020\001\022\014\n" + "\010net_File\020\002\022\027\n\023net_SplitScreenUser\020\003\022\014\n\010" + "net_Tick\020\004\022\021\n\rnet_StringCmd\020\005\022\021\n\rnet_Set" + "ConVar\020\006\022\023\n\017net_SignonState\020\007*\322\001\n\013SIGNON" + "STATE\022\024\n\020SIGNONSTATE_NONE\020\000\022\031\n\025SIGNONSTA" + "TE_CHALLENGE\020\001\022\031\n\025SIGNONSTATE_CONNECTED\020" + "\002\022\023\n\017SIGNONSTATE_NEW\020\003\022\030\n\024SIGNONSTATE_PR" + "ESPAWN\020\004\022\025\n\021SIGNONSTATE_SPAWN\020\005\022\024\n\020SIGNO" + "NSTATE_FULL\020\006\022\033\n\027SIGNONSTATE_CHANGELEVEL" + "\020\007*\352\001\n\014CLC_Messages\022\022\n\016clc_ClientInfo\020\010\022" + "\014\n\010clc_Move\020\t\022\021\n\rclc_VoiceData\020\n\022\023\n\017clc_" + "BaselineAck\020\013\022\024\n\020clc_ListenEvents\020\014\022\030\n\024c" + "lc_RespondCvarValue\020\r\022\024\n\020clc_FileCRCChec" + "k\020\016\022\027\n\023clc_LoadingProgress\020\017\022\032\n\026clc_Spli" + "tPlayerConnect\020\020\022\025\n\021clc_ClientMessage\020\021*" + "L\n\021VoiceDataFormat_t\022\032\n\026VOICEDATA_FORMAT" + "_STEAM\020\000\022\033\n\027VOICEDATA_FORMAT_ENGINE\020\001*\211\004" + "\n\014SVC_Messages\022\022\n\016svc_ServerInfo\020\010\022\021\n\rsv" + "c_SendTable\020\t\022\021\n\rsvc_ClassInfo\020\n\022\020\n\014svc_" + "SetPause\020\013\022\031\n\025svc_CreateStringTable\020\014\022\031\n" + "\025svc_UpdateStringTable\020\r\022\021\n\rsvc_VoiceIni" + "t\020\016\022\021\n\rsvc_VoiceData\020\017\022\r\n\tsvc_Print\020\020\022\016\n" + "\nsvc_Sounds\020\021\022\017\n\013svc_SetView\020\022\022\020\n\014svc_Fi" + "xAngle\020\023\022\026\n\022svc_CrosshairAngle\020\024\022\020\n\014svc_" + "BSPDecal\020\025\022\023\n\017svc_SplitScreen\020\026\022\023\n\017svc_U" + "serMessage\020\027\022\025\n\021svc_EntityMessage\020\030\022\021\n\rs" + "vc_GameEvent\020\031\022\026\n\022svc_PacketEntities\020\032\022\024" + "\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" + "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); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "netmessages.proto", &protobuf_RegisterTypes); + CMsgVector::default_instance_ = new CMsgVector(); + CMsgVector2D::default_instance_ = new CMsgVector2D(); + CMsgQAngle::default_instance_ = new CMsgQAngle(); + CMsg_CVars::default_instance_ = new CMsg_CVars(); + CMsg_CVars_CVar::default_instance_ = new CMsg_CVars_CVar(); + CNETMsg_NOP::default_instance_ = new CNETMsg_NOP(); + CNETMsg_Disconnect::default_instance_ = new CNETMsg_Disconnect(); + CNETMsg_File::default_instance_ = new CNETMsg_File(); + CNETMsg_SplitScreenUser::default_instance_ = new CNETMsg_SplitScreenUser(); + CNETMsg_Tick::default_instance_ = new CNETMsg_Tick(); + CNETMsg_StringCmd::default_instance_ = new CNETMsg_StringCmd(); + CNETMsg_SetConVar::default_instance_ = new CNETMsg_SetConVar(); + CNETMsg_SignonState::default_instance_ = new CNETMsg_SignonState(); + CCLCMsg_ClientInfo::default_instance_ = new CCLCMsg_ClientInfo(); + CCLCMsg_Move::default_instance_ = new CCLCMsg_Move(); + CCLCMsg_VoiceData::default_instance_ = new CCLCMsg_VoiceData(); + CCLCMsg_BaselineAck::default_instance_ = new CCLCMsg_BaselineAck(); + CCLCMsg_ListenEvents::default_instance_ = new CCLCMsg_ListenEvents(); + CCLCMsg_RespondCvarValue::default_instance_ = new CCLCMsg_RespondCvarValue(); + CCLCMsg_FileCRCCheck::default_instance_ = new CCLCMsg_FileCRCCheck(); + CCLCMsg_LoadingProgress::default_instance_ = new CCLCMsg_LoadingProgress(); + CCLCMsg_SplitPlayerConnect::default_instance_ = new CCLCMsg_SplitPlayerConnect(); + CCLCMsg_ClientMessage::default_instance_ = new CCLCMsg_ClientMessage(); + CSVCMsg_ServerInfo::default_instance_ = new CSVCMsg_ServerInfo(); + CSVCMsg_ClassInfo::default_instance_ = new CSVCMsg_ClassInfo(); + CSVCMsg_ClassInfo_class_t::default_instance_ = new CSVCMsg_ClassInfo_class_t(); + CSVCMsg_SetPause::default_instance_ = new CSVCMsg_SetPause(); + CSVCMsg_VoiceInit::default_instance_ = new CSVCMsg_VoiceInit(); + CSVCMsg_Print::default_instance_ = new CSVCMsg_Print(); + CSVCMsg_Sounds::default_instance_ = new CSVCMsg_Sounds(); + CSVCMsg_Sounds_sounddata_t::default_instance_ = new CSVCMsg_Sounds_sounddata_t(); + CSVCMsg_Prefetch::default_instance_ = new CSVCMsg_Prefetch(); + CSVCMsg_SetView::default_instance_ = new CSVCMsg_SetView(); + CSVCMsg_FixAngle::default_instance_ = new CSVCMsg_FixAngle(); + CSVCMsg_CrosshairAngle::default_instance_ = new CSVCMsg_CrosshairAngle(); + CSVCMsg_BSPDecal::default_instance_ = new CSVCMsg_BSPDecal(); + CSVCMsg_SplitScreen::default_instance_ = new CSVCMsg_SplitScreen(); + CSVCMsg_GetCvarValue::default_instance_ = new CSVCMsg_GetCvarValue(); + CSVCMsg_Menu::default_instance_ = new CSVCMsg_Menu(); + CSVCMsg_SendTable::default_instance_ = new CSVCMsg_SendTable(); + CSVCMsg_SendTable_sendprop_t::default_instance_ = new CSVCMsg_SendTable_sendprop_t(); + CSVCMsg_GameEvent::default_instance_ = new CSVCMsg_GameEvent(); + CSVCMsg_GameEvent_key_t::default_instance_ = new CSVCMsg_GameEvent_key_t(); + CSVCMsg_GameEventList::default_instance_ = new CSVCMsg_GameEventList(); + CSVCMsg_GameEventList_key_t::default_instance_ = new CSVCMsg_GameEventList_key_t(); + CSVCMsg_GameEventList_descriptor_t::default_instance_ = new CSVCMsg_GameEventList_descriptor_t(); + CSVCMsg_PacketEntities::default_instance_ = new CSVCMsg_PacketEntities(); + CSVCMsg_TempEntities::default_instance_ = new CSVCMsg_TempEntities(); + CSVCMsg_CreateStringTable::default_instance_ = new CSVCMsg_CreateStringTable(); + CSVCMsg_UpdateStringTable::default_instance_ = new CSVCMsg_UpdateStringTable(); + CSVCMsg_UserMessage::default_instance_ = new CSVCMsg_UserMessage(); + CSVCMsg_VoiceData::default_instance_ = new CSVCMsg_VoiceData(); + CSVCMsgList_GameEvents::default_instance_ = new CSVCMsgList_GameEvents(); + CSVCMsgList_GameEvents_event_t::default_instance_ = new CSVCMsgList_GameEvents_event_t(); + CSVCMsgList_UserMessages::default_instance_ = new CSVCMsgList_UserMessages(); + CSVCMsgList_UserMessages_usermsg_t::default_instance_ = new CSVCMsgList_UserMessages_usermsg_t(); + CSVCMsg_PacketReliable::default_instance_ = new CSVCMsg_PacketReliable(); + CMsgVector::default_instance_->InitAsDefaultInstance(); + CMsgVector2D::default_instance_->InitAsDefaultInstance(); + CMsgQAngle::default_instance_->InitAsDefaultInstance(); + CMsg_CVars::default_instance_->InitAsDefaultInstance(); + CMsg_CVars_CVar::default_instance_->InitAsDefaultInstance(); + CNETMsg_NOP::default_instance_->InitAsDefaultInstance(); + CNETMsg_Disconnect::default_instance_->InitAsDefaultInstance(); + CNETMsg_File::default_instance_->InitAsDefaultInstance(); + CNETMsg_SplitScreenUser::default_instance_->InitAsDefaultInstance(); + CNETMsg_Tick::default_instance_->InitAsDefaultInstance(); + CNETMsg_StringCmd::default_instance_->InitAsDefaultInstance(); + CNETMsg_SetConVar::default_instance_->InitAsDefaultInstance(); + CNETMsg_SignonState::default_instance_->InitAsDefaultInstance(); + CCLCMsg_ClientInfo::default_instance_->InitAsDefaultInstance(); + CCLCMsg_Move::default_instance_->InitAsDefaultInstance(); + CCLCMsg_VoiceData::default_instance_->InitAsDefaultInstance(); + CCLCMsg_BaselineAck::default_instance_->InitAsDefaultInstance(); + CCLCMsg_ListenEvents::default_instance_->InitAsDefaultInstance(); + CCLCMsg_RespondCvarValue::default_instance_->InitAsDefaultInstance(); + CCLCMsg_FileCRCCheck::default_instance_->InitAsDefaultInstance(); + CCLCMsg_LoadingProgress::default_instance_->InitAsDefaultInstance(); + CCLCMsg_SplitPlayerConnect::default_instance_->InitAsDefaultInstance(); + CCLCMsg_ClientMessage::default_instance_->InitAsDefaultInstance(); + CSVCMsg_ServerInfo::default_instance_->InitAsDefaultInstance(); + CSVCMsg_ClassInfo::default_instance_->InitAsDefaultInstance(); + CSVCMsg_ClassInfo_class_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_SetPause::default_instance_->InitAsDefaultInstance(); + CSVCMsg_VoiceInit::default_instance_->InitAsDefaultInstance(); + CSVCMsg_Print::default_instance_->InitAsDefaultInstance(); + CSVCMsg_Sounds::default_instance_->InitAsDefaultInstance(); + CSVCMsg_Sounds_sounddata_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_Prefetch::default_instance_->InitAsDefaultInstance(); + CSVCMsg_SetView::default_instance_->InitAsDefaultInstance(); + CSVCMsg_FixAngle::default_instance_->InitAsDefaultInstance(); + CSVCMsg_CrosshairAngle::default_instance_->InitAsDefaultInstance(); + CSVCMsg_BSPDecal::default_instance_->InitAsDefaultInstance(); + CSVCMsg_SplitScreen::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GetCvarValue::default_instance_->InitAsDefaultInstance(); + CSVCMsg_Menu::default_instance_->InitAsDefaultInstance(); + CSVCMsg_SendTable::default_instance_->InitAsDefaultInstance(); + CSVCMsg_SendTable_sendprop_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GameEvent::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GameEvent_key_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GameEventList::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GameEventList_key_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GameEventList_descriptor_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_PacketEntities::default_instance_->InitAsDefaultInstance(); + CSVCMsg_TempEntities::default_instance_->InitAsDefaultInstance(); + CSVCMsg_CreateStringTable::default_instance_->InitAsDefaultInstance(); + CSVCMsg_UpdateStringTable::default_instance_->InitAsDefaultInstance(); + CSVCMsg_UserMessage::default_instance_->InitAsDefaultInstance(); + CSVCMsg_VoiceData::default_instance_->InitAsDefaultInstance(); + CSVCMsgList_GameEvents::default_instance_->InitAsDefaultInstance(); + CSVCMsgList_GameEvents_event_t::default_instance_->InitAsDefaultInstance(); + CSVCMsgList_UserMessages::default_instance_->InitAsDefaultInstance(); + CSVCMsgList_UserMessages_usermsg_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_PacketReliable::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_netmessages_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_netmessages_2eproto { + StaticDescriptorInitializer_netmessages_2eproto() { + protobuf_AddDesc_netmessages_2eproto(); + } +} static_descriptor_initializer_netmessages_2eproto_; + +const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor() { + protobuf_AssignDescriptorsOnce(); + return NET_Messages_descriptor_; +} +bool NET_Messages_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* SIGNONSTATE_descriptor() { + protobuf_AssignDescriptorsOnce(); + return SIGNONSTATE_descriptor_; +} +bool SIGNONSTATE_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor() { + protobuf_AssignDescriptorsOnce(); + return CLC_Messages_descriptor_; +} +bool CLC_Messages_IsValid(int value) { + switch(value) { + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* VoiceDataFormat_t_descriptor() { + protobuf_AssignDescriptorsOnce(); + return VoiceDataFormat_t_descriptor_; +} +bool VoiceDataFormat_t_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor() { + protobuf_AssignDescriptorsOnce(); + return SVC_Messages_descriptor_; +} +bool SVC_Messages_IsValid(int value) { + switch(value) { + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* ESplitScreenMessageType_descriptor() { + protobuf_AssignDescriptorsOnce(); + return ESplitScreenMessageType_descriptor_; +} +bool ESplitScreenMessageType_IsValid(int value) { + switch(value) { + case 0: + case 1: + return true; + default: + return false; + } +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CMsgVector::kXFieldNumber; +const int CMsgVector::kYFieldNumber; +const int CMsgVector::kZFieldNumber; +#endif // !_MSC_VER + +CMsgVector::CMsgVector() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CMsgVector::InitAsDefaultInstance() { +} + +CMsgVector::CMsgVector(const CMsgVector& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CMsgVector::SharedCtor() { + _cached_size_ = 0; + x_ = 0; + y_ = 0; + z_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsgVector::~CMsgVector() { + SharedDtor(); +} + +void CMsgVector::SharedDtor() { + if (this != default_instance_) { + } +} + +void CMsgVector::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsgVector::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsgVector_descriptor_; +} + +const CMsgVector& CMsgVector::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CMsgVector* CMsgVector::default_instance_ = NULL; + +CMsgVector* CMsgVector::New() const { + return new CMsgVector; +} + +void CMsgVector::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + x_ = 0; + y_ = 0; + z_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsgVector::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 float x = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_y; + break; + } + + // optional float y = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &y_))); + set_has_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_z; + break; + } + + // optional float z = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_z: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &z_))); + set_has_z(); + } 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 CMsgVector::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional float x = 1; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->x(), output); + } + + // optional float y = 2; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->y(), output); + } + + // optional float z = 3; + if (has_z()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->z(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CMsgVector::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional float x = 1; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->x(), target); + } + + // optional float y = 2; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->y(), target); + } + + // optional float z = 3; + if (has_z()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->z(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CMsgVector::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional float x = 1; + if (has_x()) { + total_size += 1 + 4; + } + + // optional float y = 2; + if (has_y()) { + total_size += 1 + 4; + } + + // optional float z = 3; + if (has_z()) { + total_size += 1 + 4; + } + + } + 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 CMsgVector::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsgVector* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsgVector::MergeFrom(const CMsgVector& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + if (from.has_z()) { + set_z(from.z()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsgVector::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsgVector::CopyFrom(const CMsgVector& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgVector::IsInitialized() const { + + return true; +} + +void CMsgVector::Swap(CMsgVector* other) { + if (other != this) { + std::swap(x_, other->x_); + std::swap(y_, other->y_); + std::swap(z_, other->z_); + 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 CMsgVector::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsgVector_descriptor_; + metadata.reflection = CMsgVector_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CMsgVector2D::kXFieldNumber; +const int CMsgVector2D::kYFieldNumber; +#endif // !_MSC_VER + +CMsgVector2D::CMsgVector2D() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CMsgVector2D::InitAsDefaultInstance() { +} + +CMsgVector2D::CMsgVector2D(const CMsgVector2D& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CMsgVector2D::SharedCtor() { + _cached_size_ = 0; + x_ = 0; + y_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsgVector2D::~CMsgVector2D() { + SharedDtor(); +} + +void CMsgVector2D::SharedDtor() { + if (this != default_instance_) { + } +} + +void CMsgVector2D::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsgVector2D::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsgVector2D_descriptor_; +} + +const CMsgVector2D& CMsgVector2D::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CMsgVector2D* CMsgVector2D::default_instance_ = NULL; + +CMsgVector2D* CMsgVector2D::New() const { + return new CMsgVector2D; +} + +void CMsgVector2D::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + x_ = 0; + y_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsgVector2D::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 float x = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_y; + break; + } + + // optional float y = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &y_))); + set_has_y(); + } 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 CMsgVector2D::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional float x = 1; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->x(), output); + } + + // optional float y = 2; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->y(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CMsgVector2D::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional float x = 1; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->x(), target); + } + + // optional float y = 2; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->y(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CMsgVector2D::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional float x = 1; + if (has_x()) { + total_size += 1 + 4; + } + + // optional float y = 2; + if (has_y()) { + total_size += 1 + 4; + } + + } + 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 CMsgVector2D::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsgVector2D* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsgVector2D::MergeFrom(const CMsgVector2D& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsgVector2D::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsgVector2D::CopyFrom(const CMsgVector2D& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgVector2D::IsInitialized() const { + + return true; +} + +void CMsgVector2D::Swap(CMsgVector2D* other) { + if (other != this) { + std::swap(x_, other->x_); + std::swap(y_, other->y_); + 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 CMsgVector2D::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsgVector2D_descriptor_; + metadata.reflection = CMsgVector2D_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CMsgQAngle::kXFieldNumber; +const int CMsgQAngle::kYFieldNumber; +const int CMsgQAngle::kZFieldNumber; +#endif // !_MSC_VER + +CMsgQAngle::CMsgQAngle() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CMsgQAngle::InitAsDefaultInstance() { +} + +CMsgQAngle::CMsgQAngle(const CMsgQAngle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CMsgQAngle::SharedCtor() { + _cached_size_ = 0; + x_ = 0; + y_ = 0; + z_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsgQAngle::~CMsgQAngle() { + SharedDtor(); +} + +void CMsgQAngle::SharedDtor() { + if (this != default_instance_) { + } +} + +void CMsgQAngle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsgQAngle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsgQAngle_descriptor_; +} + +const CMsgQAngle& CMsgQAngle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CMsgQAngle* CMsgQAngle::default_instance_ = NULL; + +CMsgQAngle* CMsgQAngle::New() const { + return new CMsgQAngle; +} + +void CMsgQAngle::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + x_ = 0; + y_ = 0; + z_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsgQAngle::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 float x = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_y; + break; + } + + // optional float y = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &y_))); + set_has_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_z; + break; + } + + // optional float z = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_z: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &z_))); + set_has_z(); + } 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 CMsgQAngle::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional float x = 1; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->x(), output); + } + + // optional float y = 2; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->y(), output); + } + + // optional float z = 3; + if (has_z()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->z(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CMsgQAngle::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional float x = 1; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->x(), target); + } + + // optional float y = 2; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->y(), target); + } + + // optional float z = 3; + if (has_z()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->z(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CMsgQAngle::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional float x = 1; + if (has_x()) { + total_size += 1 + 4; + } + + // optional float y = 2; + if (has_y()) { + total_size += 1 + 4; + } + + // optional float z = 3; + if (has_z()) { + total_size += 1 + 4; + } + + } + 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 CMsgQAngle::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsgQAngle* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsgQAngle::MergeFrom(const CMsgQAngle& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + if (from.has_z()) { + set_z(from.z()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsgQAngle::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsgQAngle::CopyFrom(const CMsgQAngle& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgQAngle::IsInitialized() const { + + return true; +} + +void CMsgQAngle::Swap(CMsgQAngle* other) { + if (other != this) { + std::swap(x_, other->x_); + std::swap(y_, other->y_); + std::swap(z_, other->z_); + 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 CMsgQAngle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsgQAngle_descriptor_; + metadata.reflection = CMsgQAngle_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CMsg_CVars_CVar::kNameFieldNumber; +const int CMsg_CVars_CVar::kValueFieldNumber; +#endif // !_MSC_VER + +CMsg_CVars_CVar::CMsg_CVars_CVar() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CMsg_CVars_CVar::InitAsDefaultInstance() { +} + +CMsg_CVars_CVar::CMsg_CVars_CVar(const CMsg_CVars_CVar& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CMsg_CVars_CVar::SharedCtor() { + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsg_CVars_CVar::~CMsg_CVars_CVar() { + SharedDtor(); +} + +void CMsg_CVars_CVar::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (value_ != &::google::protobuf::internal::kEmptyString) { + delete value_; + } + if (this != default_instance_) { + } +} + +void CMsg_CVars_CVar::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsg_CVars_CVar::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsg_CVars_CVar_descriptor_; +} + +const CMsg_CVars_CVar& CMsg_CVars_CVar::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CMsg_CVars_CVar* CMsg_CVars_CVar::default_instance_ = NULL; + +CMsg_CVars_CVar* CMsg_CVars_CVar::New() const { + return new CMsg_CVars_CVar; +} + +void CMsg_CVars_CVar::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + if (has_value()) { + if (value_ != &::google::protobuf::internal::kEmptyString) { + value_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsg_CVars_CVar::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 string name = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_value; + break; + } + + // optional string value = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_value: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_value())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CMsg_CVars_CVar::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->name(), output); + } + + // optional string value = 2; + if (has_value()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->value(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CMsg_CVars_CVar::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->name(), target); + } + + // optional string value = 2; + if (has_value()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->value(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CMsg_CVars_CVar::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string name = 1; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + // optional string value = 2; + if (has_value()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); + } + + } + 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 CMsg_CVars_CVar::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsg_CVars_CVar* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsg_CVars_CVar::MergeFrom(const CMsg_CVars_CVar& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_name()) { + set_name(from.name()); + } + if (from.has_value()) { + set_value(from.value()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsg_CVars_CVar::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsg_CVars_CVar::CopyFrom(const CMsg_CVars_CVar& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsg_CVars_CVar::IsInitialized() const { + + return true; +} + +void CMsg_CVars_CVar::Swap(CMsg_CVars_CVar* other) { + if (other != this) { + std::swap(name_, other->name_); + std::swap(value_, other->value_); + 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 CMsg_CVars_CVar::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsg_CVars_CVar_descriptor_; + metadata.reflection = CMsg_CVars_CVar_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CMsg_CVars::kCvarsFieldNumber; +#endif // !_MSC_VER + +CMsg_CVars::CMsg_CVars() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CMsg_CVars::InitAsDefaultInstance() { +} + +CMsg_CVars::CMsg_CVars(const CMsg_CVars& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CMsg_CVars::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsg_CVars::~CMsg_CVars() { + SharedDtor(); +} + +void CMsg_CVars::SharedDtor() { + if (this != default_instance_) { + } +} + +void CMsg_CVars::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsg_CVars::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsg_CVars_descriptor_; +} + +const CMsg_CVars& CMsg_CVars::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CMsg_CVars* CMsg_CVars::default_instance_ = NULL; + +CMsg_CVars* CMsg_CVars::New() const { + return new CMsg_CVars; +} + +void CMsg_CVars::Clear() { + cvars_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsg_CVars::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)) { + // repeated .CMsg_CVars.CVar cvars = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_cvars: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_cvars())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(10)) goto parse_cvars; + 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 CMsg_CVars::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated .CMsg_CVars.CVar cvars = 1; + for (int i = 0; i < this->cvars_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->cvars(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CMsg_CVars::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated .CMsg_CVars.CVar cvars = 1; + for (int i = 0; i < this->cvars_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->cvars(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CMsg_CVars::ByteSize() const { + int total_size = 0; + + // repeated .CMsg_CVars.CVar cvars = 1; + total_size += 1 * this->cvars_size(); + for (int i = 0; i < this->cvars_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->cvars(i)); + } + + 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 CMsg_CVars::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsg_CVars* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsg_CVars::MergeFrom(const CMsg_CVars& from) { + GOOGLE_CHECK_NE(&from, this); + cvars_.MergeFrom(from.cvars_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsg_CVars::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsg_CVars::CopyFrom(const CMsg_CVars& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsg_CVars::IsInitialized() const { + + return true; +} + +void CMsg_CVars::Swap(CMsg_CVars* other) { + if (other != this) { + cvars_.Swap(&other->cvars_); + 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 CMsg_CVars::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsg_CVars_descriptor_; + metadata.reflection = CMsg_CVars_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CNETMsg_NOP::CNETMsg_NOP() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CNETMsg_NOP::InitAsDefaultInstance() { +} + +CNETMsg_NOP::CNETMsg_NOP(const CNETMsg_NOP& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CNETMsg_NOP::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_NOP::~CNETMsg_NOP() { + SharedDtor(); +} + +void CNETMsg_NOP::SharedDtor() { + if (this != default_instance_) { + } +} + +void CNETMsg_NOP::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_NOP::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_NOP_descriptor_; +} + +const CNETMsg_NOP& CNETMsg_NOP::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CNETMsg_NOP* CNETMsg_NOP::default_instance_ = NULL; + +CNETMsg_NOP* CNETMsg_NOP::New() const { + return new CNETMsg_NOP; +} + +void CNETMsg_NOP::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_NOP::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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())); + } + return true; +#undef DO_ +} + +void CNETMsg_NOP::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CNETMsg_NOP::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CNETMsg_NOP::ByteSize() const { + int total_size = 0; + + 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 CNETMsg_NOP::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_NOP* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_NOP::MergeFrom(const CNETMsg_NOP& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_NOP::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_NOP::CopyFrom(const CNETMsg_NOP& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_NOP::IsInitialized() const { + + return true; +} + +void CNETMsg_NOP::Swap(CNETMsg_NOP* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CNETMsg_NOP::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_NOP_descriptor_; + metadata.reflection = CNETMsg_NOP_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_Disconnect::kTextFieldNumber; +#endif // !_MSC_VER + +CNETMsg_Disconnect::CNETMsg_Disconnect() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CNETMsg_Disconnect::InitAsDefaultInstance() { +} + +CNETMsg_Disconnect::CNETMsg_Disconnect(const CNETMsg_Disconnect& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CNETMsg_Disconnect::SharedCtor() { + _cached_size_ = 0; + text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_Disconnect::~CNETMsg_Disconnect() { + SharedDtor(); +} + +void CNETMsg_Disconnect::SharedDtor() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + delete text_; + } + if (this != default_instance_) { + } +} + +void CNETMsg_Disconnect::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_Disconnect::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_Disconnect_descriptor_; +} + +const CNETMsg_Disconnect& CNETMsg_Disconnect::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CNETMsg_Disconnect* CNETMsg_Disconnect::default_instance_ = NULL; + +CNETMsg_Disconnect* CNETMsg_Disconnect::New() const { + return new CNETMsg_Disconnect; +} + +void CNETMsg_Disconnect::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_text()) { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_Disconnect::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 string text = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_text())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CNETMsg_Disconnect::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string text = 1; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->text(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CNETMsg_Disconnect::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string text = 1; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->text(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CNETMsg_Disconnect::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string text = 1; + if (has_text()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->text()); + } + + } + 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 CNETMsg_Disconnect::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_Disconnect* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_Disconnect::MergeFrom(const CNETMsg_Disconnect& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_text()) { + set_text(from.text()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_Disconnect::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_Disconnect::CopyFrom(const CNETMsg_Disconnect& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_Disconnect::IsInitialized() const { + + return true; +} + +void CNETMsg_Disconnect::Swap(CNETMsg_Disconnect* other) { + if (other != this) { + std::swap(text_, other->text_); + 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 CNETMsg_Disconnect::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_Disconnect_descriptor_; + metadata.reflection = CNETMsg_Disconnect_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_File::kTransferIdFieldNumber; +const int CNETMsg_File::kFileNameFieldNumber; +const int CNETMsg_File::kIsReplayDemoFileFieldNumber; +const int CNETMsg_File::kDenyFieldNumber; +#endif // !_MSC_VER + +CNETMsg_File::CNETMsg_File() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CNETMsg_File::InitAsDefaultInstance() { +} + +CNETMsg_File::CNETMsg_File(const CNETMsg_File& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CNETMsg_File::SharedCtor() { + _cached_size_ = 0; + transfer_id_ = 0; + file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + is_replay_demo_file_ = false; + deny_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_File::~CNETMsg_File() { + SharedDtor(); +} + +void CNETMsg_File::SharedDtor() { + if (file_name_ != &::google::protobuf::internal::kEmptyString) { + delete file_name_; + } + if (this != default_instance_) { + } +} + +void CNETMsg_File::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_File::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_File_descriptor_; +} + +const CNETMsg_File& CNETMsg_File::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CNETMsg_File* CNETMsg_File::default_instance_ = NULL; + +CNETMsg_File* CNETMsg_File::New() const { + return new CNETMsg_File; +} + +void CNETMsg_File::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + transfer_id_ = 0; + if (has_file_name()) { + if (file_name_ != &::google::protobuf::internal::kEmptyString) { + file_name_->clear(); + } + } + is_replay_demo_file_ = false; + deny_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_File::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 int32 transfer_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &transfer_id_))); + set_has_transfer_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_file_name; + break; + } + + // optional string file_name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_file_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_file_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->file_name().data(), this->file_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_is_replay_demo_file; + break; + } + + // optional bool is_replay_demo_file = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_replay_demo_file: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_replay_demo_file_))); + set_has_is_replay_demo_file(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_deny; + break; + } + + // optional bool deny = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_deny: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &deny_))); + set_has_deny(); + } 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 CNETMsg_File::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 transfer_id = 1; + if (has_transfer_id()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->transfer_id(), output); + } + + // optional string file_name = 2; + if (has_file_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->file_name().data(), this->file_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->file_name(), output); + } + + // optional bool is_replay_demo_file = 3; + if (has_is_replay_demo_file()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_replay_demo_file(), output); + } + + // optional bool deny = 4; + if (has_deny()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->deny(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CNETMsg_File::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 transfer_id = 1; + if (has_transfer_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->transfer_id(), target); + } + + // optional string file_name = 2; + if (has_file_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->file_name().data(), this->file_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->file_name(), target); + } + + // optional bool is_replay_demo_file = 3; + if (has_is_replay_demo_file()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_replay_demo_file(), target); + } + + // optional bool deny = 4; + if (has_deny()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->deny(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CNETMsg_File::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 transfer_id = 1; + if (has_transfer_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->transfer_id()); + } + + // optional string file_name = 2; + if (has_file_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->file_name()); + } + + // optional bool is_replay_demo_file = 3; + if (has_is_replay_demo_file()) { + total_size += 1 + 1; + } + + // optional bool deny = 4; + if (has_deny()) { + total_size += 1 + 1; + } + + } + 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 CNETMsg_File::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_File* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_File::MergeFrom(const CNETMsg_File& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_transfer_id()) { + set_transfer_id(from.transfer_id()); + } + if (from.has_file_name()) { + set_file_name(from.file_name()); + } + if (from.has_is_replay_demo_file()) { + set_is_replay_demo_file(from.is_replay_demo_file()); + } + if (from.has_deny()) { + set_deny(from.deny()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_File::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_File::CopyFrom(const CNETMsg_File& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_File::IsInitialized() const { + + return true; +} + +void CNETMsg_File::Swap(CNETMsg_File* other) { + if (other != this) { + std::swap(transfer_id_, other->transfer_id_); + std::swap(file_name_, other->file_name_); + std::swap(is_replay_demo_file_, other->is_replay_demo_file_); + std::swap(deny_, other->deny_); + 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 CNETMsg_File::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_File_descriptor_; + metadata.reflection = CNETMsg_File_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_SplitScreenUser::kSlotFieldNumber; +#endif // !_MSC_VER + +CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CNETMsg_SplitScreenUser::InitAsDefaultInstance() { +} + +CNETMsg_SplitScreenUser::CNETMsg_SplitScreenUser(const CNETMsg_SplitScreenUser& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CNETMsg_SplitScreenUser::SharedCtor() { + _cached_size_ = 0; + slot_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_SplitScreenUser::~CNETMsg_SplitScreenUser() { + SharedDtor(); +} + +void CNETMsg_SplitScreenUser::SharedDtor() { + if (this != default_instance_) { + } +} + +void CNETMsg_SplitScreenUser::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_SplitScreenUser::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_SplitScreenUser_descriptor_; +} + +const CNETMsg_SplitScreenUser& CNETMsg_SplitScreenUser::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CNETMsg_SplitScreenUser* CNETMsg_SplitScreenUser::default_instance_ = NULL; + +CNETMsg_SplitScreenUser* CNETMsg_SplitScreenUser::New() const { + return new CNETMsg_SplitScreenUser; +} + +void CNETMsg_SplitScreenUser::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + slot_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_SplitScreenUser::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 int32 slot = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &slot_))); + set_has_slot(); + } 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 CNETMsg_SplitScreenUser::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 slot = 1; + if (has_slot()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->slot(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CNETMsg_SplitScreenUser::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 slot = 1; + if (has_slot()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->slot(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CNETMsg_SplitScreenUser::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 slot = 1; + if (has_slot()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->slot()); + } + + } + 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 CNETMsg_SplitScreenUser::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_SplitScreenUser* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_SplitScreenUser::MergeFrom(const CNETMsg_SplitScreenUser& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_slot()) { + set_slot(from.slot()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_SplitScreenUser::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_SplitScreenUser::CopyFrom(const CNETMsg_SplitScreenUser& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SplitScreenUser::IsInitialized() const { + + return true; +} + +void CNETMsg_SplitScreenUser::Swap(CNETMsg_SplitScreenUser* other) { + if (other != this) { + std::swap(slot_, other->slot_); + 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 CNETMsg_SplitScreenUser::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_SplitScreenUser_descriptor_; + metadata.reflection = CNETMsg_SplitScreenUser_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_Tick::kTickFieldNumber; +const int CNETMsg_Tick::kHostFrametimeFieldNumber; +const int CNETMsg_Tick::kHostFrametimeStdDeviationFieldNumber; +#endif // !_MSC_VER + +CNETMsg_Tick::CNETMsg_Tick() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CNETMsg_Tick::InitAsDefaultInstance() { +} + +CNETMsg_Tick::CNETMsg_Tick(const CNETMsg_Tick& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CNETMsg_Tick::SharedCtor() { + _cached_size_ = 0; + tick_ = 0u; + host_frametime_ = 0u; + host_frametime_std_deviation_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_Tick::~CNETMsg_Tick() { + SharedDtor(); +} + +void CNETMsg_Tick::SharedDtor() { + if (this != default_instance_) { + } +} + +void CNETMsg_Tick::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_Tick::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_Tick_descriptor_; +} + +const CNETMsg_Tick& CNETMsg_Tick::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CNETMsg_Tick* CNETMsg_Tick::default_instance_ = NULL; + +CNETMsg_Tick* CNETMsg_Tick::New() const { + return new CNETMsg_Tick; +} + +void CNETMsg_Tick::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + tick_ = 0u; + host_frametime_ = 0u; + host_frametime_std_deviation_ = 0u; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_Tick::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 uint32 tick = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &tick_))); + set_has_tick(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_host_frametime; + break; + } + + // optional uint32 host_frametime = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_host_frametime: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &host_frametime_))); + set_has_host_frametime(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_host_frametime_std_deviation; + break; + } + + // optional uint32 host_frametime_std_deviation = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_host_frametime_std_deviation: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &host_frametime_std_deviation_))); + set_has_host_frametime_std_deviation(); + } 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 CNETMsg_Tick::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 tick = 1; + if (has_tick()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->tick(), output); + } + + // optional uint32 host_frametime = 2; + if (has_host_frametime()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->host_frametime(), output); + } + + // optional uint32 host_frametime_std_deviation = 3; + if (has_host_frametime_std_deviation()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->host_frametime_std_deviation(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CNETMsg_Tick::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 tick = 1; + if (has_tick()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->tick(), target); + } + + // optional uint32 host_frametime = 2; + if (has_host_frametime()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->host_frametime(), target); + } + + // optional uint32 host_frametime_std_deviation = 3; + if (has_host_frametime_std_deviation()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->host_frametime_std_deviation(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CNETMsg_Tick::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 tick = 1; + if (has_tick()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->tick()); + } + + // optional uint32 host_frametime = 2; + if (has_host_frametime()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->host_frametime()); + } + + // optional uint32 host_frametime_std_deviation = 3; + if (has_host_frametime_std_deviation()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->host_frametime_std_deviation()); + } + + } + 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 CNETMsg_Tick::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_Tick* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_Tick::MergeFrom(const CNETMsg_Tick& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_tick()) { + set_tick(from.tick()); + } + if (from.has_host_frametime()) { + set_host_frametime(from.host_frametime()); + } + if (from.has_host_frametime_std_deviation()) { + set_host_frametime_std_deviation(from.host_frametime_std_deviation()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_Tick::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_Tick::CopyFrom(const CNETMsg_Tick& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_Tick::IsInitialized() const { + + return true; +} + +void CNETMsg_Tick::Swap(CNETMsg_Tick* other) { + if (other != this) { + std::swap(tick_, other->tick_); + std::swap(host_frametime_, other->host_frametime_); + std::swap(host_frametime_std_deviation_, other->host_frametime_std_deviation_); + 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 CNETMsg_Tick::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_Tick_descriptor_; + metadata.reflection = CNETMsg_Tick_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_StringCmd::kCommandFieldNumber; +#endif // !_MSC_VER + +CNETMsg_StringCmd::CNETMsg_StringCmd() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CNETMsg_StringCmd::InitAsDefaultInstance() { +} + +CNETMsg_StringCmd::CNETMsg_StringCmd(const CNETMsg_StringCmd& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CNETMsg_StringCmd::SharedCtor() { + _cached_size_ = 0; + command_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_StringCmd::~CNETMsg_StringCmd() { + SharedDtor(); +} + +void CNETMsg_StringCmd::SharedDtor() { + if (command_ != &::google::protobuf::internal::kEmptyString) { + delete command_; + } + if (this != default_instance_) { + } +} + +void CNETMsg_StringCmd::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_StringCmd::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_StringCmd_descriptor_; +} + +const CNETMsg_StringCmd& CNETMsg_StringCmd::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CNETMsg_StringCmd* CNETMsg_StringCmd::default_instance_ = NULL; + +CNETMsg_StringCmd* CNETMsg_StringCmd::New() const { + return new CNETMsg_StringCmd; +} + +void CNETMsg_StringCmd::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_command()) { + if (command_ != &::google::protobuf::internal::kEmptyString) { + command_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_StringCmd::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 string command = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_command())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->command().data(), this->command().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CNETMsg_StringCmd::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string command = 1; + if (has_command()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->command().data(), this->command().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->command(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CNETMsg_StringCmd::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string command = 1; + if (has_command()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->command().data(), this->command().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->command(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CNETMsg_StringCmd::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string command = 1; + if (has_command()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->command()); + } + + } + 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 CNETMsg_StringCmd::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_StringCmd* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_StringCmd::MergeFrom(const CNETMsg_StringCmd& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_command()) { + set_command(from.command()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_StringCmd::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_StringCmd::CopyFrom(const CNETMsg_StringCmd& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_StringCmd::IsInitialized() const { + + return true; +} + +void CNETMsg_StringCmd::Swap(CNETMsg_StringCmd* other) { + if (other != this) { + std::swap(command_, other->command_); + 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 CNETMsg_StringCmd::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_StringCmd_descriptor_; + metadata.reflection = CNETMsg_StringCmd_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_SetConVar::kConvarsFieldNumber; +#endif // !_MSC_VER + +CNETMsg_SetConVar::CNETMsg_SetConVar() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CNETMsg_SetConVar::InitAsDefaultInstance() { + convars_ = const_cast< ::CMsg_CVars*>(&::CMsg_CVars::default_instance()); +} + +CNETMsg_SetConVar::CNETMsg_SetConVar(const CNETMsg_SetConVar& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CNETMsg_SetConVar::SharedCtor() { + _cached_size_ = 0; + convars_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_SetConVar::~CNETMsg_SetConVar() { + SharedDtor(); +} + +void CNETMsg_SetConVar::SharedDtor() { + if (this != default_instance_) { + delete convars_; + } +} + +void CNETMsg_SetConVar::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_SetConVar::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_SetConVar_descriptor_; +} + +const CNETMsg_SetConVar& CNETMsg_SetConVar::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CNETMsg_SetConVar* CNETMsg_SetConVar::default_instance_ = NULL; + +CNETMsg_SetConVar* CNETMsg_SetConVar::New() const { + return new CNETMsg_SetConVar; +} + +void CNETMsg_SetConVar::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_convars()) { + if (convars_ != NULL) convars_->::CMsg_CVars::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_SetConVar::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 .CMsg_CVars convars = 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_convars())); + } 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 CNETMsg_SetConVar::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .CMsg_CVars convars = 1; + if (has_convars()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->convars(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CNETMsg_SetConVar::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .CMsg_CVars convars = 1; + if (has_convars()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->convars(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CNETMsg_SetConVar::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .CMsg_CVars convars = 1; + if (has_convars()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->convars()); + } + + } + 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 CNETMsg_SetConVar::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_SetConVar* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_SetConVar::MergeFrom(const CNETMsg_SetConVar& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_convars()) { + mutable_convars()->::CMsg_CVars::MergeFrom(from.convars()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_SetConVar::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_SetConVar::CopyFrom(const CNETMsg_SetConVar& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SetConVar::IsInitialized() const { + + return true; +} + +void CNETMsg_SetConVar::Swap(CNETMsg_SetConVar* other) { + if (other != this) { + std::swap(convars_, other->convars_); + 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 CNETMsg_SetConVar::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_SetConVar_descriptor_; + metadata.reflection = CNETMsg_SetConVar_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_SignonState::kSignonStateFieldNumber; +const int CNETMsg_SignonState::kSpawnCountFieldNumber; +const int CNETMsg_SignonState::kNumServerPlayersFieldNumber; +const int CNETMsg_SignonState::kPlayersNetworkidsFieldNumber; +const int CNETMsg_SignonState::kMapNameFieldNumber; +#endif // !_MSC_VER + +CNETMsg_SignonState::CNETMsg_SignonState() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CNETMsg_SignonState::InitAsDefaultInstance() { +} + +CNETMsg_SignonState::CNETMsg_SignonState(const CNETMsg_SignonState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CNETMsg_SignonState::SharedCtor() { + _cached_size_ = 0; + signon_state_ = 0u; + spawn_count_ = 0u; + num_server_players_ = 0u; + map_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_SignonState::~CNETMsg_SignonState() { + SharedDtor(); +} + +void CNETMsg_SignonState::SharedDtor() { + if (map_name_ != &::google::protobuf::internal::kEmptyString) { + delete map_name_; + } + if (this != default_instance_) { + } +} + +void CNETMsg_SignonState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_SignonState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_SignonState_descriptor_; +} + +const CNETMsg_SignonState& CNETMsg_SignonState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CNETMsg_SignonState* CNETMsg_SignonState::default_instance_ = NULL; + +CNETMsg_SignonState* CNETMsg_SignonState::New() const { + return new CNETMsg_SignonState; +} + +void CNETMsg_SignonState::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + signon_state_ = 0u; + spawn_count_ = 0u; + num_server_players_ = 0u; + if (has_map_name()) { + if (map_name_ != &::google::protobuf::internal::kEmptyString) { + map_name_->clear(); + } + } + } + players_networkids_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_SignonState::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 uint32 signon_state = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &signon_state_))); + set_has_signon_state(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_spawn_count; + break; + } + + // optional uint32 spawn_count = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_spawn_count: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &spawn_count_))); + set_has_spawn_count(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_num_server_players; + break; + } + + // optional uint32 num_server_players = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_num_server_players: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &num_server_players_))); + set_has_num_server_players(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_players_networkids; + break; + } + + // repeated string players_networkids = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_players_networkids: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_players_networkids())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->players_networkids(0).data(), this->players_networkids(0).length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_players_networkids; + if (input->ExpectTag(42)) goto parse_map_name; + break; + } + + // optional string map_name = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_map_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_map_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->map_name().data(), this->map_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CNETMsg_SignonState::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 signon_state = 1; + if (has_signon_state()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->signon_state(), output); + } + + // optional uint32 spawn_count = 2; + if (has_spawn_count()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->spawn_count(), output); + } + + // optional uint32 num_server_players = 3; + if (has_num_server_players()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->num_server_players(), output); + } + + // repeated string players_networkids = 4; + for (int i = 0; i < this->players_networkids_size(); i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->players_networkids(i).data(), this->players_networkids(i).length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 4, this->players_networkids(i), output); + } + + // optional string map_name = 5; + if (has_map_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->map_name().data(), this->map_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 5, this->map_name(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CNETMsg_SignonState::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 signon_state = 1; + if (has_signon_state()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->signon_state(), target); + } + + // optional uint32 spawn_count = 2; + if (has_spawn_count()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->spawn_count(), target); + } + + // optional uint32 num_server_players = 3; + if (has_num_server_players()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->num_server_players(), target); + } + + // repeated string players_networkids = 4; + for (int i = 0; i < this->players_networkids_size(); i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->players_networkids(i).data(), this->players_networkids(i).length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(4, this->players_networkids(i), target); + } + + // optional string map_name = 5; + if (has_map_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->map_name().data(), this->map_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, this->map_name(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CNETMsg_SignonState::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 signon_state = 1; + if (has_signon_state()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->signon_state()); + } + + // optional uint32 spawn_count = 2; + if (has_spawn_count()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->spawn_count()); + } + + // optional uint32 num_server_players = 3; + if (has_num_server_players()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->num_server_players()); + } + + // optional string map_name = 5; + if (has_map_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->map_name()); + } + + } + // repeated string players_networkids = 4; + total_size += 1 * this->players_networkids_size(); + for (int i = 0; i < this->players_networkids_size(); i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->players_networkids(i)); + } + + 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 CNETMsg_SignonState::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_SignonState* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_SignonState::MergeFrom(const CNETMsg_SignonState& from) { + GOOGLE_CHECK_NE(&from, this); + players_networkids_.MergeFrom(from.players_networkids_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_signon_state()) { + set_signon_state(from.signon_state()); + } + if (from.has_spawn_count()) { + set_spawn_count(from.spawn_count()); + } + if (from.has_num_server_players()) { + set_num_server_players(from.num_server_players()); + } + if (from.has_map_name()) { + set_map_name(from.map_name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_SignonState::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_SignonState::CopyFrom(const CNETMsg_SignonState& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SignonState::IsInitialized() const { + + return true; +} + +void CNETMsg_SignonState::Swap(CNETMsg_SignonState* other) { + if (other != this) { + std::swap(signon_state_, other->signon_state_); + std::swap(spawn_count_, other->spawn_count_); + std::swap(num_server_players_, other->num_server_players_); + players_networkids_.Swap(&other->players_networkids_); + std::swap(map_name_, other->map_name_); + 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 CNETMsg_SignonState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_SignonState_descriptor_; + metadata.reflection = CNETMsg_SignonState_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_ClientInfo::kSendTableCrcFieldNumber; +const int CCLCMsg_ClientInfo::kServerCountFieldNumber; +const int CCLCMsg_ClientInfo::kIsHltvFieldNumber; +const int CCLCMsg_ClientInfo::kIsReplayFieldNumber; +const int CCLCMsg_ClientInfo::kFriendsIdFieldNumber; +const int CCLCMsg_ClientInfo::kFriendsNameFieldNumber; +const int CCLCMsg_ClientInfo::kCustomFilesFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_ClientInfo::CCLCMsg_ClientInfo() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_ClientInfo::InitAsDefaultInstance() { +} + +CCLCMsg_ClientInfo::CCLCMsg_ClientInfo(const CCLCMsg_ClientInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_ClientInfo::SharedCtor() { + _cached_size_ = 0; + send_table_crc_ = 0u; + server_count_ = 0u; + is_hltv_ = false; + is_replay_ = false; + friends_id_ = 0u; + friends_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_ClientInfo::~CCLCMsg_ClientInfo() { + SharedDtor(); +} + +void CCLCMsg_ClientInfo::SharedDtor() { + if (friends_name_ != &::google::protobuf::internal::kEmptyString) { + delete friends_name_; + } + if (this != default_instance_) { + } +} + +void CCLCMsg_ClientInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_ClientInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_ClientInfo_descriptor_; +} + +const CCLCMsg_ClientInfo& CCLCMsg_ClientInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_ClientInfo* CCLCMsg_ClientInfo::default_instance_ = NULL; + +CCLCMsg_ClientInfo* CCLCMsg_ClientInfo::New() const { + return new CCLCMsg_ClientInfo; +} + +void CCLCMsg_ClientInfo::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + send_table_crc_ = 0u; + server_count_ = 0u; + is_hltv_ = false; + is_replay_ = false; + friends_id_ = 0u; + if (has_friends_name()) { + if (friends_name_ != &::google::protobuf::internal::kEmptyString) { + friends_name_->clear(); + } + } + } + custom_files_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_ClientInfo::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 fixed32 send_table_crc = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &send_table_crc_))); + set_has_send_table_crc(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_server_count; + break; + } + + // optional uint32 server_count = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_server_count: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &server_count_))); + set_has_server_count(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_is_hltv; + break; + } + + // optional bool is_hltv = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_hltv: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_hltv_))); + set_has_is_hltv(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_is_replay; + break; + } + + // optional bool is_replay = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_replay: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_replay_))); + set_has_is_replay(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_friends_id; + break; + } + + // optional uint32 friends_id = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_friends_id: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &friends_id_))); + set_has_friends_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(50)) goto parse_friends_name; + break; + } + + // optional string friends_name = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_friends_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_friends_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->friends_name().data(), this->friends_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(61)) goto parse_custom_files; + break; + } + + // repeated fixed32 custom_files = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_custom_files: + DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + 1, 61, input, this->mutable_custom_files()))); + } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) + == ::google::protobuf::internal::WireFormatLite:: + WIRETYPE_LENGTH_DELIMITED) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, this->mutable_custom_files()))); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(61)) goto parse_custom_files; + 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 CCLCMsg_ClientInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional fixed32 send_table_crc = 1; + if (has_send_table_crc()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(1, this->send_table_crc(), output); + } + + // optional uint32 server_count = 2; + if (has_server_count()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->server_count(), output); + } + + // optional bool is_hltv = 3; + if (has_is_hltv()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_hltv(), output); + } + + // optional bool is_replay = 4; + if (has_is_replay()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_replay(), output); + } + + // optional uint32 friends_id = 5; + if (has_friends_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->friends_id(), output); + } + + // optional string friends_name = 6; + if (has_friends_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->friends_name().data(), this->friends_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 6, this->friends_name(), output); + } + + // repeated fixed32 custom_files = 7; + for (int i = 0; i < this->custom_files_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32( + 7, this->custom_files(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_ClientInfo::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional fixed32 send_table_crc = 1; + if (has_send_table_crc()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(1, this->send_table_crc(), target); + } + + // optional uint32 server_count = 2; + if (has_server_count()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->server_count(), target); + } + + // optional bool is_hltv = 3; + if (has_is_hltv()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_hltv(), target); + } + + // optional bool is_replay = 4; + if (has_is_replay()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_replay(), target); + } + + // optional uint32 friends_id = 5; + if (has_friends_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->friends_id(), target); + } + + // optional string friends_name = 6; + if (has_friends_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->friends_name().data(), this->friends_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 6, this->friends_name(), target); + } + + // repeated fixed32 custom_files = 7; + for (int i = 0; i < this->custom_files_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteFixed32ToArray(7, this->custom_files(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_ClientInfo::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional fixed32 send_table_crc = 1; + if (has_send_table_crc()) { + total_size += 1 + 4; + } + + // optional uint32 server_count = 2; + if (has_server_count()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->server_count()); + } + + // optional bool is_hltv = 3; + if (has_is_hltv()) { + total_size += 1 + 1; + } + + // optional bool is_replay = 4; + if (has_is_replay()) { + total_size += 1 + 1; + } + + // optional uint32 friends_id = 5; + if (has_friends_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->friends_id()); + } + + // optional string friends_name = 6; + if (has_friends_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->friends_name()); + } + + } + // repeated fixed32 custom_files = 7; + { + int data_size = 0; + data_size = 4 * this->custom_files_size(); + total_size += 1 * this->custom_files_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 CCLCMsg_ClientInfo::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_ClientInfo* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_ClientInfo::MergeFrom(const CCLCMsg_ClientInfo& from) { + GOOGLE_CHECK_NE(&from, this); + custom_files_.MergeFrom(from.custom_files_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_send_table_crc()) { + set_send_table_crc(from.send_table_crc()); + } + if (from.has_server_count()) { + set_server_count(from.server_count()); + } + if (from.has_is_hltv()) { + set_is_hltv(from.is_hltv()); + } + if (from.has_is_replay()) { + set_is_replay(from.is_replay()); + } + if (from.has_friends_id()) { + set_friends_id(from.friends_id()); + } + if (from.has_friends_name()) { + set_friends_name(from.friends_name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_ClientInfo::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_ClientInfo::CopyFrom(const CCLCMsg_ClientInfo& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_ClientInfo::IsInitialized() const { + + return true; +} + +void CCLCMsg_ClientInfo::Swap(CCLCMsg_ClientInfo* other) { + if (other != this) { + std::swap(send_table_crc_, other->send_table_crc_); + std::swap(server_count_, other->server_count_); + std::swap(is_hltv_, other->is_hltv_); + std::swap(is_replay_, other->is_replay_); + std::swap(friends_id_, other->friends_id_); + std::swap(friends_name_, other->friends_name_); + custom_files_.Swap(&other->custom_files_); + 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 CCLCMsg_ClientInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_ClientInfo_descriptor_; + metadata.reflection = CCLCMsg_ClientInfo_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_Move::kNumBackupCommandsFieldNumber; +const int CCLCMsg_Move::kNumNewCommandsFieldNumber; +const int CCLCMsg_Move::kDataFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_Move::CCLCMsg_Move() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_Move::InitAsDefaultInstance() { +} + +CCLCMsg_Move::CCLCMsg_Move(const CCLCMsg_Move& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_Move::SharedCtor() { + _cached_size_ = 0; + num_backup_commands_ = 0u; + num_new_commands_ = 0u; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_Move::~CCLCMsg_Move() { + SharedDtor(); +} + +void CCLCMsg_Move::SharedDtor() { + if (data_ != &::google::protobuf::internal::kEmptyString) { + delete data_; + } + if (this != default_instance_) { + } +} + +void CCLCMsg_Move::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_Move::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_Move_descriptor_; +} + +const CCLCMsg_Move& CCLCMsg_Move::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_Move* CCLCMsg_Move::default_instance_ = NULL; + +CCLCMsg_Move* CCLCMsg_Move::New() const { + return new CCLCMsg_Move; +} + +void CCLCMsg_Move::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + num_backup_commands_ = 0u; + num_new_commands_ = 0u; + if (has_data()) { + if (data_ != &::google::protobuf::internal::kEmptyString) { + data_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_Move::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 uint32 num_backup_commands = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &num_backup_commands_))); + set_has_num_backup_commands(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_num_new_commands; + break; + } + + // optional uint32 num_new_commands = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_num_new_commands: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &num_new_commands_))); + set_has_num_new_commands(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_data; + break; + } + + // optional bytes data = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_data())); + } 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 CCLCMsg_Move::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 num_backup_commands = 1; + if (has_num_backup_commands()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->num_backup_commands(), output); + } + + // optional uint32 num_new_commands = 2; + if (has_num_new_commands()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->num_new_commands(), output); + } + + // optional bytes data = 3; + if (has_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 3, this->data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_Move::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 num_backup_commands = 1; + if (has_num_backup_commands()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->num_backup_commands(), target); + } + + // optional uint32 num_new_commands = 2; + if (has_num_new_commands()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->num_new_commands(), target); + } + + // optional bytes data = 3; + if (has_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 3, this->data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_Move::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 num_backup_commands = 1; + if (has_num_backup_commands()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->num_backup_commands()); + } + + // optional uint32 num_new_commands = 2; + if (has_num_new_commands()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->num_new_commands()); + } + + // optional bytes data = 3; + if (has_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->data()); + } + + } + 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 CCLCMsg_Move::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_Move* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_Move::MergeFrom(const CCLCMsg_Move& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_num_backup_commands()) { + set_num_backup_commands(from.num_backup_commands()); + } + if (from.has_num_new_commands()) { + set_num_new_commands(from.num_new_commands()); + } + if (from.has_data()) { + set_data(from.data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_Move::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_Move::CopyFrom(const CCLCMsg_Move& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_Move::IsInitialized() const { + + return true; +} + +void CCLCMsg_Move::Swap(CCLCMsg_Move* other) { + if (other != this) { + std::swap(num_backup_commands_, other->num_backup_commands_); + std::swap(num_new_commands_, other->num_new_commands_); + std::swap(data_, other->data_); + 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 CCLCMsg_Move::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_Move_descriptor_; + metadata.reflection = CCLCMsg_Move_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_VoiceData::kDataFieldNumber; +const int CCLCMsg_VoiceData::kXuidFieldNumber; +const int CCLCMsg_VoiceData::kFormatFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_VoiceData::CCLCMsg_VoiceData() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_VoiceData::InitAsDefaultInstance() { +} + +CCLCMsg_VoiceData::CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_VoiceData::SharedCtor() { + _cached_size_ = 0; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + xuid_ = GOOGLE_ULONGLONG(0); + format_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_VoiceData::~CCLCMsg_VoiceData() { + SharedDtor(); +} + +void CCLCMsg_VoiceData::SharedDtor() { + if (data_ != &::google::protobuf::internal::kEmptyString) { + delete data_; + } + if (this != default_instance_) { + } +} + +void CCLCMsg_VoiceData::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_VoiceData::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_VoiceData_descriptor_; +} + +const CCLCMsg_VoiceData& CCLCMsg_VoiceData::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_VoiceData* CCLCMsg_VoiceData::default_instance_ = NULL; + +CCLCMsg_VoiceData* CCLCMsg_VoiceData::New() const { + return new CCLCMsg_VoiceData; +} + +void CCLCMsg_VoiceData::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_data()) { + if (data_ != &::google::protobuf::internal::kEmptyString) { + data_->clear(); + } + } + xuid_ = GOOGLE_ULONGLONG(0); + format_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_VoiceData::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 bytes data = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_data())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(17)) goto parse_xuid; + break; + } + + // optional fixed64 xuid = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) { + parse_xuid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( + input, &xuid_))); + set_has_xuid(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_format; + break; + } + + // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_format: + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (VoiceDataFormat_t_IsValid(value)) { + set_format(static_cast< VoiceDataFormat_t >(value)); + } else { + mutable_unknown_fields()->AddVarint(3, value); + } + } 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 CCLCMsg_VoiceData::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bytes data = 1; + if (has_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 1, this->data(), output); + } + + // optional fixed64 xuid = 2; + if (has_xuid()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->xuid(), output); + } + + // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 3, this->format(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_VoiceData::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bytes data = 1; + if (has_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 1, this->data(), target); + } + + // optional fixed64 xuid = 2; + if (has_xuid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->xuid(), target); + } + + // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 3, this->format(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_VoiceData::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bytes data = 1; + if (has_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->data()); + } + + // optional fixed64 xuid = 2; + if (has_xuid()) { + total_size += 1 + 8; + } + + // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->format()); + } + + } + 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 CCLCMsg_VoiceData::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_VoiceData* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_VoiceData::MergeFrom(const CCLCMsg_VoiceData& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_data()) { + set_data(from.data()); + } + if (from.has_xuid()) { + set_xuid(from.xuid()); + } + if (from.has_format()) { + set_format(from.format()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_VoiceData::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_VoiceData::CopyFrom(const CCLCMsg_VoiceData& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_VoiceData::IsInitialized() const { + + return true; +} + +void CCLCMsg_VoiceData::Swap(CCLCMsg_VoiceData* other) { + if (other != this) { + std::swap(data_, other->data_); + std::swap(xuid_, other->xuid_); + std::swap(format_, other->format_); + 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 CCLCMsg_VoiceData::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_VoiceData_descriptor_; + metadata.reflection = CCLCMsg_VoiceData_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_BaselineAck::kBaselineTickFieldNumber; +const int CCLCMsg_BaselineAck::kBaselineNrFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_BaselineAck::CCLCMsg_BaselineAck() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_BaselineAck::InitAsDefaultInstance() { +} + +CCLCMsg_BaselineAck::CCLCMsg_BaselineAck(const CCLCMsg_BaselineAck& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_BaselineAck::SharedCtor() { + _cached_size_ = 0; + baseline_tick_ = 0; + baseline_nr_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_BaselineAck::~CCLCMsg_BaselineAck() { + SharedDtor(); +} + +void CCLCMsg_BaselineAck::SharedDtor() { + if (this != default_instance_) { + } +} + +void CCLCMsg_BaselineAck::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_BaselineAck::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_BaselineAck_descriptor_; +} + +const CCLCMsg_BaselineAck& CCLCMsg_BaselineAck::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_BaselineAck* CCLCMsg_BaselineAck::default_instance_ = NULL; + +CCLCMsg_BaselineAck* CCLCMsg_BaselineAck::New() const { + return new CCLCMsg_BaselineAck; +} + +void CCLCMsg_BaselineAck::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + baseline_tick_ = 0; + baseline_nr_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_BaselineAck::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 int32 baseline_tick = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &baseline_tick_))); + set_has_baseline_tick(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_baseline_nr; + break; + } + + // optional int32 baseline_nr = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_baseline_nr: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &baseline_nr_))); + set_has_baseline_nr(); + } 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 CCLCMsg_BaselineAck::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 baseline_tick = 1; + if (has_baseline_tick()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->baseline_tick(), output); + } + + // optional int32 baseline_nr = 2; + if (has_baseline_nr()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->baseline_nr(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_BaselineAck::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 baseline_tick = 1; + if (has_baseline_tick()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->baseline_tick(), target); + } + + // optional int32 baseline_nr = 2; + if (has_baseline_nr()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->baseline_nr(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_BaselineAck::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 baseline_tick = 1; + if (has_baseline_tick()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->baseline_tick()); + } + + // optional int32 baseline_nr = 2; + if (has_baseline_nr()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->baseline_nr()); + } + + } + 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 CCLCMsg_BaselineAck::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_BaselineAck* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_BaselineAck::MergeFrom(const CCLCMsg_BaselineAck& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_baseline_tick()) { + set_baseline_tick(from.baseline_tick()); + } + if (from.has_baseline_nr()) { + set_baseline_nr(from.baseline_nr()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_BaselineAck::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_BaselineAck::CopyFrom(const CCLCMsg_BaselineAck& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_BaselineAck::IsInitialized() const { + + return true; +} + +void CCLCMsg_BaselineAck::Swap(CCLCMsg_BaselineAck* other) { + if (other != this) { + std::swap(baseline_tick_, other->baseline_tick_); + std::swap(baseline_nr_, other->baseline_nr_); + 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 CCLCMsg_BaselineAck::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_BaselineAck_descriptor_; + metadata.reflection = CCLCMsg_BaselineAck_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_ListenEvents::kEventMaskFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_ListenEvents::CCLCMsg_ListenEvents() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_ListenEvents::InitAsDefaultInstance() { +} + +CCLCMsg_ListenEvents::CCLCMsg_ListenEvents(const CCLCMsg_ListenEvents& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_ListenEvents::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_ListenEvents::~CCLCMsg_ListenEvents() { + SharedDtor(); +} + +void CCLCMsg_ListenEvents::SharedDtor() { + if (this != default_instance_) { + } +} + +void CCLCMsg_ListenEvents::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_ListenEvents::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_ListenEvents_descriptor_; +} + +const CCLCMsg_ListenEvents& CCLCMsg_ListenEvents::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_ListenEvents* CCLCMsg_ListenEvents::default_instance_ = NULL; + +CCLCMsg_ListenEvents* CCLCMsg_ListenEvents::New() const { + return new CCLCMsg_ListenEvents; +} + +void CCLCMsg_ListenEvents::Clear() { + event_mask_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_ListenEvents::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)) { + // repeated fixed32 event_mask = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_event_mask: + DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + 1, 13, input, this->mutable_event_mask()))); + } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) + == ::google::protobuf::internal::WireFormatLite:: + WIRETYPE_LENGTH_DELIMITED) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, this->mutable_event_mask()))); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(13)) goto parse_event_mask; + 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 CCLCMsg_ListenEvents::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated fixed32 event_mask = 1; + for (int i = 0; i < this->event_mask_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32( + 1, this->event_mask(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_ListenEvents::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated fixed32 event_mask = 1; + for (int i = 0; i < this->event_mask_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteFixed32ToArray(1, this->event_mask(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_ListenEvents::ByteSize() const { + int total_size = 0; + + // repeated fixed32 event_mask = 1; + { + int data_size = 0; + data_size = 4 * this->event_mask_size(); + total_size += 1 * this->event_mask_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 CCLCMsg_ListenEvents::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_ListenEvents* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_ListenEvents::MergeFrom(const CCLCMsg_ListenEvents& from) { + GOOGLE_CHECK_NE(&from, this); + event_mask_.MergeFrom(from.event_mask_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_ListenEvents::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_ListenEvents::CopyFrom(const CCLCMsg_ListenEvents& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_ListenEvents::IsInitialized() const { + + return true; +} + +void CCLCMsg_ListenEvents::Swap(CCLCMsg_ListenEvents* other) { + if (other != this) { + event_mask_.Swap(&other->event_mask_); + 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 CCLCMsg_ListenEvents::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_ListenEvents_descriptor_; + metadata.reflection = CCLCMsg_ListenEvents_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_RespondCvarValue::kCookieFieldNumber; +const int CCLCMsg_RespondCvarValue::kStatusCodeFieldNumber; +const int CCLCMsg_RespondCvarValue::kNameFieldNumber; +const int CCLCMsg_RespondCvarValue::kValueFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_RespondCvarValue::InitAsDefaultInstance() { +} + +CCLCMsg_RespondCvarValue::CCLCMsg_RespondCvarValue(const CCLCMsg_RespondCvarValue& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_RespondCvarValue::SharedCtor() { + _cached_size_ = 0; + cookie_ = 0; + status_code_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_RespondCvarValue::~CCLCMsg_RespondCvarValue() { + SharedDtor(); +} + +void CCLCMsg_RespondCvarValue::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (value_ != &::google::protobuf::internal::kEmptyString) { + delete value_; + } + if (this != default_instance_) { + } +} + +void CCLCMsg_RespondCvarValue::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_RespondCvarValue::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_RespondCvarValue_descriptor_; +} + +const CCLCMsg_RespondCvarValue& CCLCMsg_RespondCvarValue::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_RespondCvarValue* CCLCMsg_RespondCvarValue::default_instance_ = NULL; + +CCLCMsg_RespondCvarValue* CCLCMsg_RespondCvarValue::New() const { + return new CCLCMsg_RespondCvarValue; +} + +void CCLCMsg_RespondCvarValue::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + cookie_ = 0; + status_code_ = 0; + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + if (has_value()) { + if (value_ != &::google::protobuf::internal::kEmptyString) { + value_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_RespondCvarValue::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 int32 cookie = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &cookie_))); + set_has_cookie(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_status_code; + break; + } + + // optional int32 status_code = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_status_code: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &status_code_))); + set_has_status_code(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_name; + break; + } + + // optional string name = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_value; + break; + } + + // optional string value = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_value: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_value())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CCLCMsg_RespondCvarValue::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 cookie = 1; + if (has_cookie()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->cookie(), output); + } + + // optional int32 status_code = 2; + if (has_status_code()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->status_code(), output); + } + + // optional string name = 3; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->name(), output); + } + + // optional string value = 4; + if (has_value()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 4, this->value(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_RespondCvarValue::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 cookie = 1; + if (has_cookie()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->cookie(), target); + } + + // optional int32 status_code = 2; + if (has_status_code()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->status_code(), target); + } + + // optional string name = 3; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->name(), target); + } + + // optional string value = 4; + if (has_value()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->value(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_RespondCvarValue::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 cookie = 1; + if (has_cookie()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->cookie()); + } + + // optional int32 status_code = 2; + if (has_status_code()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->status_code()); + } + + // optional string name = 3; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + // optional string value = 4; + if (has_value()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); + } + + } + 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 CCLCMsg_RespondCvarValue::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_RespondCvarValue* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_RespondCvarValue::MergeFrom(const CCLCMsg_RespondCvarValue& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_cookie()) { + set_cookie(from.cookie()); + } + if (from.has_status_code()) { + set_status_code(from.status_code()); + } + if (from.has_name()) { + set_name(from.name()); + } + if (from.has_value()) { + set_value(from.value()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_RespondCvarValue::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_RespondCvarValue::CopyFrom(const CCLCMsg_RespondCvarValue& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_RespondCvarValue::IsInitialized() const { + + return true; +} + +void CCLCMsg_RespondCvarValue::Swap(CCLCMsg_RespondCvarValue* other) { + if (other != this) { + std::swap(cookie_, other->cookie_); + std::swap(status_code_, other->status_code_); + std::swap(name_, other->name_); + std::swap(value_, other->value_); + 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 CCLCMsg_RespondCvarValue::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_RespondCvarValue_descriptor_; + metadata.reflection = CCLCMsg_RespondCvarValue_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_FileCRCCheck::kCodePathFieldNumber; +const int CCLCMsg_FileCRCCheck::kPathFieldNumber; +const int CCLCMsg_FileCRCCheck::kCodeFilenameFieldNumber; +const int CCLCMsg_FileCRCCheck::kFilenameFieldNumber; +const int CCLCMsg_FileCRCCheck::kCrcFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_FileCRCCheck::CCLCMsg_FileCRCCheck() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_FileCRCCheck::InitAsDefaultInstance() { +} + +CCLCMsg_FileCRCCheck::CCLCMsg_FileCRCCheck(const CCLCMsg_FileCRCCheck& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_FileCRCCheck::SharedCtor() { + _cached_size_ = 0; + code_path_ = 0; + path_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + code_filename_ = 0; + filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + crc_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_FileCRCCheck::~CCLCMsg_FileCRCCheck() { + SharedDtor(); +} + +void CCLCMsg_FileCRCCheck::SharedDtor() { + if (path_ != &::google::protobuf::internal::kEmptyString) { + delete path_; + } + if (filename_ != &::google::protobuf::internal::kEmptyString) { + delete filename_; + } + if (this != default_instance_) { + } +} + +void CCLCMsg_FileCRCCheck::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_FileCRCCheck::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_FileCRCCheck_descriptor_; +} + +const CCLCMsg_FileCRCCheck& CCLCMsg_FileCRCCheck::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_FileCRCCheck* CCLCMsg_FileCRCCheck::default_instance_ = NULL; + +CCLCMsg_FileCRCCheck* CCLCMsg_FileCRCCheck::New() const { + return new CCLCMsg_FileCRCCheck; +} + +void CCLCMsg_FileCRCCheck::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + code_path_ = 0; + if (has_path()) { + if (path_ != &::google::protobuf::internal::kEmptyString) { + path_->clear(); + } + } + code_filename_ = 0; + if (has_filename()) { + if (filename_ != &::google::protobuf::internal::kEmptyString) { + filename_->clear(); + } + } + crc_ = 0u; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_FileCRCCheck::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 int32 code_path = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &code_path_))); + set_has_code_path(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_path; + break; + } + + // optional string path = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_path: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_path())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->path().data(), this->path().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_code_filename; + break; + } + + // optional int32 code_filename = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_code_filename: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &code_filename_))); + set_has_code_filename(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_filename; + break; + } + + // optional string filename = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_filename: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_filename())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->filename().data(), this->filename().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(45)) goto parse_crc; + break; + } + + // optional fixed32 crc = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_crc: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &crc_))); + set_has_crc(); + } 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 CCLCMsg_FileCRCCheck::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 code_path = 1; + if (has_code_path()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->code_path(), output); + } + + // optional string path = 2; + if (has_path()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->path().data(), this->path().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->path(), output); + } + + // optional int32 code_filename = 3; + if (has_code_filename()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->code_filename(), output); + } + + // optional string filename = 4; + if (has_filename()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->filename().data(), this->filename().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 4, this->filename(), output); + } + + // optional fixed32 crc = 5; + if (has_crc()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(5, this->crc(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_FileCRCCheck::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 code_path = 1; + if (has_code_path()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->code_path(), target); + } + + // optional string path = 2; + if (has_path()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->path().data(), this->path().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->path(), target); + } + + // optional int32 code_filename = 3; + if (has_code_filename()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->code_filename(), target); + } + + // optional string filename = 4; + if (has_filename()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->filename().data(), this->filename().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->filename(), target); + } + + // optional fixed32 crc = 5; + if (has_crc()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(5, this->crc(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_FileCRCCheck::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 code_path = 1; + if (has_code_path()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->code_path()); + } + + // optional string path = 2; + if (has_path()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->path()); + } + + // optional int32 code_filename = 3; + if (has_code_filename()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->code_filename()); + } + + // optional string filename = 4; + if (has_filename()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->filename()); + } + + // optional fixed32 crc = 5; + if (has_crc()) { + total_size += 1 + 4; + } + + } + 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 CCLCMsg_FileCRCCheck::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_FileCRCCheck* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_FileCRCCheck::MergeFrom(const CCLCMsg_FileCRCCheck& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_code_path()) { + set_code_path(from.code_path()); + } + if (from.has_path()) { + set_path(from.path()); + } + if (from.has_code_filename()) { + set_code_filename(from.code_filename()); + } + if (from.has_filename()) { + set_filename(from.filename()); + } + if (from.has_crc()) { + set_crc(from.crc()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_FileCRCCheck::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_FileCRCCheck::CopyFrom(const CCLCMsg_FileCRCCheck& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_FileCRCCheck::IsInitialized() const { + + return true; +} + +void CCLCMsg_FileCRCCheck::Swap(CCLCMsg_FileCRCCheck* other) { + if (other != this) { + std::swap(code_path_, other->code_path_); + std::swap(path_, other->path_); + std::swap(code_filename_, other->code_filename_); + std::swap(filename_, other->filename_); + std::swap(crc_, other->crc_); + 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 CCLCMsg_FileCRCCheck::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_FileCRCCheck_descriptor_; + metadata.reflection = CCLCMsg_FileCRCCheck_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_LoadingProgress::kProgressFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_LoadingProgress::InitAsDefaultInstance() { +} + +CCLCMsg_LoadingProgress::CCLCMsg_LoadingProgress(const CCLCMsg_LoadingProgress& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_LoadingProgress::SharedCtor() { + _cached_size_ = 0; + progress_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_LoadingProgress::~CCLCMsg_LoadingProgress() { + SharedDtor(); +} + +void CCLCMsg_LoadingProgress::SharedDtor() { + if (this != default_instance_) { + } +} + +void CCLCMsg_LoadingProgress::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_LoadingProgress::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_LoadingProgress_descriptor_; +} + +const CCLCMsg_LoadingProgress& CCLCMsg_LoadingProgress::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_LoadingProgress* CCLCMsg_LoadingProgress::default_instance_ = NULL; + +CCLCMsg_LoadingProgress* CCLCMsg_LoadingProgress::New() const { + return new CCLCMsg_LoadingProgress; +} + +void CCLCMsg_LoadingProgress::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + progress_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_LoadingProgress::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 int32 progress = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &progress_))); + set_has_progress(); + } 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 CCLCMsg_LoadingProgress::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 progress = 1; + if (has_progress()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->progress(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_LoadingProgress::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 progress = 1; + if (has_progress()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->progress(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_LoadingProgress::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 progress = 1; + if (has_progress()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->progress()); + } + + } + 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 CCLCMsg_LoadingProgress::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_LoadingProgress* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_LoadingProgress::MergeFrom(const CCLCMsg_LoadingProgress& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_progress()) { + set_progress(from.progress()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_LoadingProgress::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_LoadingProgress::CopyFrom(const CCLCMsg_LoadingProgress& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_LoadingProgress::IsInitialized() const { + + return true; +} + +void CCLCMsg_LoadingProgress::Swap(CCLCMsg_LoadingProgress* other) { + if (other != this) { + std::swap(progress_, other->progress_); + 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 CCLCMsg_LoadingProgress::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_LoadingProgress_descriptor_; + metadata.reflection = CCLCMsg_LoadingProgress_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_SplitPlayerConnect::kConvarsFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_SplitPlayerConnect::InitAsDefaultInstance() { + convars_ = const_cast< ::CMsg_CVars*>(&::CMsg_CVars::default_instance()); +} + +CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayerConnect& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_SplitPlayerConnect::SharedCtor() { + _cached_size_ = 0; + convars_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_SplitPlayerConnect::~CCLCMsg_SplitPlayerConnect() { + SharedDtor(); +} + +void CCLCMsg_SplitPlayerConnect::SharedDtor() { + if (this != default_instance_) { + delete convars_; + } +} + +void CCLCMsg_SplitPlayerConnect::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_SplitPlayerConnect::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_SplitPlayerConnect_descriptor_; +} + +const CCLCMsg_SplitPlayerConnect& CCLCMsg_SplitPlayerConnect::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_SplitPlayerConnect* CCLCMsg_SplitPlayerConnect::default_instance_ = NULL; + +CCLCMsg_SplitPlayerConnect* CCLCMsg_SplitPlayerConnect::New() const { + return new CCLCMsg_SplitPlayerConnect; +} + +void CCLCMsg_SplitPlayerConnect::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_convars()) { + if (convars_ != NULL) convars_->::CMsg_CVars::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_SplitPlayerConnect::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 .CMsg_CVars convars = 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_convars())); + } 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 CCLCMsg_SplitPlayerConnect::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .CMsg_CVars convars = 1; + if (has_convars()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->convars(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_SplitPlayerConnect::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .CMsg_CVars convars = 1; + if (has_convars()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->convars(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_SplitPlayerConnect::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .CMsg_CVars convars = 1; + if (has_convars()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->convars()); + } + + } + 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 CCLCMsg_SplitPlayerConnect::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_SplitPlayerConnect* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_SplitPlayerConnect::MergeFrom(const CCLCMsg_SplitPlayerConnect& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_convars()) { + mutable_convars()->::CMsg_CVars::MergeFrom(from.convars()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_SplitPlayerConnect::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_SplitPlayerConnect::CopyFrom(const CCLCMsg_SplitPlayerConnect& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_SplitPlayerConnect::IsInitialized() const { + + return true; +} + +void CCLCMsg_SplitPlayerConnect::Swap(CCLCMsg_SplitPlayerConnect* other) { + if (other != this) { + std::swap(convars_, other->convars_); + 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 CCLCMsg_SplitPlayerConnect::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_SplitPlayerConnect_descriptor_; + metadata.reflection = CCLCMsg_SplitPlayerConnect_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_ClientMessage::kMsgTypeFieldNumber; +const int CCLCMsg_ClientMessage::kDataFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_ClientMessage::CCLCMsg_ClientMessage() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CCLCMsg_ClientMessage::InitAsDefaultInstance() { +} + +CCLCMsg_ClientMessage::CCLCMsg_ClientMessage(const CCLCMsg_ClientMessage& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CCLCMsg_ClientMessage::SharedCtor() { + _cached_size_ = 0; + msg_type_ = 0; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_ClientMessage::~CCLCMsg_ClientMessage() { + SharedDtor(); +} + +void CCLCMsg_ClientMessage::SharedDtor() { + if (data_ != &::google::protobuf::internal::kEmptyString) { + delete data_; + } + if (this != default_instance_) { + } +} + +void CCLCMsg_ClientMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_ClientMessage::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_ClientMessage_descriptor_; +} + +const CCLCMsg_ClientMessage& CCLCMsg_ClientMessage::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CCLCMsg_ClientMessage* CCLCMsg_ClientMessage::default_instance_ = NULL; + +CCLCMsg_ClientMessage* CCLCMsg_ClientMessage::New() const { + return new CCLCMsg_ClientMessage; +} + +void CCLCMsg_ClientMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + msg_type_ = 0; + if (has_data()) { + if (data_ != &::google::protobuf::internal::kEmptyString) { + data_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_ClientMessage::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 int32 msg_type = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &msg_type_))); + set_has_msg_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_data; + break; + } + + // optional bytes data = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_data())); + } 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 CCLCMsg_ClientMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 msg_type = 1; + if (has_msg_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->msg_type(), output); + } + + // optional bytes data = 2; + if (has_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 2, this->data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CCLCMsg_ClientMessage::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 msg_type = 1; + if (has_msg_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->msg_type(), target); + } + + // optional bytes data = 2; + if (has_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 2, this->data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CCLCMsg_ClientMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 msg_type = 1; + if (has_msg_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->msg_type()); + } + + // optional bytes data = 2; + if (has_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->data()); + } + + } + 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 CCLCMsg_ClientMessage::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_ClientMessage* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_ClientMessage::MergeFrom(const CCLCMsg_ClientMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_msg_type()) { + set_msg_type(from.msg_type()); + } + if (from.has_data()) { + set_data(from.data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_ClientMessage::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_ClientMessage::CopyFrom(const CCLCMsg_ClientMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_ClientMessage::IsInitialized() const { + + return true; +} + +void CCLCMsg_ClientMessage::Swap(CCLCMsg_ClientMessage* other) { + if (other != this) { + std::swap(msg_type_, other->msg_type_); + std::swap(data_, other->data_); + 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 CCLCMsg_ClientMessage::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_ClientMessage_descriptor_; + metadata.reflection = CCLCMsg_ClientMessage_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_ServerInfo::kProtocolFieldNumber; +const int CSVCMsg_ServerInfo::kServerCountFieldNumber; +const int CSVCMsg_ServerInfo::kIsDedicatedFieldNumber; +const int CSVCMsg_ServerInfo::kIsHltvFieldNumber; +const int CSVCMsg_ServerInfo::kIsReplayFieldNumber; +const int CSVCMsg_ServerInfo::kCOsFieldNumber; +const int CSVCMsg_ServerInfo::kMapCrcFieldNumber; +const int CSVCMsg_ServerInfo::kClientCrcFieldNumber; +const int CSVCMsg_ServerInfo::kStringTableCrcFieldNumber; +const int CSVCMsg_ServerInfo::kMaxClientsFieldNumber; +const int CSVCMsg_ServerInfo::kMaxClassesFieldNumber; +const int CSVCMsg_ServerInfo::kPlayerSlotFieldNumber; +const int CSVCMsg_ServerInfo::kTickIntervalFieldNumber; +const int CSVCMsg_ServerInfo::kGameDirFieldNumber; +const int CSVCMsg_ServerInfo::kMapNameFieldNumber; +const int CSVCMsg_ServerInfo::kSkyNameFieldNumber; +const int CSVCMsg_ServerInfo::kHostNameFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_ServerInfo::CSVCMsg_ServerInfo() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_ServerInfo::InitAsDefaultInstance() { +} + +CSVCMsg_ServerInfo::CSVCMsg_ServerInfo(const CSVCMsg_ServerInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_ServerInfo::SharedCtor() { + _cached_size_ = 0; + protocol_ = 0; + server_count_ = 0; + is_dedicated_ = false; + is_hltv_ = false; + is_replay_ = false; + c_os_ = 0; + map_crc_ = 0u; + client_crc_ = 0u; + string_table_crc_ = 0u; + max_clients_ = 0; + max_classes_ = 0; + player_slot_ = 0; + tick_interval_ = 0; + game_dir_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + map_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + sky_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + host_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_ServerInfo::~CSVCMsg_ServerInfo() { + SharedDtor(); +} + +void CSVCMsg_ServerInfo::SharedDtor() { + if (game_dir_ != &::google::protobuf::internal::kEmptyString) { + delete game_dir_; + } + if (map_name_ != &::google::protobuf::internal::kEmptyString) { + delete map_name_; + } + if (sky_name_ != &::google::protobuf::internal::kEmptyString) { + delete sky_name_; + } + if (host_name_ != &::google::protobuf::internal::kEmptyString) { + delete host_name_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_ServerInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_ServerInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_ServerInfo_descriptor_; +} + +const CSVCMsg_ServerInfo& CSVCMsg_ServerInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_ServerInfo* CSVCMsg_ServerInfo::default_instance_ = NULL; + +CSVCMsg_ServerInfo* CSVCMsg_ServerInfo::New() const { + return new CSVCMsg_ServerInfo; +} + +void CSVCMsg_ServerInfo::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + protocol_ = 0; + server_count_ = 0; + is_dedicated_ = false; + is_hltv_ = false; + is_replay_ = false; + c_os_ = 0; + map_crc_ = 0u; + client_crc_ = 0u; + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + string_table_crc_ = 0u; + max_clients_ = 0; + max_classes_ = 0; + player_slot_ = 0; + tick_interval_ = 0; + if (has_game_dir()) { + if (game_dir_ != &::google::protobuf::internal::kEmptyString) { + game_dir_->clear(); + } + } + if (has_map_name()) { + if (map_name_ != &::google::protobuf::internal::kEmptyString) { + map_name_->clear(); + } + } + if (has_sky_name()) { + if (sky_name_ != &::google::protobuf::internal::kEmptyString) { + sky_name_->clear(); + } + } + } + if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + if (has_host_name()) { + if (host_name_ != &::google::protobuf::internal::kEmptyString) { + host_name_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_ServerInfo::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 int32 protocol = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &protocol_))); + set_has_protocol(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_server_count; + break; + } + + // optional int32 server_count = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_server_count: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &server_count_))); + set_has_server_count(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_is_dedicated; + break; + } + + // optional bool is_dedicated = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_dedicated: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_dedicated_))); + set_has_is_dedicated(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_is_hltv; + break; + } + + // optional bool is_hltv = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_hltv: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_hltv_))); + set_has_is_hltv(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_is_replay; + break; + } + + // optional bool is_replay = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_replay: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_replay_))); + set_has_is_replay(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_c_os; + break; + } + + // optional int32 c_os = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_c_os: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &c_os_))); + set_has_c_os(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(61)) goto parse_map_crc; + break; + } + + // optional fixed32 map_crc = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_map_crc: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &map_crc_))); + set_has_map_crc(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(69)) goto parse_client_crc; + break; + } + + // optional fixed32 client_crc = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_client_crc: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &client_crc_))); + set_has_client_crc(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(77)) goto parse_string_table_crc; + break; + } + + // optional fixed32 string_table_crc = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_string_table_crc: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &string_table_crc_))); + set_has_string_table_crc(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(80)) goto parse_max_clients; + break; + } + + // optional int32 max_clients = 10; + case 10: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_max_clients: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &max_clients_))); + set_has_max_clients(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(88)) goto parse_max_classes; + break; + } + + // optional int32 max_classes = 11; + case 11: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_max_classes: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &max_classes_))); + set_has_max_classes(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(96)) goto parse_player_slot; + break; + } + + // optional int32 player_slot = 12; + case 12: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_player_slot: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_slot_))); + set_has_player_slot(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(109)) goto parse_tick_interval; + break; + } + + // optional float tick_interval = 13; + case 13: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_tick_interval: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &tick_interval_))); + set_has_tick_interval(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(114)) goto parse_game_dir; + break; + } + + // optional string game_dir = 14; + case 14: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_game_dir: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_game_dir())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->game_dir().data(), this->game_dir().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(122)) goto parse_map_name; + break; + } + + // optional string map_name = 15; + case 15: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_map_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_map_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->map_name().data(), this->map_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(130)) goto parse_sky_name; + break; + } + + // optional string sky_name = 16; + case 16: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_sky_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_sky_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->sky_name().data(), this->sky_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(138)) goto parse_host_name; + break; + } + + // optional string host_name = 17; + case 17: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_host_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_host_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->host_name().data(), this->host_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CSVCMsg_ServerInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 protocol = 1; + if (has_protocol()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->protocol(), output); + } + + // optional int32 server_count = 2; + if (has_server_count()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->server_count(), output); + } + + // optional bool is_dedicated = 3; + if (has_is_dedicated()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_dedicated(), output); + } + + // optional bool is_hltv = 4; + if (has_is_hltv()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_hltv(), output); + } + + // optional bool is_replay = 5; + if (has_is_replay()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_replay(), output); + } + + // optional int32 c_os = 6; + if (has_c_os()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->c_os(), output); + } + + // optional fixed32 map_crc = 7; + if (has_map_crc()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(7, this->map_crc(), output); + } + + // optional fixed32 client_crc = 8; + if (has_client_crc()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(8, this->client_crc(), output); + } + + // optional fixed32 string_table_crc = 9; + if (has_string_table_crc()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(9, this->string_table_crc(), output); + } + + // optional int32 max_clients = 10; + if (has_max_clients()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->max_clients(), output); + } + + // optional int32 max_classes = 11; + if (has_max_classes()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->max_classes(), output); + } + + // optional int32 player_slot = 12; + if (has_player_slot()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->player_slot(), output); + } + + // optional float tick_interval = 13; + if (has_tick_interval()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(13, this->tick_interval(), output); + } + + // optional string game_dir = 14; + if (has_game_dir()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->game_dir().data(), this->game_dir().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 14, this->game_dir(), output); + } + + // optional string map_name = 15; + if (has_map_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->map_name().data(), this->map_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 15, this->map_name(), output); + } + + // optional string sky_name = 16; + if (has_sky_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->sky_name().data(), this->sky_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 16, this->sky_name(), output); + } + + // optional string host_name = 17; + if (has_host_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->host_name().data(), this->host_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 17, this->host_name(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_ServerInfo::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 protocol = 1; + if (has_protocol()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->protocol(), target); + } + + // optional int32 server_count = 2; + if (has_server_count()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->server_count(), target); + } + + // optional bool is_dedicated = 3; + if (has_is_dedicated()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_dedicated(), target); + } + + // optional bool is_hltv = 4; + if (has_is_hltv()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_hltv(), target); + } + + // optional bool is_replay = 5; + if (has_is_replay()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_replay(), target); + } + + // optional int32 c_os = 6; + if (has_c_os()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->c_os(), target); + } + + // optional fixed32 map_crc = 7; + if (has_map_crc()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(7, this->map_crc(), target); + } + + // optional fixed32 client_crc = 8; + if (has_client_crc()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(8, this->client_crc(), target); + } + + // optional fixed32 string_table_crc = 9; + if (has_string_table_crc()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(9, this->string_table_crc(), target); + } + + // optional int32 max_clients = 10; + if (has_max_clients()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->max_clients(), target); + } + + // optional int32 max_classes = 11; + if (has_max_classes()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->max_classes(), target); + } + + // optional int32 player_slot = 12; + if (has_player_slot()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->player_slot(), target); + } + + // optional float tick_interval = 13; + if (has_tick_interval()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(13, this->tick_interval(), target); + } + + // optional string game_dir = 14; + if (has_game_dir()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->game_dir().data(), this->game_dir().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 14, this->game_dir(), target); + } + + // optional string map_name = 15; + if (has_map_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->map_name().data(), this->map_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 15, this->map_name(), target); + } + + // optional string sky_name = 16; + if (has_sky_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->sky_name().data(), this->sky_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 16, this->sky_name(), target); + } + + // optional string host_name = 17; + if (has_host_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->host_name().data(), this->host_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 17, this->host_name(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_ServerInfo::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 protocol = 1; + if (has_protocol()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->protocol()); + } + + // optional int32 server_count = 2; + if (has_server_count()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->server_count()); + } + + // optional bool is_dedicated = 3; + if (has_is_dedicated()) { + total_size += 1 + 1; + } + + // optional bool is_hltv = 4; + if (has_is_hltv()) { + total_size += 1 + 1; + } + + // optional bool is_replay = 5; + if (has_is_replay()) { + total_size += 1 + 1; + } + + // optional int32 c_os = 6; + if (has_c_os()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->c_os()); + } + + // optional fixed32 map_crc = 7; + if (has_map_crc()) { + total_size += 1 + 4; + } + + // optional fixed32 client_crc = 8; + if (has_client_crc()) { + total_size += 1 + 4; + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional fixed32 string_table_crc = 9; + if (has_string_table_crc()) { + total_size += 1 + 4; + } + + // optional int32 max_clients = 10; + if (has_max_clients()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->max_clients()); + } + + // optional int32 max_classes = 11; + if (has_max_classes()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->max_classes()); + } + + // optional int32 player_slot = 12; + if (has_player_slot()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player_slot()); + } + + // optional float tick_interval = 13; + if (has_tick_interval()) { + total_size += 1 + 4; + } + + // optional string game_dir = 14; + if (has_game_dir()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->game_dir()); + } + + // optional string map_name = 15; + if (has_map_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->map_name()); + } + + // optional string sky_name = 16; + if (has_sky_name()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->sky_name()); + } + + } + if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + // optional string host_name = 17; + if (has_host_name()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->host_name()); + } + + } + 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 CSVCMsg_ServerInfo::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_ServerInfo* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_ServerInfo::MergeFrom(const CSVCMsg_ServerInfo& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_protocol()) { + set_protocol(from.protocol()); + } + if (from.has_server_count()) { + set_server_count(from.server_count()); + } + if (from.has_is_dedicated()) { + set_is_dedicated(from.is_dedicated()); + } + if (from.has_is_hltv()) { + set_is_hltv(from.is_hltv()); + } + if (from.has_is_replay()) { + set_is_replay(from.is_replay()); + } + if (from.has_c_os()) { + set_c_os(from.c_os()); + } + if (from.has_map_crc()) { + set_map_crc(from.map_crc()); + } + if (from.has_client_crc()) { + set_client_crc(from.client_crc()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_string_table_crc()) { + set_string_table_crc(from.string_table_crc()); + } + if (from.has_max_clients()) { + set_max_clients(from.max_clients()); + } + if (from.has_max_classes()) { + set_max_classes(from.max_classes()); + } + if (from.has_player_slot()) { + set_player_slot(from.player_slot()); + } + if (from.has_tick_interval()) { + set_tick_interval(from.tick_interval()); + } + if (from.has_game_dir()) { + set_game_dir(from.game_dir()); + } + if (from.has_map_name()) { + set_map_name(from.map_name()); + } + if (from.has_sky_name()) { + set_sky_name(from.sky_name()); + } + } + if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { + if (from.has_host_name()) { + set_host_name(from.host_name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_ServerInfo::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_ServerInfo::CopyFrom(const CSVCMsg_ServerInfo& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ServerInfo::IsInitialized() const { + + return true; +} + +void CSVCMsg_ServerInfo::Swap(CSVCMsg_ServerInfo* other) { + if (other != this) { + std::swap(protocol_, other->protocol_); + std::swap(server_count_, other->server_count_); + std::swap(is_dedicated_, other->is_dedicated_); + std::swap(is_hltv_, other->is_hltv_); + std::swap(is_replay_, other->is_replay_); + std::swap(c_os_, other->c_os_); + std::swap(map_crc_, other->map_crc_); + std::swap(client_crc_, other->client_crc_); + std::swap(string_table_crc_, other->string_table_crc_); + std::swap(max_clients_, other->max_clients_); + std::swap(max_classes_, other->max_classes_); + std::swap(player_slot_, other->player_slot_); + std::swap(tick_interval_, other->tick_interval_); + std::swap(game_dir_, other->game_dir_); + std::swap(map_name_, other->map_name_); + std::swap(sky_name_, other->sky_name_); + std::swap(host_name_, other->host_name_); + 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 CSVCMsg_ServerInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_ServerInfo_descriptor_; + metadata.reflection = CSVCMsg_ServerInfo_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_ClassInfo_class_t::kClassIdFieldNumber; +const int CSVCMsg_ClassInfo_class_t::kDataTableNameFieldNumber; +const int CSVCMsg_ClassInfo_class_t::kClassNameFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_ClassInfo_class_t::InitAsDefaultInstance() { +} + +CSVCMsg_ClassInfo_class_t::CSVCMsg_ClassInfo_class_t(const CSVCMsg_ClassInfo_class_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_ClassInfo_class_t::SharedCtor() { + _cached_size_ = 0; + class_id_ = 0; + data_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + class_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_ClassInfo_class_t::~CSVCMsg_ClassInfo_class_t() { + SharedDtor(); +} + +void CSVCMsg_ClassInfo_class_t::SharedDtor() { + if (data_table_name_ != &::google::protobuf::internal::kEmptyString) { + delete data_table_name_; + } + if (class_name_ != &::google::protobuf::internal::kEmptyString) { + delete class_name_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_ClassInfo_class_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_ClassInfo_class_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_ClassInfo_class_t_descriptor_; +} + +const CSVCMsg_ClassInfo_class_t& CSVCMsg_ClassInfo_class_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo_class_t::default_instance_ = NULL; + +CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo_class_t::New() const { + return new CSVCMsg_ClassInfo_class_t; +} + +void CSVCMsg_ClassInfo_class_t::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + class_id_ = 0; + if (has_data_table_name()) { + if (data_table_name_ != &::google::protobuf::internal::kEmptyString) { + data_table_name_->clear(); + } + } + if (has_class_name()) { + if (class_name_ != &::google::protobuf::internal::kEmptyString) { + class_name_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_ClassInfo_class_t::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 int32 class_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &class_id_))); + set_has_class_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_data_table_name; + break; + } + + // optional string data_table_name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_data_table_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_data_table_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->data_table_name().data(), this->data_table_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_class_name; + break; + } + + // optional string class_name = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_class_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_class_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->class_name().data(), this->class_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CSVCMsg_ClassInfo_class_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 class_id = 1; + if (has_class_id()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->class_id(), output); + } + + // optional string data_table_name = 2; + if (has_data_table_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->data_table_name().data(), this->data_table_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->data_table_name(), output); + } + + // optional string class_name = 3; + if (has_class_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->class_name().data(), this->class_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->class_name(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_ClassInfo_class_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 class_id = 1; + if (has_class_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->class_id(), target); + } + + // optional string data_table_name = 2; + if (has_data_table_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->data_table_name().data(), this->data_table_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->data_table_name(), target); + } + + // optional string class_name = 3; + if (has_class_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->class_name().data(), this->class_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->class_name(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_ClassInfo_class_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 class_id = 1; + if (has_class_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->class_id()); + } + + // optional string data_table_name = 2; + if (has_data_table_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->data_table_name()); + } + + // optional string class_name = 3; + if (has_class_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->class_name()); + } + + } + 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 CSVCMsg_ClassInfo_class_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_ClassInfo_class_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_ClassInfo_class_t::MergeFrom(const CSVCMsg_ClassInfo_class_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_class_id()) { + set_class_id(from.class_id()); + } + if (from.has_data_table_name()) { + set_data_table_name(from.data_table_name()); + } + if (from.has_class_name()) { + set_class_name(from.class_name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_ClassInfo_class_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_ClassInfo_class_t::CopyFrom(const CSVCMsg_ClassInfo_class_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ClassInfo_class_t::IsInitialized() const { + + return true; +} + +void CSVCMsg_ClassInfo_class_t::Swap(CSVCMsg_ClassInfo_class_t* other) { + if (other != this) { + std::swap(class_id_, other->class_id_); + std::swap(data_table_name_, other->data_table_name_); + std::swap(class_name_, other->class_name_); + 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 CSVCMsg_ClassInfo_class_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_ClassInfo_class_t_descriptor_; + metadata.reflection = CSVCMsg_ClassInfo_class_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CSVCMsg_ClassInfo::kCreateOnClientFieldNumber; +const int CSVCMsg_ClassInfo::kClassesFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_ClassInfo::CSVCMsg_ClassInfo() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_ClassInfo::InitAsDefaultInstance() { +} + +CSVCMsg_ClassInfo::CSVCMsg_ClassInfo(const CSVCMsg_ClassInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_ClassInfo::SharedCtor() { + _cached_size_ = 0; + create_on_client_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_ClassInfo::~CSVCMsg_ClassInfo() { + SharedDtor(); +} + +void CSVCMsg_ClassInfo::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_ClassInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_ClassInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_ClassInfo_descriptor_; +} + +const CSVCMsg_ClassInfo& CSVCMsg_ClassInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_ClassInfo* CSVCMsg_ClassInfo::default_instance_ = NULL; + +CSVCMsg_ClassInfo* CSVCMsg_ClassInfo::New() const { + return new CSVCMsg_ClassInfo; +} + +void CSVCMsg_ClassInfo::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + create_on_client_ = false; + } + classes_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_ClassInfo::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 bool create_on_client = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &create_on_client_))); + set_has_create_on_client(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_classes; + break; + } + + // repeated .CSVCMsg_ClassInfo.class_t classes = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_classes: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_classes())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_classes; + 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 CSVCMsg_ClassInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool create_on_client = 1; + if (has_create_on_client()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->create_on_client(), output); + } + + // repeated .CSVCMsg_ClassInfo.class_t classes = 2; + for (int i = 0; i < this->classes_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->classes(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_ClassInfo::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool create_on_client = 1; + if (has_create_on_client()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->create_on_client(), target); + } + + // repeated .CSVCMsg_ClassInfo.class_t classes = 2; + for (int i = 0; i < this->classes_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->classes(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_ClassInfo::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool create_on_client = 1; + if (has_create_on_client()) { + total_size += 1 + 1; + } + + } + // repeated .CSVCMsg_ClassInfo.class_t classes = 2; + total_size += 1 * this->classes_size(); + for (int i = 0; i < this->classes_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->classes(i)); + } + + 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 CSVCMsg_ClassInfo::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_ClassInfo* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_ClassInfo::MergeFrom(const CSVCMsg_ClassInfo& from) { + GOOGLE_CHECK_NE(&from, this); + classes_.MergeFrom(from.classes_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_create_on_client()) { + set_create_on_client(from.create_on_client()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_ClassInfo::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_ClassInfo::CopyFrom(const CSVCMsg_ClassInfo& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ClassInfo::IsInitialized() const { + + return true; +} + +void CSVCMsg_ClassInfo::Swap(CSVCMsg_ClassInfo* other) { + if (other != this) { + std::swap(create_on_client_, other->create_on_client_); + classes_.Swap(&other->classes_); + 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 CSVCMsg_ClassInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_ClassInfo_descriptor_; + metadata.reflection = CSVCMsg_ClassInfo_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_SetPause::kPausedFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_SetPause::CSVCMsg_SetPause() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_SetPause::InitAsDefaultInstance() { +} + +CSVCMsg_SetPause::CSVCMsg_SetPause(const CSVCMsg_SetPause& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_SetPause::SharedCtor() { + _cached_size_ = 0; + paused_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_SetPause::~CSVCMsg_SetPause() { + SharedDtor(); +} + +void CSVCMsg_SetPause::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_SetPause::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_SetPause::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_SetPause_descriptor_; +} + +const CSVCMsg_SetPause& CSVCMsg_SetPause::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_SetPause* CSVCMsg_SetPause::default_instance_ = NULL; + +CSVCMsg_SetPause* CSVCMsg_SetPause::New() const { + return new CSVCMsg_SetPause; +} + +void CSVCMsg_SetPause::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + paused_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_SetPause::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 bool paused = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &paused_))); + set_has_paused(); + } 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 CSVCMsg_SetPause::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool paused = 1; + if (has_paused()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->paused(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_SetPause::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool paused = 1; + if (has_paused()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->paused(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_SetPause::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool paused = 1; + if (has_paused()) { + total_size += 1 + 1; + } + + } + 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 CSVCMsg_SetPause::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_SetPause* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_SetPause::MergeFrom(const CSVCMsg_SetPause& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_paused()) { + set_paused(from.paused()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_SetPause::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_SetPause::CopyFrom(const CSVCMsg_SetPause& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SetPause::IsInitialized() const { + + return true; +} + +void CSVCMsg_SetPause::Swap(CSVCMsg_SetPause* other) { + if (other != this) { + std::swap(paused_, other->paused_); + 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 CSVCMsg_SetPause::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_SetPause_descriptor_; + metadata.reflection = CSVCMsg_SetPause_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_VoiceInit::kQualityFieldNumber; +const int CSVCMsg_VoiceInit::kCodecFieldNumber; +const int CSVCMsg_VoiceInit::kVersionFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_VoiceInit::CSVCMsg_VoiceInit() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_VoiceInit::InitAsDefaultInstance() { +} + +CSVCMsg_VoiceInit::CSVCMsg_VoiceInit(const CSVCMsg_VoiceInit& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_VoiceInit::SharedCtor() { + _cached_size_ = 0; + quality_ = 0; + codec_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + version_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_VoiceInit::~CSVCMsg_VoiceInit() { + SharedDtor(); +} + +void CSVCMsg_VoiceInit::SharedDtor() { + if (codec_ != &::google::protobuf::internal::kEmptyString) { + delete codec_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_VoiceInit::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_VoiceInit::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_VoiceInit_descriptor_; +} + +const CSVCMsg_VoiceInit& CSVCMsg_VoiceInit::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_VoiceInit* CSVCMsg_VoiceInit::default_instance_ = NULL; + +CSVCMsg_VoiceInit* CSVCMsg_VoiceInit::New() const { + return new CSVCMsg_VoiceInit; +} + +void CSVCMsg_VoiceInit::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + quality_ = 0; + if (has_codec()) { + if (codec_ != &::google::protobuf::internal::kEmptyString) { + codec_->clear(); + } + } + version_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_VoiceInit::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 int32 quality = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &quality_))); + set_has_quality(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_codec; + break; + } + + // optional string codec = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_codec: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_codec())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->codec().data(), this->codec().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_version; + break; + } + + // optional int32 version = 3 [default = 0]; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_version: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &version_))); + set_has_version(); + } 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 CSVCMsg_VoiceInit::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 quality = 1; + if (has_quality()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->quality(), output); + } + + // optional string codec = 2; + if (has_codec()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->codec().data(), this->codec().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->codec(), output); + } + + // optional int32 version = 3 [default = 0]; + if (has_version()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->version(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_VoiceInit::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 quality = 1; + if (has_quality()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->quality(), target); + } + + // optional string codec = 2; + if (has_codec()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->codec().data(), this->codec().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->codec(), target); + } + + // optional int32 version = 3 [default = 0]; + if (has_version()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->version(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_VoiceInit::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 quality = 1; + if (has_quality()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->quality()); + } + + // optional string codec = 2; + if (has_codec()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->codec()); + } + + // optional int32 version = 3 [default = 0]; + if (has_version()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->version()); + } + + } + 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 CSVCMsg_VoiceInit::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_VoiceInit* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_VoiceInit::MergeFrom(const CSVCMsg_VoiceInit& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_quality()) { + set_quality(from.quality()); + } + if (from.has_codec()) { + set_codec(from.codec()); + } + if (from.has_version()) { + set_version(from.version()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_VoiceInit::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_VoiceInit::CopyFrom(const CSVCMsg_VoiceInit& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_VoiceInit::IsInitialized() const { + + return true; +} + +void CSVCMsg_VoiceInit::Swap(CSVCMsg_VoiceInit* other) { + if (other != this) { + std::swap(quality_, other->quality_); + std::swap(codec_, other->codec_); + std::swap(version_, other->version_); + 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 CSVCMsg_VoiceInit::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_VoiceInit_descriptor_; + metadata.reflection = CSVCMsg_VoiceInit_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_Print::kTextFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_Print::CSVCMsg_Print() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_Print::InitAsDefaultInstance() { +} + +CSVCMsg_Print::CSVCMsg_Print(const CSVCMsg_Print& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_Print::SharedCtor() { + _cached_size_ = 0; + text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_Print::~CSVCMsg_Print() { + SharedDtor(); +} + +void CSVCMsg_Print::SharedDtor() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + delete text_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_Print::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_Print::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_Print_descriptor_; +} + +const CSVCMsg_Print& CSVCMsg_Print::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_Print* CSVCMsg_Print::default_instance_ = NULL; + +CSVCMsg_Print* CSVCMsg_Print::New() const { + return new CSVCMsg_Print; +} + +void CSVCMsg_Print::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_text()) { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_Print::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 string text = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_text())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CSVCMsg_Print::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string text = 1; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->text(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_Print::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string text = 1; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->text(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_Print::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string text = 1; + if (has_text()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->text()); + } + + } + 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 CSVCMsg_Print::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_Print* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_Print::MergeFrom(const CSVCMsg_Print& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_text()) { + set_text(from.text()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_Print::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_Print::CopyFrom(const CSVCMsg_Print& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Print::IsInitialized() const { + + return true; +} + +void CSVCMsg_Print::Swap(CSVCMsg_Print* other) { + if (other != this) { + std::swap(text_, other->text_); + 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 CSVCMsg_Print::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_Print_descriptor_; + metadata.reflection = CSVCMsg_Print_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_Sounds_sounddata_t::kOriginXFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kOriginYFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kOriginZFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kVolumeFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kDelayValueFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kSequenceNumberFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kEntityIndexFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kChannelFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kPitchFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kFlagsFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kSoundNumFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kSoundNumHandleFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kSpeakerEntityFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kRandomSeedFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kSoundLevelFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kIsSentenceFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kIsAmbientFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_Sounds_sounddata_t::InitAsDefaultInstance() { +} + +CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t(const CSVCMsg_Sounds_sounddata_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_Sounds_sounddata_t::SharedCtor() { + _cached_size_ = 0; + origin_x_ = 0; + origin_y_ = 0; + origin_z_ = 0; + volume_ = 0u; + delay_value_ = 0; + sequence_number_ = 0; + entity_index_ = 0; + channel_ = 0; + pitch_ = 0; + flags_ = 0; + sound_num_ = 0u; + sound_num_handle_ = 0u; + speaker_entity_ = 0; + random_seed_ = 0; + sound_level_ = 0; + is_sentence_ = false; + is_ambient_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_Sounds_sounddata_t::~CSVCMsg_Sounds_sounddata_t() { + SharedDtor(); +} + +void CSVCMsg_Sounds_sounddata_t::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_Sounds_sounddata_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_Sounds_sounddata_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_Sounds_sounddata_t_descriptor_; +} + +const CSVCMsg_Sounds_sounddata_t& CSVCMsg_Sounds_sounddata_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds_sounddata_t::default_instance_ = NULL; + +CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds_sounddata_t::New() const { + return new CSVCMsg_Sounds_sounddata_t; +} + +void CSVCMsg_Sounds_sounddata_t::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + origin_x_ = 0; + origin_y_ = 0; + origin_z_ = 0; + volume_ = 0u; + delay_value_ = 0; + sequence_number_ = 0; + entity_index_ = 0; + channel_ = 0; + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + pitch_ = 0; + flags_ = 0; + sound_num_ = 0u; + sound_num_handle_ = 0u; + speaker_entity_ = 0; + random_seed_ = 0; + sound_level_ = 0; + is_sentence_ = false; + } + if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + is_ambient_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_Sounds_sounddata_t::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 sint32 origin_x = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &origin_x_))); + set_has_origin_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_origin_y; + break; + } + + // optional sint32 origin_y = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_origin_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &origin_y_))); + set_has_origin_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_origin_z; + break; + } + + // optional sint32 origin_z = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_origin_z: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &origin_z_))); + set_has_origin_z(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_volume; + break; + } + + // optional uint32 volume = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_volume: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &volume_))); + set_has_volume(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(45)) goto parse_delay_value; + break; + } + + // optional float delay_value = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_delay_value: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &delay_value_))); + set_has_delay_value(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_sequence_number; + break; + } + + // optional int32 sequence_number = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_sequence_number: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &sequence_number_))); + set_has_sequence_number(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(56)) goto parse_entity_index; + break; + } + + // optional int32 entity_index = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entity_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_index_))); + set_has_entity_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(64)) goto parse_channel; + break; + } + + // optional int32 channel = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_channel: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &channel_))); + set_has_channel(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(72)) goto parse_pitch; + break; + } + + // optional int32 pitch = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_pitch: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &pitch_))); + set_has_pitch(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(80)) goto parse_flags; + break; + } + + // optional int32 flags = 10; + case 10: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_flags: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &flags_))); + set_has_flags(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(88)) goto parse_sound_num; + break; + } + + // optional uint32 sound_num = 11; + case 11: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_sound_num: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &sound_num_))); + set_has_sound_num(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(101)) goto parse_sound_num_handle; + break; + } + + // optional fixed32 sound_num_handle = 12; + case 12: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_sound_num_handle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &sound_num_handle_))); + set_has_sound_num_handle(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(104)) goto parse_speaker_entity; + break; + } + + // optional int32 speaker_entity = 13; + case 13: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_speaker_entity: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &speaker_entity_))); + set_has_speaker_entity(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(112)) goto parse_random_seed; + break; + } + + // optional int32 random_seed = 14; + case 14: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_random_seed: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &random_seed_))); + set_has_random_seed(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(120)) goto parse_sound_level; + break; + } + + // optional int32 sound_level = 15; + case 15: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_sound_level: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &sound_level_))); + set_has_sound_level(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(128)) goto parse_is_sentence; + break; + } + + // optional bool is_sentence = 16; + case 16: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_sentence: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_sentence_))); + set_has_is_sentence(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(136)) goto parse_is_ambient; + break; + } + + // optional bool is_ambient = 17; + case 17: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_ambient: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_ambient_))); + set_has_is_ambient(); + } 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 CSVCMsg_Sounds_sounddata_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional sint32 origin_x = 1; + if (has_origin_x()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(1, this->origin_x(), output); + } + + // optional sint32 origin_y = 2; + if (has_origin_y()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(2, this->origin_y(), output); + } + + // optional sint32 origin_z = 3; + if (has_origin_z()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(3, this->origin_z(), output); + } + + // optional uint32 volume = 4; + if (has_volume()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->volume(), output); + } + + // optional float delay_value = 5; + if (has_delay_value()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->delay_value(), output); + } + + // optional int32 sequence_number = 6; + if (has_sequence_number()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->sequence_number(), output); + } + + // optional int32 entity_index = 7; + if (has_entity_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->entity_index(), output); + } + + // optional int32 channel = 8; + if (has_channel()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->channel(), output); + } + + // optional int32 pitch = 9; + if (has_pitch()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->pitch(), output); + } + + // optional int32 flags = 10; + if (has_flags()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->flags(), output); + } + + // optional uint32 sound_num = 11; + if (has_sound_num()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(11, this->sound_num(), output); + } + + // optional fixed32 sound_num_handle = 12; + if (has_sound_num_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(12, this->sound_num_handle(), output); + } + + // optional int32 speaker_entity = 13; + if (has_speaker_entity()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->speaker_entity(), output); + } + + // optional int32 random_seed = 14; + if (has_random_seed()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->random_seed(), output); + } + + // optional int32 sound_level = 15; + if (has_sound_level()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->sound_level(), output); + } + + // optional bool is_sentence = 16; + if (has_is_sentence()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->is_sentence(), output); + } + + // optional bool is_ambient = 17; + if (has_is_ambient()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->is_ambient(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_Sounds_sounddata_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional sint32 origin_x = 1; + if (has_origin_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(1, this->origin_x(), target); + } + + // optional sint32 origin_y = 2; + if (has_origin_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(2, this->origin_y(), target); + } + + // optional sint32 origin_z = 3; + if (has_origin_z()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(3, this->origin_z(), target); + } + + // optional uint32 volume = 4; + if (has_volume()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->volume(), target); + } + + // optional float delay_value = 5; + if (has_delay_value()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->delay_value(), target); + } + + // optional int32 sequence_number = 6; + if (has_sequence_number()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->sequence_number(), target); + } + + // optional int32 entity_index = 7; + if (has_entity_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->entity_index(), target); + } + + // optional int32 channel = 8; + if (has_channel()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->channel(), target); + } + + // optional int32 pitch = 9; + if (has_pitch()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->pitch(), target); + } + + // optional int32 flags = 10; + if (has_flags()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->flags(), target); + } + + // optional uint32 sound_num = 11; + if (has_sound_num()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(11, this->sound_num(), target); + } + + // optional fixed32 sound_num_handle = 12; + if (has_sound_num_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(12, this->sound_num_handle(), target); + } + + // optional int32 speaker_entity = 13; + if (has_speaker_entity()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->speaker_entity(), target); + } + + // optional int32 random_seed = 14; + if (has_random_seed()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->random_seed(), target); + } + + // optional int32 sound_level = 15; + if (has_sound_level()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->sound_level(), target); + } + + // optional bool is_sentence = 16; + if (has_is_sentence()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->is_sentence(), target); + } + + // optional bool is_ambient = 17; + if (has_is_ambient()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->is_ambient(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_Sounds_sounddata_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional sint32 origin_x = 1; + if (has_origin_x()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->origin_x()); + } + + // optional sint32 origin_y = 2; + if (has_origin_y()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->origin_y()); + } + + // optional sint32 origin_z = 3; + if (has_origin_z()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->origin_z()); + } + + // optional uint32 volume = 4; + if (has_volume()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->volume()); + } + + // optional float delay_value = 5; + if (has_delay_value()) { + total_size += 1 + 4; + } + + // optional int32 sequence_number = 6; + if (has_sequence_number()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->sequence_number()); + } + + // optional int32 entity_index = 7; + if (has_entity_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_index()); + } + + // optional int32 channel = 8; + if (has_channel()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->channel()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional int32 pitch = 9; + if (has_pitch()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->pitch()); + } + + // optional int32 flags = 10; + if (has_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->flags()); + } + + // optional uint32 sound_num = 11; + if (has_sound_num()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->sound_num()); + } + + // optional fixed32 sound_num_handle = 12; + if (has_sound_num_handle()) { + total_size += 1 + 4; + } + + // optional int32 speaker_entity = 13; + if (has_speaker_entity()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->speaker_entity()); + } + + // optional int32 random_seed = 14; + if (has_random_seed()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->random_seed()); + } + + // optional int32 sound_level = 15; + if (has_sound_level()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->sound_level()); + } + + // optional bool is_sentence = 16; + if (has_is_sentence()) { + total_size += 2 + 1; + } + + } + if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { + // optional bool is_ambient = 17; + if (has_is_ambient()) { + total_size += 2 + 1; + } + + } + 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 CSVCMsg_Sounds_sounddata_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_Sounds_sounddata_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_Sounds_sounddata_t::MergeFrom(const CSVCMsg_Sounds_sounddata_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_origin_x()) { + set_origin_x(from.origin_x()); + } + if (from.has_origin_y()) { + set_origin_y(from.origin_y()); + } + if (from.has_origin_z()) { + set_origin_z(from.origin_z()); + } + if (from.has_volume()) { + set_volume(from.volume()); + } + if (from.has_delay_value()) { + set_delay_value(from.delay_value()); + } + if (from.has_sequence_number()) { + set_sequence_number(from.sequence_number()); + } + if (from.has_entity_index()) { + set_entity_index(from.entity_index()); + } + if (from.has_channel()) { + set_channel(from.channel()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_pitch()) { + set_pitch(from.pitch()); + } + if (from.has_flags()) { + set_flags(from.flags()); + } + if (from.has_sound_num()) { + set_sound_num(from.sound_num()); + } + if (from.has_sound_num_handle()) { + set_sound_num_handle(from.sound_num_handle()); + } + if (from.has_speaker_entity()) { + set_speaker_entity(from.speaker_entity()); + } + if (from.has_random_seed()) { + set_random_seed(from.random_seed()); + } + if (from.has_sound_level()) { + set_sound_level(from.sound_level()); + } + if (from.has_is_sentence()) { + set_is_sentence(from.is_sentence()); + } + } + if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { + if (from.has_is_ambient()) { + set_is_ambient(from.is_ambient()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_Sounds_sounddata_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_Sounds_sounddata_t::CopyFrom(const CSVCMsg_Sounds_sounddata_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Sounds_sounddata_t::IsInitialized() const { + + return true; +} + +void CSVCMsg_Sounds_sounddata_t::Swap(CSVCMsg_Sounds_sounddata_t* other) { + if (other != this) { + std::swap(origin_x_, other->origin_x_); + std::swap(origin_y_, other->origin_y_); + std::swap(origin_z_, other->origin_z_); + std::swap(volume_, other->volume_); + std::swap(delay_value_, other->delay_value_); + std::swap(sequence_number_, other->sequence_number_); + std::swap(entity_index_, other->entity_index_); + std::swap(channel_, other->channel_); + std::swap(pitch_, other->pitch_); + std::swap(flags_, other->flags_); + std::swap(sound_num_, other->sound_num_); + std::swap(sound_num_handle_, other->sound_num_handle_); + std::swap(speaker_entity_, other->speaker_entity_); + std::swap(random_seed_, other->random_seed_); + std::swap(sound_level_, other->sound_level_); + std::swap(is_sentence_, other->is_sentence_); + std::swap(is_ambient_, other->is_ambient_); + 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 CSVCMsg_Sounds_sounddata_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_Sounds_sounddata_t_descriptor_; + metadata.reflection = CSVCMsg_Sounds_sounddata_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CSVCMsg_Sounds::kReliableSoundFieldNumber; +const int CSVCMsg_Sounds::kSoundsFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_Sounds::CSVCMsg_Sounds() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_Sounds::InitAsDefaultInstance() { +} + +CSVCMsg_Sounds::CSVCMsg_Sounds(const CSVCMsg_Sounds& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_Sounds::SharedCtor() { + _cached_size_ = 0; + reliable_sound_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_Sounds::~CSVCMsg_Sounds() { + SharedDtor(); +} + +void CSVCMsg_Sounds::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_Sounds::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_Sounds::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_Sounds_descriptor_; +} + +const CSVCMsg_Sounds& CSVCMsg_Sounds::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_Sounds* CSVCMsg_Sounds::default_instance_ = NULL; + +CSVCMsg_Sounds* CSVCMsg_Sounds::New() const { + return new CSVCMsg_Sounds; +} + +void CSVCMsg_Sounds::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + reliable_sound_ = false; + } + sounds_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_Sounds::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 bool reliable_sound = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &reliable_sound_))); + set_has_reliable_sound(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_sounds; + break; + } + + // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_sounds: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_sounds())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_sounds; + 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 CSVCMsg_Sounds::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool reliable_sound = 1; + if (has_reliable_sound()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->reliable_sound(), output); + } + + // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; + for (int i = 0; i < this->sounds_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->sounds(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_Sounds::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool reliable_sound = 1; + if (has_reliable_sound()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->reliable_sound(), target); + } + + // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; + for (int i = 0; i < this->sounds_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->sounds(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_Sounds::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool reliable_sound = 1; + if (has_reliable_sound()) { + total_size += 1 + 1; + } + + } + // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; + total_size += 1 * this->sounds_size(); + for (int i = 0; i < this->sounds_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->sounds(i)); + } + + 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 CSVCMsg_Sounds::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_Sounds* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_Sounds::MergeFrom(const CSVCMsg_Sounds& from) { + GOOGLE_CHECK_NE(&from, this); + sounds_.MergeFrom(from.sounds_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_reliable_sound()) { + set_reliable_sound(from.reliable_sound()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_Sounds::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_Sounds::CopyFrom(const CSVCMsg_Sounds& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Sounds::IsInitialized() const { + + return true; +} + +void CSVCMsg_Sounds::Swap(CSVCMsg_Sounds* other) { + if (other != this) { + std::swap(reliable_sound_, other->reliable_sound_); + sounds_.Swap(&other->sounds_); + 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 CSVCMsg_Sounds::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_Sounds_descriptor_; + metadata.reflection = CSVCMsg_Sounds_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_Prefetch::kSoundIndexFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_Prefetch::CSVCMsg_Prefetch() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_Prefetch::InitAsDefaultInstance() { +} + +CSVCMsg_Prefetch::CSVCMsg_Prefetch(const CSVCMsg_Prefetch& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_Prefetch::SharedCtor() { + _cached_size_ = 0; + sound_index_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_Prefetch::~CSVCMsg_Prefetch() { + SharedDtor(); +} + +void CSVCMsg_Prefetch::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_Prefetch::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_Prefetch::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_Prefetch_descriptor_; +} + +const CSVCMsg_Prefetch& CSVCMsg_Prefetch::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_Prefetch* CSVCMsg_Prefetch::default_instance_ = NULL; + +CSVCMsg_Prefetch* CSVCMsg_Prefetch::New() const { + return new CSVCMsg_Prefetch; +} + +void CSVCMsg_Prefetch::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + sound_index_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_Prefetch::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 int32 sound_index = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &sound_index_))); + set_has_sound_index(); + } 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 CSVCMsg_Prefetch::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 sound_index = 1; + if (has_sound_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->sound_index(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_Prefetch::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 sound_index = 1; + if (has_sound_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->sound_index(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_Prefetch::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 sound_index = 1; + if (has_sound_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->sound_index()); + } + + } + 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 CSVCMsg_Prefetch::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_Prefetch* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_Prefetch::MergeFrom(const CSVCMsg_Prefetch& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_sound_index()) { + set_sound_index(from.sound_index()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_Prefetch::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_Prefetch::CopyFrom(const CSVCMsg_Prefetch& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Prefetch::IsInitialized() const { + + return true; +} + +void CSVCMsg_Prefetch::Swap(CSVCMsg_Prefetch* other) { + if (other != this) { + std::swap(sound_index_, other->sound_index_); + 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 CSVCMsg_Prefetch::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_Prefetch_descriptor_; + metadata.reflection = CSVCMsg_Prefetch_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_SetView::kEntityIndexFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_SetView::CSVCMsg_SetView() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_SetView::InitAsDefaultInstance() { +} + +CSVCMsg_SetView::CSVCMsg_SetView(const CSVCMsg_SetView& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_SetView::SharedCtor() { + _cached_size_ = 0; + entity_index_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_SetView::~CSVCMsg_SetView() { + SharedDtor(); +} + +void CSVCMsg_SetView::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_SetView::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_SetView::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_SetView_descriptor_; +} + +const CSVCMsg_SetView& CSVCMsg_SetView::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_SetView* CSVCMsg_SetView::default_instance_ = NULL; + +CSVCMsg_SetView* CSVCMsg_SetView::New() const { + return new CSVCMsg_SetView; +} + +void CSVCMsg_SetView::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + entity_index_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_SetView::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 int32 entity_index = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_index_))); + set_has_entity_index(); + } 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 CSVCMsg_SetView::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 entity_index = 1; + if (has_entity_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entity_index(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_SetView::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 entity_index = 1; + if (has_entity_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entity_index(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_SetView::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 entity_index = 1; + if (has_entity_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_index()); + } + + } + 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 CSVCMsg_SetView::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_SetView* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_SetView::MergeFrom(const CSVCMsg_SetView& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_entity_index()) { + set_entity_index(from.entity_index()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_SetView::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_SetView::CopyFrom(const CSVCMsg_SetView& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SetView::IsInitialized() const { + + return true; +} + +void CSVCMsg_SetView::Swap(CSVCMsg_SetView* other) { + if (other != this) { + std::swap(entity_index_, other->entity_index_); + 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 CSVCMsg_SetView::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_SetView_descriptor_; + metadata.reflection = CSVCMsg_SetView_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_FixAngle::kRelativeFieldNumber; +const int CSVCMsg_FixAngle::kAngleFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_FixAngle::CSVCMsg_FixAngle() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_FixAngle::InitAsDefaultInstance() { + angle_ = const_cast< ::CMsgQAngle*>(&::CMsgQAngle::default_instance()); +} + +CSVCMsg_FixAngle::CSVCMsg_FixAngle(const CSVCMsg_FixAngle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_FixAngle::SharedCtor() { + _cached_size_ = 0; + relative_ = false; + angle_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_FixAngle::~CSVCMsg_FixAngle() { + SharedDtor(); +} + +void CSVCMsg_FixAngle::SharedDtor() { + if (this != default_instance_) { + delete angle_; + } +} + +void CSVCMsg_FixAngle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_FixAngle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_FixAngle_descriptor_; +} + +const CSVCMsg_FixAngle& CSVCMsg_FixAngle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_FixAngle* CSVCMsg_FixAngle::default_instance_ = NULL; + +CSVCMsg_FixAngle* CSVCMsg_FixAngle::New() const { + return new CSVCMsg_FixAngle; +} + +void CSVCMsg_FixAngle::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + relative_ = false; + if (has_angle()) { + if (angle_ != NULL) angle_->::CMsgQAngle::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_FixAngle::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 bool relative = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &relative_))); + set_has_relative(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_angle; + break; + } + + // optional .CMsgQAngle angle = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_angle: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_angle())); + } 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 CSVCMsg_FixAngle::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool relative = 1; + if (has_relative()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->relative(), output); + } + + // optional .CMsgQAngle angle = 2; + if (has_angle()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->angle(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_FixAngle::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool relative = 1; + if (has_relative()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->relative(), target); + } + + // optional .CMsgQAngle angle = 2; + if (has_angle()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->angle(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_FixAngle::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool relative = 1; + if (has_relative()) { + total_size += 1 + 1; + } + + // optional .CMsgQAngle angle = 2; + if (has_angle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->angle()); + } + + } + 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 CSVCMsg_FixAngle::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_FixAngle* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_FixAngle::MergeFrom(const CSVCMsg_FixAngle& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_relative()) { + set_relative(from.relative()); + } + if (from.has_angle()) { + mutable_angle()->::CMsgQAngle::MergeFrom(from.angle()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_FixAngle::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_FixAngle::CopyFrom(const CSVCMsg_FixAngle& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_FixAngle::IsInitialized() const { + + return true; +} + +void CSVCMsg_FixAngle::Swap(CSVCMsg_FixAngle* other) { + if (other != this) { + std::swap(relative_, other->relative_); + std::swap(angle_, other->angle_); + 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 CSVCMsg_FixAngle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_FixAngle_descriptor_; + metadata.reflection = CSVCMsg_FixAngle_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_CrosshairAngle::kAngleFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_CrosshairAngle::InitAsDefaultInstance() { + angle_ = const_cast< ::CMsgQAngle*>(&::CMsgQAngle::default_instance()); +} + +CSVCMsg_CrosshairAngle::CSVCMsg_CrosshairAngle(const CSVCMsg_CrosshairAngle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_CrosshairAngle::SharedCtor() { + _cached_size_ = 0; + angle_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_CrosshairAngle::~CSVCMsg_CrosshairAngle() { + SharedDtor(); +} + +void CSVCMsg_CrosshairAngle::SharedDtor() { + if (this != default_instance_) { + delete angle_; + } +} + +void CSVCMsg_CrosshairAngle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_CrosshairAngle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_CrosshairAngle_descriptor_; +} + +const CSVCMsg_CrosshairAngle& CSVCMsg_CrosshairAngle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_CrosshairAngle* CSVCMsg_CrosshairAngle::default_instance_ = NULL; + +CSVCMsg_CrosshairAngle* CSVCMsg_CrosshairAngle::New() const { + return new CSVCMsg_CrosshairAngle; +} + +void CSVCMsg_CrosshairAngle::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_angle()) { + if (angle_ != NULL) angle_->::CMsgQAngle::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_CrosshairAngle::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 .CMsgQAngle angle = 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_angle())); + } 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 CSVCMsg_CrosshairAngle::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .CMsgQAngle angle = 1; + if (has_angle()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->angle(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_CrosshairAngle::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .CMsgQAngle angle = 1; + if (has_angle()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->angle(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_CrosshairAngle::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .CMsgQAngle angle = 1; + if (has_angle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->angle()); + } + + } + 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 CSVCMsg_CrosshairAngle::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_CrosshairAngle* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_CrosshairAngle::MergeFrom(const CSVCMsg_CrosshairAngle& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_angle()) { + mutable_angle()->::CMsgQAngle::MergeFrom(from.angle()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_CrosshairAngle::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_CrosshairAngle::CopyFrom(const CSVCMsg_CrosshairAngle& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_CrosshairAngle::IsInitialized() const { + + return true; +} + +void CSVCMsg_CrosshairAngle::Swap(CSVCMsg_CrosshairAngle* other) { + if (other != this) { + std::swap(angle_, other->angle_); + 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 CSVCMsg_CrosshairAngle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_CrosshairAngle_descriptor_; + metadata.reflection = CSVCMsg_CrosshairAngle_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_BSPDecal::kPosFieldNumber; +const int CSVCMsg_BSPDecal::kDecalTextureIndexFieldNumber; +const int CSVCMsg_BSPDecal::kEntityIndexFieldNumber; +const int CSVCMsg_BSPDecal::kModelIndexFieldNumber; +const int CSVCMsg_BSPDecal::kLowPriorityFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_BSPDecal::CSVCMsg_BSPDecal() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_BSPDecal::InitAsDefaultInstance() { + pos_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CSVCMsg_BSPDecal::CSVCMsg_BSPDecal(const CSVCMsg_BSPDecal& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_BSPDecal::SharedCtor() { + _cached_size_ = 0; + pos_ = NULL; + decal_texture_index_ = 0; + entity_index_ = 0; + model_index_ = 0; + low_priority_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_BSPDecal::~CSVCMsg_BSPDecal() { + SharedDtor(); +} + +void CSVCMsg_BSPDecal::SharedDtor() { + if (this != default_instance_) { + delete pos_; + } +} + +void CSVCMsg_BSPDecal::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_BSPDecal::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_BSPDecal_descriptor_; +} + +const CSVCMsg_BSPDecal& CSVCMsg_BSPDecal::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_BSPDecal* CSVCMsg_BSPDecal::default_instance_ = NULL; + +CSVCMsg_BSPDecal* CSVCMsg_BSPDecal::New() const { + return new CSVCMsg_BSPDecal; +} + +void CSVCMsg_BSPDecal::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_pos()) { + if (pos_ != NULL) pos_->::CMsgVector::Clear(); + } + decal_texture_index_ = 0; + entity_index_ = 0; + model_index_ = 0; + low_priority_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_BSPDecal::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 .CMsgVector pos = 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_pos())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_decal_texture_index; + break; + } + + // optional int32 decal_texture_index = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_decal_texture_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &decal_texture_index_))); + set_has_decal_texture_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_entity_index; + break; + } + + // optional int32 entity_index = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entity_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_index_))); + set_has_entity_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_model_index; + break; + } + + // optional int32 model_index = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_model_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &model_index_))); + set_has_model_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_low_priority; + break; + } + + // optional bool low_priority = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_low_priority: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &low_priority_))); + set_has_low_priority(); + } 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 CSVCMsg_BSPDecal::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .CMsgVector pos = 1; + if (has_pos()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->pos(), output); + } + + // optional int32 decal_texture_index = 2; + if (has_decal_texture_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->decal_texture_index(), output); + } + + // optional int32 entity_index = 3; + if (has_entity_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->entity_index(), output); + } + + // optional int32 model_index = 4; + if (has_model_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->model_index(), output); + } + + // optional bool low_priority = 5; + if (has_low_priority()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->low_priority(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_BSPDecal::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .CMsgVector pos = 1; + if (has_pos()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->pos(), target); + } + + // optional int32 decal_texture_index = 2; + if (has_decal_texture_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->decal_texture_index(), target); + } + + // optional int32 entity_index = 3; + if (has_entity_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->entity_index(), target); + } + + // optional int32 model_index = 4; + if (has_model_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->model_index(), target); + } + + // optional bool low_priority = 5; + if (has_low_priority()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->low_priority(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_BSPDecal::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .CMsgVector pos = 1; + if (has_pos()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->pos()); + } + + // optional int32 decal_texture_index = 2; + if (has_decal_texture_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->decal_texture_index()); + } + + // optional int32 entity_index = 3; + if (has_entity_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_index()); + } + + // optional int32 model_index = 4; + if (has_model_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->model_index()); + } + + // optional bool low_priority = 5; + if (has_low_priority()) { + total_size += 1 + 1; + } + + } + 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 CSVCMsg_BSPDecal::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_BSPDecal* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_BSPDecal::MergeFrom(const CSVCMsg_BSPDecal& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_pos()) { + mutable_pos()->::CMsgVector::MergeFrom(from.pos()); + } + if (from.has_decal_texture_index()) { + set_decal_texture_index(from.decal_texture_index()); + } + if (from.has_entity_index()) { + set_entity_index(from.entity_index()); + } + if (from.has_model_index()) { + set_model_index(from.model_index()); + } + if (from.has_low_priority()) { + set_low_priority(from.low_priority()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_BSPDecal::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_BSPDecal::CopyFrom(const CSVCMsg_BSPDecal& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_BSPDecal::IsInitialized() const { + + return true; +} + +void CSVCMsg_BSPDecal::Swap(CSVCMsg_BSPDecal* other) { + if (other != this) { + std::swap(pos_, other->pos_); + std::swap(decal_texture_index_, other->decal_texture_index_); + std::swap(entity_index_, other->entity_index_); + std::swap(model_index_, other->model_index_); + std::swap(low_priority_, other->low_priority_); + 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 CSVCMsg_BSPDecal::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_BSPDecal_descriptor_; + metadata.reflection = CSVCMsg_BSPDecal_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_SplitScreen::kTypeFieldNumber; +const int CSVCMsg_SplitScreen::kSlotFieldNumber; +const int CSVCMsg_SplitScreen::kPlayerIndexFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_SplitScreen::CSVCMsg_SplitScreen() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_SplitScreen::InitAsDefaultInstance() { +} + +CSVCMsg_SplitScreen::CSVCMsg_SplitScreen(const CSVCMsg_SplitScreen& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_SplitScreen::SharedCtor() { + _cached_size_ = 0; + type_ = 0; + slot_ = 0; + player_index_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_SplitScreen::~CSVCMsg_SplitScreen() { + SharedDtor(); +} + +void CSVCMsg_SplitScreen::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_SplitScreen::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_SplitScreen::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_SplitScreen_descriptor_; +} + +const CSVCMsg_SplitScreen& CSVCMsg_SplitScreen::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_SplitScreen* CSVCMsg_SplitScreen::default_instance_ = NULL; + +CSVCMsg_SplitScreen* CSVCMsg_SplitScreen::New() const { + return new CSVCMsg_SplitScreen; +} + +void CSVCMsg_SplitScreen::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + type_ = 0; + slot_ = 0; + player_index_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_SplitScreen::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 .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + 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 (ESplitScreenMessageType_IsValid(value)) { + set_type(static_cast< ESplitScreenMessageType >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_slot; + break; + } + + // optional int32 slot = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_slot: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &slot_))); + set_has_slot(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_player_index; + break; + } + + // optional int32 player_index = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_player_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_index_))); + set_has_player_index(); + } 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 CSVCMsg_SplitScreen::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + if (has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->type(), output); + } + + // optional int32 slot = 2; + if (has_slot()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->slot(), output); + } + + // optional int32 player_index = 3; + if (has_player_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_index(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_SplitScreen::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + if (has_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->type(), target); + } + + // optional int32 slot = 2; + if (has_slot()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->slot(), target); + } + + // optional int32 player_index = 3; + if (has_player_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_index(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_SplitScreen::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + if (has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); + } + + // optional int32 slot = 2; + if (has_slot()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->slot()); + } + + // optional int32 player_index = 3; + if (has_player_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player_index()); + } + + } + 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 CSVCMsg_SplitScreen::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_SplitScreen* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_SplitScreen::MergeFrom(const CSVCMsg_SplitScreen& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_type()) { + set_type(from.type()); + } + if (from.has_slot()) { + set_slot(from.slot()); + } + if (from.has_player_index()) { + set_player_index(from.player_index()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_SplitScreen::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_SplitScreen::CopyFrom(const CSVCMsg_SplitScreen& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SplitScreen::IsInitialized() const { + + return true; +} + +void CSVCMsg_SplitScreen::Swap(CSVCMsg_SplitScreen* other) { + if (other != this) { + std::swap(type_, other->type_); + std::swap(slot_, other->slot_); + std::swap(player_index_, other->player_index_); + 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 CSVCMsg_SplitScreen::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_SplitScreen_descriptor_; + metadata.reflection = CSVCMsg_SplitScreen_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_GetCvarValue::kCookieFieldNumber; +const int CSVCMsg_GetCvarValue::kCvarNameFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_GetCvarValue::InitAsDefaultInstance() { +} + +CSVCMsg_GetCvarValue::CSVCMsg_GetCvarValue(const CSVCMsg_GetCvarValue& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_GetCvarValue::SharedCtor() { + _cached_size_ = 0; + cookie_ = 0; + cvar_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_GetCvarValue::~CSVCMsg_GetCvarValue() { + SharedDtor(); +} + +void CSVCMsg_GetCvarValue::SharedDtor() { + if (cvar_name_ != &::google::protobuf::internal::kEmptyString) { + delete cvar_name_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_GetCvarValue::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_GetCvarValue::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_GetCvarValue_descriptor_; +} + +const CSVCMsg_GetCvarValue& CSVCMsg_GetCvarValue::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_GetCvarValue* CSVCMsg_GetCvarValue::default_instance_ = NULL; + +CSVCMsg_GetCvarValue* CSVCMsg_GetCvarValue::New() const { + return new CSVCMsg_GetCvarValue; +} + +void CSVCMsg_GetCvarValue::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + cookie_ = 0; + if (has_cvar_name()) { + if (cvar_name_ != &::google::protobuf::internal::kEmptyString) { + cvar_name_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_GetCvarValue::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 int32 cookie = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &cookie_))); + set_has_cookie(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_cvar_name; + break; + } + + // optional string cvar_name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_cvar_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_cvar_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->cvar_name().data(), this->cvar_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CSVCMsg_GetCvarValue::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 cookie = 1; + if (has_cookie()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->cookie(), output); + } + + // optional string cvar_name = 2; + if (has_cvar_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->cvar_name().data(), this->cvar_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->cvar_name(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_GetCvarValue::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 cookie = 1; + if (has_cookie()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->cookie(), target); + } + + // optional string cvar_name = 2; + if (has_cvar_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->cvar_name().data(), this->cvar_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->cvar_name(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_GetCvarValue::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 cookie = 1; + if (has_cookie()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->cookie()); + } + + // optional string cvar_name = 2; + if (has_cvar_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->cvar_name()); + } + + } + 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 CSVCMsg_GetCvarValue::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_GetCvarValue* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_GetCvarValue::MergeFrom(const CSVCMsg_GetCvarValue& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_cookie()) { + set_cookie(from.cookie()); + } + if (from.has_cvar_name()) { + set_cvar_name(from.cvar_name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_GetCvarValue::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_GetCvarValue::CopyFrom(const CSVCMsg_GetCvarValue& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GetCvarValue::IsInitialized() const { + + return true; +} + +void CSVCMsg_GetCvarValue::Swap(CSVCMsg_GetCvarValue* other) { + if (other != this) { + std::swap(cookie_, other->cookie_); + std::swap(cvar_name_, other->cvar_name_); + 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 CSVCMsg_GetCvarValue::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_GetCvarValue_descriptor_; + metadata.reflection = CSVCMsg_GetCvarValue_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_Menu::kDialogTypeFieldNumber; +const int CSVCMsg_Menu::kMenuKeyValuesFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_Menu::CSVCMsg_Menu() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_Menu::InitAsDefaultInstance() { +} + +CSVCMsg_Menu::CSVCMsg_Menu(const CSVCMsg_Menu& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_Menu::SharedCtor() { + _cached_size_ = 0; + dialog_type_ = 0; + menu_key_values_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_Menu::~CSVCMsg_Menu() { + SharedDtor(); +} + +void CSVCMsg_Menu::SharedDtor() { + if (menu_key_values_ != &::google::protobuf::internal::kEmptyString) { + delete menu_key_values_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_Menu::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_Menu::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_Menu_descriptor_; +} + +const CSVCMsg_Menu& CSVCMsg_Menu::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_Menu* CSVCMsg_Menu::default_instance_ = NULL; + +CSVCMsg_Menu* CSVCMsg_Menu::New() const { + return new CSVCMsg_Menu; +} + +void CSVCMsg_Menu::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + dialog_type_ = 0; + if (has_menu_key_values()) { + if (menu_key_values_ != &::google::protobuf::internal::kEmptyString) { + menu_key_values_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_Menu::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 int32 dialog_type = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &dialog_type_))); + set_has_dialog_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_menu_key_values; + break; + } + + // optional bytes menu_key_values = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_menu_key_values: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_menu_key_values())); + } 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 CSVCMsg_Menu::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 dialog_type = 1; + if (has_dialog_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->dialog_type(), output); + } + + // optional bytes menu_key_values = 2; + if (has_menu_key_values()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 2, this->menu_key_values(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_Menu::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 dialog_type = 1; + if (has_dialog_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->dialog_type(), target); + } + + // optional bytes menu_key_values = 2; + if (has_menu_key_values()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 2, this->menu_key_values(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_Menu::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 dialog_type = 1; + if (has_dialog_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->dialog_type()); + } + + // optional bytes menu_key_values = 2; + if (has_menu_key_values()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->menu_key_values()); + } + + } + 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 CSVCMsg_Menu::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_Menu* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_Menu::MergeFrom(const CSVCMsg_Menu& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_dialog_type()) { + set_dialog_type(from.dialog_type()); + } + if (from.has_menu_key_values()) { + set_menu_key_values(from.menu_key_values()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_Menu::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_Menu::CopyFrom(const CSVCMsg_Menu& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_Menu::IsInitialized() const { + + return true; +} + +void CSVCMsg_Menu::Swap(CSVCMsg_Menu* other) { + if (other != this) { + std::swap(dialog_type_, other->dialog_type_); + std::swap(menu_key_values_, other->menu_key_values_); + 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 CSVCMsg_Menu::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_Menu_descriptor_; + metadata.reflection = CSVCMsg_Menu_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_SendTable_sendprop_t::kTypeFieldNumber; +const int CSVCMsg_SendTable_sendprop_t::kVarNameFieldNumber; +const int CSVCMsg_SendTable_sendprop_t::kFlagsFieldNumber; +const int CSVCMsg_SendTable_sendprop_t::kPriorityFieldNumber; +const int CSVCMsg_SendTable_sendprop_t::kDtNameFieldNumber; +const int CSVCMsg_SendTable_sendprop_t::kNumElementsFieldNumber; +const int CSVCMsg_SendTable_sendprop_t::kLowValueFieldNumber; +const int CSVCMsg_SendTable_sendprop_t::kHighValueFieldNumber; +const int CSVCMsg_SendTable_sendprop_t::kNumBitsFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_SendTable_sendprop_t::InitAsDefaultInstance() { +} + +CSVCMsg_SendTable_sendprop_t::CSVCMsg_SendTable_sendprop_t(const CSVCMsg_SendTable_sendprop_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_SendTable_sendprop_t::SharedCtor() { + _cached_size_ = 0; + type_ = 0; + var_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + flags_ = 0; + priority_ = 0; + dt_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + num_elements_ = 0; + low_value_ = 0; + high_value_ = 0; + num_bits_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_SendTable_sendprop_t::~CSVCMsg_SendTable_sendprop_t() { + SharedDtor(); +} + +void CSVCMsg_SendTable_sendprop_t::SharedDtor() { + if (var_name_ != &::google::protobuf::internal::kEmptyString) { + delete var_name_; + } + if (dt_name_ != &::google::protobuf::internal::kEmptyString) { + delete dt_name_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_SendTable_sendprop_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_SendTable_sendprop_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_SendTable_sendprop_t_descriptor_; +} + +const CSVCMsg_SendTable_sendprop_t& CSVCMsg_SendTable_sendprop_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable_sendprop_t::default_instance_ = NULL; + +CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable_sendprop_t::New() const { + return new CSVCMsg_SendTable_sendprop_t; +} + +void CSVCMsg_SendTable_sendprop_t::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + type_ = 0; + if (has_var_name()) { + if (var_name_ != &::google::protobuf::internal::kEmptyString) { + var_name_->clear(); + } + } + flags_ = 0; + priority_ = 0; + if (has_dt_name()) { + if (dt_name_ != &::google::protobuf::internal::kEmptyString) { + dt_name_->clear(); + } + } + num_elements_ = 0; + low_value_ = 0; + high_value_ = 0; + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + num_bits_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_SendTable_sendprop_t::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 int32 type = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + 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->ExpectTag(18)) goto parse_var_name; + break; + } + + // optional string var_name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_var_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_var_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->var_name().data(), this->var_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_flags; + break; + } + + // optional int32 flags = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_flags: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &flags_))); + set_has_flags(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_priority; + break; + } + + // optional int32 priority = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_priority: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &priority_))); + set_has_priority(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_dt_name; + break; + } + + // optional string dt_name = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_dt_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_dt_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->dt_name().data(), this->dt_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_num_elements; + break; + } + + // optional int32 num_elements = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_num_elements: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &num_elements_))); + set_has_num_elements(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(61)) goto parse_low_value; + break; + } + + // optional float low_value = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_low_value: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &low_value_))); + set_has_low_value(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(69)) goto parse_high_value; + break; + } + + // optional float high_value = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_high_value: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &high_value_))); + set_has_high_value(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(72)) goto parse_num_bits; + break; + } + + // optional int32 num_bits = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_num_bits: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &num_bits_))); + set_has_num_bits(); + } 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 CSVCMsg_SendTable_sendprop_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 type = 1; + if (has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output); + } + + // optional string var_name = 2; + if (has_var_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->var_name().data(), this->var_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->var_name(), output); + } + + // optional int32 flags = 3; + if (has_flags()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->flags(), output); + } + + // optional int32 priority = 4; + if (has_priority()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->priority(), output); + } + + // optional string dt_name = 5; + if (has_dt_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->dt_name().data(), this->dt_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 5, this->dt_name(), output); + } + + // optional int32 num_elements = 6; + if (has_num_elements()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->num_elements(), output); + } + + // optional float low_value = 7; + if (has_low_value()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->low_value(), output); + } + + // optional float high_value = 8; + if (has_high_value()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->high_value(), output); + } + + // optional int32 num_bits = 9; + if (has_num_bits()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->num_bits(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_SendTable_sendprop_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 type = 1; + if (has_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target); + } + + // optional string var_name = 2; + if (has_var_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->var_name().data(), this->var_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->var_name(), target); + } + + // optional int32 flags = 3; + if (has_flags()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->flags(), target); + } + + // optional int32 priority = 4; + if (has_priority()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->priority(), target); + } + + // optional string dt_name = 5; + if (has_dt_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->dt_name().data(), this->dt_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, this->dt_name(), target); + } + + // optional int32 num_elements = 6; + if (has_num_elements()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->num_elements(), target); + } + + // optional float low_value = 7; + if (has_low_value()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->low_value(), target); + } + + // optional float high_value = 8; + if (has_high_value()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->high_value(), target); + } + + // optional int32 num_bits = 9; + if (has_num_bits()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->num_bits(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_SendTable_sendprop_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 type = 1; + if (has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->type()); + } + + // optional string var_name = 2; + if (has_var_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->var_name()); + } + + // optional int32 flags = 3; + if (has_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->flags()); + } + + // optional int32 priority = 4; + if (has_priority()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->priority()); + } + + // optional string dt_name = 5; + if (has_dt_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->dt_name()); + } + + // optional int32 num_elements = 6; + if (has_num_elements()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->num_elements()); + } + + // optional float low_value = 7; + if (has_low_value()) { + total_size += 1 + 4; + } + + // optional float high_value = 8; + if (has_high_value()) { + total_size += 1 + 4; + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional int32 num_bits = 9; + if (has_num_bits()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->num_bits()); + } + + } + 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 CSVCMsg_SendTable_sendprop_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_SendTable_sendprop_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_SendTable_sendprop_t::MergeFrom(const CSVCMsg_SendTable_sendprop_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_type()) { + set_type(from.type()); + } + if (from.has_var_name()) { + set_var_name(from.var_name()); + } + if (from.has_flags()) { + set_flags(from.flags()); + } + if (from.has_priority()) { + set_priority(from.priority()); + } + if (from.has_dt_name()) { + set_dt_name(from.dt_name()); + } + if (from.has_num_elements()) { + set_num_elements(from.num_elements()); + } + if (from.has_low_value()) { + set_low_value(from.low_value()); + } + if (from.has_high_value()) { + set_high_value(from.high_value()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_num_bits()) { + set_num_bits(from.num_bits()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_SendTable_sendprop_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_SendTable_sendprop_t::CopyFrom(const CSVCMsg_SendTable_sendprop_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SendTable_sendprop_t::IsInitialized() const { + + return true; +} + +void CSVCMsg_SendTable_sendprop_t::Swap(CSVCMsg_SendTable_sendprop_t* other) { + if (other != this) { + std::swap(type_, other->type_); + std::swap(var_name_, other->var_name_); + std::swap(flags_, other->flags_); + std::swap(priority_, other->priority_); + std::swap(dt_name_, other->dt_name_); + std::swap(num_elements_, other->num_elements_); + std::swap(low_value_, other->low_value_); + std::swap(high_value_, other->high_value_); + std::swap(num_bits_, other->num_bits_); + 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 CSVCMsg_SendTable_sendprop_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_SendTable_sendprop_t_descriptor_; + metadata.reflection = CSVCMsg_SendTable_sendprop_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CSVCMsg_SendTable::kIsEndFieldNumber; +const int CSVCMsg_SendTable::kNetTableNameFieldNumber; +const int CSVCMsg_SendTable::kNeedsDecoderFieldNumber; +const int CSVCMsg_SendTable::kPropsFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_SendTable::CSVCMsg_SendTable() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_SendTable::InitAsDefaultInstance() { +} + +CSVCMsg_SendTable::CSVCMsg_SendTable(const CSVCMsg_SendTable& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_SendTable::SharedCtor() { + _cached_size_ = 0; + is_end_ = false; + net_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + needs_decoder_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_SendTable::~CSVCMsg_SendTable() { + SharedDtor(); +} + +void CSVCMsg_SendTable::SharedDtor() { + if (net_table_name_ != &::google::protobuf::internal::kEmptyString) { + delete net_table_name_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_SendTable::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_SendTable::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_SendTable_descriptor_; +} + +const CSVCMsg_SendTable& CSVCMsg_SendTable::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_SendTable* CSVCMsg_SendTable::default_instance_ = NULL; + +CSVCMsg_SendTable* CSVCMsg_SendTable::New() const { + return new CSVCMsg_SendTable; +} + +void CSVCMsg_SendTable::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + is_end_ = false; + if (has_net_table_name()) { + if (net_table_name_ != &::google::protobuf::internal::kEmptyString) { + net_table_name_->clear(); + } + } + needs_decoder_ = false; + } + props_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_SendTable::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 bool is_end = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_end_))); + set_has_is_end(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_net_table_name; + break; + } + + // optional string net_table_name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_net_table_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_net_table_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->net_table_name().data(), this->net_table_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_needs_decoder; + break; + } + + // optional bool needs_decoder = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_needs_decoder: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &needs_decoder_))); + set_has_needs_decoder(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_props; + break; + } + + // repeated .CSVCMsg_SendTable.sendprop_t props = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_props: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_props())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_props; + 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 CSVCMsg_SendTable::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool is_end = 1; + if (has_is_end()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_end(), output); + } + + // optional string net_table_name = 2; + if (has_net_table_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->net_table_name().data(), this->net_table_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->net_table_name(), output); + } + + // optional bool needs_decoder = 3; + if (has_needs_decoder()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->needs_decoder(), output); + } + + // repeated .CSVCMsg_SendTable.sendprop_t props = 4; + for (int i = 0; i < this->props_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, this->props(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_SendTable::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool is_end = 1; + if (has_is_end()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_end(), target); + } + + // optional string net_table_name = 2; + if (has_net_table_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->net_table_name().data(), this->net_table_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->net_table_name(), target); + } + + // optional bool needs_decoder = 3; + if (has_needs_decoder()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->needs_decoder(), target); + } + + // repeated .CSVCMsg_SendTable.sendprop_t props = 4; + for (int i = 0; i < this->props_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 4, this->props(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_SendTable::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool is_end = 1; + if (has_is_end()) { + total_size += 1 + 1; + } + + // optional string net_table_name = 2; + if (has_net_table_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->net_table_name()); + } + + // optional bool needs_decoder = 3; + if (has_needs_decoder()) { + total_size += 1 + 1; + } + + } + // repeated .CSVCMsg_SendTable.sendprop_t props = 4; + total_size += 1 * this->props_size(); + for (int i = 0; i < this->props_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->props(i)); + } + + 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 CSVCMsg_SendTable::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_SendTable* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_SendTable::MergeFrom(const CSVCMsg_SendTable& from) { + GOOGLE_CHECK_NE(&from, this); + props_.MergeFrom(from.props_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_is_end()) { + set_is_end(from.is_end()); + } + if (from.has_net_table_name()) { + set_net_table_name(from.net_table_name()); + } + if (from.has_needs_decoder()) { + set_needs_decoder(from.needs_decoder()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_SendTable::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_SendTable::CopyFrom(const CSVCMsg_SendTable& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_SendTable::IsInitialized() const { + + return true; +} + +void CSVCMsg_SendTable::Swap(CSVCMsg_SendTable* other) { + if (other != this) { + std::swap(is_end_, other->is_end_); + std::swap(net_table_name_, other->net_table_name_); + std::swap(needs_decoder_, other->needs_decoder_); + props_.Swap(&other->props_); + 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 CSVCMsg_SendTable::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_SendTable_descriptor_; + metadata.reflection = CSVCMsg_SendTable_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_GameEvent_key_t::kTypeFieldNumber; +const int CSVCMsg_GameEvent_key_t::kValStringFieldNumber; +const int CSVCMsg_GameEvent_key_t::kValFloatFieldNumber; +const int CSVCMsg_GameEvent_key_t::kValLongFieldNumber; +const int CSVCMsg_GameEvent_key_t::kValShortFieldNumber; +const int CSVCMsg_GameEvent_key_t::kValByteFieldNumber; +const int CSVCMsg_GameEvent_key_t::kValBoolFieldNumber; +const int CSVCMsg_GameEvent_key_t::kValUint64FieldNumber; +#endif // !_MSC_VER + +CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_GameEvent_key_t::InitAsDefaultInstance() { +} + +CSVCMsg_GameEvent_key_t::CSVCMsg_GameEvent_key_t(const CSVCMsg_GameEvent_key_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_GameEvent_key_t::SharedCtor() { + _cached_size_ = 0; + type_ = 0; + val_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + val_float_ = 0; + val_long_ = 0; + val_short_ = 0; + val_byte_ = 0; + val_bool_ = false; + val_uint64_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_GameEvent_key_t::~CSVCMsg_GameEvent_key_t() { + SharedDtor(); +} + +void CSVCMsg_GameEvent_key_t::SharedDtor() { + if (val_string_ != &::google::protobuf::internal::kEmptyString) { + delete val_string_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_GameEvent_key_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_GameEvent_key_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_GameEvent_key_t_descriptor_; +} + +const CSVCMsg_GameEvent_key_t& CSVCMsg_GameEvent_key_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent_key_t::default_instance_ = NULL; + +CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent_key_t::New() const { + return new CSVCMsg_GameEvent_key_t; +} + +void CSVCMsg_GameEvent_key_t::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + type_ = 0; + if (has_val_string()) { + if (val_string_ != &::google::protobuf::internal::kEmptyString) { + val_string_->clear(); + } + } + val_float_ = 0; + val_long_ = 0; + val_short_ = 0; + val_byte_ = 0; + val_bool_ = false; + val_uint64_ = GOOGLE_ULONGLONG(0); + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_GameEvent_key_t::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 int32 type = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + 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->ExpectTag(18)) goto parse_val_string; + break; + } + + // optional string val_string = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_val_string: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_val_string())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->val_string().data(), this->val_string().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_val_float; + break; + } + + // optional float val_float = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_val_float: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &val_float_))); + set_has_val_float(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_val_long; + break; + } + + // optional int32 val_long = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_val_long: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &val_long_))); + set_has_val_long(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_val_short; + break; + } + + // optional int32 val_short = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_val_short: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &val_short_))); + set_has_val_short(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_val_byte; + break; + } + + // optional int32 val_byte = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_val_byte: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &val_byte_))); + set_has_val_byte(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(56)) goto parse_val_bool; + break; + } + + // optional bool val_bool = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_val_bool: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &val_bool_))); + set_has_val_bool(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(64)) goto parse_val_uint64; + break; + } + + // optional uint64 val_uint64 = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_val_uint64: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( + input, &val_uint64_))); + set_has_val_uint64(); + } 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 CSVCMsg_GameEvent_key_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 type = 1; + if (has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output); + } + + // optional string val_string = 2; + if (has_val_string()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->val_string().data(), this->val_string().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->val_string(), output); + } + + // optional float val_float = 3; + if (has_val_float()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->val_float(), output); + } + + // optional int32 val_long = 4; + if (has_val_long()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->val_long(), output); + } + + // optional int32 val_short = 5; + if (has_val_short()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->val_short(), output); + } + + // optional int32 val_byte = 6; + if (has_val_byte()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->val_byte(), output); + } + + // optional bool val_bool = 7; + if (has_val_bool()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->val_bool(), output); + } + + // optional uint64 val_uint64 = 8; + if (has_val_uint64()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->val_uint64(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_GameEvent_key_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 type = 1; + if (has_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target); + } + + // optional string val_string = 2; + if (has_val_string()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->val_string().data(), this->val_string().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->val_string(), target); + } + + // optional float val_float = 3; + if (has_val_float()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->val_float(), target); + } + + // optional int32 val_long = 4; + if (has_val_long()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->val_long(), target); + } + + // optional int32 val_short = 5; + if (has_val_short()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->val_short(), target); + } + + // optional int32 val_byte = 6; + if (has_val_byte()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->val_byte(), target); + } + + // optional bool val_bool = 7; + if (has_val_bool()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->val_bool(), target); + } + + // optional uint64 val_uint64 = 8; + if (has_val_uint64()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(8, this->val_uint64(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_GameEvent_key_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 type = 1; + if (has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->type()); + } + + // optional string val_string = 2; + if (has_val_string()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->val_string()); + } + + // optional float val_float = 3; + if (has_val_float()) { + total_size += 1 + 4; + } + + // optional int32 val_long = 4; + if (has_val_long()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->val_long()); + } + + // optional int32 val_short = 5; + if (has_val_short()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->val_short()); + } + + // optional int32 val_byte = 6; + if (has_val_byte()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->val_byte()); + } + + // optional bool val_bool = 7; + if (has_val_bool()) { + total_size += 1 + 1; + } + + // optional uint64 val_uint64 = 8; + if (has_val_uint64()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt64Size( + this->val_uint64()); + } + + } + 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 CSVCMsg_GameEvent_key_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_GameEvent_key_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_GameEvent_key_t::MergeFrom(const CSVCMsg_GameEvent_key_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_type()) { + set_type(from.type()); + } + if (from.has_val_string()) { + set_val_string(from.val_string()); + } + if (from.has_val_float()) { + set_val_float(from.val_float()); + } + if (from.has_val_long()) { + set_val_long(from.val_long()); + } + if (from.has_val_short()) { + set_val_short(from.val_short()); + } + if (from.has_val_byte()) { + set_val_byte(from.val_byte()); + } + if (from.has_val_bool()) { + set_val_bool(from.val_bool()); + } + if (from.has_val_uint64()) { + set_val_uint64(from.val_uint64()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_GameEvent_key_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_GameEvent_key_t::CopyFrom(const CSVCMsg_GameEvent_key_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEvent_key_t::IsInitialized() const { + + return true; +} + +void CSVCMsg_GameEvent_key_t::Swap(CSVCMsg_GameEvent_key_t* other) { + if (other != this) { + std::swap(type_, other->type_); + std::swap(val_string_, other->val_string_); + std::swap(val_float_, other->val_float_); + std::swap(val_long_, other->val_long_); + std::swap(val_short_, other->val_short_); + std::swap(val_byte_, other->val_byte_); + std::swap(val_bool_, other->val_bool_); + std::swap(val_uint64_, other->val_uint64_); + 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 CSVCMsg_GameEvent_key_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_GameEvent_key_t_descriptor_; + metadata.reflection = CSVCMsg_GameEvent_key_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CSVCMsg_GameEvent::kEventNameFieldNumber; +const int CSVCMsg_GameEvent::kEventidFieldNumber; +const int CSVCMsg_GameEvent::kKeysFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_GameEvent::CSVCMsg_GameEvent() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_GameEvent::InitAsDefaultInstance() { +} + +CSVCMsg_GameEvent::CSVCMsg_GameEvent(const CSVCMsg_GameEvent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_GameEvent::SharedCtor() { + _cached_size_ = 0; + event_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + eventid_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_GameEvent::~CSVCMsg_GameEvent() { + SharedDtor(); +} + +void CSVCMsg_GameEvent::SharedDtor() { + if (event_name_ != &::google::protobuf::internal::kEmptyString) { + delete event_name_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_GameEvent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_GameEvent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_GameEvent_descriptor_; +} + +const CSVCMsg_GameEvent& CSVCMsg_GameEvent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_GameEvent* CSVCMsg_GameEvent::default_instance_ = NULL; + +CSVCMsg_GameEvent* CSVCMsg_GameEvent::New() const { + return new CSVCMsg_GameEvent; +} + +void CSVCMsg_GameEvent::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_event_name()) { + if (event_name_ != &::google::protobuf::internal::kEmptyString) { + event_name_->clear(); + } + } + eventid_ = 0; + } + keys_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_GameEvent::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 string event_name = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_event_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->event_name().data(), this->event_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_eventid; + break; + } + + // optional int32 eventid = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_eventid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &eventid_))); + set_has_eventid(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_keys; + break; + } + + // repeated .CSVCMsg_GameEvent.key_t keys = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_keys: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_keys())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_keys; + 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 CSVCMsg_GameEvent::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string event_name = 1; + if (has_event_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->event_name().data(), this->event_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->event_name(), output); + } + + // optional int32 eventid = 2; + if (has_eventid()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->eventid(), output); + } + + // repeated .CSVCMsg_GameEvent.key_t keys = 3; + for (int i = 0; i < this->keys_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->keys(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_GameEvent::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string event_name = 1; + if (has_event_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->event_name().data(), this->event_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->event_name(), target); + } + + // optional int32 eventid = 2; + if (has_eventid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->eventid(), target); + } + + // repeated .CSVCMsg_GameEvent.key_t keys = 3; + for (int i = 0; i < this->keys_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->keys(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_GameEvent::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string event_name = 1; + if (has_event_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->event_name()); + } + + // optional int32 eventid = 2; + if (has_eventid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->eventid()); + } + + } + // repeated .CSVCMsg_GameEvent.key_t keys = 3; + total_size += 1 * this->keys_size(); + for (int i = 0; i < this->keys_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->keys(i)); + } + + 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 CSVCMsg_GameEvent::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_GameEvent* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_GameEvent::MergeFrom(const CSVCMsg_GameEvent& from) { + GOOGLE_CHECK_NE(&from, this); + keys_.MergeFrom(from.keys_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_event_name()) { + set_event_name(from.event_name()); + } + if (from.has_eventid()) { + set_eventid(from.eventid()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_GameEvent::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_GameEvent::CopyFrom(const CSVCMsg_GameEvent& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEvent::IsInitialized() const { + + return true; +} + +void CSVCMsg_GameEvent::Swap(CSVCMsg_GameEvent* other) { + if (other != this) { + std::swap(event_name_, other->event_name_); + std::swap(eventid_, other->eventid_); + keys_.Swap(&other->keys_); + 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 CSVCMsg_GameEvent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_GameEvent_descriptor_; + metadata.reflection = CSVCMsg_GameEvent_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_GameEventList_key_t::kTypeFieldNumber; +const int CSVCMsg_GameEventList_key_t::kNameFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_GameEventList_key_t::InitAsDefaultInstance() { +} + +CSVCMsg_GameEventList_key_t::CSVCMsg_GameEventList_key_t(const CSVCMsg_GameEventList_key_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_GameEventList_key_t::SharedCtor() { + _cached_size_ = 0; + type_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_GameEventList_key_t::~CSVCMsg_GameEventList_key_t() { + SharedDtor(); +} + +void CSVCMsg_GameEventList_key_t::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_GameEventList_key_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_key_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_GameEventList_key_t_descriptor_; +} + +const CSVCMsg_GameEventList_key_t& CSVCMsg_GameEventList_key_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_key_t::default_instance_ = NULL; + +CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_key_t::New() const { + return new CSVCMsg_GameEventList_key_t; +} + +void CSVCMsg_GameEventList_key_t::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + type_ = 0; + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_GameEventList_key_t::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 int32 type = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + 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->ExpectTag(18)) goto parse_name; + break; + } + + // optional string name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CSVCMsg_GameEventList_key_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 type = 1; + if (has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->type(), output); + } + + // optional string name = 2; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->name(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_GameEventList_key_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 type = 1; + if (has_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->type(), target); + } + + // optional string name = 2; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->name(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_GameEventList_key_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 type = 1; + if (has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->type()); + } + + // optional string name = 2; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + } + 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 CSVCMsg_GameEventList_key_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_GameEventList_key_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_GameEventList_key_t::MergeFrom(const CSVCMsg_GameEventList_key_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_type()) { + set_type(from.type()); + } + if (from.has_name()) { + set_name(from.name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_GameEventList_key_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_GameEventList_key_t::CopyFrom(const CSVCMsg_GameEventList_key_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEventList_key_t::IsInitialized() const { + + return true; +} + +void CSVCMsg_GameEventList_key_t::Swap(CSVCMsg_GameEventList_key_t* other) { + if (other != this) { + std::swap(type_, other->type_); + std::swap(name_, other->name_); + 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 CSVCMsg_GameEventList_key_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_GameEventList_key_t_descriptor_; + metadata.reflection = CSVCMsg_GameEventList_key_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CSVCMsg_GameEventList_descriptor_t::kEventidFieldNumber; +const int CSVCMsg_GameEventList_descriptor_t::kNameFieldNumber; +const int CSVCMsg_GameEventList_descriptor_t::kKeysFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_GameEventList_descriptor_t::InitAsDefaultInstance() { +} + +CSVCMsg_GameEventList_descriptor_t::CSVCMsg_GameEventList_descriptor_t(const CSVCMsg_GameEventList_descriptor_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_GameEventList_descriptor_t::SharedCtor() { + _cached_size_ = 0; + eventid_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_GameEventList_descriptor_t::~CSVCMsg_GameEventList_descriptor_t() { + SharedDtor(); +} + +void CSVCMsg_GameEventList_descriptor_t::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_GameEventList_descriptor_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_GameEventList_descriptor_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_GameEventList_descriptor_t_descriptor_; +} + +const CSVCMsg_GameEventList_descriptor_t& CSVCMsg_GameEventList_descriptor_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList_descriptor_t::default_instance_ = NULL; + +CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList_descriptor_t::New() const { + return new CSVCMsg_GameEventList_descriptor_t; +} + +void CSVCMsg_GameEventList_descriptor_t::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + eventid_ = 0; + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + } + keys_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_GameEventList_descriptor_t::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 int32 eventid = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &eventid_))); + set_has_eventid(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_name; + break; + } + + // optional string name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_keys; + break; + } + + // repeated .CSVCMsg_GameEventList.key_t keys = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_keys: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_keys())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_keys; + 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 CSVCMsg_GameEventList_descriptor_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 eventid = 1; + if (has_eventid()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->eventid(), output); + } + + // optional string name = 2; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->name(), output); + } + + // repeated .CSVCMsg_GameEventList.key_t keys = 3; + for (int i = 0; i < this->keys_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->keys(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_GameEventList_descriptor_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 eventid = 1; + if (has_eventid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->eventid(), target); + } + + // optional string name = 2; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->name(), target); + } + + // repeated .CSVCMsg_GameEventList.key_t keys = 3; + for (int i = 0; i < this->keys_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->keys(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_GameEventList_descriptor_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 eventid = 1; + if (has_eventid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->eventid()); + } + + // optional string name = 2; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + } + // repeated .CSVCMsg_GameEventList.key_t keys = 3; + total_size += 1 * this->keys_size(); + for (int i = 0; i < this->keys_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->keys(i)); + } + + 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 CSVCMsg_GameEventList_descriptor_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_GameEventList_descriptor_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_GameEventList_descriptor_t::MergeFrom(const CSVCMsg_GameEventList_descriptor_t& from) { + GOOGLE_CHECK_NE(&from, this); + keys_.MergeFrom(from.keys_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_eventid()) { + set_eventid(from.eventid()); + } + if (from.has_name()) { + set_name(from.name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_GameEventList_descriptor_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_GameEventList_descriptor_t::CopyFrom(const CSVCMsg_GameEventList_descriptor_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEventList_descriptor_t::IsInitialized() const { + + return true; +} + +void CSVCMsg_GameEventList_descriptor_t::Swap(CSVCMsg_GameEventList_descriptor_t* other) { + if (other != this) { + std::swap(eventid_, other->eventid_); + std::swap(name_, other->name_); + keys_.Swap(&other->keys_); + 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 CSVCMsg_GameEventList_descriptor_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_GameEventList_descriptor_t_descriptor_; + metadata.reflection = CSVCMsg_GameEventList_descriptor_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CSVCMsg_GameEventList::kDescriptorsFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_GameEventList::CSVCMsg_GameEventList() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_GameEventList::InitAsDefaultInstance() { +} + +CSVCMsg_GameEventList::CSVCMsg_GameEventList(const CSVCMsg_GameEventList& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_GameEventList::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_GameEventList::~CSVCMsg_GameEventList() { + SharedDtor(); +} + +void CSVCMsg_GameEventList::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_GameEventList::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_GameEventList::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_GameEventList_descriptor_; +} + +const CSVCMsg_GameEventList& CSVCMsg_GameEventList::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_GameEventList* CSVCMsg_GameEventList::default_instance_ = NULL; + +CSVCMsg_GameEventList* CSVCMsg_GameEventList::New() const { + return new CSVCMsg_GameEventList; +} + +void CSVCMsg_GameEventList::Clear() { + descriptors_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_GameEventList::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)) { + // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_descriptors: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_descriptors())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(10)) goto parse_descriptors; + 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 CSVCMsg_GameEventList::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + for (int i = 0; i < this->descriptors_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->descriptors(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_GameEventList::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + for (int i = 0; i < this->descriptors_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->descriptors(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_GameEventList::ByteSize() const { + int total_size = 0; + + // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + total_size += 1 * this->descriptors_size(); + for (int i = 0; i < this->descriptors_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->descriptors(i)); + } + + 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 CSVCMsg_GameEventList::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_GameEventList* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_GameEventList::MergeFrom(const CSVCMsg_GameEventList& from) { + GOOGLE_CHECK_NE(&from, this); + descriptors_.MergeFrom(from.descriptors_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_GameEventList::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_GameEventList::CopyFrom(const CSVCMsg_GameEventList& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameEventList::IsInitialized() const { + + return true; +} + +void CSVCMsg_GameEventList::Swap(CSVCMsg_GameEventList* other) { + if (other != this) { + descriptors_.Swap(&other->descriptors_); + 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 CSVCMsg_GameEventList::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_GameEventList_descriptor_; + metadata.reflection = CSVCMsg_GameEventList_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_PacketEntities::kMaxEntriesFieldNumber; +const int CSVCMsg_PacketEntities::kUpdatedEntriesFieldNumber; +const int CSVCMsg_PacketEntities::kIsDeltaFieldNumber; +const int CSVCMsg_PacketEntities::kUpdateBaselineFieldNumber; +const int CSVCMsg_PacketEntities::kBaselineFieldNumber; +const int CSVCMsg_PacketEntities::kDeltaFromFieldNumber; +const int CSVCMsg_PacketEntities::kEntityDataFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_PacketEntities::CSVCMsg_PacketEntities() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_PacketEntities::InitAsDefaultInstance() { +} + +CSVCMsg_PacketEntities::CSVCMsg_PacketEntities(const CSVCMsg_PacketEntities& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_PacketEntities::SharedCtor() { + _cached_size_ = 0; + max_entries_ = 0; + updated_entries_ = 0; + is_delta_ = false; + update_baseline_ = false; + baseline_ = 0; + delta_from_ = 0; + entity_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_PacketEntities::~CSVCMsg_PacketEntities() { + SharedDtor(); +} + +void CSVCMsg_PacketEntities::SharedDtor() { + if (entity_data_ != &::google::protobuf::internal::kEmptyString) { + delete entity_data_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_PacketEntities::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_PacketEntities::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_PacketEntities_descriptor_; +} + +const CSVCMsg_PacketEntities& CSVCMsg_PacketEntities::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_PacketEntities* CSVCMsg_PacketEntities::default_instance_ = NULL; + +CSVCMsg_PacketEntities* CSVCMsg_PacketEntities::New() const { + return new CSVCMsg_PacketEntities; +} + +void CSVCMsg_PacketEntities::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + max_entries_ = 0; + updated_entries_ = 0; + is_delta_ = false; + update_baseline_ = false; + baseline_ = 0; + delta_from_ = 0; + if (has_entity_data()) { + if (entity_data_ != &::google::protobuf::internal::kEmptyString) { + entity_data_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_PacketEntities::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 int32 max_entries = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &max_entries_))); + set_has_max_entries(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_updated_entries; + break; + } + + // optional int32 updated_entries = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_updated_entries: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &updated_entries_))); + set_has_updated_entries(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_is_delta; + break; + } + + // optional bool is_delta = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_is_delta: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_delta_))); + set_has_is_delta(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_update_baseline; + break; + } + + // optional bool update_baseline = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_update_baseline: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &update_baseline_))); + set_has_update_baseline(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_baseline; + break; + } + + // optional int32 baseline = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_baseline: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &baseline_))); + set_has_baseline(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_delta_from; + break; + } + + // optional int32 delta_from = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_delta_from: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &delta_from_))); + set_has_delta_from(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(58)) goto parse_entity_data; + break; + } + + // optional bytes entity_data = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_entity_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_entity_data())); + } 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 CSVCMsg_PacketEntities::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 max_entries = 1; + if (has_max_entries()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->max_entries(), output); + } + + // optional int32 updated_entries = 2; + if (has_updated_entries()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->updated_entries(), output); + } + + // optional bool is_delta = 3; + if (has_is_delta()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_delta(), output); + } + + // optional bool update_baseline = 4; + if (has_update_baseline()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->update_baseline(), output); + } + + // optional int32 baseline = 5; + if (has_baseline()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->baseline(), output); + } + + // optional int32 delta_from = 6; + if (has_delta_from()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->delta_from(), output); + } + + // optional bytes entity_data = 7; + if (has_entity_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 7, this->entity_data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_PacketEntities::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 max_entries = 1; + if (has_max_entries()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->max_entries(), target); + } + + // optional int32 updated_entries = 2; + if (has_updated_entries()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->updated_entries(), target); + } + + // optional bool is_delta = 3; + if (has_is_delta()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_delta(), target); + } + + // optional bool update_baseline = 4; + if (has_update_baseline()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->update_baseline(), target); + } + + // optional int32 baseline = 5; + if (has_baseline()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->baseline(), target); + } + + // optional int32 delta_from = 6; + if (has_delta_from()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->delta_from(), target); + } + + // optional bytes entity_data = 7; + if (has_entity_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 7, this->entity_data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_PacketEntities::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 max_entries = 1; + if (has_max_entries()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->max_entries()); + } + + // optional int32 updated_entries = 2; + if (has_updated_entries()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->updated_entries()); + } + + // optional bool is_delta = 3; + if (has_is_delta()) { + total_size += 1 + 1; + } + + // optional bool update_baseline = 4; + if (has_update_baseline()) { + total_size += 1 + 1; + } + + // optional int32 baseline = 5; + if (has_baseline()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->baseline()); + } + + // optional int32 delta_from = 6; + if (has_delta_from()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->delta_from()); + } + + // optional bytes entity_data = 7; + if (has_entity_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->entity_data()); + } + + } + 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 CSVCMsg_PacketEntities::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_PacketEntities* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_PacketEntities::MergeFrom(const CSVCMsg_PacketEntities& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_max_entries()) { + set_max_entries(from.max_entries()); + } + if (from.has_updated_entries()) { + set_updated_entries(from.updated_entries()); + } + if (from.has_is_delta()) { + set_is_delta(from.is_delta()); + } + if (from.has_update_baseline()) { + set_update_baseline(from.update_baseline()); + } + if (from.has_baseline()) { + set_baseline(from.baseline()); + } + if (from.has_delta_from()) { + set_delta_from(from.delta_from()); + } + if (from.has_entity_data()) { + set_entity_data(from.entity_data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_PacketEntities::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_PacketEntities::CopyFrom(const CSVCMsg_PacketEntities& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PacketEntities::IsInitialized() const { + + return true; +} + +void CSVCMsg_PacketEntities::Swap(CSVCMsg_PacketEntities* other) { + if (other != this) { + std::swap(max_entries_, other->max_entries_); + std::swap(updated_entries_, other->updated_entries_); + std::swap(is_delta_, other->is_delta_); + std::swap(update_baseline_, other->update_baseline_); + std::swap(baseline_, other->baseline_); + std::swap(delta_from_, other->delta_from_); + std::swap(entity_data_, other->entity_data_); + 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 CSVCMsg_PacketEntities::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_PacketEntities_descriptor_; + metadata.reflection = CSVCMsg_PacketEntities_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_TempEntities::kReliableFieldNumber; +const int CSVCMsg_TempEntities::kNumEntriesFieldNumber; +const int CSVCMsg_TempEntities::kEntityDataFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_TempEntities::CSVCMsg_TempEntities() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_TempEntities::InitAsDefaultInstance() { +} + +CSVCMsg_TempEntities::CSVCMsg_TempEntities(const CSVCMsg_TempEntities& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_TempEntities::SharedCtor() { + _cached_size_ = 0; + reliable_ = false; + num_entries_ = 0; + entity_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_TempEntities::~CSVCMsg_TempEntities() { + SharedDtor(); +} + +void CSVCMsg_TempEntities::SharedDtor() { + if (entity_data_ != &::google::protobuf::internal::kEmptyString) { + delete entity_data_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_TempEntities::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_TempEntities::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_TempEntities_descriptor_; +} + +const CSVCMsg_TempEntities& CSVCMsg_TempEntities::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_TempEntities* CSVCMsg_TempEntities::default_instance_ = NULL; + +CSVCMsg_TempEntities* CSVCMsg_TempEntities::New() const { + return new CSVCMsg_TempEntities; +} + +void CSVCMsg_TempEntities::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + reliable_ = false; + num_entries_ = 0; + if (has_entity_data()) { + if (entity_data_ != &::google::protobuf::internal::kEmptyString) { + entity_data_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_TempEntities::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 bool reliable = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &reliable_))); + set_has_reliable(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_num_entries; + break; + } + + // optional int32 num_entries = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_num_entries: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &num_entries_))); + set_has_num_entries(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_entity_data; + break; + } + + // optional bytes entity_data = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_entity_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_entity_data())); + } 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 CSVCMsg_TempEntities::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool reliable = 1; + if (has_reliable()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->reliable(), output); + } + + // optional int32 num_entries = 2; + if (has_num_entries()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_entries(), output); + } + + // optional bytes entity_data = 3; + if (has_entity_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 3, this->entity_data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_TempEntities::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool reliable = 1; + if (has_reliable()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->reliable(), target); + } + + // optional int32 num_entries = 2; + if (has_num_entries()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_entries(), target); + } + + // optional bytes entity_data = 3; + if (has_entity_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 3, this->entity_data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_TempEntities::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool reliable = 1; + if (has_reliable()) { + total_size += 1 + 1; + } + + // optional int32 num_entries = 2; + if (has_num_entries()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->num_entries()); + } + + // optional bytes entity_data = 3; + if (has_entity_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->entity_data()); + } + + } + 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 CSVCMsg_TempEntities::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_TempEntities* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_TempEntities::MergeFrom(const CSVCMsg_TempEntities& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_reliable()) { + set_reliable(from.reliable()); + } + if (from.has_num_entries()) { + set_num_entries(from.num_entries()); + } + if (from.has_entity_data()) { + set_entity_data(from.entity_data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_TempEntities::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_TempEntities::CopyFrom(const CSVCMsg_TempEntities& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_TempEntities::IsInitialized() const { + + return true; +} + +void CSVCMsg_TempEntities::Swap(CSVCMsg_TempEntities* other) { + if (other != this) { + std::swap(reliable_, other->reliable_); + std::swap(num_entries_, other->num_entries_); + std::swap(entity_data_, other->entity_data_); + 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 CSVCMsg_TempEntities::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_TempEntities_descriptor_; + metadata.reflection = CSVCMsg_TempEntities_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_CreateStringTable::kNameFieldNumber; +const int CSVCMsg_CreateStringTable::kMaxEntriesFieldNumber; +const int CSVCMsg_CreateStringTable::kNumEntriesFieldNumber; +const int CSVCMsg_CreateStringTable::kUserDataFixedSizeFieldNumber; +const int CSVCMsg_CreateStringTable::kUserDataSizeFieldNumber; +const int CSVCMsg_CreateStringTable::kUserDataSizeBitsFieldNumber; +const int CSVCMsg_CreateStringTable::kFlagsFieldNumber; +const int CSVCMsg_CreateStringTable::kStringDataFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_CreateStringTable::InitAsDefaultInstance() { +} + +CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable(const CSVCMsg_CreateStringTable& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_CreateStringTable::SharedCtor() { + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + max_entries_ = 0; + num_entries_ = 0; + user_data_fixed_size_ = false; + user_data_size_ = 0; + user_data_size_bits_ = 0; + flags_ = 0; + string_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_CreateStringTable::~CSVCMsg_CreateStringTable() { + SharedDtor(); +} + +void CSVCMsg_CreateStringTable::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (string_data_ != &::google::protobuf::internal::kEmptyString) { + delete string_data_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_CreateStringTable::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_CreateStringTable::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_CreateStringTable_descriptor_; +} + +const CSVCMsg_CreateStringTable& CSVCMsg_CreateStringTable::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_CreateStringTable* CSVCMsg_CreateStringTable::default_instance_ = NULL; + +CSVCMsg_CreateStringTable* CSVCMsg_CreateStringTable::New() const { + return new CSVCMsg_CreateStringTable; +} + +void CSVCMsg_CreateStringTable::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + max_entries_ = 0; + num_entries_ = 0; + user_data_fixed_size_ = false; + user_data_size_ = 0; + user_data_size_bits_ = 0; + flags_ = 0; + if (has_string_data()) { + if (string_data_ != &::google::protobuf::internal::kEmptyString) { + string_data_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_CreateStringTable::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 string name = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_max_entries; + break; + } + + // optional int32 max_entries = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_max_entries: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &max_entries_))); + set_has_max_entries(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_num_entries; + break; + } + + // optional int32 num_entries = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_num_entries: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &num_entries_))); + set_has_num_entries(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_user_data_fixed_size; + break; + } + + // optional bool user_data_fixed_size = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_user_data_fixed_size: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &user_data_fixed_size_))); + set_has_user_data_fixed_size(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_user_data_size; + break; + } + + // optional int32 user_data_size = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_user_data_size: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &user_data_size_))); + set_has_user_data_size(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_user_data_size_bits; + break; + } + + // optional int32 user_data_size_bits = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_user_data_size_bits: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &user_data_size_bits_))); + set_has_user_data_size_bits(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(56)) goto parse_flags; + break; + } + + // optional int32 flags = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_flags: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &flags_))); + set_has_flags(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(66)) goto parse_string_data; + break; + } + + // optional bytes string_data = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_string_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_string_data())); + } 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 CSVCMsg_CreateStringTable::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->name(), output); + } + + // optional int32 max_entries = 2; + if (has_max_entries()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->max_entries(), output); + } + + // optional int32 num_entries = 3; + if (has_num_entries()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->num_entries(), output); + } + + // optional bool user_data_fixed_size = 4; + if (has_user_data_fixed_size()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->user_data_fixed_size(), output); + } + + // optional int32 user_data_size = 5; + if (has_user_data_size()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->user_data_size(), output); + } + + // optional int32 user_data_size_bits = 6; + if (has_user_data_size_bits()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->user_data_size_bits(), output); + } + + // optional int32 flags = 7; + if (has_flags()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->flags(), output); + } + + // optional bytes string_data = 8; + if (has_string_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 8, this->string_data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_CreateStringTable::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->name(), target); + } + + // optional int32 max_entries = 2; + if (has_max_entries()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->max_entries(), target); + } + + // optional int32 num_entries = 3; + if (has_num_entries()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->num_entries(), target); + } + + // optional bool user_data_fixed_size = 4; + if (has_user_data_fixed_size()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->user_data_fixed_size(), target); + } + + // optional int32 user_data_size = 5; + if (has_user_data_size()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->user_data_size(), target); + } + + // optional int32 user_data_size_bits = 6; + if (has_user_data_size_bits()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->user_data_size_bits(), target); + } + + // optional int32 flags = 7; + if (has_flags()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->flags(), target); + } + + // optional bytes string_data = 8; + if (has_string_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 8, this->string_data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_CreateStringTable::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string name = 1; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + // optional int32 max_entries = 2; + if (has_max_entries()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->max_entries()); + } + + // optional int32 num_entries = 3; + if (has_num_entries()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->num_entries()); + } + + // optional bool user_data_fixed_size = 4; + if (has_user_data_fixed_size()) { + total_size += 1 + 1; + } + + // optional int32 user_data_size = 5; + if (has_user_data_size()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->user_data_size()); + } + + // optional int32 user_data_size_bits = 6; + if (has_user_data_size_bits()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->user_data_size_bits()); + } + + // optional int32 flags = 7; + if (has_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->flags()); + } + + // optional bytes string_data = 8; + if (has_string_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->string_data()); + } + + } + 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 CSVCMsg_CreateStringTable::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_CreateStringTable* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_CreateStringTable::MergeFrom(const CSVCMsg_CreateStringTable& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_name()) { + set_name(from.name()); + } + if (from.has_max_entries()) { + set_max_entries(from.max_entries()); + } + if (from.has_num_entries()) { + set_num_entries(from.num_entries()); + } + if (from.has_user_data_fixed_size()) { + set_user_data_fixed_size(from.user_data_fixed_size()); + } + if (from.has_user_data_size()) { + set_user_data_size(from.user_data_size()); + } + if (from.has_user_data_size_bits()) { + set_user_data_size_bits(from.user_data_size_bits()); + } + if (from.has_flags()) { + set_flags(from.flags()); + } + if (from.has_string_data()) { + set_string_data(from.string_data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_CreateStringTable::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_CreateStringTable::CopyFrom(const CSVCMsg_CreateStringTable& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_CreateStringTable::IsInitialized() const { + + return true; +} + +void CSVCMsg_CreateStringTable::Swap(CSVCMsg_CreateStringTable* other) { + if (other != this) { + std::swap(name_, other->name_); + std::swap(max_entries_, other->max_entries_); + std::swap(num_entries_, other->num_entries_); + std::swap(user_data_fixed_size_, other->user_data_fixed_size_); + std::swap(user_data_size_, other->user_data_size_); + std::swap(user_data_size_bits_, other->user_data_size_bits_); + std::swap(flags_, other->flags_); + std::swap(string_data_, other->string_data_); + 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 CSVCMsg_CreateStringTable::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_CreateStringTable_descriptor_; + metadata.reflection = CSVCMsg_CreateStringTable_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_UpdateStringTable::kTableIdFieldNumber; +const int CSVCMsg_UpdateStringTable::kNumChangedEntriesFieldNumber; +const int CSVCMsg_UpdateStringTable::kStringDataFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_UpdateStringTable::InitAsDefaultInstance() { +} + +CSVCMsg_UpdateStringTable::CSVCMsg_UpdateStringTable(const CSVCMsg_UpdateStringTable& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_UpdateStringTable::SharedCtor() { + _cached_size_ = 0; + table_id_ = 0; + num_changed_entries_ = 0; + string_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_UpdateStringTable::~CSVCMsg_UpdateStringTable() { + SharedDtor(); +} + +void CSVCMsg_UpdateStringTable::SharedDtor() { + if (string_data_ != &::google::protobuf::internal::kEmptyString) { + delete string_data_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_UpdateStringTable::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_UpdateStringTable::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_UpdateStringTable_descriptor_; +} + +const CSVCMsg_UpdateStringTable& CSVCMsg_UpdateStringTable::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_UpdateStringTable* CSVCMsg_UpdateStringTable::default_instance_ = NULL; + +CSVCMsg_UpdateStringTable* CSVCMsg_UpdateStringTable::New() const { + return new CSVCMsg_UpdateStringTable; +} + +void CSVCMsg_UpdateStringTable::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + table_id_ = 0; + num_changed_entries_ = 0; + if (has_string_data()) { + if (string_data_ != &::google::protobuf::internal::kEmptyString) { + string_data_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_UpdateStringTable::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 int32 table_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &table_id_))); + set_has_table_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_num_changed_entries; + break; + } + + // optional int32 num_changed_entries = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_num_changed_entries: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &num_changed_entries_))); + set_has_num_changed_entries(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_string_data; + break; + } + + // optional bytes string_data = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_string_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_string_data())); + } 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 CSVCMsg_UpdateStringTable::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 table_id = 1; + if (has_table_id()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->table_id(), output); + } + + // optional int32 num_changed_entries = 2; + if (has_num_changed_entries()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_changed_entries(), output); + } + + // optional bytes string_data = 3; + if (has_string_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 3, this->string_data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_UpdateStringTable::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 table_id = 1; + if (has_table_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->table_id(), target); + } + + // optional int32 num_changed_entries = 2; + if (has_num_changed_entries()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_changed_entries(), target); + } + + // optional bytes string_data = 3; + if (has_string_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 3, this->string_data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_UpdateStringTable::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 table_id = 1; + if (has_table_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->table_id()); + } + + // optional int32 num_changed_entries = 2; + if (has_num_changed_entries()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->num_changed_entries()); + } + + // optional bytes string_data = 3; + if (has_string_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->string_data()); + } + + } + 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 CSVCMsg_UpdateStringTable::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_UpdateStringTable* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_UpdateStringTable::MergeFrom(const CSVCMsg_UpdateStringTable& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_table_id()) { + set_table_id(from.table_id()); + } + if (from.has_num_changed_entries()) { + set_num_changed_entries(from.num_changed_entries()); + } + if (from.has_string_data()) { + set_string_data(from.string_data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_UpdateStringTable::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_UpdateStringTable::CopyFrom(const CSVCMsg_UpdateStringTable& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_UpdateStringTable::IsInitialized() const { + + return true; +} + +void CSVCMsg_UpdateStringTable::Swap(CSVCMsg_UpdateStringTable* other) { + if (other != this) { + std::swap(table_id_, other->table_id_); + std::swap(num_changed_entries_, other->num_changed_entries_); + std::swap(string_data_, other->string_data_); + 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 CSVCMsg_UpdateStringTable::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_UpdateStringTable_descriptor_; + metadata.reflection = CSVCMsg_UpdateStringTable_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_UserMessage::kMsgTypeFieldNumber; +const int CSVCMsg_UserMessage::kMsgDataFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_UserMessage::CSVCMsg_UserMessage() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_UserMessage::InitAsDefaultInstance() { +} + +CSVCMsg_UserMessage::CSVCMsg_UserMessage(const CSVCMsg_UserMessage& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_UserMessage::SharedCtor() { + _cached_size_ = 0; + msg_type_ = 0; + msg_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_UserMessage::~CSVCMsg_UserMessage() { + SharedDtor(); +} + +void CSVCMsg_UserMessage::SharedDtor() { + if (msg_data_ != &::google::protobuf::internal::kEmptyString) { + delete msg_data_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_UserMessage::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_UserMessage::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_UserMessage_descriptor_; +} + +const CSVCMsg_UserMessage& CSVCMsg_UserMessage::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_UserMessage* CSVCMsg_UserMessage::default_instance_ = NULL; + +CSVCMsg_UserMessage* CSVCMsg_UserMessage::New() const { + return new CSVCMsg_UserMessage; +} + +void CSVCMsg_UserMessage::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + msg_type_ = 0; + if (has_msg_data()) { + if (msg_data_ != &::google::protobuf::internal::kEmptyString) { + msg_data_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_UserMessage::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 int32 msg_type = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &msg_type_))); + set_has_msg_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_msg_data; + break; + } + + // optional bytes msg_data = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_msg_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_msg_data())); + } 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 CSVCMsg_UserMessage::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 msg_type = 1; + if (has_msg_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->msg_type(), output); + } + + // optional bytes msg_data = 2; + if (has_msg_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 2, this->msg_data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_UserMessage::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 msg_type = 1; + if (has_msg_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->msg_type(), target); + } + + // optional bytes msg_data = 2; + if (has_msg_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 2, this->msg_data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_UserMessage::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 msg_type = 1; + if (has_msg_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->msg_type()); + } + + // optional bytes msg_data = 2; + if (has_msg_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->msg_data()); + } + + } + 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 CSVCMsg_UserMessage::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_UserMessage* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_UserMessage::MergeFrom(const CSVCMsg_UserMessage& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_msg_type()) { + set_msg_type(from.msg_type()); + } + if (from.has_msg_data()) { + set_msg_data(from.msg_data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_UserMessage::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_UserMessage::CopyFrom(const CSVCMsg_UserMessage& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_UserMessage::IsInitialized() const { + + return true; +} + +void CSVCMsg_UserMessage::Swap(CSVCMsg_UserMessage* other) { + if (other != this) { + std::swap(msg_type_, other->msg_type_); + std::swap(msg_data_, other->msg_data_); + 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 CSVCMsg_UserMessage::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_UserMessage_descriptor_; + metadata.reflection = CSVCMsg_UserMessage_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_VoiceData::kClientFieldNumber; +const int CSVCMsg_VoiceData::kProximityFieldNumber; +const int CSVCMsg_VoiceData::kXuidFieldNumber; +const int CSVCMsg_VoiceData::kAudibleMaskFieldNumber; +const int CSVCMsg_VoiceData::kVoiceDataFieldNumber; +const int CSVCMsg_VoiceData::kFormatFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_VoiceData::CSVCMsg_VoiceData() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_VoiceData::InitAsDefaultInstance() { +} + +CSVCMsg_VoiceData::CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_VoiceData::SharedCtor() { + _cached_size_ = 0; + client_ = 0; + proximity_ = false; + xuid_ = GOOGLE_ULONGLONG(0); + audible_mask_ = 0; + voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + format_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_VoiceData::~CSVCMsg_VoiceData() { + SharedDtor(); +} + +void CSVCMsg_VoiceData::SharedDtor() { + if (voice_data_ != &::google::protobuf::internal::kEmptyString) { + delete voice_data_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_VoiceData::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_VoiceData::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_VoiceData_descriptor_; +} + +const CSVCMsg_VoiceData& CSVCMsg_VoiceData::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_VoiceData* CSVCMsg_VoiceData::default_instance_ = NULL; + +CSVCMsg_VoiceData* CSVCMsg_VoiceData::New() const { + return new CSVCMsg_VoiceData; +} + +void CSVCMsg_VoiceData::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + client_ = 0; + proximity_ = false; + xuid_ = GOOGLE_ULONGLONG(0); + audible_mask_ = 0; + if (has_voice_data()) { + if (voice_data_ != &::google::protobuf::internal::kEmptyString) { + voice_data_->clear(); + } + } + format_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_VoiceData::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 int32 client = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &client_))); + set_has_client(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_proximity; + break; + } + + // optional bool proximity = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_proximity: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &proximity_))); + set_has_proximity(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(25)) goto parse_xuid; + break; + } + + // optional fixed64 xuid = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED64) { + parse_xuid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( + input, &xuid_))); + set_has_xuid(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_audible_mask; + break; + } + + // optional int32 audible_mask = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_audible_mask: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &audible_mask_))); + set_has_audible_mask(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_voice_data; + break; + } + + // optional bytes voice_data = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_voice_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_voice_data())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_format; + break; + } + + // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_format: + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (VoiceDataFormat_t_IsValid(value)) { + set_format(static_cast< VoiceDataFormat_t >(value)); + } else { + mutable_unknown_fields()->AddVarint(6, value); + } + } 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 CSVCMsg_VoiceData::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 client = 1; + if (has_client()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->client(), output); + } + + // optional bool proximity = 2; + if (has_proximity()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->proximity(), output); + } + + // optional fixed64 xuid = 3; + if (has_xuid()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->xuid(), output); + } + + // optional int32 audible_mask = 4; + if (has_audible_mask()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->audible_mask(), output); + } + + // optional bytes voice_data = 5; + if (has_voice_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytes( + 5, this->voice_data(), output); + } + + // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 6, this->format(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_VoiceData::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 client = 1; + if (has_client()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->client(), target); + } + + // optional bool proximity = 2; + if (has_proximity()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->proximity(), target); + } + + // optional fixed64 xuid = 3; + if (has_xuid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->xuid(), target); + } + + // optional int32 audible_mask = 4; + if (has_audible_mask()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->audible_mask(), target); + } + + // optional bytes voice_data = 5; + if (has_voice_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 5, this->voice_data(), target); + } + + // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 6, this->format(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_VoiceData::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 client = 1; + if (has_client()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->client()); + } + + // optional bool proximity = 2; + if (has_proximity()) { + total_size += 1 + 1; + } + + // optional fixed64 xuid = 3; + if (has_xuid()) { + total_size += 1 + 8; + } + + // optional int32 audible_mask = 4; + if (has_audible_mask()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->audible_mask()); + } + + // optional bytes voice_data = 5; + if (has_voice_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->voice_data()); + } + + // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->format()); + } + + } + 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 CSVCMsg_VoiceData::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_VoiceData* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_VoiceData::MergeFrom(const CSVCMsg_VoiceData& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_client()) { + set_client(from.client()); + } + if (from.has_proximity()) { + set_proximity(from.proximity()); + } + if (from.has_xuid()) { + set_xuid(from.xuid()); + } + if (from.has_audible_mask()) { + set_audible_mask(from.audible_mask()); + } + if (from.has_voice_data()) { + set_voice_data(from.voice_data()); + } + if (from.has_format()) { + set_format(from.format()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_VoiceData::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_VoiceData::CopyFrom(const CSVCMsg_VoiceData& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_VoiceData::IsInitialized() const { + + return true; +} + +void CSVCMsg_VoiceData::Swap(CSVCMsg_VoiceData* other) { + if (other != this) { + std::swap(client_, other->client_); + std::swap(proximity_, other->proximity_); + std::swap(xuid_, other->xuid_); + std::swap(audible_mask_, other->audible_mask_); + std::swap(voice_data_, other->voice_data_); + std::swap(format_, other->format_); + 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 CSVCMsg_VoiceData::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_VoiceData_descriptor_; + metadata.reflection = CSVCMsg_VoiceData_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsgList_GameEvents_event_t::kTickFieldNumber; +const int CSVCMsgList_GameEvents_event_t::kEventFieldNumber; +#endif // !_MSC_VER + +CSVCMsgList_GameEvents_event_t::CSVCMsgList_GameEvents_event_t() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsgList_GameEvents_event_t::InitAsDefaultInstance() { + event_ = const_cast< ::CSVCMsg_GameEvent*>(&::CSVCMsg_GameEvent::default_instance()); +} + +CSVCMsgList_GameEvents_event_t::CSVCMsgList_GameEvents_event_t(const CSVCMsgList_GameEvents_event_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsgList_GameEvents_event_t::SharedCtor() { + _cached_size_ = 0; + tick_ = 0; + event_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsgList_GameEvents_event_t::~CSVCMsgList_GameEvents_event_t() { + SharedDtor(); +} + +void CSVCMsgList_GameEvents_event_t::SharedDtor() { + if (this != default_instance_) { + delete event_; + } +} + +void CSVCMsgList_GameEvents_event_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsgList_GameEvents_event_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsgList_GameEvents_event_t_descriptor_; +} + +const CSVCMsgList_GameEvents_event_t& CSVCMsgList_GameEvents_event_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents_event_t::default_instance_ = NULL; + +CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents_event_t::New() const { + return new CSVCMsgList_GameEvents_event_t; +} + +void CSVCMsgList_GameEvents_event_t::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + tick_ = 0; + if (has_event()) { + if (event_ != NULL) event_->::CSVCMsg_GameEvent::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsgList_GameEvents_event_t::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 int32 tick = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &tick_))); + set_has_tick(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_event; + break; + } + + // optional .CSVCMsg_GameEvent event = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_event: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_event())); + } 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 CSVCMsgList_GameEvents_event_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 tick = 1; + if (has_tick()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->tick(), output); + } + + // optional .CSVCMsg_GameEvent event = 2; + if (has_event()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->event(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsgList_GameEvents_event_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 tick = 1; + if (has_tick()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->tick(), target); + } + + // optional .CSVCMsg_GameEvent event = 2; + if (has_event()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->event(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsgList_GameEvents_event_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 tick = 1; + if (has_tick()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->tick()); + } + + // optional .CSVCMsg_GameEvent event = 2; + if (has_event()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->event()); + } + + } + 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 CSVCMsgList_GameEvents_event_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsgList_GameEvents_event_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsgList_GameEvents_event_t::MergeFrom(const CSVCMsgList_GameEvents_event_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_tick()) { + set_tick(from.tick()); + } + if (from.has_event()) { + mutable_event()->::CSVCMsg_GameEvent::MergeFrom(from.event()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsgList_GameEvents_event_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsgList_GameEvents_event_t::CopyFrom(const CSVCMsgList_GameEvents_event_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsgList_GameEvents_event_t::IsInitialized() const { + + return true; +} + +void CSVCMsgList_GameEvents_event_t::Swap(CSVCMsgList_GameEvents_event_t* other) { + if (other != this) { + std::swap(tick_, other->tick_); + std::swap(event_, other->event_); + 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 CSVCMsgList_GameEvents_event_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsgList_GameEvents_event_t_descriptor_; + metadata.reflection = CSVCMsgList_GameEvents_event_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CSVCMsgList_GameEvents::kEventsFieldNumber; +#endif // !_MSC_VER + +CSVCMsgList_GameEvents::CSVCMsgList_GameEvents() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsgList_GameEvents::InitAsDefaultInstance() { +} + +CSVCMsgList_GameEvents::CSVCMsgList_GameEvents(const CSVCMsgList_GameEvents& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsgList_GameEvents::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsgList_GameEvents::~CSVCMsgList_GameEvents() { + SharedDtor(); +} + +void CSVCMsgList_GameEvents::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsgList_GameEvents::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsgList_GameEvents::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsgList_GameEvents_descriptor_; +} + +const CSVCMsgList_GameEvents& CSVCMsgList_GameEvents::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsgList_GameEvents* CSVCMsgList_GameEvents::default_instance_ = NULL; + +CSVCMsgList_GameEvents* CSVCMsgList_GameEvents::New() const { + return new CSVCMsgList_GameEvents; +} + +void CSVCMsgList_GameEvents::Clear() { + events_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsgList_GameEvents::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)) { + // repeated .CSVCMsgList_GameEvents.event_t events = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_events: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_events())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(10)) goto parse_events; + 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 CSVCMsgList_GameEvents::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated .CSVCMsgList_GameEvents.event_t events = 1; + for (int i = 0; i < this->events_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->events(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsgList_GameEvents::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated .CSVCMsgList_GameEvents.event_t events = 1; + for (int i = 0; i < this->events_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->events(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsgList_GameEvents::ByteSize() const { + int total_size = 0; + + // repeated .CSVCMsgList_GameEvents.event_t events = 1; + total_size += 1 * this->events_size(); + for (int i = 0; i < this->events_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->events(i)); + } + + 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 CSVCMsgList_GameEvents::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsgList_GameEvents* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsgList_GameEvents::MergeFrom(const CSVCMsgList_GameEvents& from) { + GOOGLE_CHECK_NE(&from, this); + events_.MergeFrom(from.events_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsgList_GameEvents::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsgList_GameEvents::CopyFrom(const CSVCMsgList_GameEvents& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsgList_GameEvents::IsInitialized() const { + + return true; +} + +void CSVCMsgList_GameEvents::Swap(CSVCMsgList_GameEvents* other) { + if (other != this) { + events_.Swap(&other->events_); + 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 CSVCMsgList_GameEvents::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsgList_GameEvents_descriptor_; + metadata.reflection = CSVCMsgList_GameEvents_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsgList_UserMessages_usermsg_t::kTickFieldNumber; +const int CSVCMsgList_UserMessages_usermsg_t::kMsgFieldNumber; +#endif // !_MSC_VER + +CSVCMsgList_UserMessages_usermsg_t::CSVCMsgList_UserMessages_usermsg_t() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsgList_UserMessages_usermsg_t::InitAsDefaultInstance() { + msg_ = const_cast< ::CSVCMsg_UserMessage*>(&::CSVCMsg_UserMessage::default_instance()); +} + +CSVCMsgList_UserMessages_usermsg_t::CSVCMsgList_UserMessages_usermsg_t(const CSVCMsgList_UserMessages_usermsg_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsgList_UserMessages_usermsg_t::SharedCtor() { + _cached_size_ = 0; + tick_ = 0; + msg_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsgList_UserMessages_usermsg_t::~CSVCMsgList_UserMessages_usermsg_t() { + SharedDtor(); +} + +void CSVCMsgList_UserMessages_usermsg_t::SharedDtor() { + if (this != default_instance_) { + delete msg_; + } +} + +void CSVCMsgList_UserMessages_usermsg_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsgList_UserMessages_usermsg_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsgList_UserMessages_usermsg_t_descriptor_; +} + +const CSVCMsgList_UserMessages_usermsg_t& CSVCMsgList_UserMessages_usermsg_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsgList_UserMessages_usermsg_t* CSVCMsgList_UserMessages_usermsg_t::default_instance_ = NULL; + +CSVCMsgList_UserMessages_usermsg_t* CSVCMsgList_UserMessages_usermsg_t::New() const { + return new CSVCMsgList_UserMessages_usermsg_t; +} + +void CSVCMsgList_UserMessages_usermsg_t::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + tick_ = 0; + if (has_msg()) { + if (msg_ != NULL) msg_->::CSVCMsg_UserMessage::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsgList_UserMessages_usermsg_t::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 int32 tick = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &tick_))); + set_has_tick(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_msg; + break; + } + + // optional .CSVCMsg_UserMessage msg = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_msg: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_msg())); + } 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 CSVCMsgList_UserMessages_usermsg_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 tick = 1; + if (has_tick()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->tick(), output); + } + + // optional .CSVCMsg_UserMessage msg = 2; + if (has_msg()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->msg(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsgList_UserMessages_usermsg_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 tick = 1; + if (has_tick()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->tick(), target); + } + + // optional .CSVCMsg_UserMessage msg = 2; + if (has_msg()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->msg(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsgList_UserMessages_usermsg_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 tick = 1; + if (has_tick()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->tick()); + } + + // optional .CSVCMsg_UserMessage msg = 2; + if (has_msg()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->msg()); + } + + } + 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 CSVCMsgList_UserMessages_usermsg_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsgList_UserMessages_usermsg_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsgList_UserMessages_usermsg_t::MergeFrom(const CSVCMsgList_UserMessages_usermsg_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_tick()) { + set_tick(from.tick()); + } + if (from.has_msg()) { + mutable_msg()->::CSVCMsg_UserMessage::MergeFrom(from.msg()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsgList_UserMessages_usermsg_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsgList_UserMessages_usermsg_t::CopyFrom(const CSVCMsgList_UserMessages_usermsg_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsgList_UserMessages_usermsg_t::IsInitialized() const { + + return true; +} + +void CSVCMsgList_UserMessages_usermsg_t::Swap(CSVCMsgList_UserMessages_usermsg_t* other) { + if (other != this) { + std::swap(tick_, other->tick_); + std::swap(msg_, other->msg_); + 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 CSVCMsgList_UserMessages_usermsg_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsgList_UserMessages_usermsg_t_descriptor_; + metadata.reflection = CSVCMsgList_UserMessages_usermsg_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CSVCMsgList_UserMessages::kUsermsgsFieldNumber; +#endif // !_MSC_VER + +CSVCMsgList_UserMessages::CSVCMsgList_UserMessages() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsgList_UserMessages::InitAsDefaultInstance() { +} + +CSVCMsgList_UserMessages::CSVCMsgList_UserMessages(const CSVCMsgList_UserMessages& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsgList_UserMessages::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsgList_UserMessages::~CSVCMsgList_UserMessages() { + SharedDtor(); +} + +void CSVCMsgList_UserMessages::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsgList_UserMessages::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsgList_UserMessages::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsgList_UserMessages_descriptor_; +} + +const CSVCMsgList_UserMessages& CSVCMsgList_UserMessages::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsgList_UserMessages* CSVCMsgList_UserMessages::default_instance_ = NULL; + +CSVCMsgList_UserMessages* CSVCMsgList_UserMessages::New() const { + return new CSVCMsgList_UserMessages; +} + +void CSVCMsgList_UserMessages::Clear() { + usermsgs_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsgList_UserMessages::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)) { + // repeated .CSVCMsgList_UserMessages.usermsg_t usermsgs = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_usermsgs: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_usermsgs())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(10)) goto parse_usermsgs; + 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 CSVCMsgList_UserMessages::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated .CSVCMsgList_UserMessages.usermsg_t usermsgs = 1; + for (int i = 0; i < this->usermsgs_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->usermsgs(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsgList_UserMessages::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated .CSVCMsgList_UserMessages.usermsg_t usermsgs = 1; + for (int i = 0; i < this->usermsgs_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->usermsgs(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsgList_UserMessages::ByteSize() const { + int total_size = 0; + + // repeated .CSVCMsgList_UserMessages.usermsg_t usermsgs = 1; + total_size += 1 * this->usermsgs_size(); + for (int i = 0; i < this->usermsgs_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->usermsgs(i)); + } + + 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 CSVCMsgList_UserMessages::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsgList_UserMessages* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsgList_UserMessages::MergeFrom(const CSVCMsgList_UserMessages& from) { + GOOGLE_CHECK_NE(&from, this); + usermsgs_.MergeFrom(from.usermsgs_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsgList_UserMessages::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsgList_UserMessages::CopyFrom(const CSVCMsgList_UserMessages& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsgList_UserMessages::IsInitialized() const { + + return true; +} + +void CSVCMsgList_UserMessages::Swap(CSVCMsgList_UserMessages* other) { + if (other != this) { + usermsgs_.Swap(&other->usermsgs_); + 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 CSVCMsgList_UserMessages::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsgList_UserMessages_descriptor_; + metadata.reflection = CSVCMsgList_UserMessages_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_PacketReliable::kTickFieldNumber; +const int CSVCMsg_PacketReliable::kMessagessizeFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_PacketReliable::CSVCMsg_PacketReliable() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CSVCMsg_PacketReliable::InitAsDefaultInstance() { +} + +CSVCMsg_PacketReliable::CSVCMsg_PacketReliable(const CSVCMsg_PacketReliable& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CSVCMsg_PacketReliable::SharedCtor() { + _cached_size_ = 0; + tick_ = 0; + messagessize_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_PacketReliable::~CSVCMsg_PacketReliable() { + SharedDtor(); +} + +void CSVCMsg_PacketReliable::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_PacketReliable::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_PacketReliable::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_PacketReliable_descriptor_; +} + +const CSVCMsg_PacketReliable& CSVCMsg_PacketReliable::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); return *default_instance_; +} + +CSVCMsg_PacketReliable* CSVCMsg_PacketReliable::default_instance_ = NULL; + +CSVCMsg_PacketReliable* CSVCMsg_PacketReliable::New() const { + return new CSVCMsg_PacketReliable; +} + +void CSVCMsg_PacketReliable::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + tick_ = 0; + messagessize_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_PacketReliable::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 int32 tick = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &tick_))); + set_has_tick(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_messagessize; + break; + } + + // optional int32 messagessize = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_messagessize: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &messagessize_))); + set_has_messagessize(); + } 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 CSVCMsg_PacketReliable::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 tick = 1; + if (has_tick()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->tick(), output); + } + + // optional int32 messagessize = 2; + if (has_messagessize()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->messagessize(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CSVCMsg_PacketReliable::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 tick = 1; + if (has_tick()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->tick(), target); + } + + // optional int32 messagessize = 2; + if (has_messagessize()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->messagessize(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CSVCMsg_PacketReliable::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 tick = 1; + if (has_tick()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->tick()); + } + + // optional int32 messagessize = 2; + if (has_messagessize()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->messagessize()); + } + + } + 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 CSVCMsg_PacketReliable::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_PacketReliable* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_PacketReliable::MergeFrom(const CSVCMsg_PacketReliable& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_tick()) { + set_tick(from.tick()); + } + if (from.has_messagessize()) { + set_messagessize(from.messagessize()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_PacketReliable::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_PacketReliable::CopyFrom(const CSVCMsg_PacketReliable& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PacketReliable::IsInitialized() const { + + return true; +} + +void CSVCMsg_PacketReliable::Swap(CSVCMsg_PacketReliable* other) { + if (other != this) { + std::swap(tick_, other->tick_); + std::swap(messagessize_, other->messagessize_); + 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 CSVCMsg_PacketReliable::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_PacketReliable_descriptor_; + metadata.reflection = CSVCMsg_PacketReliable_reflection_; + return metadata; +} + + +// @@protoc_insertion_point(namespace_scope) + +// @@protoc_insertion_point(global_scope) diff --git a/public/engine/protobuf/netmessages.pb.h b/public/engine/protobuf/netmessages.pb.h new file mode 100644 index 00000000..d1126079 --- /dev/null +++ b/public/engine/protobuf/netmessages.pb.h @@ -0,0 +1,12266 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: netmessages.proto + +#ifndef PROTOBUF_netmessages_2eproto__INCLUDED +#define PROTOBUF_netmessages_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2004000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include "google/protobuf/descriptor.pb.h" +// @@protoc_insertion_point(includes) + +// Internal implementation detail -- do not call these. +void protobuf_AddDesc_netmessages_2eproto(); +void protobuf_AssignDesc_netmessages_2eproto(); +void protobuf_ShutdownFile_netmessages_2eproto(); + +class CMsgVector; +class CMsgVector2D; +class CMsgQAngle; +class CMsg_CVars; +class CMsg_CVars_CVar; +class CNETMsg_NOP; +class CNETMsg_Disconnect; +class CNETMsg_File; +class CNETMsg_SplitScreenUser; +class CNETMsg_Tick; +class CNETMsg_StringCmd; +class CNETMsg_SetConVar; +class CNETMsg_SignonState; +class CCLCMsg_ClientInfo; +class CCLCMsg_Move; +class CCLCMsg_VoiceData; +class CCLCMsg_BaselineAck; +class CCLCMsg_ListenEvents; +class CCLCMsg_RespondCvarValue; +class CCLCMsg_FileCRCCheck; +class CCLCMsg_LoadingProgress; +class CCLCMsg_SplitPlayerConnect; +class CCLCMsg_ClientMessage; +class CSVCMsg_ServerInfo; +class CSVCMsg_ClassInfo; +class CSVCMsg_ClassInfo_class_t; +class CSVCMsg_SetPause; +class CSVCMsg_VoiceInit; +class CSVCMsg_Print; +class CSVCMsg_Sounds; +class CSVCMsg_Sounds_sounddata_t; +class CSVCMsg_Prefetch; +class CSVCMsg_SetView; +class CSVCMsg_FixAngle; +class CSVCMsg_CrosshairAngle; +class CSVCMsg_BSPDecal; +class CSVCMsg_SplitScreen; +class CSVCMsg_GetCvarValue; +class CSVCMsg_Menu; +class CSVCMsg_SendTable; +class CSVCMsg_SendTable_sendprop_t; +class CSVCMsg_GameEvent; +class CSVCMsg_GameEvent_key_t; +class CSVCMsg_GameEventList; +class CSVCMsg_GameEventList_key_t; +class CSVCMsg_GameEventList_descriptor_t; +class CSVCMsg_PacketEntities; +class CSVCMsg_TempEntities; +class CSVCMsg_CreateStringTable; +class CSVCMsg_UpdateStringTable; +class CSVCMsg_UserMessage; +class CSVCMsg_VoiceData; +class CSVCMsgList_GameEvents; +class CSVCMsgList_GameEvents_event_t; +class CSVCMsgList_UserMessages; +class CSVCMsgList_UserMessages_usermsg_t; +class CSVCMsg_PacketReliable; + +enum NET_Messages { + net_NOP = 0, + net_Disconnect = 1, + net_File = 2, + net_SplitScreenUser = 3, + net_Tick = 4, + net_StringCmd = 5, + net_SetConVar = 6, + net_SignonState = 7 +}; +bool NET_Messages_IsValid(int value); +const NET_Messages NET_Messages_MIN = net_NOP; +const NET_Messages NET_Messages_MAX = net_SignonState; +const int NET_Messages_ARRAYSIZE = NET_Messages_MAX + 1; + +const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor(); +inline const ::std::string& NET_Messages_Name(NET_Messages value) { + return ::google::protobuf::internal::NameOfEnum( + NET_Messages_descriptor(), value); +} +inline bool NET_Messages_Parse( + const ::std::string& name, NET_Messages* value) { + return ::google::protobuf::internal::ParseNamedEnum( + NET_Messages_descriptor(), name, value); +} +enum SIGNONSTATE { + SIGNONSTATE_NONE = 0, + SIGNONSTATE_CHALLENGE = 1, + SIGNONSTATE_CONNECTED = 2, + SIGNONSTATE_NEW = 3, + SIGNONSTATE_PRESPAWN = 4, + SIGNONSTATE_SPAWN = 5, + SIGNONSTATE_FULL = 6, + SIGNONSTATE_CHANGELEVEL = 7 +}; +bool SIGNONSTATE_IsValid(int value); +const SIGNONSTATE SIGNONSTATE_MIN = SIGNONSTATE_NONE; +const SIGNONSTATE SIGNONSTATE_MAX = SIGNONSTATE_CHANGELEVEL; +const int SIGNONSTATE_ARRAYSIZE = SIGNONSTATE_MAX + 1; + +const ::google::protobuf::EnumDescriptor* SIGNONSTATE_descriptor(); +inline const ::std::string& SIGNONSTATE_Name(SIGNONSTATE value) { + return ::google::protobuf::internal::NameOfEnum( + SIGNONSTATE_descriptor(), value); +} +inline bool SIGNONSTATE_Parse( + const ::std::string& name, SIGNONSTATE* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SIGNONSTATE_descriptor(), name, value); +} +enum CLC_Messages { + clc_ClientInfo = 8, + clc_Move = 9, + clc_VoiceData = 10, + clc_BaselineAck = 11, + clc_ListenEvents = 12, + clc_RespondCvarValue = 13, + clc_FileCRCCheck = 14, + clc_LoadingProgress = 15, + clc_SplitPlayerConnect = 16, + clc_ClientMessage = 17 +}; +bool CLC_Messages_IsValid(int value); +const CLC_Messages CLC_Messages_MIN = clc_ClientInfo; +const CLC_Messages CLC_Messages_MAX = clc_ClientMessage; +const int CLC_Messages_ARRAYSIZE = CLC_Messages_MAX + 1; + +const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor(); +inline const ::std::string& CLC_Messages_Name(CLC_Messages value) { + return ::google::protobuf::internal::NameOfEnum( + CLC_Messages_descriptor(), value); +} +inline bool CLC_Messages_Parse( + const ::std::string& name, CLC_Messages* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CLC_Messages_descriptor(), name, value); +} +enum VoiceDataFormat_t { + VOICEDATA_FORMAT_STEAM = 0, + VOICEDATA_FORMAT_ENGINE = 1 +}; +bool VoiceDataFormat_t_IsValid(int value); +const VoiceDataFormat_t VoiceDataFormat_t_MIN = VOICEDATA_FORMAT_STEAM; +const VoiceDataFormat_t VoiceDataFormat_t_MAX = VOICEDATA_FORMAT_ENGINE; +const int VoiceDataFormat_t_ARRAYSIZE = VoiceDataFormat_t_MAX + 1; + +const ::google::protobuf::EnumDescriptor* VoiceDataFormat_t_descriptor(); +inline const ::std::string& VoiceDataFormat_t_Name(VoiceDataFormat_t value) { + return ::google::protobuf::internal::NameOfEnum( + VoiceDataFormat_t_descriptor(), value); +} +inline bool VoiceDataFormat_t_Parse( + const ::std::string& name, VoiceDataFormat_t* value) { + return ::google::protobuf::internal::ParseNamedEnum( + VoiceDataFormat_t_descriptor(), name, value); +} +enum SVC_Messages { + svc_ServerInfo = 8, + svc_SendTable = 9, + svc_ClassInfo = 10, + svc_SetPause = 11, + svc_CreateStringTable = 12, + svc_UpdateStringTable = 13, + svc_VoiceInit = 14, + svc_VoiceData = 15, + svc_Print = 16, + svc_Sounds = 17, + svc_SetView = 18, + svc_FixAngle = 19, + svc_CrosshairAngle = 20, + svc_BSPDecal = 21, + svc_SplitScreen = 22, + svc_UserMessage = 23, + svc_EntityMessage = 24, + svc_GameEvent = 25, + svc_PacketEntities = 26, + svc_TempEntities = 27, + svc_Prefetch = 28, + svc_Menu = 29, + svc_GameEventList = 30, + svc_GetCvarValue = 31, + svc_PacketReliable = 32 +}; +bool SVC_Messages_IsValid(int value); +const SVC_Messages SVC_Messages_MIN = svc_ServerInfo; +const SVC_Messages SVC_Messages_MAX = svc_PacketReliable; +const int SVC_Messages_ARRAYSIZE = SVC_Messages_MAX + 1; + +const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor(); +inline const ::std::string& SVC_Messages_Name(SVC_Messages value) { + return ::google::protobuf::internal::NameOfEnum( + SVC_Messages_descriptor(), value); +} +inline bool SVC_Messages_Parse( + const ::std::string& name, SVC_Messages* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SVC_Messages_descriptor(), name, value); +} +enum ESplitScreenMessageType { + MSG_SPLITSCREEN_ADDUSER = 0, + MSG_SPLITSCREEN_REMOVEUSER = 1, + MSG_SPLITSCREEN_TYPE_BITS = 1 +}; +bool ESplitScreenMessageType_IsValid(int value); +const ESplitScreenMessageType ESplitScreenMessageType_MIN = MSG_SPLITSCREEN_ADDUSER; +const ESplitScreenMessageType ESplitScreenMessageType_MAX = MSG_SPLITSCREEN_REMOVEUSER; +const int ESplitScreenMessageType_ARRAYSIZE = ESplitScreenMessageType_MAX + 1; + +const ::google::protobuf::EnumDescriptor* ESplitScreenMessageType_descriptor(); +inline const ::std::string& ESplitScreenMessageType_Name(ESplitScreenMessageType value) { + return ::google::protobuf::internal::NameOfEnum( + ESplitScreenMessageType_descriptor(), value); +} +inline bool ESplitScreenMessageType_Parse( + const ::std::string& name, ESplitScreenMessageType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + ESplitScreenMessageType_descriptor(), name, value); +} +// =================================================================== + +class CMsgVector : public ::google::protobuf::Message { + public: + CMsgVector(); + virtual ~CMsgVector(); + + CMsgVector(const CMsgVector& from); + + inline CMsgVector& operator=(const CMsgVector& 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 CMsgVector& default_instance(); + + void Swap(CMsgVector* other); + + // implements Message ---------------------------------------------- + + CMsgVector* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsgVector& from); + void MergeFrom(const CMsgVector& 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 float x = 1; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 1; + inline float x() const; + inline void set_x(float value); + + // optional float y = 2; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 2; + inline float y() const; + inline void set_y(float value); + + // optional float z = 3; + inline bool has_z() const; + inline void clear_z(); + static const int kZFieldNumber = 3; + inline float z() const; + inline void set_z(float value); + + // @@protoc_insertion_point(class_scope:CMsgVector) + private: + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + inline void set_has_z(); + inline void clear_has_z(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + float x_; + float y_; + float z_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CMsgVector* default_instance_; +}; +// ------------------------------------------------------------------- + +class CMsgVector2D : public ::google::protobuf::Message { + public: + CMsgVector2D(); + virtual ~CMsgVector2D(); + + CMsgVector2D(const CMsgVector2D& from); + + inline CMsgVector2D& operator=(const CMsgVector2D& 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 CMsgVector2D& default_instance(); + + void Swap(CMsgVector2D* other); + + // implements Message ---------------------------------------------- + + CMsgVector2D* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsgVector2D& from); + void MergeFrom(const CMsgVector2D& 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 float x = 1; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 1; + inline float x() const; + inline void set_x(float value); + + // optional float y = 2; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 2; + inline float y() const; + inline void set_y(float value); + + // @@protoc_insertion_point(class_scope:CMsgVector2D) + private: + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + float x_; + float y_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CMsgVector2D* default_instance_; +}; +// ------------------------------------------------------------------- + +class CMsgQAngle : public ::google::protobuf::Message { + public: + CMsgQAngle(); + virtual ~CMsgQAngle(); + + CMsgQAngle(const CMsgQAngle& from); + + inline CMsgQAngle& operator=(const CMsgQAngle& 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 CMsgQAngle& default_instance(); + + void Swap(CMsgQAngle* other); + + // implements Message ---------------------------------------------- + + CMsgQAngle* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsgQAngle& from); + void MergeFrom(const CMsgQAngle& 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 float x = 1; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 1; + inline float x() const; + inline void set_x(float value); + + // optional float y = 2; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 2; + inline float y() const; + inline void set_y(float value); + + // optional float z = 3; + inline bool has_z() const; + inline void clear_z(); + static const int kZFieldNumber = 3; + inline float z() const; + inline void set_z(float value); + + // @@protoc_insertion_point(class_scope:CMsgQAngle) + private: + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + inline void set_has_z(); + inline void clear_has_z(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + float x_; + float y_; + float z_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CMsgQAngle* default_instance_; +}; +// ------------------------------------------------------------------- + +class CMsg_CVars_CVar : public ::google::protobuf::Message { + public: + CMsg_CVars_CVar(); + virtual ~CMsg_CVars_CVar(); + + CMsg_CVars_CVar(const CMsg_CVars_CVar& from); + + inline CMsg_CVars_CVar& operator=(const CMsg_CVars_CVar& 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 CMsg_CVars_CVar& default_instance(); + + void Swap(CMsg_CVars_CVar* other); + + // implements Message ---------------------------------------------- + + CMsg_CVars_CVar* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsg_CVars_CVar& from); + void MergeFrom(const CMsg_CVars_CVar& 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 name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // optional string value = 2; + inline bool has_value() const; + inline void clear_value(); + static const int kValueFieldNumber = 2; + inline const ::std::string& value() const; + inline void set_value(const ::std::string& value); + inline void set_value(const char* value); + inline void set_value(const char* value, size_t size); + inline ::std::string* mutable_value(); + inline ::std::string* release_value(); + + // @@protoc_insertion_point(class_scope:CMsg_CVars.CVar) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_value(); + inline void clear_has_value(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + ::std::string* value_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CMsg_CVars_CVar* default_instance_; +}; +// ------------------------------------------------------------------- + +class CMsg_CVars : public ::google::protobuf::Message { + public: + CMsg_CVars(); + virtual ~CMsg_CVars(); + + CMsg_CVars(const CMsg_CVars& from); + + inline CMsg_CVars& operator=(const CMsg_CVars& 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 CMsg_CVars& default_instance(); + + void Swap(CMsg_CVars* other); + + // implements Message ---------------------------------------------- + + CMsg_CVars* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsg_CVars& from); + void MergeFrom(const CMsg_CVars& 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 ---------------------------------------------------- + + typedef CMsg_CVars_CVar CVar; + + // accessors ------------------------------------------------------- + + // repeated .CMsg_CVars.CVar cvars = 1; + inline int cvars_size() const; + inline void clear_cvars(); + static const int kCvarsFieldNumber = 1; + inline const ::CMsg_CVars_CVar& cvars(int index) const; + inline ::CMsg_CVars_CVar* mutable_cvars(int index); + inline ::CMsg_CVars_CVar* add_cvars(); + inline const ::google::protobuf::RepeatedPtrField< ::CMsg_CVars_CVar >& + cvars() const; + inline ::google::protobuf::RepeatedPtrField< ::CMsg_CVars_CVar >* + mutable_cvars(); + + // @@protoc_insertion_point(class_scope:CMsg_CVars) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::CMsg_CVars_CVar > cvars_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CMsg_CVars* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_NOP : public ::google::protobuf::Message { + public: + CNETMsg_NOP(); + virtual ~CNETMsg_NOP(); + + CNETMsg_NOP(const CNETMsg_NOP& from); + + inline CNETMsg_NOP& operator=(const CNETMsg_NOP& 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 CNETMsg_NOP& default_instance(); + + void Swap(CNETMsg_NOP* other); + + // implements Message ---------------------------------------------- + + CNETMsg_NOP* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_NOP& from); + void MergeFrom(const CNETMsg_NOP& 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CNETMsg_NOP) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[1]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_NOP* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_Disconnect : public ::google::protobuf::Message { + public: + CNETMsg_Disconnect(); + virtual ~CNETMsg_Disconnect(); + + CNETMsg_Disconnect(const CNETMsg_Disconnect& from); + + inline CNETMsg_Disconnect& operator=(const CNETMsg_Disconnect& 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 CNETMsg_Disconnect& default_instance(); + + void Swap(CNETMsg_Disconnect* other); + + // implements Message ---------------------------------------------- + + CNETMsg_Disconnect* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_Disconnect& from); + void MergeFrom(const CNETMsg_Disconnect& 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 text = 1; + inline bool has_text() const; + inline void clear_text(); + static const int kTextFieldNumber = 1; + 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(); + + // @@protoc_insertion_point(class_scope:CNETMsg_Disconnect) + private: + inline void set_has_text(); + inline void clear_has_text(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* text_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_Disconnect* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_File : public ::google::protobuf::Message { + public: + CNETMsg_File(); + virtual ~CNETMsg_File(); + + CNETMsg_File(const CNETMsg_File& from); + + inline CNETMsg_File& operator=(const CNETMsg_File& 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 CNETMsg_File& default_instance(); + + void Swap(CNETMsg_File* other); + + // implements Message ---------------------------------------------- + + CNETMsg_File* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_File& from); + void MergeFrom(const CNETMsg_File& 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 transfer_id = 1; + inline bool has_transfer_id() const; + inline void clear_transfer_id(); + static const int kTransferIdFieldNumber = 1; + inline ::google::protobuf::int32 transfer_id() const; + inline void set_transfer_id(::google::protobuf::int32 value); + + // optional string file_name = 2; + inline bool has_file_name() const; + inline void clear_file_name(); + static const int kFileNameFieldNumber = 2; + inline const ::std::string& file_name() const; + inline void set_file_name(const ::std::string& value); + inline void set_file_name(const char* value); + inline void set_file_name(const char* value, size_t size); + inline ::std::string* mutable_file_name(); + inline ::std::string* release_file_name(); + + // optional bool is_replay_demo_file = 3; + inline bool has_is_replay_demo_file() const; + inline void clear_is_replay_demo_file(); + static const int kIsReplayDemoFileFieldNumber = 3; + inline bool is_replay_demo_file() const; + inline void set_is_replay_demo_file(bool value); + + // optional bool deny = 4; + inline bool has_deny() const; + inline void clear_deny(); + static const int kDenyFieldNumber = 4; + inline bool deny() const; + inline void set_deny(bool value); + + // @@protoc_insertion_point(class_scope:CNETMsg_File) + private: + inline void set_has_transfer_id(); + inline void clear_has_transfer_id(); + inline void set_has_file_name(); + inline void clear_has_file_name(); + inline void set_has_is_replay_demo_file(); + inline void clear_has_is_replay_demo_file(); + inline void set_has_deny(); + inline void clear_has_deny(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* file_name_; + ::google::protobuf::int32 transfer_id_; + bool is_replay_demo_file_; + bool deny_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_File* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SplitScreenUser : public ::google::protobuf::Message { + public: + CNETMsg_SplitScreenUser(); + virtual ~CNETMsg_SplitScreenUser(); + + CNETMsg_SplitScreenUser(const CNETMsg_SplitScreenUser& from); + + inline CNETMsg_SplitScreenUser& operator=(const CNETMsg_SplitScreenUser& 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 CNETMsg_SplitScreenUser& default_instance(); + + void Swap(CNETMsg_SplitScreenUser* other); + + // implements Message ---------------------------------------------- + + CNETMsg_SplitScreenUser* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_SplitScreenUser& from); + void MergeFrom(const CNETMsg_SplitScreenUser& 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 slot = 1; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 1; + inline ::google::protobuf::int32 slot() const; + inline void set_slot(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CNETMsg_SplitScreenUser) + private: + inline void set_has_slot(); + inline void clear_has_slot(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 slot_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_SplitScreenUser* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_Tick : public ::google::protobuf::Message { + public: + CNETMsg_Tick(); + virtual ~CNETMsg_Tick(); + + CNETMsg_Tick(const CNETMsg_Tick& from); + + inline CNETMsg_Tick& operator=(const CNETMsg_Tick& 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 CNETMsg_Tick& default_instance(); + + void Swap(CNETMsg_Tick* other); + + // implements Message ---------------------------------------------- + + CNETMsg_Tick* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_Tick& from); + void MergeFrom(const CNETMsg_Tick& 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 uint32 tick = 1; + inline bool has_tick() const; + inline void clear_tick(); + static const int kTickFieldNumber = 1; + inline ::google::protobuf::uint32 tick() const; + inline void set_tick(::google::protobuf::uint32 value); + + // optional uint32 host_frametime = 2; + inline bool has_host_frametime() const; + inline void clear_host_frametime(); + static const int kHostFrametimeFieldNumber = 2; + inline ::google::protobuf::uint32 host_frametime() const; + inline void set_host_frametime(::google::protobuf::uint32 value); + + // optional uint32 host_frametime_std_deviation = 3; + inline bool has_host_frametime_std_deviation() const; + inline void clear_host_frametime_std_deviation(); + static const int kHostFrametimeStdDeviationFieldNumber = 3; + inline ::google::protobuf::uint32 host_frametime_std_deviation() const; + inline void set_host_frametime_std_deviation(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CNETMsg_Tick) + private: + inline void set_has_tick(); + inline void clear_has_tick(); + inline void set_has_host_frametime(); + inline void clear_has_host_frametime(); + inline void set_has_host_frametime_std_deviation(); + inline void clear_has_host_frametime_std_deviation(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 tick_; + ::google::protobuf::uint32 host_frametime_; + ::google::protobuf::uint32 host_frametime_std_deviation_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_Tick* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_StringCmd : public ::google::protobuf::Message { + public: + CNETMsg_StringCmd(); + virtual ~CNETMsg_StringCmd(); + + CNETMsg_StringCmd(const CNETMsg_StringCmd& from); + + inline CNETMsg_StringCmd& operator=(const CNETMsg_StringCmd& 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 CNETMsg_StringCmd& default_instance(); + + void Swap(CNETMsg_StringCmd* other); + + // implements Message ---------------------------------------------- + + CNETMsg_StringCmd* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_StringCmd& from); + void MergeFrom(const CNETMsg_StringCmd& 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 command = 1; + inline bool has_command() const; + inline void clear_command(); + static const int kCommandFieldNumber = 1; + inline const ::std::string& command() const; + inline void set_command(const ::std::string& value); + inline void set_command(const char* value); + inline void set_command(const char* value, size_t size); + inline ::std::string* mutable_command(); + inline ::std::string* release_command(); + + // @@protoc_insertion_point(class_scope:CNETMsg_StringCmd) + private: + inline void set_has_command(); + inline void clear_has_command(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* command_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_StringCmd* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SetConVar : public ::google::protobuf::Message { + public: + CNETMsg_SetConVar(); + virtual ~CNETMsg_SetConVar(); + + CNETMsg_SetConVar(const CNETMsg_SetConVar& from); + + inline CNETMsg_SetConVar& operator=(const CNETMsg_SetConVar& 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 CNETMsg_SetConVar& default_instance(); + + void Swap(CNETMsg_SetConVar* other); + + // implements Message ---------------------------------------------- + + CNETMsg_SetConVar* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_SetConVar& from); + void MergeFrom(const CNETMsg_SetConVar& 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 .CMsg_CVars convars = 1; + inline bool has_convars() const; + inline void clear_convars(); + static const int kConvarsFieldNumber = 1; + inline const ::CMsg_CVars& convars() const; + inline ::CMsg_CVars* mutable_convars(); + inline ::CMsg_CVars* release_convars(); + + // @@protoc_insertion_point(class_scope:CNETMsg_SetConVar) + private: + inline void set_has_convars(); + inline void clear_has_convars(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsg_CVars* convars_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_SetConVar* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SignonState : public ::google::protobuf::Message { + public: + CNETMsg_SignonState(); + virtual ~CNETMsg_SignonState(); + + CNETMsg_SignonState(const CNETMsg_SignonState& from); + + inline CNETMsg_SignonState& operator=(const CNETMsg_SignonState& 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 CNETMsg_SignonState& default_instance(); + + void Swap(CNETMsg_SignonState* other); + + // implements Message ---------------------------------------------- + + CNETMsg_SignonState* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_SignonState& from); + void MergeFrom(const CNETMsg_SignonState& 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 uint32 signon_state = 1; + inline bool has_signon_state() const; + inline void clear_signon_state(); + static const int kSignonStateFieldNumber = 1; + inline ::google::protobuf::uint32 signon_state() const; + inline void set_signon_state(::google::protobuf::uint32 value); + + // optional uint32 spawn_count = 2; + inline bool has_spawn_count() const; + inline void clear_spawn_count(); + static const int kSpawnCountFieldNumber = 2; + inline ::google::protobuf::uint32 spawn_count() const; + inline void set_spawn_count(::google::protobuf::uint32 value); + + // optional uint32 num_server_players = 3; + inline bool has_num_server_players() const; + inline void clear_num_server_players(); + static const int kNumServerPlayersFieldNumber = 3; + inline ::google::protobuf::uint32 num_server_players() const; + inline void set_num_server_players(::google::protobuf::uint32 value); + + // repeated string players_networkids = 4; + inline int players_networkids_size() const; + inline void clear_players_networkids(); + static const int kPlayersNetworkidsFieldNumber = 4; + inline const ::std::string& players_networkids(int index) const; + inline ::std::string* mutable_players_networkids(int index); + inline void set_players_networkids(int index, const ::std::string& value); + inline void set_players_networkids(int index, const char* value); + inline void set_players_networkids(int index, const char* value, size_t size); + inline ::std::string* add_players_networkids(); + inline void add_players_networkids(const ::std::string& value); + inline void add_players_networkids(const char* value); + inline void add_players_networkids(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& players_networkids() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_players_networkids(); + + // optional string map_name = 5; + inline bool has_map_name() const; + inline void clear_map_name(); + static const int kMapNameFieldNumber = 5; + inline const ::std::string& map_name() const; + inline void set_map_name(const ::std::string& value); + inline void set_map_name(const char* value); + inline void set_map_name(const char* value, size_t size); + inline ::std::string* mutable_map_name(); + inline ::std::string* release_map_name(); + + // @@protoc_insertion_point(class_scope:CNETMsg_SignonState) + private: + inline void set_has_signon_state(); + inline void clear_has_signon_state(); + inline void set_has_spawn_count(); + inline void clear_has_spawn_count(); + inline void set_has_num_server_players(); + inline void clear_has_num_server_players(); + inline void set_has_map_name(); + inline void clear_has_map_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 signon_state_; + ::google::protobuf::uint32 spawn_count_; + ::google::protobuf::RepeatedPtrField< ::std::string> players_networkids_; + ::std::string* map_name_; + ::google::protobuf::uint32 num_server_players_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_SignonState* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_ClientInfo : public ::google::protobuf::Message { + public: + CCLCMsg_ClientInfo(); + virtual ~CCLCMsg_ClientInfo(); + + CCLCMsg_ClientInfo(const CCLCMsg_ClientInfo& from); + + inline CCLCMsg_ClientInfo& operator=(const CCLCMsg_ClientInfo& 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 CCLCMsg_ClientInfo& default_instance(); + + void Swap(CCLCMsg_ClientInfo* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_ClientInfo* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_ClientInfo& from); + void MergeFrom(const CCLCMsg_ClientInfo& 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 fixed32 send_table_crc = 1; + inline bool has_send_table_crc() const; + inline void clear_send_table_crc(); + static const int kSendTableCrcFieldNumber = 1; + inline ::google::protobuf::uint32 send_table_crc() const; + inline void set_send_table_crc(::google::protobuf::uint32 value); + + // optional uint32 server_count = 2; + inline bool has_server_count() const; + inline void clear_server_count(); + static const int kServerCountFieldNumber = 2; + inline ::google::protobuf::uint32 server_count() const; + inline void set_server_count(::google::protobuf::uint32 value); + + // optional bool is_hltv = 3; + inline bool has_is_hltv() const; + inline void clear_is_hltv(); + static const int kIsHltvFieldNumber = 3; + inline bool is_hltv() const; + inline void set_is_hltv(bool value); + + // optional bool is_replay = 4; + inline bool has_is_replay() const; + inline void clear_is_replay(); + static const int kIsReplayFieldNumber = 4; + inline bool is_replay() const; + inline void set_is_replay(bool value); + + // optional uint32 friends_id = 5; + inline bool has_friends_id() const; + inline void clear_friends_id(); + static const int kFriendsIdFieldNumber = 5; + inline ::google::protobuf::uint32 friends_id() const; + inline void set_friends_id(::google::protobuf::uint32 value); + + // optional string friends_name = 6; + inline bool has_friends_name() const; + inline void clear_friends_name(); + static const int kFriendsNameFieldNumber = 6; + inline const ::std::string& friends_name() const; + inline void set_friends_name(const ::std::string& value); + inline void set_friends_name(const char* value); + inline void set_friends_name(const char* value, size_t size); + inline ::std::string* mutable_friends_name(); + inline ::std::string* release_friends_name(); + + // repeated fixed32 custom_files = 7; + inline int custom_files_size() const; + inline void clear_custom_files(); + static const int kCustomFilesFieldNumber = 7; + inline ::google::protobuf::uint32 custom_files(int index) const; + inline void set_custom_files(int index, ::google::protobuf::uint32 value); + inline void add_custom_files(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + custom_files() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_custom_files(); + + // @@protoc_insertion_point(class_scope:CCLCMsg_ClientInfo) + private: + inline void set_has_send_table_crc(); + inline void clear_has_send_table_crc(); + inline void set_has_server_count(); + inline void clear_has_server_count(); + inline void set_has_is_hltv(); + inline void clear_has_is_hltv(); + inline void set_has_is_replay(); + inline void clear_has_is_replay(); + inline void set_has_friends_id(); + inline void clear_has_friends_id(); + inline void set_has_friends_name(); + inline void clear_has_friends_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 send_table_crc_; + ::google::protobuf::uint32 server_count_; + bool is_hltv_; + bool is_replay_; + ::google::protobuf::uint32 friends_id_; + ::std::string* friends_name_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > custom_files_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_ClientInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_Move : public ::google::protobuf::Message { + public: + CCLCMsg_Move(); + virtual ~CCLCMsg_Move(); + + CCLCMsg_Move(const CCLCMsg_Move& from); + + inline CCLCMsg_Move& operator=(const CCLCMsg_Move& 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 CCLCMsg_Move& default_instance(); + + void Swap(CCLCMsg_Move* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_Move* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_Move& from); + void MergeFrom(const CCLCMsg_Move& 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 uint32 num_backup_commands = 1; + inline bool has_num_backup_commands() const; + inline void clear_num_backup_commands(); + static const int kNumBackupCommandsFieldNumber = 1; + inline ::google::protobuf::uint32 num_backup_commands() const; + inline void set_num_backup_commands(::google::protobuf::uint32 value); + + // optional uint32 num_new_commands = 2; + inline bool has_num_new_commands() const; + inline void clear_num_new_commands(); + static const int kNumNewCommandsFieldNumber = 2; + inline ::google::protobuf::uint32 num_new_commands() const; + inline void set_num_new_commands(::google::protobuf::uint32 value); + + // optional bytes data = 3; + inline bool has_data() const; + inline void clear_data(); + static const int kDataFieldNumber = 3; + inline const ::std::string& data() const; + inline void set_data(const ::std::string& value); + inline void set_data(const char* value); + inline void set_data(const void* value, size_t size); + inline ::std::string* mutable_data(); + inline ::std::string* release_data(); + + // @@protoc_insertion_point(class_scope:CCLCMsg_Move) + private: + inline void set_has_num_backup_commands(); + inline void clear_has_num_backup_commands(); + inline void set_has_num_new_commands(); + inline void clear_has_num_new_commands(); + inline void set_has_data(); + inline void clear_has_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 num_backup_commands_; + ::google::protobuf::uint32 num_new_commands_; + ::std::string* data_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_Move* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_VoiceData : public ::google::protobuf::Message { + public: + CCLCMsg_VoiceData(); + virtual ~CCLCMsg_VoiceData(); + + CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from); + + inline CCLCMsg_VoiceData& operator=(const CCLCMsg_VoiceData& 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 CCLCMsg_VoiceData& default_instance(); + + void Swap(CCLCMsg_VoiceData* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_VoiceData* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_VoiceData& from); + void MergeFrom(const CCLCMsg_VoiceData& 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 bytes data = 1; + inline bool has_data() const; + inline void clear_data(); + static const int kDataFieldNumber = 1; + inline const ::std::string& data() const; + inline void set_data(const ::std::string& value); + inline void set_data(const char* value); + inline void set_data(const void* value, size_t size); + inline ::std::string* mutable_data(); + inline ::std::string* release_data(); + + // optional fixed64 xuid = 2; + inline bool has_xuid() const; + inline void clear_xuid(); + static const int kXuidFieldNumber = 2; + inline ::google::protobuf::uint64 xuid() const; + inline void set_xuid(::google::protobuf::uint64 value); + + // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; + inline bool has_format() const; + inline void clear_format(); + static const int kFormatFieldNumber = 3; + inline VoiceDataFormat_t format() const; + inline void set_format(VoiceDataFormat_t value); + + // @@protoc_insertion_point(class_scope:CCLCMsg_VoiceData) + private: + inline void set_has_data(); + inline void clear_has_data(); + inline void set_has_xuid(); + inline void clear_has_xuid(); + inline void set_has_format(); + inline void clear_has_format(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* data_; + ::google::protobuf::uint64 xuid_; + int format_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_VoiceData* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_BaselineAck : public ::google::protobuf::Message { + public: + CCLCMsg_BaselineAck(); + virtual ~CCLCMsg_BaselineAck(); + + CCLCMsg_BaselineAck(const CCLCMsg_BaselineAck& from); + + inline CCLCMsg_BaselineAck& operator=(const CCLCMsg_BaselineAck& 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 CCLCMsg_BaselineAck& default_instance(); + + void Swap(CCLCMsg_BaselineAck* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_BaselineAck* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_BaselineAck& from); + void MergeFrom(const CCLCMsg_BaselineAck& 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 baseline_tick = 1; + inline bool has_baseline_tick() const; + inline void clear_baseline_tick(); + static const int kBaselineTickFieldNumber = 1; + inline ::google::protobuf::int32 baseline_tick() const; + inline void set_baseline_tick(::google::protobuf::int32 value); + + // optional int32 baseline_nr = 2; + inline bool has_baseline_nr() const; + inline void clear_baseline_nr(); + static const int kBaselineNrFieldNumber = 2; + inline ::google::protobuf::int32 baseline_nr() const; + inline void set_baseline_nr(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CCLCMsg_BaselineAck) + private: + inline void set_has_baseline_tick(); + inline void clear_has_baseline_tick(); + inline void set_has_baseline_nr(); + inline void clear_has_baseline_nr(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 baseline_tick_; + ::google::protobuf::int32 baseline_nr_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_BaselineAck* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_ListenEvents : public ::google::protobuf::Message { + public: + CCLCMsg_ListenEvents(); + virtual ~CCLCMsg_ListenEvents(); + + CCLCMsg_ListenEvents(const CCLCMsg_ListenEvents& from); + + inline CCLCMsg_ListenEvents& operator=(const CCLCMsg_ListenEvents& 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 CCLCMsg_ListenEvents& default_instance(); + + void Swap(CCLCMsg_ListenEvents* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_ListenEvents* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_ListenEvents& from); + void MergeFrom(const CCLCMsg_ListenEvents& 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 ------------------------------------------------------- + + // repeated fixed32 event_mask = 1; + inline int event_mask_size() const; + inline void clear_event_mask(); + static const int kEventMaskFieldNumber = 1; + inline ::google::protobuf::uint32 event_mask(int index) const; + inline void set_event_mask(int index, ::google::protobuf::uint32 value); + inline void add_event_mask(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + event_mask() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_event_mask(); + + // @@protoc_insertion_point(class_scope:CCLCMsg_ListenEvents) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > event_mask_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_ListenEvents* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_RespondCvarValue : public ::google::protobuf::Message { + public: + CCLCMsg_RespondCvarValue(); + virtual ~CCLCMsg_RespondCvarValue(); + + CCLCMsg_RespondCvarValue(const CCLCMsg_RespondCvarValue& from); + + inline CCLCMsg_RespondCvarValue& operator=(const CCLCMsg_RespondCvarValue& 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 CCLCMsg_RespondCvarValue& default_instance(); + + void Swap(CCLCMsg_RespondCvarValue* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_RespondCvarValue* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_RespondCvarValue& from); + void MergeFrom(const CCLCMsg_RespondCvarValue& 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 cookie = 1; + inline bool has_cookie() const; + inline void clear_cookie(); + static const int kCookieFieldNumber = 1; + inline ::google::protobuf::int32 cookie() const; + inline void set_cookie(::google::protobuf::int32 value); + + // optional int32 status_code = 2; + inline bool has_status_code() const; + inline void clear_status_code(); + static const int kStatusCodeFieldNumber = 2; + inline ::google::protobuf::int32 status_code() const; + inline void set_status_code(::google::protobuf::int32 value); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // optional string value = 4; + inline bool has_value() const; + inline void clear_value(); + static const int kValueFieldNumber = 4; + inline const ::std::string& value() const; + inline void set_value(const ::std::string& value); + inline void set_value(const char* value); + inline void set_value(const char* value, size_t size); + inline ::std::string* mutable_value(); + inline ::std::string* release_value(); + + // @@protoc_insertion_point(class_scope:CCLCMsg_RespondCvarValue) + private: + inline void set_has_cookie(); + inline void clear_has_cookie(); + inline void set_has_status_code(); + inline void clear_has_status_code(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_value(); + inline void clear_has_value(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 cookie_; + ::google::protobuf::int32 status_code_; + ::std::string* name_; + ::std::string* value_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_RespondCvarValue* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_FileCRCCheck : public ::google::protobuf::Message { + public: + CCLCMsg_FileCRCCheck(); + virtual ~CCLCMsg_FileCRCCheck(); + + CCLCMsg_FileCRCCheck(const CCLCMsg_FileCRCCheck& from); + + inline CCLCMsg_FileCRCCheck& operator=(const CCLCMsg_FileCRCCheck& 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 CCLCMsg_FileCRCCheck& default_instance(); + + void Swap(CCLCMsg_FileCRCCheck* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_FileCRCCheck* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_FileCRCCheck& from); + void MergeFrom(const CCLCMsg_FileCRCCheck& 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 code_path = 1; + inline bool has_code_path() const; + inline void clear_code_path(); + static const int kCodePathFieldNumber = 1; + inline ::google::protobuf::int32 code_path() const; + inline void set_code_path(::google::protobuf::int32 value); + + // optional string path = 2; + inline bool has_path() const; + inline void clear_path(); + static const int kPathFieldNumber = 2; + inline const ::std::string& path() const; + inline void set_path(const ::std::string& value); + inline void set_path(const char* value); + inline void set_path(const char* value, size_t size); + inline ::std::string* mutable_path(); + inline ::std::string* release_path(); + + // optional int32 code_filename = 3; + inline bool has_code_filename() const; + inline void clear_code_filename(); + static const int kCodeFilenameFieldNumber = 3; + inline ::google::protobuf::int32 code_filename() const; + inline void set_code_filename(::google::protobuf::int32 value); + + // optional string filename = 4; + inline bool has_filename() const; + inline void clear_filename(); + static const int kFilenameFieldNumber = 4; + inline const ::std::string& filename() const; + inline void set_filename(const ::std::string& value); + inline void set_filename(const char* value); + inline void set_filename(const char* value, size_t size); + inline ::std::string* mutable_filename(); + inline ::std::string* release_filename(); + + // optional fixed32 crc = 5; + inline bool has_crc() const; + inline void clear_crc(); + static const int kCrcFieldNumber = 5; + inline ::google::protobuf::uint32 crc() const; + inline void set_crc(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CCLCMsg_FileCRCCheck) + private: + inline void set_has_code_path(); + inline void clear_has_code_path(); + inline void set_has_path(); + inline void clear_has_path(); + inline void set_has_code_filename(); + inline void clear_has_code_filename(); + inline void set_has_filename(); + inline void clear_has_filename(); + inline void set_has_crc(); + inline void clear_has_crc(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* path_; + ::google::protobuf::int32 code_path_; + ::google::protobuf::int32 code_filename_; + ::std::string* filename_; + ::google::protobuf::uint32 crc_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_FileCRCCheck* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_LoadingProgress : public ::google::protobuf::Message { + public: + CCLCMsg_LoadingProgress(); + virtual ~CCLCMsg_LoadingProgress(); + + CCLCMsg_LoadingProgress(const CCLCMsg_LoadingProgress& from); + + inline CCLCMsg_LoadingProgress& operator=(const CCLCMsg_LoadingProgress& 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 CCLCMsg_LoadingProgress& default_instance(); + + void Swap(CCLCMsg_LoadingProgress* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_LoadingProgress* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_LoadingProgress& from); + void MergeFrom(const CCLCMsg_LoadingProgress& 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 progress = 1; + inline bool has_progress() const; + inline void clear_progress(); + static const int kProgressFieldNumber = 1; + inline ::google::protobuf::int32 progress() const; + inline void set_progress(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CCLCMsg_LoadingProgress) + private: + inline void set_has_progress(); + inline void clear_has_progress(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 progress_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_LoadingProgress* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_SplitPlayerConnect : public ::google::protobuf::Message { + public: + CCLCMsg_SplitPlayerConnect(); + virtual ~CCLCMsg_SplitPlayerConnect(); + + CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayerConnect& from); + + inline CCLCMsg_SplitPlayerConnect& operator=(const CCLCMsg_SplitPlayerConnect& 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 CCLCMsg_SplitPlayerConnect& default_instance(); + + void Swap(CCLCMsg_SplitPlayerConnect* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_SplitPlayerConnect* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_SplitPlayerConnect& from); + void MergeFrom(const CCLCMsg_SplitPlayerConnect& 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 .CMsg_CVars convars = 1; + inline bool has_convars() const; + inline void clear_convars(); + static const int kConvarsFieldNumber = 1; + inline const ::CMsg_CVars& convars() const; + inline ::CMsg_CVars* mutable_convars(); + inline ::CMsg_CVars* release_convars(); + + // @@protoc_insertion_point(class_scope:CCLCMsg_SplitPlayerConnect) + private: + inline void set_has_convars(); + inline void clear_has_convars(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsg_CVars* convars_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_SplitPlayerConnect* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_ClientMessage : public ::google::protobuf::Message { + public: + CCLCMsg_ClientMessage(); + virtual ~CCLCMsg_ClientMessage(); + + CCLCMsg_ClientMessage(const CCLCMsg_ClientMessage& from); + + inline CCLCMsg_ClientMessage& operator=(const CCLCMsg_ClientMessage& 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 CCLCMsg_ClientMessage& default_instance(); + + void Swap(CCLCMsg_ClientMessage* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_ClientMessage* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_ClientMessage& from); + void MergeFrom(const CCLCMsg_ClientMessage& 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 msg_type = 1; + inline bool has_msg_type() const; + inline void clear_msg_type(); + static const int kMsgTypeFieldNumber = 1; + inline ::google::protobuf::int32 msg_type() const; + inline void set_msg_type(::google::protobuf::int32 value); + + // optional bytes data = 2; + inline bool has_data() const; + inline void clear_data(); + static const int kDataFieldNumber = 2; + inline const ::std::string& data() const; + inline void set_data(const ::std::string& value); + inline void set_data(const char* value); + inline void set_data(const void* value, size_t size); + inline ::std::string* mutable_data(); + inline ::std::string* release_data(); + + // @@protoc_insertion_point(class_scope:CCLCMsg_ClientMessage) + private: + inline void set_has_msg_type(); + inline void clear_has_msg_type(); + inline void set_has_data(); + inline void clear_has_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* data_; + ::google::protobuf::int32 msg_type_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_ClientMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ServerInfo : public ::google::protobuf::Message { + public: + CSVCMsg_ServerInfo(); + virtual ~CSVCMsg_ServerInfo(); + + CSVCMsg_ServerInfo(const CSVCMsg_ServerInfo& from); + + inline CSVCMsg_ServerInfo& operator=(const CSVCMsg_ServerInfo& 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 CSVCMsg_ServerInfo& default_instance(); + + void Swap(CSVCMsg_ServerInfo* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_ServerInfo* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_ServerInfo& from); + void MergeFrom(const CSVCMsg_ServerInfo& 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 protocol = 1; + inline bool has_protocol() const; + inline void clear_protocol(); + static const int kProtocolFieldNumber = 1; + inline ::google::protobuf::int32 protocol() const; + inline void set_protocol(::google::protobuf::int32 value); + + // optional int32 server_count = 2; + inline bool has_server_count() const; + inline void clear_server_count(); + static const int kServerCountFieldNumber = 2; + inline ::google::protobuf::int32 server_count() const; + inline void set_server_count(::google::protobuf::int32 value); + + // optional bool is_dedicated = 3; + inline bool has_is_dedicated() const; + inline void clear_is_dedicated(); + static const int kIsDedicatedFieldNumber = 3; + inline bool is_dedicated() const; + inline void set_is_dedicated(bool value); + + // optional bool is_hltv = 4; + inline bool has_is_hltv() const; + inline void clear_is_hltv(); + static const int kIsHltvFieldNumber = 4; + inline bool is_hltv() const; + inline void set_is_hltv(bool value); + + // optional bool is_replay = 5; + inline bool has_is_replay() const; + inline void clear_is_replay(); + static const int kIsReplayFieldNumber = 5; + inline bool is_replay() const; + inline void set_is_replay(bool value); + + // optional int32 c_os = 6; + inline bool has_c_os() const; + inline void clear_c_os(); + static const int kCOsFieldNumber = 6; + inline ::google::protobuf::int32 c_os() const; + inline void set_c_os(::google::protobuf::int32 value); + + // optional fixed32 map_crc = 7; + inline bool has_map_crc() const; + inline void clear_map_crc(); + static const int kMapCrcFieldNumber = 7; + inline ::google::protobuf::uint32 map_crc() const; + inline void set_map_crc(::google::protobuf::uint32 value); + + // optional fixed32 client_crc = 8; + inline bool has_client_crc() const; + inline void clear_client_crc(); + static const int kClientCrcFieldNumber = 8; + inline ::google::protobuf::uint32 client_crc() const; + inline void set_client_crc(::google::protobuf::uint32 value); + + // optional fixed32 string_table_crc = 9; + inline bool has_string_table_crc() const; + inline void clear_string_table_crc(); + static const int kStringTableCrcFieldNumber = 9; + inline ::google::protobuf::uint32 string_table_crc() const; + inline void set_string_table_crc(::google::protobuf::uint32 value); + + // optional int32 max_clients = 10; + inline bool has_max_clients() const; + inline void clear_max_clients(); + static const int kMaxClientsFieldNumber = 10; + inline ::google::protobuf::int32 max_clients() const; + inline void set_max_clients(::google::protobuf::int32 value); + + // optional int32 max_classes = 11; + inline bool has_max_classes() const; + inline void clear_max_classes(); + static const int kMaxClassesFieldNumber = 11; + inline ::google::protobuf::int32 max_classes() const; + inline void set_max_classes(::google::protobuf::int32 value); + + // optional int32 player_slot = 12; + inline bool has_player_slot() const; + inline void clear_player_slot(); + static const int kPlayerSlotFieldNumber = 12; + inline ::google::protobuf::int32 player_slot() const; + inline void set_player_slot(::google::protobuf::int32 value); + + // optional float tick_interval = 13; + inline bool has_tick_interval() const; + inline void clear_tick_interval(); + static const int kTickIntervalFieldNumber = 13; + inline float tick_interval() const; + inline void set_tick_interval(float value); + + // optional string game_dir = 14; + inline bool has_game_dir() const; + inline void clear_game_dir(); + static const int kGameDirFieldNumber = 14; + inline const ::std::string& game_dir() const; + inline void set_game_dir(const ::std::string& value); + inline void set_game_dir(const char* value); + inline void set_game_dir(const char* value, size_t size); + inline ::std::string* mutable_game_dir(); + inline ::std::string* release_game_dir(); + + // optional string map_name = 15; + inline bool has_map_name() const; + inline void clear_map_name(); + static const int kMapNameFieldNumber = 15; + inline const ::std::string& map_name() const; + inline void set_map_name(const ::std::string& value); + inline void set_map_name(const char* value); + inline void set_map_name(const char* value, size_t size); + inline ::std::string* mutable_map_name(); + inline ::std::string* release_map_name(); + + // optional string sky_name = 16; + inline bool has_sky_name() const; + inline void clear_sky_name(); + static const int kSkyNameFieldNumber = 16; + inline const ::std::string& sky_name() const; + inline void set_sky_name(const ::std::string& value); + inline void set_sky_name(const char* value); + inline void set_sky_name(const char* value, size_t size); + inline ::std::string* mutable_sky_name(); + inline ::std::string* release_sky_name(); + + // optional string host_name = 17; + inline bool has_host_name() const; + inline void clear_host_name(); + static const int kHostNameFieldNumber = 17; + inline const ::std::string& host_name() const; + inline void set_host_name(const ::std::string& value); + inline void set_host_name(const char* value); + inline void set_host_name(const char* value, size_t size); + inline ::std::string* mutable_host_name(); + inline ::std::string* release_host_name(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_ServerInfo) + private: + inline void set_has_protocol(); + inline void clear_has_protocol(); + inline void set_has_server_count(); + inline void clear_has_server_count(); + inline void set_has_is_dedicated(); + inline void clear_has_is_dedicated(); + inline void set_has_is_hltv(); + inline void clear_has_is_hltv(); + inline void set_has_is_replay(); + inline void clear_has_is_replay(); + inline void set_has_c_os(); + inline void clear_has_c_os(); + inline void set_has_map_crc(); + inline void clear_has_map_crc(); + inline void set_has_client_crc(); + inline void clear_has_client_crc(); + inline void set_has_string_table_crc(); + inline void clear_has_string_table_crc(); + inline void set_has_max_clients(); + inline void clear_has_max_clients(); + inline void set_has_max_classes(); + inline void clear_has_max_classes(); + inline void set_has_player_slot(); + inline void clear_has_player_slot(); + inline void set_has_tick_interval(); + inline void clear_has_tick_interval(); + inline void set_has_game_dir(); + inline void clear_has_game_dir(); + inline void set_has_map_name(); + inline void clear_has_map_name(); + inline void set_has_sky_name(); + inline void clear_has_sky_name(); + inline void set_has_host_name(); + inline void clear_has_host_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 protocol_; + ::google::protobuf::int32 server_count_; + bool is_dedicated_; + bool is_hltv_; + bool is_replay_; + ::google::protobuf::int32 c_os_; + ::google::protobuf::uint32 map_crc_; + ::google::protobuf::uint32 client_crc_; + ::google::protobuf::uint32 string_table_crc_; + ::google::protobuf::int32 max_clients_; + ::google::protobuf::int32 max_classes_; + ::google::protobuf::int32 player_slot_; + ::std::string* game_dir_; + ::std::string* map_name_; + ::std::string* sky_name_; + ::std::string* host_name_; + float tick_interval_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(17 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_ServerInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ClassInfo_class_t : public ::google::protobuf::Message { + public: + CSVCMsg_ClassInfo_class_t(); + virtual ~CSVCMsg_ClassInfo_class_t(); + + CSVCMsg_ClassInfo_class_t(const CSVCMsg_ClassInfo_class_t& from); + + inline CSVCMsg_ClassInfo_class_t& operator=(const CSVCMsg_ClassInfo_class_t& 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 CSVCMsg_ClassInfo_class_t& default_instance(); + + void Swap(CSVCMsg_ClassInfo_class_t* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_ClassInfo_class_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_ClassInfo_class_t& from); + void MergeFrom(const CSVCMsg_ClassInfo_class_t& 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 class_id = 1; + inline bool has_class_id() const; + inline void clear_class_id(); + static const int kClassIdFieldNumber = 1; + inline ::google::protobuf::int32 class_id() const; + inline void set_class_id(::google::protobuf::int32 value); + + // optional string data_table_name = 2; + inline bool has_data_table_name() const; + inline void clear_data_table_name(); + static const int kDataTableNameFieldNumber = 2; + inline const ::std::string& data_table_name() const; + inline void set_data_table_name(const ::std::string& value); + inline void set_data_table_name(const char* value); + inline void set_data_table_name(const char* value, size_t size); + inline ::std::string* mutable_data_table_name(); + inline ::std::string* release_data_table_name(); + + // optional string class_name = 3; + inline bool has_class_name() const; + inline void clear_class_name(); + static const int kClassNameFieldNumber = 3; + inline const ::std::string& class_name() const; + inline void set_class_name(const ::std::string& value); + inline void set_class_name(const char* value); + inline void set_class_name(const char* value, size_t size); + inline ::std::string* mutable_class_name(); + inline ::std::string* release_class_name(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_ClassInfo.class_t) + private: + inline void set_has_class_id(); + inline void clear_has_class_id(); + inline void set_has_data_table_name(); + inline void clear_has_data_table_name(); + inline void set_has_class_name(); + inline void clear_has_class_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* data_table_name_; + ::std::string* class_name_; + ::google::protobuf::int32 class_id_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_ClassInfo_class_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ClassInfo : public ::google::protobuf::Message { + public: + CSVCMsg_ClassInfo(); + virtual ~CSVCMsg_ClassInfo(); + + CSVCMsg_ClassInfo(const CSVCMsg_ClassInfo& from); + + inline CSVCMsg_ClassInfo& operator=(const CSVCMsg_ClassInfo& 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 CSVCMsg_ClassInfo& default_instance(); + + void Swap(CSVCMsg_ClassInfo* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_ClassInfo* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_ClassInfo& from); + void MergeFrom(const CSVCMsg_ClassInfo& 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 ---------------------------------------------------- + + typedef CSVCMsg_ClassInfo_class_t class_t; + + // accessors ------------------------------------------------------- + + // optional bool create_on_client = 1; + inline bool has_create_on_client() const; + inline void clear_create_on_client(); + static const int kCreateOnClientFieldNumber = 1; + inline bool create_on_client() const; + inline void set_create_on_client(bool value); + + // repeated .CSVCMsg_ClassInfo.class_t classes = 2; + inline int classes_size() const; + inline void clear_classes(); + static const int kClassesFieldNumber = 2; + inline const ::CSVCMsg_ClassInfo_class_t& classes(int index) const; + inline ::CSVCMsg_ClassInfo_class_t* mutable_classes(int index); + inline ::CSVCMsg_ClassInfo_class_t* add_classes(); + inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >& + classes() const; + inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >* + mutable_classes(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_ClassInfo) + private: + inline void set_has_create_on_client(); + inline void clear_has_create_on_client(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t > classes_; + bool create_on_client_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_ClassInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SetPause : public ::google::protobuf::Message { + public: + CSVCMsg_SetPause(); + virtual ~CSVCMsg_SetPause(); + + CSVCMsg_SetPause(const CSVCMsg_SetPause& from); + + inline CSVCMsg_SetPause& operator=(const CSVCMsg_SetPause& 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 CSVCMsg_SetPause& default_instance(); + + void Swap(CSVCMsg_SetPause* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_SetPause* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_SetPause& from); + void MergeFrom(const CSVCMsg_SetPause& 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 paused = 1; + inline bool has_paused() const; + inline void clear_paused(); + static const int kPausedFieldNumber = 1; + inline bool paused() const; + inline void set_paused(bool value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_SetPause) + private: + inline void set_has_paused(); + inline void clear_has_paused(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + bool paused_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_SetPause* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_VoiceInit : public ::google::protobuf::Message { + public: + CSVCMsg_VoiceInit(); + virtual ~CSVCMsg_VoiceInit(); + + CSVCMsg_VoiceInit(const CSVCMsg_VoiceInit& from); + + inline CSVCMsg_VoiceInit& operator=(const CSVCMsg_VoiceInit& 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 CSVCMsg_VoiceInit& default_instance(); + + void Swap(CSVCMsg_VoiceInit* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_VoiceInit* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_VoiceInit& from); + void MergeFrom(const CSVCMsg_VoiceInit& 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 quality = 1; + inline bool has_quality() const; + inline void clear_quality(); + static const int kQualityFieldNumber = 1; + inline ::google::protobuf::int32 quality() const; + inline void set_quality(::google::protobuf::int32 value); + + // optional string codec = 2; + inline bool has_codec() const; + inline void clear_codec(); + static const int kCodecFieldNumber = 2; + inline const ::std::string& codec() const; + inline void set_codec(const ::std::string& value); + inline void set_codec(const char* value); + inline void set_codec(const char* value, size_t size); + inline ::std::string* mutable_codec(); + inline ::std::string* release_codec(); + + // optional int32 version = 3 [default = 0]; + inline bool has_version() const; + inline void clear_version(); + static const int kVersionFieldNumber = 3; + inline ::google::protobuf::int32 version() const; + inline void set_version(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_VoiceInit) + private: + inline void set_has_quality(); + inline void clear_has_quality(); + inline void set_has_codec(); + inline void clear_has_codec(); + inline void set_has_version(); + inline void clear_has_version(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* codec_; + ::google::protobuf::int32 quality_; + ::google::protobuf::int32 version_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_VoiceInit* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Print : public ::google::protobuf::Message { + public: + CSVCMsg_Print(); + virtual ~CSVCMsg_Print(); + + CSVCMsg_Print(const CSVCMsg_Print& from); + + inline CSVCMsg_Print& operator=(const CSVCMsg_Print& 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 CSVCMsg_Print& default_instance(); + + void Swap(CSVCMsg_Print* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_Print* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_Print& from); + void MergeFrom(const CSVCMsg_Print& 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 text = 1; + inline bool has_text() const; + inline void clear_text(); + static const int kTextFieldNumber = 1; + 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(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_Print) + private: + inline void set_has_text(); + inline void clear_has_text(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* text_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_Print* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Sounds_sounddata_t : public ::google::protobuf::Message { + public: + CSVCMsg_Sounds_sounddata_t(); + virtual ~CSVCMsg_Sounds_sounddata_t(); + + CSVCMsg_Sounds_sounddata_t(const CSVCMsg_Sounds_sounddata_t& from); + + inline CSVCMsg_Sounds_sounddata_t& operator=(const CSVCMsg_Sounds_sounddata_t& 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 CSVCMsg_Sounds_sounddata_t& default_instance(); + + void Swap(CSVCMsg_Sounds_sounddata_t* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_Sounds_sounddata_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_Sounds_sounddata_t& from); + void MergeFrom(const CSVCMsg_Sounds_sounddata_t& 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 sint32 origin_x = 1; + inline bool has_origin_x() const; + inline void clear_origin_x(); + static const int kOriginXFieldNumber = 1; + inline ::google::protobuf::int32 origin_x() const; + inline void set_origin_x(::google::protobuf::int32 value); + + // optional sint32 origin_y = 2; + inline bool has_origin_y() const; + inline void clear_origin_y(); + static const int kOriginYFieldNumber = 2; + inline ::google::protobuf::int32 origin_y() const; + inline void set_origin_y(::google::protobuf::int32 value); + + // optional sint32 origin_z = 3; + inline bool has_origin_z() const; + inline void clear_origin_z(); + static const int kOriginZFieldNumber = 3; + inline ::google::protobuf::int32 origin_z() const; + inline void set_origin_z(::google::protobuf::int32 value); + + // optional uint32 volume = 4; + inline bool has_volume() const; + inline void clear_volume(); + static const int kVolumeFieldNumber = 4; + inline ::google::protobuf::uint32 volume() const; + inline void set_volume(::google::protobuf::uint32 value); + + // optional float delay_value = 5; + inline bool has_delay_value() const; + inline void clear_delay_value(); + static const int kDelayValueFieldNumber = 5; + inline float delay_value() const; + inline void set_delay_value(float value); + + // optional int32 sequence_number = 6; + inline bool has_sequence_number() const; + inline void clear_sequence_number(); + static const int kSequenceNumberFieldNumber = 6; + inline ::google::protobuf::int32 sequence_number() const; + inline void set_sequence_number(::google::protobuf::int32 value); + + // optional int32 entity_index = 7; + inline bool has_entity_index() const; + inline void clear_entity_index(); + static const int kEntityIndexFieldNumber = 7; + inline ::google::protobuf::int32 entity_index() const; + inline void set_entity_index(::google::protobuf::int32 value); + + // optional int32 channel = 8; + inline bool has_channel() const; + inline void clear_channel(); + static const int kChannelFieldNumber = 8; + inline ::google::protobuf::int32 channel() const; + inline void set_channel(::google::protobuf::int32 value); + + // optional int32 pitch = 9; + inline bool has_pitch() const; + inline void clear_pitch(); + static const int kPitchFieldNumber = 9; + inline ::google::protobuf::int32 pitch() const; + inline void set_pitch(::google::protobuf::int32 value); + + // optional int32 flags = 10; + inline bool has_flags() const; + inline void clear_flags(); + static const int kFlagsFieldNumber = 10; + inline ::google::protobuf::int32 flags() const; + inline void set_flags(::google::protobuf::int32 value); + + // optional uint32 sound_num = 11; + inline bool has_sound_num() const; + inline void clear_sound_num(); + static const int kSoundNumFieldNumber = 11; + inline ::google::protobuf::uint32 sound_num() const; + inline void set_sound_num(::google::protobuf::uint32 value); + + // optional fixed32 sound_num_handle = 12; + inline bool has_sound_num_handle() const; + inline void clear_sound_num_handle(); + static const int kSoundNumHandleFieldNumber = 12; + inline ::google::protobuf::uint32 sound_num_handle() const; + inline void set_sound_num_handle(::google::protobuf::uint32 value); + + // optional int32 speaker_entity = 13; + inline bool has_speaker_entity() const; + inline void clear_speaker_entity(); + static const int kSpeakerEntityFieldNumber = 13; + inline ::google::protobuf::int32 speaker_entity() const; + inline void set_speaker_entity(::google::protobuf::int32 value); + + // optional int32 random_seed = 14; + inline bool has_random_seed() const; + inline void clear_random_seed(); + static const int kRandomSeedFieldNumber = 14; + inline ::google::protobuf::int32 random_seed() const; + inline void set_random_seed(::google::protobuf::int32 value); + + // optional int32 sound_level = 15; + inline bool has_sound_level() const; + inline void clear_sound_level(); + static const int kSoundLevelFieldNumber = 15; + inline ::google::protobuf::int32 sound_level() const; + inline void set_sound_level(::google::protobuf::int32 value); + + // optional bool is_sentence = 16; + inline bool has_is_sentence() const; + inline void clear_is_sentence(); + static const int kIsSentenceFieldNumber = 16; + inline bool is_sentence() const; + inline void set_is_sentence(bool value); + + // optional bool is_ambient = 17; + inline bool has_is_ambient() const; + inline void clear_is_ambient(); + static const int kIsAmbientFieldNumber = 17; + inline bool is_ambient() const; + inline void set_is_ambient(bool value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_Sounds.sounddata_t) + private: + inline void set_has_origin_x(); + inline void clear_has_origin_x(); + inline void set_has_origin_y(); + inline void clear_has_origin_y(); + inline void set_has_origin_z(); + inline void clear_has_origin_z(); + inline void set_has_volume(); + inline void clear_has_volume(); + inline void set_has_delay_value(); + inline void clear_has_delay_value(); + inline void set_has_sequence_number(); + inline void clear_has_sequence_number(); + inline void set_has_entity_index(); + inline void clear_has_entity_index(); + inline void set_has_channel(); + inline void clear_has_channel(); + inline void set_has_pitch(); + inline void clear_has_pitch(); + inline void set_has_flags(); + inline void clear_has_flags(); + inline void set_has_sound_num(); + inline void clear_has_sound_num(); + inline void set_has_sound_num_handle(); + inline void clear_has_sound_num_handle(); + inline void set_has_speaker_entity(); + inline void clear_has_speaker_entity(); + inline void set_has_random_seed(); + inline void clear_has_random_seed(); + inline void set_has_sound_level(); + inline void clear_has_sound_level(); + inline void set_has_is_sentence(); + inline void clear_has_is_sentence(); + inline void set_has_is_ambient(); + inline void clear_has_is_ambient(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 origin_x_; + ::google::protobuf::int32 origin_y_; + ::google::protobuf::int32 origin_z_; + ::google::protobuf::uint32 volume_; + float delay_value_; + ::google::protobuf::int32 sequence_number_; + ::google::protobuf::int32 entity_index_; + ::google::protobuf::int32 channel_; + ::google::protobuf::int32 pitch_; + ::google::protobuf::int32 flags_; + ::google::protobuf::uint32 sound_num_; + ::google::protobuf::uint32 sound_num_handle_; + ::google::protobuf::int32 speaker_entity_; + ::google::protobuf::int32 random_seed_; + ::google::protobuf::int32 sound_level_; + bool is_sentence_; + bool is_ambient_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(17 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_Sounds_sounddata_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Sounds : public ::google::protobuf::Message { + public: + CSVCMsg_Sounds(); + virtual ~CSVCMsg_Sounds(); + + CSVCMsg_Sounds(const CSVCMsg_Sounds& from); + + inline CSVCMsg_Sounds& operator=(const CSVCMsg_Sounds& 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 CSVCMsg_Sounds& default_instance(); + + void Swap(CSVCMsg_Sounds* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_Sounds* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_Sounds& from); + void MergeFrom(const CSVCMsg_Sounds& 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 ---------------------------------------------------- + + typedef CSVCMsg_Sounds_sounddata_t sounddata_t; + + // accessors ------------------------------------------------------- + + // optional bool reliable_sound = 1; + inline bool has_reliable_sound() const; + inline void clear_reliable_sound(); + static const int kReliableSoundFieldNumber = 1; + inline bool reliable_sound() const; + inline void set_reliable_sound(bool value); + + // repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; + inline int sounds_size() const; + inline void clear_sounds(); + static const int kSoundsFieldNumber = 2; + inline const ::CSVCMsg_Sounds_sounddata_t& sounds(int index) const; + inline ::CSVCMsg_Sounds_sounddata_t* mutable_sounds(int index); + inline ::CSVCMsg_Sounds_sounddata_t* add_sounds(); + inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >& + sounds() const; + inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >* + mutable_sounds(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_Sounds) + private: + inline void set_has_reliable_sound(); + inline void clear_has_reliable_sound(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t > sounds_; + bool reliable_sound_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_Sounds* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Prefetch : public ::google::protobuf::Message { + public: + CSVCMsg_Prefetch(); + virtual ~CSVCMsg_Prefetch(); + + CSVCMsg_Prefetch(const CSVCMsg_Prefetch& from); + + inline CSVCMsg_Prefetch& operator=(const CSVCMsg_Prefetch& 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 CSVCMsg_Prefetch& default_instance(); + + void Swap(CSVCMsg_Prefetch* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_Prefetch* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_Prefetch& from); + void MergeFrom(const CSVCMsg_Prefetch& 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 sound_index = 1; + inline bool has_sound_index() const; + inline void clear_sound_index(); + static const int kSoundIndexFieldNumber = 1; + inline ::google::protobuf::int32 sound_index() const; + inline void set_sound_index(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_Prefetch) + private: + inline void set_has_sound_index(); + inline void clear_has_sound_index(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 sound_index_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_Prefetch* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SetView : public ::google::protobuf::Message { + public: + CSVCMsg_SetView(); + virtual ~CSVCMsg_SetView(); + + CSVCMsg_SetView(const CSVCMsg_SetView& from); + + inline CSVCMsg_SetView& operator=(const CSVCMsg_SetView& 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 CSVCMsg_SetView& default_instance(); + + void Swap(CSVCMsg_SetView* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_SetView* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_SetView& from); + void MergeFrom(const CSVCMsg_SetView& 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 entity_index = 1; + inline bool has_entity_index() const; + inline void clear_entity_index(); + static const int kEntityIndexFieldNumber = 1; + inline ::google::protobuf::int32 entity_index() const; + inline void set_entity_index(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_SetView) + private: + inline void set_has_entity_index(); + inline void clear_has_entity_index(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 entity_index_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_SetView* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_FixAngle : public ::google::protobuf::Message { + public: + CSVCMsg_FixAngle(); + virtual ~CSVCMsg_FixAngle(); + + CSVCMsg_FixAngle(const CSVCMsg_FixAngle& from); + + inline CSVCMsg_FixAngle& operator=(const CSVCMsg_FixAngle& 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 CSVCMsg_FixAngle& default_instance(); + + void Swap(CSVCMsg_FixAngle* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_FixAngle* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_FixAngle& from); + void MergeFrom(const CSVCMsg_FixAngle& 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 relative = 1; + inline bool has_relative() const; + inline void clear_relative(); + static const int kRelativeFieldNumber = 1; + inline bool relative() const; + inline void set_relative(bool value); + + // optional .CMsgQAngle angle = 2; + inline bool has_angle() const; + inline void clear_angle(); + static const int kAngleFieldNumber = 2; + inline const ::CMsgQAngle& angle() const; + inline ::CMsgQAngle* mutable_angle(); + inline ::CMsgQAngle* release_angle(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_FixAngle) + private: + inline void set_has_relative(); + inline void clear_has_relative(); + inline void set_has_angle(); + inline void clear_has_angle(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgQAngle* angle_; + bool relative_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_FixAngle* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_CrosshairAngle : public ::google::protobuf::Message { + public: + CSVCMsg_CrosshairAngle(); + virtual ~CSVCMsg_CrosshairAngle(); + + CSVCMsg_CrosshairAngle(const CSVCMsg_CrosshairAngle& from); + + inline CSVCMsg_CrosshairAngle& operator=(const CSVCMsg_CrosshairAngle& 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 CSVCMsg_CrosshairAngle& default_instance(); + + void Swap(CSVCMsg_CrosshairAngle* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_CrosshairAngle* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_CrosshairAngle& from); + void MergeFrom(const CSVCMsg_CrosshairAngle& 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 .CMsgQAngle angle = 1; + inline bool has_angle() const; + inline void clear_angle(); + static const int kAngleFieldNumber = 1; + inline const ::CMsgQAngle& angle() const; + inline ::CMsgQAngle* mutable_angle(); + inline ::CMsgQAngle* release_angle(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_CrosshairAngle) + private: + inline void set_has_angle(); + inline void clear_has_angle(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgQAngle* angle_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_CrosshairAngle* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_BSPDecal : public ::google::protobuf::Message { + public: + CSVCMsg_BSPDecal(); + virtual ~CSVCMsg_BSPDecal(); + + CSVCMsg_BSPDecal(const CSVCMsg_BSPDecal& from); + + inline CSVCMsg_BSPDecal& operator=(const CSVCMsg_BSPDecal& 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 CSVCMsg_BSPDecal& default_instance(); + + void Swap(CSVCMsg_BSPDecal* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_BSPDecal* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_BSPDecal& from); + void MergeFrom(const CSVCMsg_BSPDecal& 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 .CMsgVector pos = 1; + inline bool has_pos() const; + inline void clear_pos(); + static const int kPosFieldNumber = 1; + inline const ::CMsgVector& pos() const; + inline ::CMsgVector* mutable_pos(); + inline ::CMsgVector* release_pos(); + + // optional int32 decal_texture_index = 2; + inline bool has_decal_texture_index() const; + inline void clear_decal_texture_index(); + static const int kDecalTextureIndexFieldNumber = 2; + inline ::google::protobuf::int32 decal_texture_index() const; + inline void set_decal_texture_index(::google::protobuf::int32 value); + + // optional int32 entity_index = 3; + inline bool has_entity_index() const; + inline void clear_entity_index(); + static const int kEntityIndexFieldNumber = 3; + inline ::google::protobuf::int32 entity_index() const; + inline void set_entity_index(::google::protobuf::int32 value); + + // optional int32 model_index = 4; + inline bool has_model_index() const; + inline void clear_model_index(); + static const int kModelIndexFieldNumber = 4; + inline ::google::protobuf::int32 model_index() const; + inline void set_model_index(::google::protobuf::int32 value); + + // optional bool low_priority = 5; + inline bool has_low_priority() const; + inline void clear_low_priority(); + static const int kLowPriorityFieldNumber = 5; + inline bool low_priority() const; + inline void set_low_priority(bool value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_BSPDecal) + private: + inline void set_has_pos(); + inline void clear_has_pos(); + inline void set_has_decal_texture_index(); + inline void clear_has_decal_texture_index(); + inline void set_has_entity_index(); + inline void clear_has_entity_index(); + inline void set_has_model_index(); + inline void clear_has_model_index(); + inline void set_has_low_priority(); + inline void clear_has_low_priority(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* pos_; + ::google::protobuf::int32 decal_texture_index_; + ::google::protobuf::int32 entity_index_; + ::google::protobuf::int32 model_index_; + bool low_priority_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_BSPDecal* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SplitScreen : public ::google::protobuf::Message { + public: + CSVCMsg_SplitScreen(); + virtual ~CSVCMsg_SplitScreen(); + + CSVCMsg_SplitScreen(const CSVCMsg_SplitScreen& from); + + inline CSVCMsg_SplitScreen& operator=(const CSVCMsg_SplitScreen& 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 CSVCMsg_SplitScreen& default_instance(); + + void Swap(CSVCMsg_SplitScreen* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_SplitScreen* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_SplitScreen& from); + void MergeFrom(const CSVCMsg_SplitScreen& 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 .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline ESplitScreenMessageType type() const; + inline void set_type(ESplitScreenMessageType value); + + // optional int32 slot = 2; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 2; + inline ::google::protobuf::int32 slot() const; + inline void set_slot(::google::protobuf::int32 value); + + // optional int32 player_index = 3; + inline bool has_player_index() const; + inline void clear_player_index(); + static const int kPlayerIndexFieldNumber = 3; + inline ::google::protobuf::int32 player_index() const; + inline void set_player_index(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_SplitScreen) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_player_index(); + inline void clear_has_player_index(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int type_; + ::google::protobuf::int32 slot_; + ::google::protobuf::int32 player_index_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_SplitScreen* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GetCvarValue : public ::google::protobuf::Message { + public: + CSVCMsg_GetCvarValue(); + virtual ~CSVCMsg_GetCvarValue(); + + CSVCMsg_GetCvarValue(const CSVCMsg_GetCvarValue& from); + + inline CSVCMsg_GetCvarValue& operator=(const CSVCMsg_GetCvarValue& 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 CSVCMsg_GetCvarValue& default_instance(); + + void Swap(CSVCMsg_GetCvarValue* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_GetCvarValue* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_GetCvarValue& from); + void MergeFrom(const CSVCMsg_GetCvarValue& 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 cookie = 1; + inline bool has_cookie() const; + inline void clear_cookie(); + static const int kCookieFieldNumber = 1; + inline ::google::protobuf::int32 cookie() const; + inline void set_cookie(::google::protobuf::int32 value); + + // optional string cvar_name = 2; + inline bool has_cvar_name() const; + inline void clear_cvar_name(); + static const int kCvarNameFieldNumber = 2; + inline const ::std::string& cvar_name() const; + inline void set_cvar_name(const ::std::string& value); + inline void set_cvar_name(const char* value); + inline void set_cvar_name(const char* value, size_t size); + inline ::std::string* mutable_cvar_name(); + inline ::std::string* release_cvar_name(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_GetCvarValue) + private: + inline void set_has_cookie(); + inline void clear_has_cookie(); + inline void set_has_cvar_name(); + inline void clear_has_cvar_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* cvar_name_; + ::google::protobuf::int32 cookie_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_GetCvarValue* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_Menu : public ::google::protobuf::Message { + public: + CSVCMsg_Menu(); + virtual ~CSVCMsg_Menu(); + + CSVCMsg_Menu(const CSVCMsg_Menu& from); + + inline CSVCMsg_Menu& operator=(const CSVCMsg_Menu& 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 CSVCMsg_Menu& default_instance(); + + void Swap(CSVCMsg_Menu* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_Menu* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_Menu& from); + void MergeFrom(const CSVCMsg_Menu& 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 dialog_type = 1; + inline bool has_dialog_type() const; + inline void clear_dialog_type(); + static const int kDialogTypeFieldNumber = 1; + inline ::google::protobuf::int32 dialog_type() const; + inline void set_dialog_type(::google::protobuf::int32 value); + + // optional bytes menu_key_values = 2; + inline bool has_menu_key_values() const; + inline void clear_menu_key_values(); + static const int kMenuKeyValuesFieldNumber = 2; + inline const ::std::string& menu_key_values() const; + inline void set_menu_key_values(const ::std::string& value); + inline void set_menu_key_values(const char* value); + inline void set_menu_key_values(const void* value, size_t size); + inline ::std::string* mutable_menu_key_values(); + inline ::std::string* release_menu_key_values(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_Menu) + private: + inline void set_has_dialog_type(); + inline void clear_has_dialog_type(); + inline void set_has_menu_key_values(); + inline void clear_has_menu_key_values(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* menu_key_values_; + ::google::protobuf::int32 dialog_type_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_Menu* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SendTable_sendprop_t : public ::google::protobuf::Message { + public: + CSVCMsg_SendTable_sendprop_t(); + virtual ~CSVCMsg_SendTable_sendprop_t(); + + CSVCMsg_SendTable_sendprop_t(const CSVCMsg_SendTable_sendprop_t& from); + + inline CSVCMsg_SendTable_sendprop_t& operator=(const CSVCMsg_SendTable_sendprop_t& 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 CSVCMsg_SendTable_sendprop_t& default_instance(); + + void Swap(CSVCMsg_SendTable_sendprop_t* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_SendTable_sendprop_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_SendTable_sendprop_t& from); + void MergeFrom(const CSVCMsg_SendTable_sendprop_t& 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 type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline ::google::protobuf::int32 type() const; + inline void set_type(::google::protobuf::int32 value); + + // optional string var_name = 2; + inline bool has_var_name() const; + inline void clear_var_name(); + static const int kVarNameFieldNumber = 2; + inline const ::std::string& var_name() const; + inline void set_var_name(const ::std::string& value); + inline void set_var_name(const char* value); + inline void set_var_name(const char* value, size_t size); + inline ::std::string* mutable_var_name(); + inline ::std::string* release_var_name(); + + // optional int32 flags = 3; + inline bool has_flags() const; + inline void clear_flags(); + static const int kFlagsFieldNumber = 3; + inline ::google::protobuf::int32 flags() const; + inline void set_flags(::google::protobuf::int32 value); + + // optional int32 priority = 4; + inline bool has_priority() const; + inline void clear_priority(); + static const int kPriorityFieldNumber = 4; + inline ::google::protobuf::int32 priority() const; + inline void set_priority(::google::protobuf::int32 value); + + // optional string dt_name = 5; + inline bool has_dt_name() const; + inline void clear_dt_name(); + static const int kDtNameFieldNumber = 5; + inline const ::std::string& dt_name() const; + inline void set_dt_name(const ::std::string& value); + inline void set_dt_name(const char* value); + inline void set_dt_name(const char* value, size_t size); + inline ::std::string* mutable_dt_name(); + inline ::std::string* release_dt_name(); + + // optional int32 num_elements = 6; + inline bool has_num_elements() const; + inline void clear_num_elements(); + static const int kNumElementsFieldNumber = 6; + inline ::google::protobuf::int32 num_elements() const; + inline void set_num_elements(::google::protobuf::int32 value); + + // optional float low_value = 7; + inline bool has_low_value() const; + inline void clear_low_value(); + static const int kLowValueFieldNumber = 7; + inline float low_value() const; + inline void set_low_value(float value); + + // optional float high_value = 8; + inline bool has_high_value() const; + inline void clear_high_value(); + static const int kHighValueFieldNumber = 8; + inline float high_value() const; + inline void set_high_value(float value); + + // optional int32 num_bits = 9; + inline bool has_num_bits() const; + inline void clear_num_bits(); + static const int kNumBitsFieldNumber = 9; + inline ::google::protobuf::int32 num_bits() const; + inline void set_num_bits(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_SendTable.sendprop_t) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_var_name(); + inline void clear_has_var_name(); + inline void set_has_flags(); + inline void clear_has_flags(); + inline void set_has_priority(); + inline void clear_has_priority(); + inline void set_has_dt_name(); + inline void clear_has_dt_name(); + inline void set_has_num_elements(); + inline void clear_has_num_elements(); + inline void set_has_low_value(); + inline void clear_has_low_value(); + inline void set_has_high_value(); + inline void clear_has_high_value(); + inline void set_has_num_bits(); + inline void clear_has_num_bits(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* var_name_; + ::google::protobuf::int32 type_; + ::google::protobuf::int32 flags_; + ::std::string* dt_name_; + ::google::protobuf::int32 priority_; + ::google::protobuf::int32 num_elements_; + float low_value_; + float high_value_; + ::google::protobuf::int32 num_bits_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_SendTable_sendprop_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_SendTable : public ::google::protobuf::Message { + public: + CSVCMsg_SendTable(); + virtual ~CSVCMsg_SendTable(); + + CSVCMsg_SendTable(const CSVCMsg_SendTable& from); + + inline CSVCMsg_SendTable& operator=(const CSVCMsg_SendTable& 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 CSVCMsg_SendTable& default_instance(); + + void Swap(CSVCMsg_SendTable* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_SendTable* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_SendTable& from); + void MergeFrom(const CSVCMsg_SendTable& 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 ---------------------------------------------------- + + typedef CSVCMsg_SendTable_sendprop_t sendprop_t; + + // accessors ------------------------------------------------------- + + // optional bool is_end = 1; + inline bool has_is_end() const; + inline void clear_is_end(); + static const int kIsEndFieldNumber = 1; + inline bool is_end() const; + inline void set_is_end(bool value); + + // optional string net_table_name = 2; + inline bool has_net_table_name() const; + inline void clear_net_table_name(); + static const int kNetTableNameFieldNumber = 2; + inline const ::std::string& net_table_name() const; + inline void set_net_table_name(const ::std::string& value); + inline void set_net_table_name(const char* value); + inline void set_net_table_name(const char* value, size_t size); + inline ::std::string* mutable_net_table_name(); + inline ::std::string* release_net_table_name(); + + // optional bool needs_decoder = 3; + inline bool has_needs_decoder() const; + inline void clear_needs_decoder(); + static const int kNeedsDecoderFieldNumber = 3; + inline bool needs_decoder() const; + inline void set_needs_decoder(bool value); + + // repeated .CSVCMsg_SendTable.sendprop_t props = 4; + inline int props_size() const; + inline void clear_props(); + static const int kPropsFieldNumber = 4; + inline const ::CSVCMsg_SendTable_sendprop_t& props(int index) const; + inline ::CSVCMsg_SendTable_sendprop_t* mutable_props(int index); + inline ::CSVCMsg_SendTable_sendprop_t* add_props(); + inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >& + props() const; + inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >* + mutable_props(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_SendTable) + private: + inline void set_has_is_end(); + inline void clear_has_is_end(); + inline void set_has_net_table_name(); + inline void clear_has_net_table_name(); + inline void set_has_needs_decoder(); + inline void clear_has_needs_decoder(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* net_table_name_; + ::google::protobuf::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t > props_; + bool is_end_; + bool needs_decoder_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_SendTable* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEvent_key_t : public ::google::protobuf::Message { + public: + CSVCMsg_GameEvent_key_t(); + virtual ~CSVCMsg_GameEvent_key_t(); + + CSVCMsg_GameEvent_key_t(const CSVCMsg_GameEvent_key_t& from); + + inline CSVCMsg_GameEvent_key_t& operator=(const CSVCMsg_GameEvent_key_t& 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 CSVCMsg_GameEvent_key_t& default_instance(); + + void Swap(CSVCMsg_GameEvent_key_t* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEvent_key_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_GameEvent_key_t& from); + void MergeFrom(const CSVCMsg_GameEvent_key_t& 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 type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline ::google::protobuf::int32 type() const; + inline void set_type(::google::protobuf::int32 value); + + // optional string val_string = 2; + inline bool has_val_string() const; + inline void clear_val_string(); + static const int kValStringFieldNumber = 2; + inline const ::std::string& val_string() const; + inline void set_val_string(const ::std::string& value); + inline void set_val_string(const char* value); + inline void set_val_string(const char* value, size_t size); + inline ::std::string* mutable_val_string(); + inline ::std::string* release_val_string(); + + // optional float val_float = 3; + inline bool has_val_float() const; + inline void clear_val_float(); + static const int kValFloatFieldNumber = 3; + inline float val_float() const; + inline void set_val_float(float value); + + // optional int32 val_long = 4; + inline bool has_val_long() const; + inline void clear_val_long(); + static const int kValLongFieldNumber = 4; + inline ::google::protobuf::int32 val_long() const; + inline void set_val_long(::google::protobuf::int32 value); + + // optional int32 val_short = 5; + inline bool has_val_short() const; + inline void clear_val_short(); + static const int kValShortFieldNumber = 5; + inline ::google::protobuf::int32 val_short() const; + inline void set_val_short(::google::protobuf::int32 value); + + // optional int32 val_byte = 6; + inline bool has_val_byte() const; + inline void clear_val_byte(); + static const int kValByteFieldNumber = 6; + inline ::google::protobuf::int32 val_byte() const; + inline void set_val_byte(::google::protobuf::int32 value); + + // optional bool val_bool = 7; + inline bool has_val_bool() const; + inline void clear_val_bool(); + static const int kValBoolFieldNumber = 7; + inline bool val_bool() const; + inline void set_val_bool(bool value); + + // optional uint64 val_uint64 = 8; + inline bool has_val_uint64() const; + inline void clear_val_uint64(); + static const int kValUint64FieldNumber = 8; + inline ::google::protobuf::uint64 val_uint64() const; + inline void set_val_uint64(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEvent.key_t) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_val_string(); + inline void clear_has_val_string(); + inline void set_has_val_float(); + inline void clear_has_val_float(); + inline void set_has_val_long(); + inline void clear_has_val_long(); + inline void set_has_val_short(); + inline void clear_has_val_short(); + inline void set_has_val_byte(); + inline void clear_has_val_byte(); + inline void set_has_val_bool(); + inline void clear_has_val_bool(); + inline void set_has_val_uint64(); + inline void clear_has_val_uint64(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* val_string_; + ::google::protobuf::int32 type_; + float val_float_; + ::google::protobuf::int32 val_long_; + ::google::protobuf::int32 val_short_; + ::google::protobuf::int32 val_byte_; + bool val_bool_; + ::google::protobuf::uint64 val_uint64_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_GameEvent_key_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEvent : public ::google::protobuf::Message { + public: + CSVCMsg_GameEvent(); + virtual ~CSVCMsg_GameEvent(); + + CSVCMsg_GameEvent(const CSVCMsg_GameEvent& from); + + inline CSVCMsg_GameEvent& operator=(const CSVCMsg_GameEvent& 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 CSVCMsg_GameEvent& default_instance(); + + void Swap(CSVCMsg_GameEvent* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEvent* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_GameEvent& from); + void MergeFrom(const CSVCMsg_GameEvent& 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 ---------------------------------------------------- + + typedef CSVCMsg_GameEvent_key_t key_t; + + // accessors ------------------------------------------------------- + + // optional string event_name = 1; + inline bool has_event_name() const; + inline void clear_event_name(); + static const int kEventNameFieldNumber = 1; + inline const ::std::string& event_name() const; + inline void set_event_name(const ::std::string& value); + inline void set_event_name(const char* value); + inline void set_event_name(const char* value, size_t size); + inline ::std::string* mutable_event_name(); + inline ::std::string* release_event_name(); + + // optional int32 eventid = 2; + inline bool has_eventid() const; + inline void clear_eventid(); + static const int kEventidFieldNumber = 2; + inline ::google::protobuf::int32 eventid() const; + inline void set_eventid(::google::protobuf::int32 value); + + // repeated .CSVCMsg_GameEvent.key_t keys = 3; + inline int keys_size() const; + inline void clear_keys(); + static const int kKeysFieldNumber = 3; + inline const ::CSVCMsg_GameEvent_key_t& keys(int index) const; + inline ::CSVCMsg_GameEvent_key_t* mutable_keys(int index); + inline ::CSVCMsg_GameEvent_key_t* add_keys(); + inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >& + keys() const; + inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >* + mutable_keys(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEvent) + private: + inline void set_has_event_name(); + inline void clear_has_event_name(); + inline void set_has_eventid(); + inline void clear_has_eventid(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* event_name_; + ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t > keys_; + ::google::protobuf::int32 eventid_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_GameEvent* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEventList_key_t : public ::google::protobuf::Message { + public: + CSVCMsg_GameEventList_key_t(); + virtual ~CSVCMsg_GameEventList_key_t(); + + CSVCMsg_GameEventList_key_t(const CSVCMsg_GameEventList_key_t& from); + + inline CSVCMsg_GameEventList_key_t& operator=(const CSVCMsg_GameEventList_key_t& 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 CSVCMsg_GameEventList_key_t& default_instance(); + + void Swap(CSVCMsg_GameEventList_key_t* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEventList_key_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_GameEventList_key_t& from); + void MergeFrom(const CSVCMsg_GameEventList_key_t& 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 type = 1; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline ::google::protobuf::int32 type() const; + inline void set_type(::google::protobuf::int32 value); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList.key_t) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + ::google::protobuf::int32 type_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_GameEventList_key_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEventList_descriptor_t : public ::google::protobuf::Message { + public: + CSVCMsg_GameEventList_descriptor_t(); + virtual ~CSVCMsg_GameEventList_descriptor_t(); + + CSVCMsg_GameEventList_descriptor_t(const CSVCMsg_GameEventList_descriptor_t& from); + + inline CSVCMsg_GameEventList_descriptor_t& operator=(const CSVCMsg_GameEventList_descriptor_t& 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 CSVCMsg_GameEventList_descriptor_t& default_instance(); + + void Swap(CSVCMsg_GameEventList_descriptor_t* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEventList_descriptor_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_GameEventList_descriptor_t& from); + void MergeFrom(const CSVCMsg_GameEventList_descriptor_t& 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 eventid = 1; + inline bool has_eventid() const; + inline void clear_eventid(); + static const int kEventidFieldNumber = 1; + inline ::google::protobuf::int32 eventid() const; + inline void set_eventid(::google::protobuf::int32 value); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // repeated .CSVCMsg_GameEventList.key_t keys = 3; + inline int keys_size() const; + inline void clear_keys(); + static const int kKeysFieldNumber = 3; + inline const ::CSVCMsg_GameEventList_key_t& keys(int index) const; + inline ::CSVCMsg_GameEventList_key_t* mutable_keys(int index); + inline ::CSVCMsg_GameEventList_key_t* add_keys(); + inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >& + keys() const; + inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >* + mutable_keys(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList.descriptor_t) + private: + inline void set_has_eventid(); + inline void clear_has_eventid(); + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t > keys_; + ::google::protobuf::int32 eventid_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_GameEventList_descriptor_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameEventList : public ::google::protobuf::Message { + public: + CSVCMsg_GameEventList(); + virtual ~CSVCMsg_GameEventList(); + + CSVCMsg_GameEventList(const CSVCMsg_GameEventList& from); + + inline CSVCMsg_GameEventList& operator=(const CSVCMsg_GameEventList& 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 CSVCMsg_GameEventList& default_instance(); + + void Swap(CSVCMsg_GameEventList* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_GameEventList* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_GameEventList& from); + void MergeFrom(const CSVCMsg_GameEventList& 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 ---------------------------------------------------- + + typedef CSVCMsg_GameEventList_key_t key_t; + typedef CSVCMsg_GameEventList_descriptor_t descriptor_t; + + // accessors ------------------------------------------------------- + + // repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; + inline int descriptors_size() const; + inline void clear_descriptors(); + static const int kDescriptorsFieldNumber = 1; + inline const ::CSVCMsg_GameEventList_descriptor_t& descriptors(int index) const; + inline ::CSVCMsg_GameEventList_descriptor_t* mutable_descriptors(int index); + inline ::CSVCMsg_GameEventList_descriptor_t* add_descriptors(); + inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >& + descriptors() const; + inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >* + mutable_descriptors(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameEventList) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t > descriptors_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_GameEventList* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PacketEntities : public ::google::protobuf::Message { + public: + CSVCMsg_PacketEntities(); + virtual ~CSVCMsg_PacketEntities(); + + CSVCMsg_PacketEntities(const CSVCMsg_PacketEntities& from); + + inline CSVCMsg_PacketEntities& operator=(const CSVCMsg_PacketEntities& 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 CSVCMsg_PacketEntities& default_instance(); + + void Swap(CSVCMsg_PacketEntities* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_PacketEntities* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_PacketEntities& from); + void MergeFrom(const CSVCMsg_PacketEntities& 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 max_entries = 1; + inline bool has_max_entries() const; + inline void clear_max_entries(); + static const int kMaxEntriesFieldNumber = 1; + inline ::google::protobuf::int32 max_entries() const; + inline void set_max_entries(::google::protobuf::int32 value); + + // optional int32 updated_entries = 2; + inline bool has_updated_entries() const; + inline void clear_updated_entries(); + static const int kUpdatedEntriesFieldNumber = 2; + inline ::google::protobuf::int32 updated_entries() const; + inline void set_updated_entries(::google::protobuf::int32 value); + + // optional bool is_delta = 3; + inline bool has_is_delta() const; + inline void clear_is_delta(); + static const int kIsDeltaFieldNumber = 3; + inline bool is_delta() const; + inline void set_is_delta(bool value); + + // optional bool update_baseline = 4; + inline bool has_update_baseline() const; + inline void clear_update_baseline(); + static const int kUpdateBaselineFieldNumber = 4; + inline bool update_baseline() const; + inline void set_update_baseline(bool value); + + // optional int32 baseline = 5; + inline bool has_baseline() const; + inline void clear_baseline(); + static const int kBaselineFieldNumber = 5; + inline ::google::protobuf::int32 baseline() const; + inline void set_baseline(::google::protobuf::int32 value); + + // optional int32 delta_from = 6; + inline bool has_delta_from() const; + inline void clear_delta_from(); + static const int kDeltaFromFieldNumber = 6; + inline ::google::protobuf::int32 delta_from() const; + inline void set_delta_from(::google::protobuf::int32 value); + + // optional bytes entity_data = 7; + inline bool has_entity_data() const; + inline void clear_entity_data(); + static const int kEntityDataFieldNumber = 7; + inline const ::std::string& entity_data() const; + inline void set_entity_data(const ::std::string& value); + inline void set_entity_data(const char* value); + inline void set_entity_data(const void* value, size_t size); + inline ::std::string* mutable_entity_data(); + inline ::std::string* release_entity_data(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities) + private: + inline void set_has_max_entries(); + inline void clear_has_max_entries(); + inline void set_has_updated_entries(); + inline void clear_has_updated_entries(); + inline void set_has_is_delta(); + inline void clear_has_is_delta(); + inline void set_has_update_baseline(); + inline void clear_has_update_baseline(); + inline void set_has_baseline(); + inline void clear_has_baseline(); + inline void set_has_delta_from(); + inline void clear_has_delta_from(); + inline void set_has_entity_data(); + inline void clear_has_entity_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 max_entries_; + ::google::protobuf::int32 updated_entries_; + bool is_delta_; + bool update_baseline_; + ::google::protobuf::int32 baseline_; + ::std::string* entity_data_; + ::google::protobuf::int32 delta_from_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_PacketEntities* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_TempEntities : public ::google::protobuf::Message { + public: + CSVCMsg_TempEntities(); + virtual ~CSVCMsg_TempEntities(); + + CSVCMsg_TempEntities(const CSVCMsg_TempEntities& from); + + inline CSVCMsg_TempEntities& operator=(const CSVCMsg_TempEntities& 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 CSVCMsg_TempEntities& default_instance(); + + void Swap(CSVCMsg_TempEntities* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_TempEntities* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_TempEntities& from); + void MergeFrom(const CSVCMsg_TempEntities& 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 reliable = 1; + inline bool has_reliable() const; + inline void clear_reliable(); + static const int kReliableFieldNumber = 1; + inline bool reliable() const; + inline void set_reliable(bool value); + + // optional int32 num_entries = 2; + inline bool has_num_entries() const; + inline void clear_num_entries(); + static const int kNumEntriesFieldNumber = 2; + inline ::google::protobuf::int32 num_entries() const; + inline void set_num_entries(::google::protobuf::int32 value); + + // optional bytes entity_data = 3; + inline bool has_entity_data() const; + inline void clear_entity_data(); + static const int kEntityDataFieldNumber = 3; + inline const ::std::string& entity_data() const; + inline void set_entity_data(const ::std::string& value); + inline void set_entity_data(const char* value); + inline void set_entity_data(const void* value, size_t size); + inline ::std::string* mutable_entity_data(); + inline ::std::string* release_entity_data(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_TempEntities) + private: + inline void set_has_reliable(); + inline void clear_has_reliable(); + inline void set_has_num_entries(); + inline void clear_has_num_entries(); + inline void set_has_entity_data(); + inline void clear_has_entity_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + bool reliable_; + ::google::protobuf::int32 num_entries_; + ::std::string* entity_data_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_TempEntities* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_CreateStringTable : public ::google::protobuf::Message { + public: + CSVCMsg_CreateStringTable(); + virtual ~CSVCMsg_CreateStringTable(); + + CSVCMsg_CreateStringTable(const CSVCMsg_CreateStringTable& from); + + inline CSVCMsg_CreateStringTable& operator=(const CSVCMsg_CreateStringTable& 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 CSVCMsg_CreateStringTable& default_instance(); + + void Swap(CSVCMsg_CreateStringTable* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_CreateStringTable* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_CreateStringTable& from); + void MergeFrom(const CSVCMsg_CreateStringTable& 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 name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // optional int32 max_entries = 2; + inline bool has_max_entries() const; + inline void clear_max_entries(); + static const int kMaxEntriesFieldNumber = 2; + inline ::google::protobuf::int32 max_entries() const; + inline void set_max_entries(::google::protobuf::int32 value); + + // optional int32 num_entries = 3; + inline bool has_num_entries() const; + inline void clear_num_entries(); + static const int kNumEntriesFieldNumber = 3; + inline ::google::protobuf::int32 num_entries() const; + inline void set_num_entries(::google::protobuf::int32 value); + + // optional bool user_data_fixed_size = 4; + inline bool has_user_data_fixed_size() const; + inline void clear_user_data_fixed_size(); + static const int kUserDataFixedSizeFieldNumber = 4; + inline bool user_data_fixed_size() const; + inline void set_user_data_fixed_size(bool value); + + // optional int32 user_data_size = 5; + inline bool has_user_data_size() const; + inline void clear_user_data_size(); + static const int kUserDataSizeFieldNumber = 5; + inline ::google::protobuf::int32 user_data_size() const; + inline void set_user_data_size(::google::protobuf::int32 value); + + // optional int32 user_data_size_bits = 6; + inline bool has_user_data_size_bits() const; + inline void clear_user_data_size_bits(); + static const int kUserDataSizeBitsFieldNumber = 6; + inline ::google::protobuf::int32 user_data_size_bits() const; + inline void set_user_data_size_bits(::google::protobuf::int32 value); + + // optional int32 flags = 7; + inline bool has_flags() const; + inline void clear_flags(); + static const int kFlagsFieldNumber = 7; + inline ::google::protobuf::int32 flags() const; + inline void set_flags(::google::protobuf::int32 value); + + // optional bytes string_data = 8; + inline bool has_string_data() const; + inline void clear_string_data(); + static const int kStringDataFieldNumber = 8; + inline const ::std::string& string_data() const; + inline void set_string_data(const ::std::string& value); + inline void set_string_data(const char* value); + inline void set_string_data(const void* value, size_t size); + inline ::std::string* mutable_string_data(); + inline ::std::string* release_string_data(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_CreateStringTable) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_max_entries(); + inline void clear_has_max_entries(); + inline void set_has_num_entries(); + inline void clear_has_num_entries(); + inline void set_has_user_data_fixed_size(); + inline void clear_has_user_data_fixed_size(); + inline void set_has_user_data_size(); + inline void clear_has_user_data_size(); + inline void set_has_user_data_size_bits(); + inline void clear_has_user_data_size_bits(); + inline void set_has_flags(); + inline void clear_has_flags(); + inline void set_has_string_data(); + inline void clear_has_string_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + ::google::protobuf::int32 max_entries_; + ::google::protobuf::int32 num_entries_; + bool user_data_fixed_size_; + ::google::protobuf::int32 user_data_size_; + ::google::protobuf::int32 user_data_size_bits_; + ::google::protobuf::int32 flags_; + ::std::string* string_data_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_CreateStringTable* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_UpdateStringTable : public ::google::protobuf::Message { + public: + CSVCMsg_UpdateStringTable(); + virtual ~CSVCMsg_UpdateStringTable(); + + CSVCMsg_UpdateStringTable(const CSVCMsg_UpdateStringTable& from); + + inline CSVCMsg_UpdateStringTable& operator=(const CSVCMsg_UpdateStringTable& 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 CSVCMsg_UpdateStringTable& default_instance(); + + void Swap(CSVCMsg_UpdateStringTable* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_UpdateStringTable* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_UpdateStringTable& from); + void MergeFrom(const CSVCMsg_UpdateStringTable& 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 table_id = 1; + inline bool has_table_id() const; + inline void clear_table_id(); + static const int kTableIdFieldNumber = 1; + inline ::google::protobuf::int32 table_id() const; + inline void set_table_id(::google::protobuf::int32 value); + + // optional int32 num_changed_entries = 2; + inline bool has_num_changed_entries() const; + inline void clear_num_changed_entries(); + static const int kNumChangedEntriesFieldNumber = 2; + inline ::google::protobuf::int32 num_changed_entries() const; + inline void set_num_changed_entries(::google::protobuf::int32 value); + + // optional bytes string_data = 3; + inline bool has_string_data() const; + inline void clear_string_data(); + static const int kStringDataFieldNumber = 3; + inline const ::std::string& string_data() const; + inline void set_string_data(const ::std::string& value); + inline void set_string_data(const char* value); + inline void set_string_data(const void* value, size_t size); + inline ::std::string* mutable_string_data(); + inline ::std::string* release_string_data(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_UpdateStringTable) + private: + inline void set_has_table_id(); + inline void clear_has_table_id(); + inline void set_has_num_changed_entries(); + inline void clear_has_num_changed_entries(); + inline void set_has_string_data(); + inline void clear_has_string_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 table_id_; + ::google::protobuf::int32 num_changed_entries_; + ::std::string* string_data_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_UpdateStringTable* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_UserMessage : public ::google::protobuf::Message { + public: + CSVCMsg_UserMessage(); + virtual ~CSVCMsg_UserMessage(); + + CSVCMsg_UserMessage(const CSVCMsg_UserMessage& from); + + inline CSVCMsg_UserMessage& operator=(const CSVCMsg_UserMessage& 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 CSVCMsg_UserMessage& default_instance(); + + void Swap(CSVCMsg_UserMessage* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_UserMessage* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_UserMessage& from); + void MergeFrom(const CSVCMsg_UserMessage& 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 msg_type = 1; + inline bool has_msg_type() const; + inline void clear_msg_type(); + static const int kMsgTypeFieldNumber = 1; + inline ::google::protobuf::int32 msg_type() const; + inline void set_msg_type(::google::protobuf::int32 value); + + // optional bytes msg_data = 2; + inline bool has_msg_data() const; + inline void clear_msg_data(); + static const int kMsgDataFieldNumber = 2; + inline const ::std::string& msg_data() const; + inline void set_msg_data(const ::std::string& value); + inline void set_msg_data(const char* value); + inline void set_msg_data(const void* value, size_t size); + inline ::std::string* mutable_msg_data(); + inline ::std::string* release_msg_data(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_UserMessage) + private: + inline void set_has_msg_type(); + inline void clear_has_msg_type(); + inline void set_has_msg_data(); + inline void clear_has_msg_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* msg_data_; + ::google::protobuf::int32 msg_type_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_UserMessage* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_VoiceData : public ::google::protobuf::Message { + public: + CSVCMsg_VoiceData(); + virtual ~CSVCMsg_VoiceData(); + + CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from); + + inline CSVCMsg_VoiceData& operator=(const CSVCMsg_VoiceData& 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 CSVCMsg_VoiceData& default_instance(); + + void Swap(CSVCMsg_VoiceData* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_VoiceData* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_VoiceData& from); + void MergeFrom(const CSVCMsg_VoiceData& 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 client = 1; + inline bool has_client() const; + inline void clear_client(); + static const int kClientFieldNumber = 1; + inline ::google::protobuf::int32 client() const; + inline void set_client(::google::protobuf::int32 value); + + // optional bool proximity = 2; + inline bool has_proximity() const; + inline void clear_proximity(); + static const int kProximityFieldNumber = 2; + inline bool proximity() const; + inline void set_proximity(bool value); + + // optional fixed64 xuid = 3; + inline bool has_xuid() const; + inline void clear_xuid(); + static const int kXuidFieldNumber = 3; + inline ::google::protobuf::uint64 xuid() const; + inline void set_xuid(::google::protobuf::uint64 value); + + // optional int32 audible_mask = 4; + inline bool has_audible_mask() const; + inline void clear_audible_mask(); + static const int kAudibleMaskFieldNumber = 4; + inline ::google::protobuf::int32 audible_mask() const; + inline void set_audible_mask(::google::protobuf::int32 value); + + // optional bytes voice_data = 5; + inline bool has_voice_data() const; + inline void clear_voice_data(); + static const int kVoiceDataFieldNumber = 5; + inline const ::std::string& voice_data() const; + inline void set_voice_data(const ::std::string& value); + inline void set_voice_data(const char* value); + inline void set_voice_data(const void* value, size_t size); + inline ::std::string* mutable_voice_data(); + inline ::std::string* release_voice_data(); + + // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; + inline bool has_format() const; + inline void clear_format(); + static const int kFormatFieldNumber = 6; + inline VoiceDataFormat_t format() const; + inline void set_format(VoiceDataFormat_t value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_VoiceData) + private: + inline void set_has_client(); + inline void clear_has_client(); + inline void set_has_proximity(); + inline void clear_has_proximity(); + inline void set_has_xuid(); + inline void clear_has_xuid(); + inline void set_has_audible_mask(); + inline void clear_has_audible_mask(); + inline void set_has_voice_data(); + inline void clear_has_voice_data(); + inline void set_has_format(); + inline void clear_has_format(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 client_; + bool proximity_; + ::google::protobuf::uint64 xuid_; + ::std::string* voice_data_; + ::google::protobuf::int32 audible_mask_; + int format_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_VoiceData* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsgList_GameEvents_event_t : public ::google::protobuf::Message { + public: + CSVCMsgList_GameEvents_event_t(); + virtual ~CSVCMsgList_GameEvents_event_t(); + + CSVCMsgList_GameEvents_event_t(const CSVCMsgList_GameEvents_event_t& from); + + inline CSVCMsgList_GameEvents_event_t& operator=(const CSVCMsgList_GameEvents_event_t& 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 CSVCMsgList_GameEvents_event_t& default_instance(); + + void Swap(CSVCMsgList_GameEvents_event_t* other); + + // implements Message ---------------------------------------------- + + CSVCMsgList_GameEvents_event_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsgList_GameEvents_event_t& from); + void MergeFrom(const CSVCMsgList_GameEvents_event_t& 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 tick = 1; + inline bool has_tick() const; + inline void clear_tick(); + static const int kTickFieldNumber = 1; + inline ::google::protobuf::int32 tick() const; + inline void set_tick(::google::protobuf::int32 value); + + // optional .CSVCMsg_GameEvent event = 2; + inline bool has_event() const; + inline void clear_event(); + static const int kEventFieldNumber = 2; + inline const ::CSVCMsg_GameEvent& event() const; + inline ::CSVCMsg_GameEvent* mutable_event(); + inline ::CSVCMsg_GameEvent* release_event(); + + // @@protoc_insertion_point(class_scope:CSVCMsgList_GameEvents.event_t) + private: + inline void set_has_tick(); + inline void clear_has_tick(); + inline void set_has_event(); + inline void clear_has_event(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CSVCMsg_GameEvent* event_; + ::google::protobuf::int32 tick_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsgList_GameEvents_event_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsgList_GameEvents : public ::google::protobuf::Message { + public: + CSVCMsgList_GameEvents(); + virtual ~CSVCMsgList_GameEvents(); + + CSVCMsgList_GameEvents(const CSVCMsgList_GameEvents& from); + + inline CSVCMsgList_GameEvents& operator=(const CSVCMsgList_GameEvents& 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 CSVCMsgList_GameEvents& default_instance(); + + void Swap(CSVCMsgList_GameEvents* other); + + // implements Message ---------------------------------------------- + + CSVCMsgList_GameEvents* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsgList_GameEvents& from); + void MergeFrom(const CSVCMsgList_GameEvents& 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 ---------------------------------------------------- + + typedef CSVCMsgList_GameEvents_event_t event_t; + + // accessors ------------------------------------------------------- + + // repeated .CSVCMsgList_GameEvents.event_t events = 1; + inline int events_size() const; + inline void clear_events(); + static const int kEventsFieldNumber = 1; + inline const ::CSVCMsgList_GameEvents_event_t& events(int index) const; + inline ::CSVCMsgList_GameEvents_event_t* mutable_events(int index); + inline ::CSVCMsgList_GameEvents_event_t* add_events(); + inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >& + events() const; + inline ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >* + mutable_events(); + + // @@protoc_insertion_point(class_scope:CSVCMsgList_GameEvents) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t > events_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsgList_GameEvents* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsgList_UserMessages_usermsg_t : public ::google::protobuf::Message { + public: + CSVCMsgList_UserMessages_usermsg_t(); + virtual ~CSVCMsgList_UserMessages_usermsg_t(); + + CSVCMsgList_UserMessages_usermsg_t(const CSVCMsgList_UserMessages_usermsg_t& from); + + inline CSVCMsgList_UserMessages_usermsg_t& operator=(const CSVCMsgList_UserMessages_usermsg_t& 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 CSVCMsgList_UserMessages_usermsg_t& default_instance(); + + void Swap(CSVCMsgList_UserMessages_usermsg_t* other); + + // implements Message ---------------------------------------------- + + CSVCMsgList_UserMessages_usermsg_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsgList_UserMessages_usermsg_t& from); + void MergeFrom(const CSVCMsgList_UserMessages_usermsg_t& 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 tick = 1; + inline bool has_tick() const; + inline void clear_tick(); + static const int kTickFieldNumber = 1; + inline ::google::protobuf::int32 tick() const; + inline void set_tick(::google::protobuf::int32 value); + + // optional .CSVCMsg_UserMessage msg = 2; + inline bool has_msg() const; + inline void clear_msg(); + static const int kMsgFieldNumber = 2; + inline const ::CSVCMsg_UserMessage& msg() const; + inline ::CSVCMsg_UserMessage* mutable_msg(); + inline ::CSVCMsg_UserMessage* release_msg(); + + // @@protoc_insertion_point(class_scope:CSVCMsgList_UserMessages.usermsg_t) + private: + inline void set_has_tick(); + inline void clear_has_tick(); + inline void set_has_msg(); + inline void clear_has_msg(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CSVCMsg_UserMessage* msg_; + ::google::protobuf::int32 tick_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsgList_UserMessages_usermsg_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsgList_UserMessages : public ::google::protobuf::Message { + public: + CSVCMsgList_UserMessages(); + virtual ~CSVCMsgList_UserMessages(); + + CSVCMsgList_UserMessages(const CSVCMsgList_UserMessages& from); + + inline CSVCMsgList_UserMessages& operator=(const CSVCMsgList_UserMessages& 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 CSVCMsgList_UserMessages& default_instance(); + + void Swap(CSVCMsgList_UserMessages* other); + + // implements Message ---------------------------------------------- + + CSVCMsgList_UserMessages* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsgList_UserMessages& from); + void MergeFrom(const CSVCMsgList_UserMessages& 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 ---------------------------------------------------- + + typedef CSVCMsgList_UserMessages_usermsg_t usermsg_t; + + // accessors ------------------------------------------------------- + + // repeated .CSVCMsgList_UserMessages.usermsg_t usermsgs = 1; + inline int usermsgs_size() const; + inline void clear_usermsgs(); + static const int kUsermsgsFieldNumber = 1; + inline const ::CSVCMsgList_UserMessages_usermsg_t& usermsgs(int index) const; + inline ::CSVCMsgList_UserMessages_usermsg_t* mutable_usermsgs(int index); + inline ::CSVCMsgList_UserMessages_usermsg_t* add_usermsgs(); + inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_UserMessages_usermsg_t >& + usermsgs() const; + inline ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_UserMessages_usermsg_t >* + mutable_usermsgs(); + + // @@protoc_insertion_point(class_scope:CSVCMsgList_UserMessages) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_UserMessages_usermsg_t > usermsgs_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsgList_UserMessages* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PacketReliable : public ::google::protobuf::Message { + public: + CSVCMsg_PacketReliable(); + virtual ~CSVCMsg_PacketReliable(); + + CSVCMsg_PacketReliable(const CSVCMsg_PacketReliable& from); + + inline CSVCMsg_PacketReliable& operator=(const CSVCMsg_PacketReliable& 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 CSVCMsg_PacketReliable& default_instance(); + + void Swap(CSVCMsg_PacketReliable* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_PacketReliable* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_PacketReliable& from); + void MergeFrom(const CSVCMsg_PacketReliable& 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 tick = 1; + inline bool has_tick() const; + inline void clear_tick(); + static const int kTickFieldNumber = 1; + inline ::google::protobuf::int32 tick() const; + inline void set_tick(::google::protobuf::int32 value); + + // optional int32 messagessize = 2; + inline bool has_messagessize() const; + inline void clear_messagessize(); + static const int kMessagessizeFieldNumber = 2; + inline ::google::protobuf::int32 messagessize() const; + inline void set_messagessize(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketReliable) + private: + inline void set_has_tick(); + inline void clear_has_tick(); + inline void set_has_messagessize(); + inline void clear_has_messagessize(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 tick_; + ::google::protobuf::int32 messagessize_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_PacketReliable* default_instance_; +}; +// =================================================================== + + +// =================================================================== + +// CMsgVector + +// optional float x = 1; +inline bool CMsgVector::has_x() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMsgVector::set_has_x() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMsgVector::clear_has_x() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMsgVector::clear_x() { + x_ = 0; + clear_has_x(); +} +inline float CMsgVector::x() const { + return x_; +} +inline void CMsgVector::set_x(float value) { + set_has_x(); + x_ = value; +} + +// optional float y = 2; +inline bool CMsgVector::has_y() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMsgVector::set_has_y() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMsgVector::clear_has_y() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMsgVector::clear_y() { + y_ = 0; + clear_has_y(); +} +inline float CMsgVector::y() const { + return y_; +} +inline void CMsgVector::set_y(float value) { + set_has_y(); + y_ = value; +} + +// optional float z = 3; +inline bool CMsgVector::has_z() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CMsgVector::set_has_z() { + _has_bits_[0] |= 0x00000004u; +} +inline void CMsgVector::clear_has_z() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CMsgVector::clear_z() { + z_ = 0; + clear_has_z(); +} +inline float CMsgVector::z() const { + return z_; +} +inline void CMsgVector::set_z(float value) { + set_has_z(); + z_ = value; +} + +// ------------------------------------------------------------------- + +// CMsgVector2D + +// optional float x = 1; +inline bool CMsgVector2D::has_x() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMsgVector2D::set_has_x() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMsgVector2D::clear_has_x() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMsgVector2D::clear_x() { + x_ = 0; + clear_has_x(); +} +inline float CMsgVector2D::x() const { + return x_; +} +inline void CMsgVector2D::set_x(float value) { + set_has_x(); + x_ = value; +} + +// optional float y = 2; +inline bool CMsgVector2D::has_y() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMsgVector2D::set_has_y() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMsgVector2D::clear_has_y() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMsgVector2D::clear_y() { + y_ = 0; + clear_has_y(); +} +inline float CMsgVector2D::y() const { + return y_; +} +inline void CMsgVector2D::set_y(float value) { + set_has_y(); + y_ = value; +} + +// ------------------------------------------------------------------- + +// CMsgQAngle + +// optional float x = 1; +inline bool CMsgQAngle::has_x() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMsgQAngle::set_has_x() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMsgQAngle::clear_has_x() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMsgQAngle::clear_x() { + x_ = 0; + clear_has_x(); +} +inline float CMsgQAngle::x() const { + return x_; +} +inline void CMsgQAngle::set_x(float value) { + set_has_x(); + x_ = value; +} + +// optional float y = 2; +inline bool CMsgQAngle::has_y() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMsgQAngle::set_has_y() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMsgQAngle::clear_has_y() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMsgQAngle::clear_y() { + y_ = 0; + clear_has_y(); +} +inline float CMsgQAngle::y() const { + return y_; +} +inline void CMsgQAngle::set_y(float value) { + set_has_y(); + y_ = value; +} + +// optional float z = 3; +inline bool CMsgQAngle::has_z() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CMsgQAngle::set_has_z() { + _has_bits_[0] |= 0x00000004u; +} +inline void CMsgQAngle::clear_has_z() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CMsgQAngle::clear_z() { + z_ = 0; + clear_has_z(); +} +inline float CMsgQAngle::z() const { + return z_; +} +inline void CMsgQAngle::set_z(float value) { + set_has_z(); + z_ = value; +} + +// ------------------------------------------------------------------- + +// CMsg_CVars_CVar + +// optional string name = 1; +inline bool CMsg_CVars_CVar::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMsg_CVars_CVar::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMsg_CVars_CVar::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMsg_CVars_CVar::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CMsg_CVars_CVar::name() const { + return *name_; +} +inline void CMsg_CVars_CVar::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CMsg_CVars_CVar::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CMsg_CVars_CVar::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CMsg_CVars_CVar::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CMsg_CVars_CVar::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string value = 2; +inline bool CMsg_CVars_CVar::has_value() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMsg_CVars_CVar::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMsg_CVars_CVar::clear_has_value() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMsg_CVars_CVar::clear_value() { + if (value_ != &::google::protobuf::internal::kEmptyString) { + value_->clear(); + } + clear_has_value(); +} +inline const ::std::string& CMsg_CVars_CVar::value() const { + return *value_; +} +inline void CMsg_CVars_CVar::set_value(const ::std::string& value) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(value); +} +inline void CMsg_CVars_CVar::set_value(const char* value) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(value); +} +inline void CMsg_CVars_CVar::set_value(const char* value, size_t size) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CMsg_CVars_CVar::mutable_value() { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + return value_; +} +inline ::std::string* CMsg_CVars_CVar::release_value() { + clear_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = value_; + value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CMsg_CVars + +// repeated .CMsg_CVars.CVar cvars = 1; +inline int CMsg_CVars::cvars_size() const { + return cvars_.size(); +} +inline void CMsg_CVars::clear_cvars() { + cvars_.Clear(); +} +inline const ::CMsg_CVars_CVar& CMsg_CVars::cvars(int index) const { + return cvars_.Get(index); +} +inline ::CMsg_CVars_CVar* CMsg_CVars::mutable_cvars(int index) { + return cvars_.Mutable(index); +} +inline ::CMsg_CVars_CVar* CMsg_CVars::add_cvars() { + return cvars_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CMsg_CVars_CVar >& +CMsg_CVars::cvars() const { + return cvars_; +} +inline ::google::protobuf::RepeatedPtrField< ::CMsg_CVars_CVar >* +CMsg_CVars::mutable_cvars() { + return &cvars_; +} + +// ------------------------------------------------------------------- + +// CNETMsg_NOP + +// ------------------------------------------------------------------- + +// CNETMsg_Disconnect + +// optional string text = 1; +inline bool CNETMsg_Disconnect::has_text() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_Disconnect::set_has_text() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_Disconnect::clear_has_text() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_Disconnect::clear_text() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + clear_has_text(); +} +inline const ::std::string& CNETMsg_Disconnect::text() const { + return *text_; +} +inline void CNETMsg_Disconnect::set_text(const ::std::string& value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CNETMsg_Disconnect::set_text(const char* value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CNETMsg_Disconnect::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(value), size); +} +inline ::std::string* CNETMsg_Disconnect::mutable_text() { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + return text_; +} +inline ::std::string* CNETMsg_Disconnect::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; + } +} + +// ------------------------------------------------------------------- + +// CNETMsg_File + +// optional int32 transfer_id = 1; +inline bool CNETMsg_File::has_transfer_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_File::set_has_transfer_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_File::clear_has_transfer_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_File::clear_transfer_id() { + transfer_id_ = 0; + clear_has_transfer_id(); +} +inline ::google::protobuf::int32 CNETMsg_File::transfer_id() const { + return transfer_id_; +} +inline void CNETMsg_File::set_transfer_id(::google::protobuf::int32 value) { + set_has_transfer_id(); + transfer_id_ = value; +} + +// optional string file_name = 2; +inline bool CNETMsg_File::has_file_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CNETMsg_File::set_has_file_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CNETMsg_File::clear_has_file_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CNETMsg_File::clear_file_name() { + if (file_name_ != &::google::protobuf::internal::kEmptyString) { + file_name_->clear(); + } + clear_has_file_name(); +} +inline const ::std::string& CNETMsg_File::file_name() const { + return *file_name_; +} +inline void CNETMsg_File::set_file_name(const ::std::string& value) { + set_has_file_name(); + if (file_name_ == &::google::protobuf::internal::kEmptyString) { + file_name_ = new ::std::string; + } + file_name_->assign(value); +} +inline void CNETMsg_File::set_file_name(const char* value) { + set_has_file_name(); + if (file_name_ == &::google::protobuf::internal::kEmptyString) { + file_name_ = new ::std::string; + } + file_name_->assign(value); +} +inline void CNETMsg_File::set_file_name(const char* value, size_t size) { + set_has_file_name(); + if (file_name_ == &::google::protobuf::internal::kEmptyString) { + file_name_ = new ::std::string; + } + file_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CNETMsg_File::mutable_file_name() { + set_has_file_name(); + if (file_name_ == &::google::protobuf::internal::kEmptyString) { + file_name_ = new ::std::string; + } + return file_name_; +} +inline ::std::string* CNETMsg_File::release_file_name() { + clear_has_file_name(); + if (file_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = file_name_; + file_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional bool is_replay_demo_file = 3; +inline bool CNETMsg_File::has_is_replay_demo_file() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CNETMsg_File::set_has_is_replay_demo_file() { + _has_bits_[0] |= 0x00000004u; +} +inline void CNETMsg_File::clear_has_is_replay_demo_file() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CNETMsg_File::clear_is_replay_demo_file() { + is_replay_demo_file_ = false; + clear_has_is_replay_demo_file(); +} +inline bool CNETMsg_File::is_replay_demo_file() const { + return is_replay_demo_file_; +} +inline void CNETMsg_File::set_is_replay_demo_file(bool value) { + set_has_is_replay_demo_file(); + is_replay_demo_file_ = value; +} + +// optional bool deny = 4; +inline bool CNETMsg_File::has_deny() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CNETMsg_File::set_has_deny() { + _has_bits_[0] |= 0x00000008u; +} +inline void CNETMsg_File::clear_has_deny() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CNETMsg_File::clear_deny() { + deny_ = false; + clear_has_deny(); +} +inline bool CNETMsg_File::deny() const { + return deny_; +} +inline void CNETMsg_File::set_deny(bool value) { + set_has_deny(); + deny_ = value; +} + +// ------------------------------------------------------------------- + +// CNETMsg_SplitScreenUser + +// optional int32 slot = 1; +inline bool CNETMsg_SplitScreenUser::has_slot() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_SplitScreenUser::set_has_slot() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_SplitScreenUser::clear_has_slot() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_SplitScreenUser::clear_slot() { + slot_ = 0; + clear_has_slot(); +} +inline ::google::protobuf::int32 CNETMsg_SplitScreenUser::slot() const { + return slot_; +} +inline void CNETMsg_SplitScreenUser::set_slot(::google::protobuf::int32 value) { + set_has_slot(); + slot_ = value; +} + +// ------------------------------------------------------------------- + +// CNETMsg_Tick + +// optional uint32 tick = 1; +inline bool CNETMsg_Tick::has_tick() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_Tick::set_has_tick() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_Tick::clear_has_tick() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_Tick::clear_tick() { + tick_ = 0u; + clear_has_tick(); +} +inline ::google::protobuf::uint32 CNETMsg_Tick::tick() const { + return tick_; +} +inline void CNETMsg_Tick::set_tick(::google::protobuf::uint32 value) { + set_has_tick(); + tick_ = value; +} + +// optional uint32 host_frametime = 2; +inline bool CNETMsg_Tick::has_host_frametime() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CNETMsg_Tick::set_has_host_frametime() { + _has_bits_[0] |= 0x00000002u; +} +inline void CNETMsg_Tick::clear_has_host_frametime() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CNETMsg_Tick::clear_host_frametime() { + host_frametime_ = 0u; + clear_has_host_frametime(); +} +inline ::google::protobuf::uint32 CNETMsg_Tick::host_frametime() const { + return host_frametime_; +} +inline void CNETMsg_Tick::set_host_frametime(::google::protobuf::uint32 value) { + set_has_host_frametime(); + host_frametime_ = value; +} + +// optional uint32 host_frametime_std_deviation = 3; +inline bool CNETMsg_Tick::has_host_frametime_std_deviation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CNETMsg_Tick::set_has_host_frametime_std_deviation() { + _has_bits_[0] |= 0x00000004u; +} +inline void CNETMsg_Tick::clear_has_host_frametime_std_deviation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CNETMsg_Tick::clear_host_frametime_std_deviation() { + host_frametime_std_deviation_ = 0u; + clear_has_host_frametime_std_deviation(); +} +inline ::google::protobuf::uint32 CNETMsg_Tick::host_frametime_std_deviation() const { + return host_frametime_std_deviation_; +} +inline void CNETMsg_Tick::set_host_frametime_std_deviation(::google::protobuf::uint32 value) { + set_has_host_frametime_std_deviation(); + host_frametime_std_deviation_ = value; +} + +// ------------------------------------------------------------------- + +// CNETMsg_StringCmd + +// optional string command = 1; +inline bool CNETMsg_StringCmd::has_command() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_StringCmd::set_has_command() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_StringCmd::clear_has_command() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_StringCmd::clear_command() { + if (command_ != &::google::protobuf::internal::kEmptyString) { + command_->clear(); + } + clear_has_command(); +} +inline const ::std::string& CNETMsg_StringCmd::command() const { + return *command_; +} +inline void CNETMsg_StringCmd::set_command(const ::std::string& value) { + set_has_command(); + if (command_ == &::google::protobuf::internal::kEmptyString) { + command_ = new ::std::string; + } + command_->assign(value); +} +inline void CNETMsg_StringCmd::set_command(const char* value) { + set_has_command(); + if (command_ == &::google::protobuf::internal::kEmptyString) { + command_ = new ::std::string; + } + command_->assign(value); +} +inline void CNETMsg_StringCmd::set_command(const char* value, size_t size) { + set_has_command(); + if (command_ == &::google::protobuf::internal::kEmptyString) { + command_ = new ::std::string; + } + command_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CNETMsg_StringCmd::mutable_command() { + set_has_command(); + if (command_ == &::google::protobuf::internal::kEmptyString) { + command_ = new ::std::string; + } + return command_; +} +inline ::std::string* CNETMsg_StringCmd::release_command() { + clear_has_command(); + if (command_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = command_; + command_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CNETMsg_SetConVar + +// optional .CMsg_CVars convars = 1; +inline bool CNETMsg_SetConVar::has_convars() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_SetConVar::set_has_convars() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_SetConVar::clear_has_convars() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_SetConVar::clear_convars() { + if (convars_ != NULL) convars_->::CMsg_CVars::Clear(); + clear_has_convars(); +} +inline const ::CMsg_CVars& CNETMsg_SetConVar::convars() const { + return convars_ != NULL ? *convars_ : *default_instance_->convars_; +} +inline ::CMsg_CVars* CNETMsg_SetConVar::mutable_convars() { + set_has_convars(); + if (convars_ == NULL) convars_ = new ::CMsg_CVars; + return convars_; +} +inline ::CMsg_CVars* CNETMsg_SetConVar::release_convars() { + clear_has_convars(); + ::CMsg_CVars* temp = convars_; + convars_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CNETMsg_SignonState + +// optional uint32 signon_state = 1; +inline bool CNETMsg_SignonState::has_signon_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_SignonState::set_has_signon_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_SignonState::clear_has_signon_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_SignonState::clear_signon_state() { + signon_state_ = 0u; + clear_has_signon_state(); +} +inline ::google::protobuf::uint32 CNETMsg_SignonState::signon_state() const { + return signon_state_; +} +inline void CNETMsg_SignonState::set_signon_state(::google::protobuf::uint32 value) { + set_has_signon_state(); + signon_state_ = value; +} + +// optional uint32 spawn_count = 2; +inline bool CNETMsg_SignonState::has_spawn_count() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CNETMsg_SignonState::set_has_spawn_count() { + _has_bits_[0] |= 0x00000002u; +} +inline void CNETMsg_SignonState::clear_has_spawn_count() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CNETMsg_SignonState::clear_spawn_count() { + spawn_count_ = 0u; + clear_has_spawn_count(); +} +inline ::google::protobuf::uint32 CNETMsg_SignonState::spawn_count() const { + return spawn_count_; +} +inline void CNETMsg_SignonState::set_spawn_count(::google::protobuf::uint32 value) { + set_has_spawn_count(); + spawn_count_ = value; +} + +// optional uint32 num_server_players = 3; +inline bool CNETMsg_SignonState::has_num_server_players() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CNETMsg_SignonState::set_has_num_server_players() { + _has_bits_[0] |= 0x00000004u; +} +inline void CNETMsg_SignonState::clear_has_num_server_players() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CNETMsg_SignonState::clear_num_server_players() { + num_server_players_ = 0u; + clear_has_num_server_players(); +} +inline ::google::protobuf::uint32 CNETMsg_SignonState::num_server_players() const { + return num_server_players_; +} +inline void CNETMsg_SignonState::set_num_server_players(::google::protobuf::uint32 value) { + set_has_num_server_players(); + num_server_players_ = value; +} + +// repeated string players_networkids = 4; +inline int CNETMsg_SignonState::players_networkids_size() const { + return players_networkids_.size(); +} +inline void CNETMsg_SignonState::clear_players_networkids() { + players_networkids_.Clear(); +} +inline const ::std::string& CNETMsg_SignonState::players_networkids(int index) const { + return players_networkids_.Get(index); +} +inline ::std::string* CNETMsg_SignonState::mutable_players_networkids(int index) { + return players_networkids_.Mutable(index); +} +inline void CNETMsg_SignonState::set_players_networkids(int index, const ::std::string& value) { + players_networkids_.Mutable(index)->assign(value); +} +inline void CNETMsg_SignonState::set_players_networkids(int index, const char* value) { + players_networkids_.Mutable(index)->assign(value); +} +inline void CNETMsg_SignonState::set_players_networkids(int index, const char* value, size_t size) { + players_networkids_.Mutable(index)->assign( + reinterpret_cast(value), size); +} +inline ::std::string* CNETMsg_SignonState::add_players_networkids() { + return players_networkids_.Add(); +} +inline void CNETMsg_SignonState::add_players_networkids(const ::std::string& value) { + players_networkids_.Add()->assign(value); +} +inline void CNETMsg_SignonState::add_players_networkids(const char* value) { + players_networkids_.Add()->assign(value); +} +inline void CNETMsg_SignonState::add_players_networkids(const char* value, size_t size) { + players_networkids_.Add()->assign(reinterpret_cast(value), size); +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +CNETMsg_SignonState::players_networkids() const { + return players_networkids_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +CNETMsg_SignonState::mutable_players_networkids() { + return &players_networkids_; +} + +// optional string map_name = 5; +inline bool CNETMsg_SignonState::has_map_name() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CNETMsg_SignonState::set_has_map_name() { + _has_bits_[0] |= 0x00000010u; +} +inline void CNETMsg_SignonState::clear_has_map_name() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CNETMsg_SignonState::clear_map_name() { + if (map_name_ != &::google::protobuf::internal::kEmptyString) { + map_name_->clear(); + } + clear_has_map_name(); +} +inline const ::std::string& CNETMsg_SignonState::map_name() const { + return *map_name_; +} +inline void CNETMsg_SignonState::set_map_name(const ::std::string& value) { + set_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + map_name_ = new ::std::string; + } + map_name_->assign(value); +} +inline void CNETMsg_SignonState::set_map_name(const char* value) { + set_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + map_name_ = new ::std::string; + } + map_name_->assign(value); +} +inline void CNETMsg_SignonState::set_map_name(const char* value, size_t size) { + set_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + map_name_ = new ::std::string; + } + map_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CNETMsg_SignonState::mutable_map_name() { + set_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + map_name_ = new ::std::string; + } + return map_name_; +} +inline ::std::string* CNETMsg_SignonState::release_map_name() { + clear_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = map_name_; + map_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CCLCMsg_ClientInfo + +// optional fixed32 send_table_crc = 1; +inline bool CCLCMsg_ClientInfo::has_send_table_crc() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_ClientInfo::set_has_send_table_crc() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_ClientInfo::clear_has_send_table_crc() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_ClientInfo::clear_send_table_crc() { + send_table_crc_ = 0u; + clear_has_send_table_crc(); +} +inline ::google::protobuf::uint32 CCLCMsg_ClientInfo::send_table_crc() const { + return send_table_crc_; +} +inline void CCLCMsg_ClientInfo::set_send_table_crc(::google::protobuf::uint32 value) { + set_has_send_table_crc(); + send_table_crc_ = value; +} + +// optional uint32 server_count = 2; +inline bool CCLCMsg_ClientInfo::has_server_count() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CCLCMsg_ClientInfo::set_has_server_count() { + _has_bits_[0] |= 0x00000002u; +} +inline void CCLCMsg_ClientInfo::clear_has_server_count() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CCLCMsg_ClientInfo::clear_server_count() { + server_count_ = 0u; + clear_has_server_count(); +} +inline ::google::protobuf::uint32 CCLCMsg_ClientInfo::server_count() const { + return server_count_; +} +inline void CCLCMsg_ClientInfo::set_server_count(::google::protobuf::uint32 value) { + set_has_server_count(); + server_count_ = value; +} + +// optional bool is_hltv = 3; +inline bool CCLCMsg_ClientInfo::has_is_hltv() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CCLCMsg_ClientInfo::set_has_is_hltv() { + _has_bits_[0] |= 0x00000004u; +} +inline void CCLCMsg_ClientInfo::clear_has_is_hltv() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CCLCMsg_ClientInfo::clear_is_hltv() { + is_hltv_ = false; + clear_has_is_hltv(); +} +inline bool CCLCMsg_ClientInfo::is_hltv() const { + return is_hltv_; +} +inline void CCLCMsg_ClientInfo::set_is_hltv(bool value) { + set_has_is_hltv(); + is_hltv_ = value; +} + +// optional bool is_replay = 4; +inline bool CCLCMsg_ClientInfo::has_is_replay() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CCLCMsg_ClientInfo::set_has_is_replay() { + _has_bits_[0] |= 0x00000008u; +} +inline void CCLCMsg_ClientInfo::clear_has_is_replay() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CCLCMsg_ClientInfo::clear_is_replay() { + is_replay_ = false; + clear_has_is_replay(); +} +inline bool CCLCMsg_ClientInfo::is_replay() const { + return is_replay_; +} +inline void CCLCMsg_ClientInfo::set_is_replay(bool value) { + set_has_is_replay(); + is_replay_ = value; +} + +// optional uint32 friends_id = 5; +inline bool CCLCMsg_ClientInfo::has_friends_id() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CCLCMsg_ClientInfo::set_has_friends_id() { + _has_bits_[0] |= 0x00000010u; +} +inline void CCLCMsg_ClientInfo::clear_has_friends_id() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CCLCMsg_ClientInfo::clear_friends_id() { + friends_id_ = 0u; + clear_has_friends_id(); +} +inline ::google::protobuf::uint32 CCLCMsg_ClientInfo::friends_id() const { + return friends_id_; +} +inline void CCLCMsg_ClientInfo::set_friends_id(::google::protobuf::uint32 value) { + set_has_friends_id(); + friends_id_ = value; +} + +// optional string friends_name = 6; +inline bool CCLCMsg_ClientInfo::has_friends_name() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CCLCMsg_ClientInfo::set_has_friends_name() { + _has_bits_[0] |= 0x00000020u; +} +inline void CCLCMsg_ClientInfo::clear_has_friends_name() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CCLCMsg_ClientInfo::clear_friends_name() { + if (friends_name_ != &::google::protobuf::internal::kEmptyString) { + friends_name_->clear(); + } + clear_has_friends_name(); +} +inline const ::std::string& CCLCMsg_ClientInfo::friends_name() const { + return *friends_name_; +} +inline void CCLCMsg_ClientInfo::set_friends_name(const ::std::string& value) { + set_has_friends_name(); + if (friends_name_ == &::google::protobuf::internal::kEmptyString) { + friends_name_ = new ::std::string; + } + friends_name_->assign(value); +} +inline void CCLCMsg_ClientInfo::set_friends_name(const char* value) { + set_has_friends_name(); + if (friends_name_ == &::google::protobuf::internal::kEmptyString) { + friends_name_ = new ::std::string; + } + friends_name_->assign(value); +} +inline void CCLCMsg_ClientInfo::set_friends_name(const char* value, size_t size) { + set_has_friends_name(); + if (friends_name_ == &::google::protobuf::internal::kEmptyString) { + friends_name_ = new ::std::string; + } + friends_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CCLCMsg_ClientInfo::mutable_friends_name() { + set_has_friends_name(); + if (friends_name_ == &::google::protobuf::internal::kEmptyString) { + friends_name_ = new ::std::string; + } + return friends_name_; +} +inline ::std::string* CCLCMsg_ClientInfo::release_friends_name() { + clear_has_friends_name(); + if (friends_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = friends_name_; + friends_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// repeated fixed32 custom_files = 7; +inline int CCLCMsg_ClientInfo::custom_files_size() const { + return custom_files_.size(); +} +inline void CCLCMsg_ClientInfo::clear_custom_files() { + custom_files_.Clear(); +} +inline ::google::protobuf::uint32 CCLCMsg_ClientInfo::custom_files(int index) const { + return custom_files_.Get(index); +} +inline void CCLCMsg_ClientInfo::set_custom_files(int index, ::google::protobuf::uint32 value) { + custom_files_.Set(index, value); +} +inline void CCLCMsg_ClientInfo::add_custom_files(::google::protobuf::uint32 value) { + custom_files_.Add(value); +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +CCLCMsg_ClientInfo::custom_files() const { + return custom_files_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +CCLCMsg_ClientInfo::mutable_custom_files() { + return &custom_files_; +} + +// ------------------------------------------------------------------- + +// CCLCMsg_Move + +// optional uint32 num_backup_commands = 1; +inline bool CCLCMsg_Move::has_num_backup_commands() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_Move::set_has_num_backup_commands() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_Move::clear_has_num_backup_commands() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_Move::clear_num_backup_commands() { + num_backup_commands_ = 0u; + clear_has_num_backup_commands(); +} +inline ::google::protobuf::uint32 CCLCMsg_Move::num_backup_commands() const { + return num_backup_commands_; +} +inline void CCLCMsg_Move::set_num_backup_commands(::google::protobuf::uint32 value) { + set_has_num_backup_commands(); + num_backup_commands_ = value; +} + +// optional uint32 num_new_commands = 2; +inline bool CCLCMsg_Move::has_num_new_commands() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CCLCMsg_Move::set_has_num_new_commands() { + _has_bits_[0] |= 0x00000002u; +} +inline void CCLCMsg_Move::clear_has_num_new_commands() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CCLCMsg_Move::clear_num_new_commands() { + num_new_commands_ = 0u; + clear_has_num_new_commands(); +} +inline ::google::protobuf::uint32 CCLCMsg_Move::num_new_commands() const { + return num_new_commands_; +} +inline void CCLCMsg_Move::set_num_new_commands(::google::protobuf::uint32 value) { + set_has_num_new_commands(); + num_new_commands_ = value; +} + +// optional bytes data = 3; +inline bool CCLCMsg_Move::has_data() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CCLCMsg_Move::set_has_data() { + _has_bits_[0] |= 0x00000004u; +} +inline void CCLCMsg_Move::clear_has_data() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CCLCMsg_Move::clear_data() { + if (data_ != &::google::protobuf::internal::kEmptyString) { + data_->clear(); + } + clear_has_data(); +} +inline const ::std::string& CCLCMsg_Move::data() const { + return *data_; +} +inline void CCLCMsg_Move::set_data(const ::std::string& value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(value); +} +inline void CCLCMsg_Move::set_data(const char* value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(value); +} +inline void CCLCMsg_Move::set_data(const void* value, size_t size) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CCLCMsg_Move::mutable_data() { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + return data_; +} +inline ::std::string* CCLCMsg_Move::release_data() { + clear_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = data_; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CCLCMsg_VoiceData + +// optional bytes data = 1; +inline bool CCLCMsg_VoiceData::has_data() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_VoiceData::set_has_data() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_VoiceData::clear_has_data() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_VoiceData::clear_data() { + if (data_ != &::google::protobuf::internal::kEmptyString) { + data_->clear(); + } + clear_has_data(); +} +inline const ::std::string& CCLCMsg_VoiceData::data() const { + return *data_; +} +inline void CCLCMsg_VoiceData::set_data(const ::std::string& value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(value); +} +inline void CCLCMsg_VoiceData::set_data(const char* value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(value); +} +inline void CCLCMsg_VoiceData::set_data(const void* value, size_t size) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CCLCMsg_VoiceData::mutable_data() { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + return data_; +} +inline ::std::string* CCLCMsg_VoiceData::release_data() { + clear_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = data_; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional fixed64 xuid = 2; +inline bool CCLCMsg_VoiceData::has_xuid() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CCLCMsg_VoiceData::set_has_xuid() { + _has_bits_[0] |= 0x00000002u; +} +inline void CCLCMsg_VoiceData::clear_has_xuid() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CCLCMsg_VoiceData::clear_xuid() { + xuid_ = GOOGLE_ULONGLONG(0); + clear_has_xuid(); +} +inline ::google::protobuf::uint64 CCLCMsg_VoiceData::xuid() const { + return xuid_; +} +inline void CCLCMsg_VoiceData::set_xuid(::google::protobuf::uint64 value) { + set_has_xuid(); + xuid_ = value; +} + +// optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; +inline bool CCLCMsg_VoiceData::has_format() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CCLCMsg_VoiceData::set_has_format() { + _has_bits_[0] |= 0x00000004u; +} +inline void CCLCMsg_VoiceData::clear_has_format() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CCLCMsg_VoiceData::clear_format() { + format_ = 0; + clear_has_format(); +} +inline VoiceDataFormat_t CCLCMsg_VoiceData::format() const { + return static_cast< VoiceDataFormat_t >(format_); +} +inline void CCLCMsg_VoiceData::set_format(VoiceDataFormat_t value) { + GOOGLE_DCHECK(VoiceDataFormat_t_IsValid(value)); + set_has_format(); + format_ = value; +} + +// ------------------------------------------------------------------- + +// CCLCMsg_BaselineAck + +// optional int32 baseline_tick = 1; +inline bool CCLCMsg_BaselineAck::has_baseline_tick() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_BaselineAck::set_has_baseline_tick() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_BaselineAck::clear_has_baseline_tick() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_BaselineAck::clear_baseline_tick() { + baseline_tick_ = 0; + clear_has_baseline_tick(); +} +inline ::google::protobuf::int32 CCLCMsg_BaselineAck::baseline_tick() const { + return baseline_tick_; +} +inline void CCLCMsg_BaselineAck::set_baseline_tick(::google::protobuf::int32 value) { + set_has_baseline_tick(); + baseline_tick_ = value; +} + +// optional int32 baseline_nr = 2; +inline bool CCLCMsg_BaselineAck::has_baseline_nr() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CCLCMsg_BaselineAck::set_has_baseline_nr() { + _has_bits_[0] |= 0x00000002u; +} +inline void CCLCMsg_BaselineAck::clear_has_baseline_nr() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CCLCMsg_BaselineAck::clear_baseline_nr() { + baseline_nr_ = 0; + clear_has_baseline_nr(); +} +inline ::google::protobuf::int32 CCLCMsg_BaselineAck::baseline_nr() const { + return baseline_nr_; +} +inline void CCLCMsg_BaselineAck::set_baseline_nr(::google::protobuf::int32 value) { + set_has_baseline_nr(); + baseline_nr_ = value; +} + +// ------------------------------------------------------------------- + +// CCLCMsg_ListenEvents + +// repeated fixed32 event_mask = 1; +inline int CCLCMsg_ListenEvents::event_mask_size() const { + return event_mask_.size(); +} +inline void CCLCMsg_ListenEvents::clear_event_mask() { + event_mask_.Clear(); +} +inline ::google::protobuf::uint32 CCLCMsg_ListenEvents::event_mask(int index) const { + return event_mask_.Get(index); +} +inline void CCLCMsg_ListenEvents::set_event_mask(int index, ::google::protobuf::uint32 value) { + event_mask_.Set(index, value); +} +inline void CCLCMsg_ListenEvents::add_event_mask(::google::protobuf::uint32 value) { + event_mask_.Add(value); +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +CCLCMsg_ListenEvents::event_mask() const { + return event_mask_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +CCLCMsg_ListenEvents::mutable_event_mask() { + return &event_mask_; +} + +// ------------------------------------------------------------------- + +// CCLCMsg_RespondCvarValue + +// optional int32 cookie = 1; +inline bool CCLCMsg_RespondCvarValue::has_cookie() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_RespondCvarValue::set_has_cookie() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_RespondCvarValue::clear_has_cookie() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_RespondCvarValue::clear_cookie() { + cookie_ = 0; + clear_has_cookie(); +} +inline ::google::protobuf::int32 CCLCMsg_RespondCvarValue::cookie() const { + return cookie_; +} +inline void CCLCMsg_RespondCvarValue::set_cookie(::google::protobuf::int32 value) { + set_has_cookie(); + cookie_ = value; +} + +// optional int32 status_code = 2; +inline bool CCLCMsg_RespondCvarValue::has_status_code() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CCLCMsg_RespondCvarValue::set_has_status_code() { + _has_bits_[0] |= 0x00000002u; +} +inline void CCLCMsg_RespondCvarValue::clear_has_status_code() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CCLCMsg_RespondCvarValue::clear_status_code() { + status_code_ = 0; + clear_has_status_code(); +} +inline ::google::protobuf::int32 CCLCMsg_RespondCvarValue::status_code() const { + return status_code_; +} +inline void CCLCMsg_RespondCvarValue::set_status_code(::google::protobuf::int32 value) { + set_has_status_code(); + status_code_ = value; +} + +// optional string name = 3; +inline bool CCLCMsg_RespondCvarValue::has_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CCLCMsg_RespondCvarValue::set_has_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void CCLCMsg_RespondCvarValue::clear_has_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CCLCMsg_RespondCvarValue::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CCLCMsg_RespondCvarValue::name() const { + return *name_; +} +inline void CCLCMsg_RespondCvarValue::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CCLCMsg_RespondCvarValue::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CCLCMsg_RespondCvarValue::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CCLCMsg_RespondCvarValue::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CCLCMsg_RespondCvarValue::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string value = 4; +inline bool CCLCMsg_RespondCvarValue::has_value() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CCLCMsg_RespondCvarValue::set_has_value() { + _has_bits_[0] |= 0x00000008u; +} +inline void CCLCMsg_RespondCvarValue::clear_has_value() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CCLCMsg_RespondCvarValue::clear_value() { + if (value_ != &::google::protobuf::internal::kEmptyString) { + value_->clear(); + } + clear_has_value(); +} +inline const ::std::string& CCLCMsg_RespondCvarValue::value() const { + return *value_; +} +inline void CCLCMsg_RespondCvarValue::set_value(const ::std::string& value) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(value); +} +inline void CCLCMsg_RespondCvarValue::set_value(const char* value) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(value); +} +inline void CCLCMsg_RespondCvarValue::set_value(const char* value, size_t size) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CCLCMsg_RespondCvarValue::mutable_value() { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + return value_; +} +inline ::std::string* CCLCMsg_RespondCvarValue::release_value() { + clear_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = value_; + value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CCLCMsg_FileCRCCheck + +// optional int32 code_path = 1; +inline bool CCLCMsg_FileCRCCheck::has_code_path() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_FileCRCCheck::set_has_code_path() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_FileCRCCheck::clear_has_code_path() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_FileCRCCheck::clear_code_path() { + code_path_ = 0; + clear_has_code_path(); +} +inline ::google::protobuf::int32 CCLCMsg_FileCRCCheck::code_path() const { + return code_path_; +} +inline void CCLCMsg_FileCRCCheck::set_code_path(::google::protobuf::int32 value) { + set_has_code_path(); + code_path_ = value; +} + +// optional string path = 2; +inline bool CCLCMsg_FileCRCCheck::has_path() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CCLCMsg_FileCRCCheck::set_has_path() { + _has_bits_[0] |= 0x00000002u; +} +inline void CCLCMsg_FileCRCCheck::clear_has_path() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CCLCMsg_FileCRCCheck::clear_path() { + if (path_ != &::google::protobuf::internal::kEmptyString) { + path_->clear(); + } + clear_has_path(); +} +inline const ::std::string& CCLCMsg_FileCRCCheck::path() const { + return *path_; +} +inline void CCLCMsg_FileCRCCheck::set_path(const ::std::string& value) { + set_has_path(); + if (path_ == &::google::protobuf::internal::kEmptyString) { + path_ = new ::std::string; + } + path_->assign(value); +} +inline void CCLCMsg_FileCRCCheck::set_path(const char* value) { + set_has_path(); + if (path_ == &::google::protobuf::internal::kEmptyString) { + path_ = new ::std::string; + } + path_->assign(value); +} +inline void CCLCMsg_FileCRCCheck::set_path(const char* value, size_t size) { + set_has_path(); + if (path_ == &::google::protobuf::internal::kEmptyString) { + path_ = new ::std::string; + } + path_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CCLCMsg_FileCRCCheck::mutable_path() { + set_has_path(); + if (path_ == &::google::protobuf::internal::kEmptyString) { + path_ = new ::std::string; + } + return path_; +} +inline ::std::string* CCLCMsg_FileCRCCheck::release_path() { + clear_has_path(); + if (path_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = path_; + path_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 code_filename = 3; +inline bool CCLCMsg_FileCRCCheck::has_code_filename() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CCLCMsg_FileCRCCheck::set_has_code_filename() { + _has_bits_[0] |= 0x00000004u; +} +inline void CCLCMsg_FileCRCCheck::clear_has_code_filename() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CCLCMsg_FileCRCCheck::clear_code_filename() { + code_filename_ = 0; + clear_has_code_filename(); +} +inline ::google::protobuf::int32 CCLCMsg_FileCRCCheck::code_filename() const { + return code_filename_; +} +inline void CCLCMsg_FileCRCCheck::set_code_filename(::google::protobuf::int32 value) { + set_has_code_filename(); + code_filename_ = value; +} + +// optional string filename = 4; +inline bool CCLCMsg_FileCRCCheck::has_filename() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CCLCMsg_FileCRCCheck::set_has_filename() { + _has_bits_[0] |= 0x00000008u; +} +inline void CCLCMsg_FileCRCCheck::clear_has_filename() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CCLCMsg_FileCRCCheck::clear_filename() { + if (filename_ != &::google::protobuf::internal::kEmptyString) { + filename_->clear(); + } + clear_has_filename(); +} +inline const ::std::string& CCLCMsg_FileCRCCheck::filename() const { + return *filename_; +} +inline void CCLCMsg_FileCRCCheck::set_filename(const ::std::string& value) { + set_has_filename(); + if (filename_ == &::google::protobuf::internal::kEmptyString) { + filename_ = new ::std::string; + } + filename_->assign(value); +} +inline void CCLCMsg_FileCRCCheck::set_filename(const char* value) { + set_has_filename(); + if (filename_ == &::google::protobuf::internal::kEmptyString) { + filename_ = new ::std::string; + } + filename_->assign(value); +} +inline void CCLCMsg_FileCRCCheck::set_filename(const char* value, size_t size) { + set_has_filename(); + if (filename_ == &::google::protobuf::internal::kEmptyString) { + filename_ = new ::std::string; + } + filename_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CCLCMsg_FileCRCCheck::mutable_filename() { + set_has_filename(); + if (filename_ == &::google::protobuf::internal::kEmptyString) { + filename_ = new ::std::string; + } + return filename_; +} +inline ::std::string* CCLCMsg_FileCRCCheck::release_filename() { + clear_has_filename(); + if (filename_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = filename_; + filename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional fixed32 crc = 5; +inline bool CCLCMsg_FileCRCCheck::has_crc() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CCLCMsg_FileCRCCheck::set_has_crc() { + _has_bits_[0] |= 0x00000010u; +} +inline void CCLCMsg_FileCRCCheck::clear_has_crc() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CCLCMsg_FileCRCCheck::clear_crc() { + crc_ = 0u; + clear_has_crc(); +} +inline ::google::protobuf::uint32 CCLCMsg_FileCRCCheck::crc() const { + return crc_; +} +inline void CCLCMsg_FileCRCCheck::set_crc(::google::protobuf::uint32 value) { + set_has_crc(); + crc_ = value; +} + +// ------------------------------------------------------------------- + +// CCLCMsg_LoadingProgress + +// optional int32 progress = 1; +inline bool CCLCMsg_LoadingProgress::has_progress() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_LoadingProgress::set_has_progress() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_LoadingProgress::clear_has_progress() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_LoadingProgress::clear_progress() { + progress_ = 0; + clear_has_progress(); +} +inline ::google::protobuf::int32 CCLCMsg_LoadingProgress::progress() const { + return progress_; +} +inline void CCLCMsg_LoadingProgress::set_progress(::google::protobuf::int32 value) { + set_has_progress(); + progress_ = value; +} + +// ------------------------------------------------------------------- + +// CCLCMsg_SplitPlayerConnect + +// optional .CMsg_CVars convars = 1; +inline bool CCLCMsg_SplitPlayerConnect::has_convars() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_SplitPlayerConnect::set_has_convars() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_SplitPlayerConnect::clear_has_convars() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_SplitPlayerConnect::clear_convars() { + if (convars_ != NULL) convars_->::CMsg_CVars::Clear(); + clear_has_convars(); +} +inline const ::CMsg_CVars& CCLCMsg_SplitPlayerConnect::convars() const { + return convars_ != NULL ? *convars_ : *default_instance_->convars_; +} +inline ::CMsg_CVars* CCLCMsg_SplitPlayerConnect::mutable_convars() { + set_has_convars(); + if (convars_ == NULL) convars_ = new ::CMsg_CVars; + return convars_; +} +inline ::CMsg_CVars* CCLCMsg_SplitPlayerConnect::release_convars() { + clear_has_convars(); + ::CMsg_CVars* temp = convars_; + convars_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CCLCMsg_ClientMessage + +// optional int32 msg_type = 1; +inline bool CCLCMsg_ClientMessage::has_msg_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_ClientMessage::set_has_msg_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_ClientMessage::clear_has_msg_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_ClientMessage::clear_msg_type() { + msg_type_ = 0; + clear_has_msg_type(); +} +inline ::google::protobuf::int32 CCLCMsg_ClientMessage::msg_type() const { + return msg_type_; +} +inline void CCLCMsg_ClientMessage::set_msg_type(::google::protobuf::int32 value) { + set_has_msg_type(); + msg_type_ = value; +} + +// optional bytes data = 2; +inline bool CCLCMsg_ClientMessage::has_data() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CCLCMsg_ClientMessage::set_has_data() { + _has_bits_[0] |= 0x00000002u; +} +inline void CCLCMsg_ClientMessage::clear_has_data() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CCLCMsg_ClientMessage::clear_data() { + if (data_ != &::google::protobuf::internal::kEmptyString) { + data_->clear(); + } + clear_has_data(); +} +inline const ::std::string& CCLCMsg_ClientMessage::data() const { + return *data_; +} +inline void CCLCMsg_ClientMessage::set_data(const ::std::string& value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(value); +} +inline void CCLCMsg_ClientMessage::set_data(const char* value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(value); +} +inline void CCLCMsg_ClientMessage::set_data(const void* value, size_t size) { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CCLCMsg_ClientMessage::mutable_data() { + set_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + data_ = new ::std::string; + } + return data_; +} +inline ::std::string* CCLCMsg_ClientMessage::release_data() { + clear_has_data(); + if (data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = data_; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ServerInfo + +// optional int32 protocol = 1; +inline bool CSVCMsg_ServerInfo::has_protocol() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_protocol() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_ServerInfo::clear_has_protocol() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_ServerInfo::clear_protocol() { + protocol_ = 0; + clear_has_protocol(); +} +inline ::google::protobuf::int32 CSVCMsg_ServerInfo::protocol() const { + return protocol_; +} +inline void CSVCMsg_ServerInfo::set_protocol(::google::protobuf::int32 value) { + set_has_protocol(); + protocol_ = value; +} + +// optional int32 server_count = 2; +inline bool CSVCMsg_ServerInfo::has_server_count() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_server_count() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_ServerInfo::clear_has_server_count() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_ServerInfo::clear_server_count() { + server_count_ = 0; + clear_has_server_count(); +} +inline ::google::protobuf::int32 CSVCMsg_ServerInfo::server_count() const { + return server_count_; +} +inline void CSVCMsg_ServerInfo::set_server_count(::google::protobuf::int32 value) { + set_has_server_count(); + server_count_ = value; +} + +// optional bool is_dedicated = 3; +inline bool CSVCMsg_ServerInfo::has_is_dedicated() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_is_dedicated() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_ServerInfo::clear_has_is_dedicated() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_ServerInfo::clear_is_dedicated() { + is_dedicated_ = false; + clear_has_is_dedicated(); +} +inline bool CSVCMsg_ServerInfo::is_dedicated() const { + return is_dedicated_; +} +inline void CSVCMsg_ServerInfo::set_is_dedicated(bool value) { + set_has_is_dedicated(); + is_dedicated_ = value; +} + +// optional bool is_hltv = 4; +inline bool CSVCMsg_ServerInfo::has_is_hltv() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_is_hltv() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_ServerInfo::clear_has_is_hltv() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_ServerInfo::clear_is_hltv() { + is_hltv_ = false; + clear_has_is_hltv(); +} +inline bool CSVCMsg_ServerInfo::is_hltv() const { + return is_hltv_; +} +inline void CSVCMsg_ServerInfo::set_is_hltv(bool value) { + set_has_is_hltv(); + is_hltv_ = value; +} + +// optional bool is_replay = 5; +inline bool CSVCMsg_ServerInfo::has_is_replay() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_is_replay() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_ServerInfo::clear_has_is_replay() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_ServerInfo::clear_is_replay() { + is_replay_ = false; + clear_has_is_replay(); +} +inline bool CSVCMsg_ServerInfo::is_replay() const { + return is_replay_; +} +inline void CSVCMsg_ServerInfo::set_is_replay(bool value) { + set_has_is_replay(); + is_replay_ = value; +} + +// optional int32 c_os = 6; +inline bool CSVCMsg_ServerInfo::has_c_os() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_c_os() { + _has_bits_[0] |= 0x00000020u; +} +inline void CSVCMsg_ServerInfo::clear_has_c_os() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CSVCMsg_ServerInfo::clear_c_os() { + c_os_ = 0; + clear_has_c_os(); +} +inline ::google::protobuf::int32 CSVCMsg_ServerInfo::c_os() const { + return c_os_; +} +inline void CSVCMsg_ServerInfo::set_c_os(::google::protobuf::int32 value) { + set_has_c_os(); + c_os_ = value; +} + +// optional fixed32 map_crc = 7; +inline bool CSVCMsg_ServerInfo::has_map_crc() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_map_crc() { + _has_bits_[0] |= 0x00000040u; +} +inline void CSVCMsg_ServerInfo::clear_has_map_crc() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CSVCMsg_ServerInfo::clear_map_crc() { + map_crc_ = 0u; + clear_has_map_crc(); +} +inline ::google::protobuf::uint32 CSVCMsg_ServerInfo::map_crc() const { + return map_crc_; +} +inline void CSVCMsg_ServerInfo::set_map_crc(::google::protobuf::uint32 value) { + set_has_map_crc(); + map_crc_ = value; +} + +// optional fixed32 client_crc = 8; +inline bool CSVCMsg_ServerInfo::has_client_crc() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_client_crc() { + _has_bits_[0] |= 0x00000080u; +} +inline void CSVCMsg_ServerInfo::clear_has_client_crc() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CSVCMsg_ServerInfo::clear_client_crc() { + client_crc_ = 0u; + clear_has_client_crc(); +} +inline ::google::protobuf::uint32 CSVCMsg_ServerInfo::client_crc() const { + return client_crc_; +} +inline void CSVCMsg_ServerInfo::set_client_crc(::google::protobuf::uint32 value) { + set_has_client_crc(); + client_crc_ = value; +} + +// optional fixed32 string_table_crc = 9; +inline bool CSVCMsg_ServerInfo::has_string_table_crc() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_string_table_crc() { + _has_bits_[0] |= 0x00000100u; +} +inline void CSVCMsg_ServerInfo::clear_has_string_table_crc() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CSVCMsg_ServerInfo::clear_string_table_crc() { + string_table_crc_ = 0u; + clear_has_string_table_crc(); +} +inline ::google::protobuf::uint32 CSVCMsg_ServerInfo::string_table_crc() const { + return string_table_crc_; +} +inline void CSVCMsg_ServerInfo::set_string_table_crc(::google::protobuf::uint32 value) { + set_has_string_table_crc(); + string_table_crc_ = value; +} + +// optional int32 max_clients = 10; +inline bool CSVCMsg_ServerInfo::has_max_clients() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_max_clients() { + _has_bits_[0] |= 0x00000200u; +} +inline void CSVCMsg_ServerInfo::clear_has_max_clients() { + _has_bits_[0] &= ~0x00000200u; +} +inline void CSVCMsg_ServerInfo::clear_max_clients() { + max_clients_ = 0; + clear_has_max_clients(); +} +inline ::google::protobuf::int32 CSVCMsg_ServerInfo::max_clients() const { + return max_clients_; +} +inline void CSVCMsg_ServerInfo::set_max_clients(::google::protobuf::int32 value) { + set_has_max_clients(); + max_clients_ = value; +} + +// optional int32 max_classes = 11; +inline bool CSVCMsg_ServerInfo::has_max_classes() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_max_classes() { + _has_bits_[0] |= 0x00000400u; +} +inline void CSVCMsg_ServerInfo::clear_has_max_classes() { + _has_bits_[0] &= ~0x00000400u; +} +inline void CSVCMsg_ServerInfo::clear_max_classes() { + max_classes_ = 0; + clear_has_max_classes(); +} +inline ::google::protobuf::int32 CSVCMsg_ServerInfo::max_classes() const { + return max_classes_; +} +inline void CSVCMsg_ServerInfo::set_max_classes(::google::protobuf::int32 value) { + set_has_max_classes(); + max_classes_ = value; +} + +// optional int32 player_slot = 12; +inline bool CSVCMsg_ServerInfo::has_player_slot() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_player_slot() { + _has_bits_[0] |= 0x00000800u; +} +inline void CSVCMsg_ServerInfo::clear_has_player_slot() { + _has_bits_[0] &= ~0x00000800u; +} +inline void CSVCMsg_ServerInfo::clear_player_slot() { + player_slot_ = 0; + clear_has_player_slot(); +} +inline ::google::protobuf::int32 CSVCMsg_ServerInfo::player_slot() const { + return player_slot_; +} +inline void CSVCMsg_ServerInfo::set_player_slot(::google::protobuf::int32 value) { + set_has_player_slot(); + player_slot_ = value; +} + +// optional float tick_interval = 13; +inline bool CSVCMsg_ServerInfo::has_tick_interval() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_tick_interval() { + _has_bits_[0] |= 0x00001000u; +} +inline void CSVCMsg_ServerInfo::clear_has_tick_interval() { + _has_bits_[0] &= ~0x00001000u; +} +inline void CSVCMsg_ServerInfo::clear_tick_interval() { + tick_interval_ = 0; + clear_has_tick_interval(); +} +inline float CSVCMsg_ServerInfo::tick_interval() const { + return tick_interval_; +} +inline void CSVCMsg_ServerInfo::set_tick_interval(float value) { + set_has_tick_interval(); + tick_interval_ = value; +} + +// optional string game_dir = 14; +inline bool CSVCMsg_ServerInfo::has_game_dir() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_game_dir() { + _has_bits_[0] |= 0x00002000u; +} +inline void CSVCMsg_ServerInfo::clear_has_game_dir() { + _has_bits_[0] &= ~0x00002000u; +} +inline void CSVCMsg_ServerInfo::clear_game_dir() { + if (game_dir_ != &::google::protobuf::internal::kEmptyString) { + game_dir_->clear(); + } + clear_has_game_dir(); +} +inline const ::std::string& CSVCMsg_ServerInfo::game_dir() const { + return *game_dir_; +} +inline void CSVCMsg_ServerInfo::set_game_dir(const ::std::string& value) { + set_has_game_dir(); + if (game_dir_ == &::google::protobuf::internal::kEmptyString) { + game_dir_ = new ::std::string; + } + game_dir_->assign(value); +} +inline void CSVCMsg_ServerInfo::set_game_dir(const char* value) { + set_has_game_dir(); + if (game_dir_ == &::google::protobuf::internal::kEmptyString) { + game_dir_ = new ::std::string; + } + game_dir_->assign(value); +} +inline void CSVCMsg_ServerInfo::set_game_dir(const char* value, size_t size) { + set_has_game_dir(); + if (game_dir_ == &::google::protobuf::internal::kEmptyString) { + game_dir_ = new ::std::string; + } + game_dir_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_ServerInfo::mutable_game_dir() { + set_has_game_dir(); + if (game_dir_ == &::google::protobuf::internal::kEmptyString) { + game_dir_ = new ::std::string; + } + return game_dir_; +} +inline ::std::string* CSVCMsg_ServerInfo::release_game_dir() { + clear_has_game_dir(); + if (game_dir_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = game_dir_; + game_dir_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string map_name = 15; +inline bool CSVCMsg_ServerInfo::has_map_name() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_map_name() { + _has_bits_[0] |= 0x00004000u; +} +inline void CSVCMsg_ServerInfo::clear_has_map_name() { + _has_bits_[0] &= ~0x00004000u; +} +inline void CSVCMsg_ServerInfo::clear_map_name() { + if (map_name_ != &::google::protobuf::internal::kEmptyString) { + map_name_->clear(); + } + clear_has_map_name(); +} +inline const ::std::string& CSVCMsg_ServerInfo::map_name() const { + return *map_name_; +} +inline void CSVCMsg_ServerInfo::set_map_name(const ::std::string& value) { + set_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + map_name_ = new ::std::string; + } + map_name_->assign(value); +} +inline void CSVCMsg_ServerInfo::set_map_name(const char* value) { + set_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + map_name_ = new ::std::string; + } + map_name_->assign(value); +} +inline void CSVCMsg_ServerInfo::set_map_name(const char* value, size_t size) { + set_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + map_name_ = new ::std::string; + } + map_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_ServerInfo::mutable_map_name() { + set_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + map_name_ = new ::std::string; + } + return map_name_; +} +inline ::std::string* CSVCMsg_ServerInfo::release_map_name() { + clear_has_map_name(); + if (map_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = map_name_; + map_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string sky_name = 16; +inline bool CSVCMsg_ServerInfo::has_sky_name() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_sky_name() { + _has_bits_[0] |= 0x00008000u; +} +inline void CSVCMsg_ServerInfo::clear_has_sky_name() { + _has_bits_[0] &= ~0x00008000u; +} +inline void CSVCMsg_ServerInfo::clear_sky_name() { + if (sky_name_ != &::google::protobuf::internal::kEmptyString) { + sky_name_->clear(); + } + clear_has_sky_name(); +} +inline const ::std::string& CSVCMsg_ServerInfo::sky_name() const { + return *sky_name_; +} +inline void CSVCMsg_ServerInfo::set_sky_name(const ::std::string& value) { + set_has_sky_name(); + if (sky_name_ == &::google::protobuf::internal::kEmptyString) { + sky_name_ = new ::std::string; + } + sky_name_->assign(value); +} +inline void CSVCMsg_ServerInfo::set_sky_name(const char* value) { + set_has_sky_name(); + if (sky_name_ == &::google::protobuf::internal::kEmptyString) { + sky_name_ = new ::std::string; + } + sky_name_->assign(value); +} +inline void CSVCMsg_ServerInfo::set_sky_name(const char* value, size_t size) { + set_has_sky_name(); + if (sky_name_ == &::google::protobuf::internal::kEmptyString) { + sky_name_ = new ::std::string; + } + sky_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_ServerInfo::mutable_sky_name() { + set_has_sky_name(); + if (sky_name_ == &::google::protobuf::internal::kEmptyString) { + sky_name_ = new ::std::string; + } + return sky_name_; +} +inline ::std::string* CSVCMsg_ServerInfo::release_sky_name() { + clear_has_sky_name(); + if (sky_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = sky_name_; + sky_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string host_name = 17; +inline bool CSVCMsg_ServerInfo::has_host_name() const { + return (_has_bits_[0] & 0x00010000u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_host_name() { + _has_bits_[0] |= 0x00010000u; +} +inline void CSVCMsg_ServerInfo::clear_has_host_name() { + _has_bits_[0] &= ~0x00010000u; +} +inline void CSVCMsg_ServerInfo::clear_host_name() { + if (host_name_ != &::google::protobuf::internal::kEmptyString) { + host_name_->clear(); + } + clear_has_host_name(); +} +inline const ::std::string& CSVCMsg_ServerInfo::host_name() const { + return *host_name_; +} +inline void CSVCMsg_ServerInfo::set_host_name(const ::std::string& value) { + set_has_host_name(); + if (host_name_ == &::google::protobuf::internal::kEmptyString) { + host_name_ = new ::std::string; + } + host_name_->assign(value); +} +inline void CSVCMsg_ServerInfo::set_host_name(const char* value) { + set_has_host_name(); + if (host_name_ == &::google::protobuf::internal::kEmptyString) { + host_name_ = new ::std::string; + } + host_name_->assign(value); +} +inline void CSVCMsg_ServerInfo::set_host_name(const char* value, size_t size) { + set_has_host_name(); + if (host_name_ == &::google::protobuf::internal::kEmptyString) { + host_name_ = new ::std::string; + } + host_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_ServerInfo::mutable_host_name() { + set_has_host_name(); + if (host_name_ == &::google::protobuf::internal::kEmptyString) { + host_name_ = new ::std::string; + } + return host_name_; +} +inline ::std::string* CSVCMsg_ServerInfo::release_host_name() { + clear_has_host_name(); + if (host_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = host_name_; + host_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ClassInfo_class_t + +// optional int32 class_id = 1; +inline bool CSVCMsg_ClassInfo_class_t::has_class_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_ClassInfo_class_t::set_has_class_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_ClassInfo_class_t::clear_has_class_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_ClassInfo_class_t::clear_class_id() { + class_id_ = 0; + clear_has_class_id(); +} +inline ::google::protobuf::int32 CSVCMsg_ClassInfo_class_t::class_id() const { + return class_id_; +} +inline void CSVCMsg_ClassInfo_class_t::set_class_id(::google::protobuf::int32 value) { + set_has_class_id(); + class_id_ = value; +} + +// optional string data_table_name = 2; +inline bool CSVCMsg_ClassInfo_class_t::has_data_table_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_ClassInfo_class_t::set_has_data_table_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_ClassInfo_class_t::clear_has_data_table_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_ClassInfo_class_t::clear_data_table_name() { + if (data_table_name_ != &::google::protobuf::internal::kEmptyString) { + data_table_name_->clear(); + } + clear_has_data_table_name(); +} +inline const ::std::string& CSVCMsg_ClassInfo_class_t::data_table_name() const { + return *data_table_name_; +} +inline void CSVCMsg_ClassInfo_class_t::set_data_table_name(const ::std::string& value) { + set_has_data_table_name(); + if (data_table_name_ == &::google::protobuf::internal::kEmptyString) { + data_table_name_ = new ::std::string; + } + data_table_name_->assign(value); +} +inline void CSVCMsg_ClassInfo_class_t::set_data_table_name(const char* value) { + set_has_data_table_name(); + if (data_table_name_ == &::google::protobuf::internal::kEmptyString) { + data_table_name_ = new ::std::string; + } + data_table_name_->assign(value); +} +inline void CSVCMsg_ClassInfo_class_t::set_data_table_name(const char* value, size_t size) { + set_has_data_table_name(); + if (data_table_name_ == &::google::protobuf::internal::kEmptyString) { + data_table_name_ = new ::std::string; + } + data_table_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_ClassInfo_class_t::mutable_data_table_name() { + set_has_data_table_name(); + if (data_table_name_ == &::google::protobuf::internal::kEmptyString) { + data_table_name_ = new ::std::string; + } + return data_table_name_; +} +inline ::std::string* CSVCMsg_ClassInfo_class_t::release_data_table_name() { + clear_has_data_table_name(); + if (data_table_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = data_table_name_; + data_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string class_name = 3; +inline bool CSVCMsg_ClassInfo_class_t::has_class_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_ClassInfo_class_t::set_has_class_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_ClassInfo_class_t::clear_has_class_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_ClassInfo_class_t::clear_class_name() { + if (class_name_ != &::google::protobuf::internal::kEmptyString) { + class_name_->clear(); + } + clear_has_class_name(); +} +inline const ::std::string& CSVCMsg_ClassInfo_class_t::class_name() const { + return *class_name_; +} +inline void CSVCMsg_ClassInfo_class_t::set_class_name(const ::std::string& value) { + set_has_class_name(); + if (class_name_ == &::google::protobuf::internal::kEmptyString) { + class_name_ = new ::std::string; + } + class_name_->assign(value); +} +inline void CSVCMsg_ClassInfo_class_t::set_class_name(const char* value) { + set_has_class_name(); + if (class_name_ == &::google::protobuf::internal::kEmptyString) { + class_name_ = new ::std::string; + } + class_name_->assign(value); +} +inline void CSVCMsg_ClassInfo_class_t::set_class_name(const char* value, size_t size) { + set_has_class_name(); + if (class_name_ == &::google::protobuf::internal::kEmptyString) { + class_name_ = new ::std::string; + } + class_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_ClassInfo_class_t::mutable_class_name() { + set_has_class_name(); + if (class_name_ == &::google::protobuf::internal::kEmptyString) { + class_name_ = new ::std::string; + } + return class_name_; +} +inline ::std::string* CSVCMsg_ClassInfo_class_t::release_class_name() { + clear_has_class_name(); + if (class_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = class_name_; + class_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ClassInfo + +// optional bool create_on_client = 1; +inline bool CSVCMsg_ClassInfo::has_create_on_client() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_ClassInfo::set_has_create_on_client() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_ClassInfo::clear_has_create_on_client() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_ClassInfo::clear_create_on_client() { + create_on_client_ = false; + clear_has_create_on_client(); +} +inline bool CSVCMsg_ClassInfo::create_on_client() const { + return create_on_client_; +} +inline void CSVCMsg_ClassInfo::set_create_on_client(bool value) { + set_has_create_on_client(); + create_on_client_ = value; +} + +// repeated .CSVCMsg_ClassInfo.class_t classes = 2; +inline int CSVCMsg_ClassInfo::classes_size() const { + return classes_.size(); +} +inline void CSVCMsg_ClassInfo::clear_classes() { + classes_.Clear(); +} +inline const ::CSVCMsg_ClassInfo_class_t& CSVCMsg_ClassInfo::classes(int index) const { + return classes_.Get(index); +} +inline ::CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo::mutable_classes(int index) { + return classes_.Mutable(index); +} +inline ::CSVCMsg_ClassInfo_class_t* CSVCMsg_ClassInfo::add_classes() { + return classes_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >& +CSVCMsg_ClassInfo::classes() const { + return classes_; +} +inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_ClassInfo_class_t >* +CSVCMsg_ClassInfo::mutable_classes() { + return &classes_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SetPause + +// optional bool paused = 1; +inline bool CSVCMsg_SetPause::has_paused() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_SetPause::set_has_paused() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_SetPause::clear_has_paused() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_SetPause::clear_paused() { + paused_ = false; + clear_has_paused(); +} +inline bool CSVCMsg_SetPause::paused() const { + return paused_; +} +inline void CSVCMsg_SetPause::set_paused(bool value) { + set_has_paused(); + paused_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_VoiceInit + +// optional int32 quality = 1; +inline bool CSVCMsg_VoiceInit::has_quality() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_VoiceInit::set_has_quality() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_VoiceInit::clear_has_quality() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_VoiceInit::clear_quality() { + quality_ = 0; + clear_has_quality(); +} +inline ::google::protobuf::int32 CSVCMsg_VoiceInit::quality() const { + return quality_; +} +inline void CSVCMsg_VoiceInit::set_quality(::google::protobuf::int32 value) { + set_has_quality(); + quality_ = value; +} + +// optional string codec = 2; +inline bool CSVCMsg_VoiceInit::has_codec() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_VoiceInit::set_has_codec() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_VoiceInit::clear_has_codec() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_VoiceInit::clear_codec() { + if (codec_ != &::google::protobuf::internal::kEmptyString) { + codec_->clear(); + } + clear_has_codec(); +} +inline const ::std::string& CSVCMsg_VoiceInit::codec() const { + return *codec_; +} +inline void CSVCMsg_VoiceInit::set_codec(const ::std::string& value) { + set_has_codec(); + if (codec_ == &::google::protobuf::internal::kEmptyString) { + codec_ = new ::std::string; + } + codec_->assign(value); +} +inline void CSVCMsg_VoiceInit::set_codec(const char* value) { + set_has_codec(); + if (codec_ == &::google::protobuf::internal::kEmptyString) { + codec_ = new ::std::string; + } + codec_->assign(value); +} +inline void CSVCMsg_VoiceInit::set_codec(const char* value, size_t size) { + set_has_codec(); + if (codec_ == &::google::protobuf::internal::kEmptyString) { + codec_ = new ::std::string; + } + codec_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_VoiceInit::mutable_codec() { + set_has_codec(); + if (codec_ == &::google::protobuf::internal::kEmptyString) { + codec_ = new ::std::string; + } + return codec_; +} +inline ::std::string* CSVCMsg_VoiceInit::release_codec() { + clear_has_codec(); + if (codec_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = codec_; + codec_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 version = 3 [default = 0]; +inline bool CSVCMsg_VoiceInit::has_version() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_VoiceInit::set_has_version() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_VoiceInit::clear_has_version() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_VoiceInit::clear_version() { + version_ = 0; + clear_has_version(); +} +inline ::google::protobuf::int32 CSVCMsg_VoiceInit::version() const { + return version_; +} +inline void CSVCMsg_VoiceInit::set_version(::google::protobuf::int32 value) { + set_has_version(); + version_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Print + +// optional string text = 1; +inline bool CSVCMsg_Print::has_text() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_Print::set_has_text() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_Print::clear_has_text() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_Print::clear_text() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + clear_has_text(); +} +inline const ::std::string& CSVCMsg_Print::text() const { + return *text_; +} +inline void CSVCMsg_Print::set_text(const ::std::string& value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CSVCMsg_Print::set_text(const char* value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CSVCMsg_Print::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(value), size); +} +inline ::std::string* CSVCMsg_Print::mutable_text() { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + return text_; +} +inline ::std::string* CSVCMsg_Print::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; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Sounds_sounddata_t + +// optional sint32 origin_x = 1; +inline bool CSVCMsg_Sounds_sounddata_t::has_origin_x() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_origin_x() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_origin_x() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_origin_x() { + origin_x_ = 0; + clear_has_origin_x(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::origin_x() const { + return origin_x_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_origin_x(::google::protobuf::int32 value) { + set_has_origin_x(); + origin_x_ = value; +} + +// optional sint32 origin_y = 2; +inline bool CSVCMsg_Sounds_sounddata_t::has_origin_y() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_origin_y() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_origin_y() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_origin_y() { + origin_y_ = 0; + clear_has_origin_y(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::origin_y() const { + return origin_y_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_origin_y(::google::protobuf::int32 value) { + set_has_origin_y(); + origin_y_ = value; +} + +// optional sint32 origin_z = 3; +inline bool CSVCMsg_Sounds_sounddata_t::has_origin_z() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_origin_z() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_origin_z() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_origin_z() { + origin_z_ = 0; + clear_has_origin_z(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::origin_z() const { + return origin_z_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_origin_z(::google::protobuf::int32 value) { + set_has_origin_z(); + origin_z_ = value; +} + +// optional uint32 volume = 4; +inline bool CSVCMsg_Sounds_sounddata_t::has_volume() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_volume() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_volume() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_volume() { + volume_ = 0u; + clear_has_volume(); +} +inline ::google::protobuf::uint32 CSVCMsg_Sounds_sounddata_t::volume() const { + return volume_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_volume(::google::protobuf::uint32 value) { + set_has_volume(); + volume_ = value; +} + +// optional float delay_value = 5; +inline bool CSVCMsg_Sounds_sounddata_t::has_delay_value() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_delay_value() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_delay_value() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_delay_value() { + delay_value_ = 0; + clear_has_delay_value(); +} +inline float CSVCMsg_Sounds_sounddata_t::delay_value() const { + return delay_value_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_delay_value(float value) { + set_has_delay_value(); + delay_value_ = value; +} + +// optional int32 sequence_number = 6; +inline bool CSVCMsg_Sounds_sounddata_t::has_sequence_number() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_sequence_number() { + _has_bits_[0] |= 0x00000020u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_sequence_number() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sequence_number() { + sequence_number_ = 0; + clear_has_sequence_number(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::sequence_number() const { + return sequence_number_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sequence_number(::google::protobuf::int32 value) { + set_has_sequence_number(); + sequence_number_ = value; +} + +// optional int32 entity_index = 7; +inline bool CSVCMsg_Sounds_sounddata_t::has_entity_index() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_entity_index() { + _has_bits_[0] |= 0x00000040u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_entity_index() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_entity_index() { + entity_index_ = 0; + clear_has_entity_index(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::entity_index() const { + return entity_index_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_entity_index(::google::protobuf::int32 value) { + set_has_entity_index(); + entity_index_ = value; +} + +// optional int32 channel = 8; +inline bool CSVCMsg_Sounds_sounddata_t::has_channel() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_channel() { + _has_bits_[0] |= 0x00000080u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_channel() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_channel() { + channel_ = 0; + clear_has_channel(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::channel() const { + return channel_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_channel(::google::protobuf::int32 value) { + set_has_channel(); + channel_ = value; +} + +// optional int32 pitch = 9; +inline bool CSVCMsg_Sounds_sounddata_t::has_pitch() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_pitch() { + _has_bits_[0] |= 0x00000100u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_pitch() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_pitch() { + pitch_ = 0; + clear_has_pitch(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::pitch() const { + return pitch_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_pitch(::google::protobuf::int32 value) { + set_has_pitch(); + pitch_ = value; +} + +// optional int32 flags = 10; +inline bool CSVCMsg_Sounds_sounddata_t::has_flags() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_flags() { + _has_bits_[0] |= 0x00000200u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_flags() { + _has_bits_[0] &= ~0x00000200u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_flags() { + flags_ = 0; + clear_has_flags(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::flags() const { + return flags_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_flags(::google::protobuf::int32 value) { + set_has_flags(); + flags_ = value; +} + +// optional uint32 sound_num = 11; +inline bool CSVCMsg_Sounds_sounddata_t::has_sound_num() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_sound_num() { + _has_bits_[0] |= 0x00000400u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_sound_num() { + _has_bits_[0] &= ~0x00000400u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sound_num() { + sound_num_ = 0u; + clear_has_sound_num(); +} +inline ::google::protobuf::uint32 CSVCMsg_Sounds_sounddata_t::sound_num() const { + return sound_num_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sound_num(::google::protobuf::uint32 value) { + set_has_sound_num(); + sound_num_ = value; +} + +// optional fixed32 sound_num_handle = 12; +inline bool CSVCMsg_Sounds_sounddata_t::has_sound_num_handle() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_sound_num_handle() { + _has_bits_[0] |= 0x00000800u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_sound_num_handle() { + _has_bits_[0] &= ~0x00000800u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sound_num_handle() { + sound_num_handle_ = 0u; + clear_has_sound_num_handle(); +} +inline ::google::protobuf::uint32 CSVCMsg_Sounds_sounddata_t::sound_num_handle() const { + return sound_num_handle_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sound_num_handle(::google::protobuf::uint32 value) { + set_has_sound_num_handle(); + sound_num_handle_ = value; +} + +// optional int32 speaker_entity = 13; +inline bool CSVCMsg_Sounds_sounddata_t::has_speaker_entity() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_speaker_entity() { + _has_bits_[0] |= 0x00001000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_speaker_entity() { + _has_bits_[0] &= ~0x00001000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_speaker_entity() { + speaker_entity_ = 0; + clear_has_speaker_entity(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::speaker_entity() const { + return speaker_entity_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_speaker_entity(::google::protobuf::int32 value) { + set_has_speaker_entity(); + speaker_entity_ = value; +} + +// optional int32 random_seed = 14; +inline bool CSVCMsg_Sounds_sounddata_t::has_random_seed() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_random_seed() { + _has_bits_[0] |= 0x00002000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_random_seed() { + _has_bits_[0] &= ~0x00002000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_random_seed() { + random_seed_ = 0; + clear_has_random_seed(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::random_seed() const { + return random_seed_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_random_seed(::google::protobuf::int32 value) { + set_has_random_seed(); + random_seed_ = value; +} + +// optional int32 sound_level = 15; +inline bool CSVCMsg_Sounds_sounddata_t::has_sound_level() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_sound_level() { + _has_bits_[0] |= 0x00004000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_sound_level() { + _has_bits_[0] &= ~0x00004000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sound_level() { + sound_level_ = 0; + clear_has_sound_level(); +} +inline ::google::protobuf::int32 CSVCMsg_Sounds_sounddata_t::sound_level() const { + return sound_level_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sound_level(::google::protobuf::int32 value) { + set_has_sound_level(); + sound_level_ = value; +} + +// optional bool is_sentence = 16; +inline bool CSVCMsg_Sounds_sounddata_t::has_is_sentence() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_is_sentence() { + _has_bits_[0] |= 0x00008000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_is_sentence() { + _has_bits_[0] &= ~0x00008000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_is_sentence() { + is_sentence_ = false; + clear_has_is_sentence(); +} +inline bool CSVCMsg_Sounds_sounddata_t::is_sentence() const { + return is_sentence_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_is_sentence(bool value) { + set_has_is_sentence(); + is_sentence_ = value; +} + +// optional bool is_ambient = 17; +inline bool CSVCMsg_Sounds_sounddata_t::has_is_ambient() const { + return (_has_bits_[0] & 0x00010000u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_is_ambient() { + _has_bits_[0] |= 0x00010000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_is_ambient() { + _has_bits_[0] &= ~0x00010000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_is_ambient() { + is_ambient_ = false; + clear_has_is_ambient(); +} +inline bool CSVCMsg_Sounds_sounddata_t::is_ambient() const { + return is_ambient_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_is_ambient(bool value) { + set_has_is_ambient(); + is_ambient_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Sounds + +// optional bool reliable_sound = 1; +inline bool CSVCMsg_Sounds::has_reliable_sound() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_Sounds::set_has_reliable_sound() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_Sounds::clear_has_reliable_sound() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_Sounds::clear_reliable_sound() { + reliable_sound_ = false; + clear_has_reliable_sound(); +} +inline bool CSVCMsg_Sounds::reliable_sound() const { + return reliable_sound_; +} +inline void CSVCMsg_Sounds::set_reliable_sound(bool value) { + set_has_reliable_sound(); + reliable_sound_ = value; +} + +// repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; +inline int CSVCMsg_Sounds::sounds_size() const { + return sounds_.size(); +} +inline void CSVCMsg_Sounds::clear_sounds() { + sounds_.Clear(); +} +inline const ::CSVCMsg_Sounds_sounddata_t& CSVCMsg_Sounds::sounds(int index) const { + return sounds_.Get(index); +} +inline ::CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds::mutable_sounds(int index) { + return sounds_.Mutable(index); +} +inline ::CSVCMsg_Sounds_sounddata_t* CSVCMsg_Sounds::add_sounds() { + return sounds_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >& +CSVCMsg_Sounds::sounds() const { + return sounds_; +} +inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_Sounds_sounddata_t >* +CSVCMsg_Sounds::mutable_sounds() { + return &sounds_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Prefetch + +// optional int32 sound_index = 1; +inline bool CSVCMsg_Prefetch::has_sound_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_Prefetch::set_has_sound_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_Prefetch::clear_has_sound_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_Prefetch::clear_sound_index() { + sound_index_ = 0; + clear_has_sound_index(); +} +inline ::google::protobuf::int32 CSVCMsg_Prefetch::sound_index() const { + return sound_index_; +} +inline void CSVCMsg_Prefetch::set_sound_index(::google::protobuf::int32 value) { + set_has_sound_index(); + sound_index_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SetView + +// optional int32 entity_index = 1; +inline bool CSVCMsg_SetView::has_entity_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_SetView::set_has_entity_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_SetView::clear_has_entity_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_SetView::clear_entity_index() { + entity_index_ = 0; + clear_has_entity_index(); +} +inline ::google::protobuf::int32 CSVCMsg_SetView::entity_index() const { + return entity_index_; +} +inline void CSVCMsg_SetView::set_entity_index(::google::protobuf::int32 value) { + set_has_entity_index(); + entity_index_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_FixAngle + +// optional bool relative = 1; +inline bool CSVCMsg_FixAngle::has_relative() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_FixAngle::set_has_relative() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_FixAngle::clear_has_relative() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_FixAngle::clear_relative() { + relative_ = false; + clear_has_relative(); +} +inline bool CSVCMsg_FixAngle::relative() const { + return relative_; +} +inline void CSVCMsg_FixAngle::set_relative(bool value) { + set_has_relative(); + relative_ = value; +} + +// optional .CMsgQAngle angle = 2; +inline bool CSVCMsg_FixAngle::has_angle() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_FixAngle::set_has_angle() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_FixAngle::clear_has_angle() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_FixAngle::clear_angle() { + if (angle_ != NULL) angle_->::CMsgQAngle::Clear(); + clear_has_angle(); +} +inline const ::CMsgQAngle& CSVCMsg_FixAngle::angle() const { + return angle_ != NULL ? *angle_ : *default_instance_->angle_; +} +inline ::CMsgQAngle* CSVCMsg_FixAngle::mutable_angle() { + set_has_angle(); + if (angle_ == NULL) angle_ = new ::CMsgQAngle; + return angle_; +} +inline ::CMsgQAngle* CSVCMsg_FixAngle::release_angle() { + clear_has_angle(); + ::CMsgQAngle* temp = angle_; + angle_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_CrosshairAngle + +// optional .CMsgQAngle angle = 1; +inline bool CSVCMsg_CrosshairAngle::has_angle() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_CrosshairAngle::set_has_angle() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_CrosshairAngle::clear_has_angle() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_CrosshairAngle::clear_angle() { + if (angle_ != NULL) angle_->::CMsgQAngle::Clear(); + clear_has_angle(); +} +inline const ::CMsgQAngle& CSVCMsg_CrosshairAngle::angle() const { + return angle_ != NULL ? *angle_ : *default_instance_->angle_; +} +inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::mutable_angle() { + set_has_angle(); + if (angle_ == NULL) angle_ = new ::CMsgQAngle; + return angle_; +} +inline ::CMsgQAngle* CSVCMsg_CrosshairAngle::release_angle() { + clear_has_angle(); + ::CMsgQAngle* temp = angle_; + angle_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_BSPDecal + +// optional .CMsgVector pos = 1; +inline bool CSVCMsg_BSPDecal::has_pos() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_BSPDecal::set_has_pos() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_BSPDecal::clear_has_pos() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_BSPDecal::clear_pos() { + if (pos_ != NULL) pos_->::CMsgVector::Clear(); + clear_has_pos(); +} +inline const ::CMsgVector& CSVCMsg_BSPDecal::pos() const { + return pos_ != NULL ? *pos_ : *default_instance_->pos_; +} +inline ::CMsgVector* CSVCMsg_BSPDecal::mutable_pos() { + set_has_pos(); + if (pos_ == NULL) pos_ = new ::CMsgVector; + return pos_; +} +inline ::CMsgVector* CSVCMsg_BSPDecal::release_pos() { + clear_has_pos(); + ::CMsgVector* temp = pos_; + pos_ = NULL; + return temp; +} + +// optional int32 decal_texture_index = 2; +inline bool CSVCMsg_BSPDecal::has_decal_texture_index() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_BSPDecal::set_has_decal_texture_index() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_BSPDecal::clear_has_decal_texture_index() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_BSPDecal::clear_decal_texture_index() { + decal_texture_index_ = 0; + clear_has_decal_texture_index(); +} +inline ::google::protobuf::int32 CSVCMsg_BSPDecal::decal_texture_index() const { + return decal_texture_index_; +} +inline void CSVCMsg_BSPDecal::set_decal_texture_index(::google::protobuf::int32 value) { + set_has_decal_texture_index(); + decal_texture_index_ = value; +} + +// optional int32 entity_index = 3; +inline bool CSVCMsg_BSPDecal::has_entity_index() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_BSPDecal::set_has_entity_index() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_BSPDecal::clear_has_entity_index() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_BSPDecal::clear_entity_index() { + entity_index_ = 0; + clear_has_entity_index(); +} +inline ::google::protobuf::int32 CSVCMsg_BSPDecal::entity_index() const { + return entity_index_; +} +inline void CSVCMsg_BSPDecal::set_entity_index(::google::protobuf::int32 value) { + set_has_entity_index(); + entity_index_ = value; +} + +// optional int32 model_index = 4; +inline bool CSVCMsg_BSPDecal::has_model_index() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_BSPDecal::set_has_model_index() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_BSPDecal::clear_has_model_index() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_BSPDecal::clear_model_index() { + model_index_ = 0; + clear_has_model_index(); +} +inline ::google::protobuf::int32 CSVCMsg_BSPDecal::model_index() const { + return model_index_; +} +inline void CSVCMsg_BSPDecal::set_model_index(::google::protobuf::int32 value) { + set_has_model_index(); + model_index_ = value; +} + +// optional bool low_priority = 5; +inline bool CSVCMsg_BSPDecal::has_low_priority() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_BSPDecal::set_has_low_priority() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_BSPDecal::clear_has_low_priority() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_BSPDecal::clear_low_priority() { + low_priority_ = false; + clear_has_low_priority(); +} +inline bool CSVCMsg_BSPDecal::low_priority() const { + return low_priority_; +} +inline void CSVCMsg_BSPDecal::set_low_priority(bool value) { + set_has_low_priority(); + low_priority_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SplitScreen + +// optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; +inline bool CSVCMsg_SplitScreen::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_SplitScreen::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_SplitScreen::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_SplitScreen::clear_type() { + type_ = 0; + clear_has_type(); +} +inline ESplitScreenMessageType CSVCMsg_SplitScreen::type() const { + return static_cast< ESplitScreenMessageType >(type_); +} +inline void CSVCMsg_SplitScreen::set_type(ESplitScreenMessageType value) { + GOOGLE_DCHECK(ESplitScreenMessageType_IsValid(value)); + set_has_type(); + type_ = value; +} + +// optional int32 slot = 2; +inline bool CSVCMsg_SplitScreen::has_slot() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_SplitScreen::set_has_slot() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_SplitScreen::clear_has_slot() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_SplitScreen::clear_slot() { + slot_ = 0; + clear_has_slot(); +} +inline ::google::protobuf::int32 CSVCMsg_SplitScreen::slot() const { + return slot_; +} +inline void CSVCMsg_SplitScreen::set_slot(::google::protobuf::int32 value) { + set_has_slot(); + slot_ = value; +} + +// optional int32 player_index = 3; +inline bool CSVCMsg_SplitScreen::has_player_index() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_SplitScreen::set_has_player_index() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_SplitScreen::clear_has_player_index() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_SplitScreen::clear_player_index() { + player_index_ = 0; + clear_has_player_index(); +} +inline ::google::protobuf::int32 CSVCMsg_SplitScreen::player_index() const { + return player_index_; +} +inline void CSVCMsg_SplitScreen::set_player_index(::google::protobuf::int32 value) { + set_has_player_index(); + player_index_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GetCvarValue + +// optional int32 cookie = 1; +inline bool CSVCMsg_GetCvarValue::has_cookie() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_GetCvarValue::set_has_cookie() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_GetCvarValue::clear_has_cookie() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_GetCvarValue::clear_cookie() { + cookie_ = 0; + clear_has_cookie(); +} +inline ::google::protobuf::int32 CSVCMsg_GetCvarValue::cookie() const { + return cookie_; +} +inline void CSVCMsg_GetCvarValue::set_cookie(::google::protobuf::int32 value) { + set_has_cookie(); + cookie_ = value; +} + +// optional string cvar_name = 2; +inline bool CSVCMsg_GetCvarValue::has_cvar_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_GetCvarValue::set_has_cvar_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_GetCvarValue::clear_has_cvar_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_GetCvarValue::clear_cvar_name() { + if (cvar_name_ != &::google::protobuf::internal::kEmptyString) { + cvar_name_->clear(); + } + clear_has_cvar_name(); +} +inline const ::std::string& CSVCMsg_GetCvarValue::cvar_name() const { + return *cvar_name_; +} +inline void CSVCMsg_GetCvarValue::set_cvar_name(const ::std::string& value) { + set_has_cvar_name(); + if (cvar_name_ == &::google::protobuf::internal::kEmptyString) { + cvar_name_ = new ::std::string; + } + cvar_name_->assign(value); +} +inline void CSVCMsg_GetCvarValue::set_cvar_name(const char* value) { + set_has_cvar_name(); + if (cvar_name_ == &::google::protobuf::internal::kEmptyString) { + cvar_name_ = new ::std::string; + } + cvar_name_->assign(value); +} +inline void CSVCMsg_GetCvarValue::set_cvar_name(const char* value, size_t size) { + set_has_cvar_name(); + if (cvar_name_ == &::google::protobuf::internal::kEmptyString) { + cvar_name_ = new ::std::string; + } + cvar_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_GetCvarValue::mutable_cvar_name() { + set_has_cvar_name(); + if (cvar_name_ == &::google::protobuf::internal::kEmptyString) { + cvar_name_ = new ::std::string; + } + return cvar_name_; +} +inline ::std::string* CSVCMsg_GetCvarValue::release_cvar_name() { + clear_has_cvar_name(); + if (cvar_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = cvar_name_; + cvar_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_Menu + +// optional int32 dialog_type = 1; +inline bool CSVCMsg_Menu::has_dialog_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_Menu::set_has_dialog_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_Menu::clear_has_dialog_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_Menu::clear_dialog_type() { + dialog_type_ = 0; + clear_has_dialog_type(); +} +inline ::google::protobuf::int32 CSVCMsg_Menu::dialog_type() const { + return dialog_type_; +} +inline void CSVCMsg_Menu::set_dialog_type(::google::protobuf::int32 value) { + set_has_dialog_type(); + dialog_type_ = value; +} + +// optional bytes menu_key_values = 2; +inline bool CSVCMsg_Menu::has_menu_key_values() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_Menu::set_has_menu_key_values() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_Menu::clear_has_menu_key_values() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_Menu::clear_menu_key_values() { + if (menu_key_values_ != &::google::protobuf::internal::kEmptyString) { + menu_key_values_->clear(); + } + clear_has_menu_key_values(); +} +inline const ::std::string& CSVCMsg_Menu::menu_key_values() const { + return *menu_key_values_; +} +inline void CSVCMsg_Menu::set_menu_key_values(const ::std::string& value) { + set_has_menu_key_values(); + if (menu_key_values_ == &::google::protobuf::internal::kEmptyString) { + menu_key_values_ = new ::std::string; + } + menu_key_values_->assign(value); +} +inline void CSVCMsg_Menu::set_menu_key_values(const char* value) { + set_has_menu_key_values(); + if (menu_key_values_ == &::google::protobuf::internal::kEmptyString) { + menu_key_values_ = new ::std::string; + } + menu_key_values_->assign(value); +} +inline void CSVCMsg_Menu::set_menu_key_values(const void* value, size_t size) { + set_has_menu_key_values(); + if (menu_key_values_ == &::google::protobuf::internal::kEmptyString) { + menu_key_values_ = new ::std::string; + } + menu_key_values_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_Menu::mutable_menu_key_values() { + set_has_menu_key_values(); + if (menu_key_values_ == &::google::protobuf::internal::kEmptyString) { + menu_key_values_ = new ::std::string; + } + return menu_key_values_; +} +inline ::std::string* CSVCMsg_Menu::release_menu_key_values() { + clear_has_menu_key_values(); + if (menu_key_values_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = menu_key_values_; + menu_key_values_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SendTable_sendprop_t + +// optional int32 type = 1; +inline bool CSVCMsg_SendTable_sendprop_t::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_type() { + type_ = 0; + clear_has_type(); +} +inline ::google::protobuf::int32 CSVCMsg_SendTable_sendprop_t::type() const { + return type_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_type(::google::protobuf::int32 value) { + set_has_type(); + type_ = value; +} + +// optional string var_name = 2; +inline bool CSVCMsg_SendTable_sendprop_t::has_var_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_var_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_var_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_var_name() { + if (var_name_ != &::google::protobuf::internal::kEmptyString) { + var_name_->clear(); + } + clear_has_var_name(); +} +inline const ::std::string& CSVCMsg_SendTable_sendprop_t::var_name() const { + return *var_name_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_var_name(const ::std::string& value) { + set_has_var_name(); + if (var_name_ == &::google::protobuf::internal::kEmptyString) { + var_name_ = new ::std::string; + } + var_name_->assign(value); +} +inline void CSVCMsg_SendTable_sendprop_t::set_var_name(const char* value) { + set_has_var_name(); + if (var_name_ == &::google::protobuf::internal::kEmptyString) { + var_name_ = new ::std::string; + } + var_name_->assign(value); +} +inline void CSVCMsg_SendTable_sendprop_t::set_var_name(const char* value, size_t size) { + set_has_var_name(); + if (var_name_ == &::google::protobuf::internal::kEmptyString) { + var_name_ = new ::std::string; + } + var_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_SendTable_sendprop_t::mutable_var_name() { + set_has_var_name(); + if (var_name_ == &::google::protobuf::internal::kEmptyString) { + var_name_ = new ::std::string; + } + return var_name_; +} +inline ::std::string* CSVCMsg_SendTable_sendprop_t::release_var_name() { + clear_has_var_name(); + if (var_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = var_name_; + var_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 flags = 3; +inline bool CSVCMsg_SendTable_sendprop_t::has_flags() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_flags() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_flags() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_flags() { + flags_ = 0; + clear_has_flags(); +} +inline ::google::protobuf::int32 CSVCMsg_SendTable_sendprop_t::flags() const { + return flags_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_flags(::google::protobuf::int32 value) { + set_has_flags(); + flags_ = value; +} + +// optional int32 priority = 4; +inline bool CSVCMsg_SendTable_sendprop_t::has_priority() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_priority() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_priority() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_priority() { + priority_ = 0; + clear_has_priority(); +} +inline ::google::protobuf::int32 CSVCMsg_SendTable_sendprop_t::priority() const { + return priority_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_priority(::google::protobuf::int32 value) { + set_has_priority(); + priority_ = value; +} + +// optional string dt_name = 5; +inline bool CSVCMsg_SendTable_sendprop_t::has_dt_name() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_dt_name() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_dt_name() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_dt_name() { + if (dt_name_ != &::google::protobuf::internal::kEmptyString) { + dt_name_->clear(); + } + clear_has_dt_name(); +} +inline const ::std::string& CSVCMsg_SendTable_sendprop_t::dt_name() const { + return *dt_name_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_dt_name(const ::std::string& value) { + set_has_dt_name(); + if (dt_name_ == &::google::protobuf::internal::kEmptyString) { + dt_name_ = new ::std::string; + } + dt_name_->assign(value); +} +inline void CSVCMsg_SendTable_sendprop_t::set_dt_name(const char* value) { + set_has_dt_name(); + if (dt_name_ == &::google::protobuf::internal::kEmptyString) { + dt_name_ = new ::std::string; + } + dt_name_->assign(value); +} +inline void CSVCMsg_SendTable_sendprop_t::set_dt_name(const char* value, size_t size) { + set_has_dt_name(); + if (dt_name_ == &::google::protobuf::internal::kEmptyString) { + dt_name_ = new ::std::string; + } + dt_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_SendTable_sendprop_t::mutable_dt_name() { + set_has_dt_name(); + if (dt_name_ == &::google::protobuf::internal::kEmptyString) { + dt_name_ = new ::std::string; + } + return dt_name_; +} +inline ::std::string* CSVCMsg_SendTable_sendprop_t::release_dt_name() { + clear_has_dt_name(); + if (dt_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = dt_name_; + dt_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 num_elements = 6; +inline bool CSVCMsg_SendTable_sendprop_t::has_num_elements() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_num_elements() { + _has_bits_[0] |= 0x00000020u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_num_elements() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_num_elements() { + num_elements_ = 0; + clear_has_num_elements(); +} +inline ::google::protobuf::int32 CSVCMsg_SendTable_sendprop_t::num_elements() const { + return num_elements_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_num_elements(::google::protobuf::int32 value) { + set_has_num_elements(); + num_elements_ = value; +} + +// optional float low_value = 7; +inline bool CSVCMsg_SendTable_sendprop_t::has_low_value() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_low_value() { + _has_bits_[0] |= 0x00000040u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_low_value() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_low_value() { + low_value_ = 0; + clear_has_low_value(); +} +inline float CSVCMsg_SendTable_sendprop_t::low_value() const { + return low_value_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_low_value(float value) { + set_has_low_value(); + low_value_ = value; +} + +// optional float high_value = 8; +inline bool CSVCMsg_SendTable_sendprop_t::has_high_value() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_high_value() { + _has_bits_[0] |= 0x00000080u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_high_value() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_high_value() { + high_value_ = 0; + clear_has_high_value(); +} +inline float CSVCMsg_SendTable_sendprop_t::high_value() const { + return high_value_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_high_value(float value) { + set_has_high_value(); + high_value_ = value; +} + +// optional int32 num_bits = 9; +inline bool CSVCMsg_SendTable_sendprop_t::has_num_bits() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CSVCMsg_SendTable_sendprop_t::set_has_num_bits() { + _has_bits_[0] |= 0x00000100u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_has_num_bits() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CSVCMsg_SendTable_sendprop_t::clear_num_bits() { + num_bits_ = 0; + clear_has_num_bits(); +} +inline ::google::protobuf::int32 CSVCMsg_SendTable_sendprop_t::num_bits() const { + return num_bits_; +} +inline void CSVCMsg_SendTable_sendprop_t::set_num_bits(::google::protobuf::int32 value) { + set_has_num_bits(); + num_bits_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_SendTable + +// optional bool is_end = 1; +inline bool CSVCMsg_SendTable::has_is_end() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_SendTable::set_has_is_end() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_SendTable::clear_has_is_end() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_SendTable::clear_is_end() { + is_end_ = false; + clear_has_is_end(); +} +inline bool CSVCMsg_SendTable::is_end() const { + return is_end_; +} +inline void CSVCMsg_SendTable::set_is_end(bool value) { + set_has_is_end(); + is_end_ = value; +} + +// optional string net_table_name = 2; +inline bool CSVCMsg_SendTable::has_net_table_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_SendTable::set_has_net_table_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_SendTable::clear_has_net_table_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_SendTable::clear_net_table_name() { + if (net_table_name_ != &::google::protobuf::internal::kEmptyString) { + net_table_name_->clear(); + } + clear_has_net_table_name(); +} +inline const ::std::string& CSVCMsg_SendTable::net_table_name() const { + return *net_table_name_; +} +inline void CSVCMsg_SendTable::set_net_table_name(const ::std::string& value) { + set_has_net_table_name(); + if (net_table_name_ == &::google::protobuf::internal::kEmptyString) { + net_table_name_ = new ::std::string; + } + net_table_name_->assign(value); +} +inline void CSVCMsg_SendTable::set_net_table_name(const char* value) { + set_has_net_table_name(); + if (net_table_name_ == &::google::protobuf::internal::kEmptyString) { + net_table_name_ = new ::std::string; + } + net_table_name_->assign(value); +} +inline void CSVCMsg_SendTable::set_net_table_name(const char* value, size_t size) { + set_has_net_table_name(); + if (net_table_name_ == &::google::protobuf::internal::kEmptyString) { + net_table_name_ = new ::std::string; + } + net_table_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_SendTable::mutable_net_table_name() { + set_has_net_table_name(); + if (net_table_name_ == &::google::protobuf::internal::kEmptyString) { + net_table_name_ = new ::std::string; + } + return net_table_name_; +} +inline ::std::string* CSVCMsg_SendTable::release_net_table_name() { + clear_has_net_table_name(); + if (net_table_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = net_table_name_; + net_table_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional bool needs_decoder = 3; +inline bool CSVCMsg_SendTable::has_needs_decoder() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_SendTable::set_has_needs_decoder() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_SendTable::clear_has_needs_decoder() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_SendTable::clear_needs_decoder() { + needs_decoder_ = false; + clear_has_needs_decoder(); +} +inline bool CSVCMsg_SendTable::needs_decoder() const { + return needs_decoder_; +} +inline void CSVCMsg_SendTable::set_needs_decoder(bool value) { + set_has_needs_decoder(); + needs_decoder_ = value; +} + +// repeated .CSVCMsg_SendTable.sendprop_t props = 4; +inline int CSVCMsg_SendTable::props_size() const { + return props_.size(); +} +inline void CSVCMsg_SendTable::clear_props() { + props_.Clear(); +} +inline const ::CSVCMsg_SendTable_sendprop_t& CSVCMsg_SendTable::props(int index) const { + return props_.Get(index); +} +inline ::CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable::mutable_props(int index) { + return props_.Mutable(index); +} +inline ::CSVCMsg_SendTable_sendprop_t* CSVCMsg_SendTable::add_props() { + return props_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >& +CSVCMsg_SendTable::props() const { + return props_; +} +inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_SendTable_sendprop_t >* +CSVCMsg_SendTable::mutable_props() { + return &props_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEvent_key_t + +// optional int32 type = 1; +inline bool CSVCMsg_GameEvent_key_t::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_GameEvent_key_t::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_GameEvent_key_t::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_GameEvent_key_t::clear_type() { + type_ = 0; + clear_has_type(); +} +inline ::google::protobuf::int32 CSVCMsg_GameEvent_key_t::type() const { + return type_; +} +inline void CSVCMsg_GameEvent_key_t::set_type(::google::protobuf::int32 value) { + set_has_type(); + type_ = value; +} + +// optional string val_string = 2; +inline bool CSVCMsg_GameEvent_key_t::has_val_string() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_GameEvent_key_t::set_has_val_string() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_GameEvent_key_t::clear_has_val_string() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_GameEvent_key_t::clear_val_string() { + if (val_string_ != &::google::protobuf::internal::kEmptyString) { + val_string_->clear(); + } + clear_has_val_string(); +} +inline const ::std::string& CSVCMsg_GameEvent_key_t::val_string() const { + return *val_string_; +} +inline void CSVCMsg_GameEvent_key_t::set_val_string(const ::std::string& value) { + set_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + val_string_ = new ::std::string; + } + val_string_->assign(value); +} +inline void CSVCMsg_GameEvent_key_t::set_val_string(const char* value) { + set_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + val_string_ = new ::std::string; + } + val_string_->assign(value); +} +inline void CSVCMsg_GameEvent_key_t::set_val_string(const char* value, size_t size) { + set_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + val_string_ = new ::std::string; + } + val_string_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_GameEvent_key_t::mutable_val_string() { + set_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + val_string_ = new ::std::string; + } + return val_string_; +} +inline ::std::string* CSVCMsg_GameEvent_key_t::release_val_string() { + clear_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = val_string_; + val_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional float val_float = 3; +inline bool CSVCMsg_GameEvent_key_t::has_val_float() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_GameEvent_key_t::set_has_val_float() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_GameEvent_key_t::clear_has_val_float() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_GameEvent_key_t::clear_val_float() { + val_float_ = 0; + clear_has_val_float(); +} +inline float CSVCMsg_GameEvent_key_t::val_float() const { + return val_float_; +} +inline void CSVCMsg_GameEvent_key_t::set_val_float(float value) { + set_has_val_float(); + val_float_ = value; +} + +// optional int32 val_long = 4; +inline bool CSVCMsg_GameEvent_key_t::has_val_long() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_GameEvent_key_t::set_has_val_long() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_GameEvent_key_t::clear_has_val_long() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_GameEvent_key_t::clear_val_long() { + val_long_ = 0; + clear_has_val_long(); +} +inline ::google::protobuf::int32 CSVCMsg_GameEvent_key_t::val_long() const { + return val_long_; +} +inline void CSVCMsg_GameEvent_key_t::set_val_long(::google::protobuf::int32 value) { + set_has_val_long(); + val_long_ = value; +} + +// optional int32 val_short = 5; +inline bool CSVCMsg_GameEvent_key_t::has_val_short() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_GameEvent_key_t::set_has_val_short() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_GameEvent_key_t::clear_has_val_short() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_GameEvent_key_t::clear_val_short() { + val_short_ = 0; + clear_has_val_short(); +} +inline ::google::protobuf::int32 CSVCMsg_GameEvent_key_t::val_short() const { + return val_short_; +} +inline void CSVCMsg_GameEvent_key_t::set_val_short(::google::protobuf::int32 value) { + set_has_val_short(); + val_short_ = value; +} + +// optional int32 val_byte = 6; +inline bool CSVCMsg_GameEvent_key_t::has_val_byte() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CSVCMsg_GameEvent_key_t::set_has_val_byte() { + _has_bits_[0] |= 0x00000020u; +} +inline void CSVCMsg_GameEvent_key_t::clear_has_val_byte() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CSVCMsg_GameEvent_key_t::clear_val_byte() { + val_byte_ = 0; + clear_has_val_byte(); +} +inline ::google::protobuf::int32 CSVCMsg_GameEvent_key_t::val_byte() const { + return val_byte_; +} +inline void CSVCMsg_GameEvent_key_t::set_val_byte(::google::protobuf::int32 value) { + set_has_val_byte(); + val_byte_ = value; +} + +// optional bool val_bool = 7; +inline bool CSVCMsg_GameEvent_key_t::has_val_bool() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CSVCMsg_GameEvent_key_t::set_has_val_bool() { + _has_bits_[0] |= 0x00000040u; +} +inline void CSVCMsg_GameEvent_key_t::clear_has_val_bool() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CSVCMsg_GameEvent_key_t::clear_val_bool() { + val_bool_ = false; + clear_has_val_bool(); +} +inline bool CSVCMsg_GameEvent_key_t::val_bool() const { + return val_bool_; +} +inline void CSVCMsg_GameEvent_key_t::set_val_bool(bool value) { + set_has_val_bool(); + val_bool_ = value; +} + +// optional uint64 val_uint64 = 8; +inline bool CSVCMsg_GameEvent_key_t::has_val_uint64() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CSVCMsg_GameEvent_key_t::set_has_val_uint64() { + _has_bits_[0] |= 0x00000080u; +} +inline void CSVCMsg_GameEvent_key_t::clear_has_val_uint64() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CSVCMsg_GameEvent_key_t::clear_val_uint64() { + val_uint64_ = GOOGLE_ULONGLONG(0); + clear_has_val_uint64(); +} +inline ::google::protobuf::uint64 CSVCMsg_GameEvent_key_t::val_uint64() const { + return val_uint64_; +} +inline void CSVCMsg_GameEvent_key_t::set_val_uint64(::google::protobuf::uint64 value) { + set_has_val_uint64(); + val_uint64_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEvent + +// optional string event_name = 1; +inline bool CSVCMsg_GameEvent::has_event_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_GameEvent::set_has_event_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_GameEvent::clear_has_event_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_GameEvent::clear_event_name() { + if (event_name_ != &::google::protobuf::internal::kEmptyString) { + event_name_->clear(); + } + clear_has_event_name(); +} +inline const ::std::string& CSVCMsg_GameEvent::event_name() const { + return *event_name_; +} +inline void CSVCMsg_GameEvent::set_event_name(const ::std::string& value) { + set_has_event_name(); + if (event_name_ == &::google::protobuf::internal::kEmptyString) { + event_name_ = new ::std::string; + } + event_name_->assign(value); +} +inline void CSVCMsg_GameEvent::set_event_name(const char* value) { + set_has_event_name(); + if (event_name_ == &::google::protobuf::internal::kEmptyString) { + event_name_ = new ::std::string; + } + event_name_->assign(value); +} +inline void CSVCMsg_GameEvent::set_event_name(const char* value, size_t size) { + set_has_event_name(); + if (event_name_ == &::google::protobuf::internal::kEmptyString) { + event_name_ = new ::std::string; + } + event_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_GameEvent::mutable_event_name() { + set_has_event_name(); + if (event_name_ == &::google::protobuf::internal::kEmptyString) { + event_name_ = new ::std::string; + } + return event_name_; +} +inline ::std::string* CSVCMsg_GameEvent::release_event_name() { + clear_has_event_name(); + if (event_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = event_name_; + event_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 eventid = 2; +inline bool CSVCMsg_GameEvent::has_eventid() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_GameEvent::set_has_eventid() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_GameEvent::clear_has_eventid() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_GameEvent::clear_eventid() { + eventid_ = 0; + clear_has_eventid(); +} +inline ::google::protobuf::int32 CSVCMsg_GameEvent::eventid() const { + return eventid_; +} +inline void CSVCMsg_GameEvent::set_eventid(::google::protobuf::int32 value) { + set_has_eventid(); + eventid_ = value; +} + +// repeated .CSVCMsg_GameEvent.key_t keys = 3; +inline int CSVCMsg_GameEvent::keys_size() const { + return keys_.size(); +} +inline void CSVCMsg_GameEvent::clear_keys() { + keys_.Clear(); +} +inline const ::CSVCMsg_GameEvent_key_t& CSVCMsg_GameEvent::keys(int index) const { + return keys_.Get(index); +} +inline ::CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent::mutable_keys(int index) { + return keys_.Mutable(index); +} +inline ::CSVCMsg_GameEvent_key_t* CSVCMsg_GameEvent::add_keys() { + return keys_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >& +CSVCMsg_GameEvent::keys() const { + return keys_; +} +inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEvent_key_t >* +CSVCMsg_GameEvent::mutable_keys() { + return &keys_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEventList_key_t + +// optional int32 type = 1; +inline bool CSVCMsg_GameEventList_key_t::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_GameEventList_key_t::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_GameEventList_key_t::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_GameEventList_key_t::clear_type() { + type_ = 0; + clear_has_type(); +} +inline ::google::protobuf::int32 CSVCMsg_GameEventList_key_t::type() const { + return type_; +} +inline void CSVCMsg_GameEventList_key_t::set_type(::google::protobuf::int32 value) { + set_has_type(); + type_ = value; +} + +// optional string name = 2; +inline bool CSVCMsg_GameEventList_key_t::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_GameEventList_key_t::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_GameEventList_key_t::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_GameEventList_key_t::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CSVCMsg_GameEventList_key_t::name() const { + return *name_; +} +inline void CSVCMsg_GameEventList_key_t::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CSVCMsg_GameEventList_key_t::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CSVCMsg_GameEventList_key_t::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_GameEventList_key_t::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CSVCMsg_GameEventList_key_t::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEventList_descriptor_t + +// optional int32 eventid = 1; +inline bool CSVCMsg_GameEventList_descriptor_t::has_eventid() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_GameEventList_descriptor_t::set_has_eventid() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_GameEventList_descriptor_t::clear_has_eventid() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_GameEventList_descriptor_t::clear_eventid() { + eventid_ = 0; + clear_has_eventid(); +} +inline ::google::protobuf::int32 CSVCMsg_GameEventList_descriptor_t::eventid() const { + return eventid_; +} +inline void CSVCMsg_GameEventList_descriptor_t::set_eventid(::google::protobuf::int32 value) { + set_has_eventid(); + eventid_ = value; +} + +// optional string name = 2; +inline bool CSVCMsg_GameEventList_descriptor_t::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_GameEventList_descriptor_t::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_GameEventList_descriptor_t::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_GameEventList_descriptor_t::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CSVCMsg_GameEventList_descriptor_t::name() const { + return *name_; +} +inline void CSVCMsg_GameEventList_descriptor_t::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CSVCMsg_GameEventList_descriptor_t::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CSVCMsg_GameEventList_descriptor_t::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_GameEventList_descriptor_t::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CSVCMsg_GameEventList_descriptor_t::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// repeated .CSVCMsg_GameEventList.key_t keys = 3; +inline int CSVCMsg_GameEventList_descriptor_t::keys_size() const { + return keys_.size(); +} +inline void CSVCMsg_GameEventList_descriptor_t::clear_keys() { + keys_.Clear(); +} +inline const ::CSVCMsg_GameEventList_key_t& CSVCMsg_GameEventList_descriptor_t::keys(int index) const { + return keys_.Get(index); +} +inline ::CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_descriptor_t::mutable_keys(int index) { + return keys_.Mutable(index); +} +inline ::CSVCMsg_GameEventList_key_t* CSVCMsg_GameEventList_descriptor_t::add_keys() { + return keys_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >& +CSVCMsg_GameEventList_descriptor_t::keys() const { + return keys_; +} +inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_key_t >* +CSVCMsg_GameEventList_descriptor_t::mutable_keys() { + return &keys_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameEventList + +// repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; +inline int CSVCMsg_GameEventList::descriptors_size() const { + return descriptors_.size(); +} +inline void CSVCMsg_GameEventList::clear_descriptors() { + descriptors_.Clear(); +} +inline const ::CSVCMsg_GameEventList_descriptor_t& CSVCMsg_GameEventList::descriptors(int index) const { + return descriptors_.Get(index); +} +inline ::CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList::mutable_descriptors(int index) { + return descriptors_.Mutable(index); +} +inline ::CSVCMsg_GameEventList_descriptor_t* CSVCMsg_GameEventList::add_descriptors() { + return descriptors_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >& +CSVCMsg_GameEventList::descriptors() const { + return descriptors_; +} +inline ::google::protobuf::RepeatedPtrField< ::CSVCMsg_GameEventList_descriptor_t >* +CSVCMsg_GameEventList::mutable_descriptors() { + return &descriptors_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PacketEntities + +// optional int32 max_entries = 1; +inline bool CSVCMsg_PacketEntities::has_max_entries() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_max_entries() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_PacketEntities::clear_has_max_entries() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_PacketEntities::clear_max_entries() { + max_entries_ = 0; + clear_has_max_entries(); +} +inline ::google::protobuf::int32 CSVCMsg_PacketEntities::max_entries() const { + return max_entries_; +} +inline void CSVCMsg_PacketEntities::set_max_entries(::google::protobuf::int32 value) { + set_has_max_entries(); + max_entries_ = value; +} + +// optional int32 updated_entries = 2; +inline bool CSVCMsg_PacketEntities::has_updated_entries() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_updated_entries() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_PacketEntities::clear_has_updated_entries() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_PacketEntities::clear_updated_entries() { + updated_entries_ = 0; + clear_has_updated_entries(); +} +inline ::google::protobuf::int32 CSVCMsg_PacketEntities::updated_entries() const { + return updated_entries_; +} +inline void CSVCMsg_PacketEntities::set_updated_entries(::google::protobuf::int32 value) { + set_has_updated_entries(); + updated_entries_ = value; +} + +// optional bool is_delta = 3; +inline bool CSVCMsg_PacketEntities::has_is_delta() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_is_delta() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_PacketEntities::clear_has_is_delta() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_PacketEntities::clear_is_delta() { + is_delta_ = false; + clear_has_is_delta(); +} +inline bool CSVCMsg_PacketEntities::is_delta() const { + return is_delta_; +} +inline void CSVCMsg_PacketEntities::set_is_delta(bool value) { + set_has_is_delta(); + is_delta_ = value; +} + +// optional bool update_baseline = 4; +inline bool CSVCMsg_PacketEntities::has_update_baseline() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_update_baseline() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_PacketEntities::clear_has_update_baseline() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_PacketEntities::clear_update_baseline() { + update_baseline_ = false; + clear_has_update_baseline(); +} +inline bool CSVCMsg_PacketEntities::update_baseline() const { + return update_baseline_; +} +inline void CSVCMsg_PacketEntities::set_update_baseline(bool value) { + set_has_update_baseline(); + update_baseline_ = value; +} + +// optional int32 baseline = 5; +inline bool CSVCMsg_PacketEntities::has_baseline() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_baseline() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_PacketEntities::clear_has_baseline() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_PacketEntities::clear_baseline() { + baseline_ = 0; + clear_has_baseline(); +} +inline ::google::protobuf::int32 CSVCMsg_PacketEntities::baseline() const { + return baseline_; +} +inline void CSVCMsg_PacketEntities::set_baseline(::google::protobuf::int32 value) { + set_has_baseline(); + baseline_ = value; +} + +// optional int32 delta_from = 6; +inline bool CSVCMsg_PacketEntities::has_delta_from() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_delta_from() { + _has_bits_[0] |= 0x00000020u; +} +inline void CSVCMsg_PacketEntities::clear_has_delta_from() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CSVCMsg_PacketEntities::clear_delta_from() { + delta_from_ = 0; + clear_has_delta_from(); +} +inline ::google::protobuf::int32 CSVCMsg_PacketEntities::delta_from() const { + return delta_from_; +} +inline void CSVCMsg_PacketEntities::set_delta_from(::google::protobuf::int32 value) { + set_has_delta_from(); + delta_from_ = value; +} + +// optional bytes entity_data = 7; +inline bool CSVCMsg_PacketEntities::has_entity_data() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_entity_data() { + _has_bits_[0] |= 0x00000040u; +} +inline void CSVCMsg_PacketEntities::clear_has_entity_data() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CSVCMsg_PacketEntities::clear_entity_data() { + if (entity_data_ != &::google::protobuf::internal::kEmptyString) { + entity_data_->clear(); + } + clear_has_entity_data(); +} +inline const ::std::string& CSVCMsg_PacketEntities::entity_data() const { + return *entity_data_; +} +inline void CSVCMsg_PacketEntities::set_entity_data(const ::std::string& value) { + set_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + entity_data_ = new ::std::string; + } + entity_data_->assign(value); +} +inline void CSVCMsg_PacketEntities::set_entity_data(const char* value) { + set_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + entity_data_ = new ::std::string; + } + entity_data_->assign(value); +} +inline void CSVCMsg_PacketEntities::set_entity_data(const void* value, size_t size) { + set_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + entity_data_ = new ::std::string; + } + entity_data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_PacketEntities::mutable_entity_data() { + set_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + entity_data_ = new ::std::string; + } + return entity_data_; +} +inline ::std::string* CSVCMsg_PacketEntities::release_entity_data() { + clear_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = entity_data_; + entity_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_TempEntities + +// optional bool reliable = 1; +inline bool CSVCMsg_TempEntities::has_reliable() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_TempEntities::set_has_reliable() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_TempEntities::clear_has_reliable() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_TempEntities::clear_reliable() { + reliable_ = false; + clear_has_reliable(); +} +inline bool CSVCMsg_TempEntities::reliable() const { + return reliable_; +} +inline void CSVCMsg_TempEntities::set_reliable(bool value) { + set_has_reliable(); + reliable_ = value; +} + +// optional int32 num_entries = 2; +inline bool CSVCMsg_TempEntities::has_num_entries() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_TempEntities::set_has_num_entries() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_TempEntities::clear_has_num_entries() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_TempEntities::clear_num_entries() { + num_entries_ = 0; + clear_has_num_entries(); +} +inline ::google::protobuf::int32 CSVCMsg_TempEntities::num_entries() const { + return num_entries_; +} +inline void CSVCMsg_TempEntities::set_num_entries(::google::protobuf::int32 value) { + set_has_num_entries(); + num_entries_ = value; +} + +// optional bytes entity_data = 3; +inline bool CSVCMsg_TempEntities::has_entity_data() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_TempEntities::set_has_entity_data() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_TempEntities::clear_has_entity_data() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_TempEntities::clear_entity_data() { + if (entity_data_ != &::google::protobuf::internal::kEmptyString) { + entity_data_->clear(); + } + clear_has_entity_data(); +} +inline const ::std::string& CSVCMsg_TempEntities::entity_data() const { + return *entity_data_; +} +inline void CSVCMsg_TempEntities::set_entity_data(const ::std::string& value) { + set_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + entity_data_ = new ::std::string; + } + entity_data_->assign(value); +} +inline void CSVCMsg_TempEntities::set_entity_data(const char* value) { + set_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + entity_data_ = new ::std::string; + } + entity_data_->assign(value); +} +inline void CSVCMsg_TempEntities::set_entity_data(const void* value, size_t size) { + set_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + entity_data_ = new ::std::string; + } + entity_data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_TempEntities::mutable_entity_data() { + set_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + entity_data_ = new ::std::string; + } + return entity_data_; +} +inline ::std::string* CSVCMsg_TempEntities::release_entity_data() { + clear_has_entity_data(); + if (entity_data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = entity_data_; + entity_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_CreateStringTable + +// optional string name = 1; +inline bool CSVCMsg_CreateStringTable::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_CreateStringTable::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_CreateStringTable::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CSVCMsg_CreateStringTable::name() const { + return *name_; +} +inline void CSVCMsg_CreateStringTable::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CSVCMsg_CreateStringTable::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CSVCMsg_CreateStringTable::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_CreateStringTable::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CSVCMsg_CreateStringTable::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 max_entries = 2; +inline bool CSVCMsg_CreateStringTable::has_max_entries() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_max_entries() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_CreateStringTable::clear_has_max_entries() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_CreateStringTable::clear_max_entries() { + max_entries_ = 0; + clear_has_max_entries(); +} +inline ::google::protobuf::int32 CSVCMsg_CreateStringTable::max_entries() const { + return max_entries_; +} +inline void CSVCMsg_CreateStringTable::set_max_entries(::google::protobuf::int32 value) { + set_has_max_entries(); + max_entries_ = value; +} + +// optional int32 num_entries = 3; +inline bool CSVCMsg_CreateStringTable::has_num_entries() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_num_entries() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_CreateStringTable::clear_has_num_entries() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_CreateStringTable::clear_num_entries() { + num_entries_ = 0; + clear_has_num_entries(); +} +inline ::google::protobuf::int32 CSVCMsg_CreateStringTable::num_entries() const { + return num_entries_; +} +inline void CSVCMsg_CreateStringTable::set_num_entries(::google::protobuf::int32 value) { + set_has_num_entries(); + num_entries_ = value; +} + +// optional bool user_data_fixed_size = 4; +inline bool CSVCMsg_CreateStringTable::has_user_data_fixed_size() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_user_data_fixed_size() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_CreateStringTable::clear_has_user_data_fixed_size() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_CreateStringTable::clear_user_data_fixed_size() { + user_data_fixed_size_ = false; + clear_has_user_data_fixed_size(); +} +inline bool CSVCMsg_CreateStringTable::user_data_fixed_size() const { + return user_data_fixed_size_; +} +inline void CSVCMsg_CreateStringTable::set_user_data_fixed_size(bool value) { + set_has_user_data_fixed_size(); + user_data_fixed_size_ = value; +} + +// optional int32 user_data_size = 5; +inline bool CSVCMsg_CreateStringTable::has_user_data_size() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_user_data_size() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_CreateStringTable::clear_has_user_data_size() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_CreateStringTable::clear_user_data_size() { + user_data_size_ = 0; + clear_has_user_data_size(); +} +inline ::google::protobuf::int32 CSVCMsg_CreateStringTable::user_data_size() const { + return user_data_size_; +} +inline void CSVCMsg_CreateStringTable::set_user_data_size(::google::protobuf::int32 value) { + set_has_user_data_size(); + user_data_size_ = value; +} + +// optional int32 user_data_size_bits = 6; +inline bool CSVCMsg_CreateStringTable::has_user_data_size_bits() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_user_data_size_bits() { + _has_bits_[0] |= 0x00000020u; +} +inline void CSVCMsg_CreateStringTable::clear_has_user_data_size_bits() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CSVCMsg_CreateStringTable::clear_user_data_size_bits() { + user_data_size_bits_ = 0; + clear_has_user_data_size_bits(); +} +inline ::google::protobuf::int32 CSVCMsg_CreateStringTable::user_data_size_bits() const { + return user_data_size_bits_; +} +inline void CSVCMsg_CreateStringTable::set_user_data_size_bits(::google::protobuf::int32 value) { + set_has_user_data_size_bits(); + user_data_size_bits_ = value; +} + +// optional int32 flags = 7; +inline bool CSVCMsg_CreateStringTable::has_flags() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_flags() { + _has_bits_[0] |= 0x00000040u; +} +inline void CSVCMsg_CreateStringTable::clear_has_flags() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CSVCMsg_CreateStringTable::clear_flags() { + flags_ = 0; + clear_has_flags(); +} +inline ::google::protobuf::int32 CSVCMsg_CreateStringTable::flags() const { + return flags_; +} +inline void CSVCMsg_CreateStringTable::set_flags(::google::protobuf::int32 value) { + set_has_flags(); + flags_ = value; +} + +// optional bytes string_data = 8; +inline bool CSVCMsg_CreateStringTable::has_string_data() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_string_data() { + _has_bits_[0] |= 0x00000080u; +} +inline void CSVCMsg_CreateStringTable::clear_has_string_data() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CSVCMsg_CreateStringTable::clear_string_data() { + if (string_data_ != &::google::protobuf::internal::kEmptyString) { + string_data_->clear(); + } + clear_has_string_data(); +} +inline const ::std::string& CSVCMsg_CreateStringTable::string_data() const { + return *string_data_; +} +inline void CSVCMsg_CreateStringTable::set_string_data(const ::std::string& value) { + set_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + string_data_ = new ::std::string; + } + string_data_->assign(value); +} +inline void CSVCMsg_CreateStringTable::set_string_data(const char* value) { + set_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + string_data_ = new ::std::string; + } + string_data_->assign(value); +} +inline void CSVCMsg_CreateStringTable::set_string_data(const void* value, size_t size) { + set_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + string_data_ = new ::std::string; + } + string_data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_CreateStringTable::mutable_string_data() { + set_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + string_data_ = new ::std::string; + } + return string_data_; +} +inline ::std::string* CSVCMsg_CreateStringTable::release_string_data() { + clear_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = string_data_; + string_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_UpdateStringTable + +// optional int32 table_id = 1; +inline bool CSVCMsg_UpdateStringTable::has_table_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_UpdateStringTable::set_has_table_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_UpdateStringTable::clear_has_table_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_UpdateStringTable::clear_table_id() { + table_id_ = 0; + clear_has_table_id(); +} +inline ::google::protobuf::int32 CSVCMsg_UpdateStringTable::table_id() const { + return table_id_; +} +inline void CSVCMsg_UpdateStringTable::set_table_id(::google::protobuf::int32 value) { + set_has_table_id(); + table_id_ = value; +} + +// optional int32 num_changed_entries = 2; +inline bool CSVCMsg_UpdateStringTable::has_num_changed_entries() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_UpdateStringTable::set_has_num_changed_entries() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_UpdateStringTable::clear_has_num_changed_entries() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_UpdateStringTable::clear_num_changed_entries() { + num_changed_entries_ = 0; + clear_has_num_changed_entries(); +} +inline ::google::protobuf::int32 CSVCMsg_UpdateStringTable::num_changed_entries() const { + return num_changed_entries_; +} +inline void CSVCMsg_UpdateStringTable::set_num_changed_entries(::google::protobuf::int32 value) { + set_has_num_changed_entries(); + num_changed_entries_ = value; +} + +// optional bytes string_data = 3; +inline bool CSVCMsg_UpdateStringTable::has_string_data() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_UpdateStringTable::set_has_string_data() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_UpdateStringTable::clear_has_string_data() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_UpdateStringTable::clear_string_data() { + if (string_data_ != &::google::protobuf::internal::kEmptyString) { + string_data_->clear(); + } + clear_has_string_data(); +} +inline const ::std::string& CSVCMsg_UpdateStringTable::string_data() const { + return *string_data_; +} +inline void CSVCMsg_UpdateStringTable::set_string_data(const ::std::string& value) { + set_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + string_data_ = new ::std::string; + } + string_data_->assign(value); +} +inline void CSVCMsg_UpdateStringTable::set_string_data(const char* value) { + set_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + string_data_ = new ::std::string; + } + string_data_->assign(value); +} +inline void CSVCMsg_UpdateStringTable::set_string_data(const void* value, size_t size) { + set_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + string_data_ = new ::std::string; + } + string_data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_UpdateStringTable::mutable_string_data() { + set_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + string_data_ = new ::std::string; + } + return string_data_; +} +inline ::std::string* CSVCMsg_UpdateStringTable::release_string_data() { + clear_has_string_data(); + if (string_data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = string_data_; + string_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_UserMessage + +// optional int32 msg_type = 1; +inline bool CSVCMsg_UserMessage::has_msg_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_UserMessage::set_has_msg_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_UserMessage::clear_has_msg_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_UserMessage::clear_msg_type() { + msg_type_ = 0; + clear_has_msg_type(); +} +inline ::google::protobuf::int32 CSVCMsg_UserMessage::msg_type() const { + return msg_type_; +} +inline void CSVCMsg_UserMessage::set_msg_type(::google::protobuf::int32 value) { + set_has_msg_type(); + msg_type_ = value; +} + +// optional bytes msg_data = 2; +inline bool CSVCMsg_UserMessage::has_msg_data() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_UserMessage::set_has_msg_data() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_UserMessage::clear_has_msg_data() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_UserMessage::clear_msg_data() { + if (msg_data_ != &::google::protobuf::internal::kEmptyString) { + msg_data_->clear(); + } + clear_has_msg_data(); +} +inline const ::std::string& CSVCMsg_UserMessage::msg_data() const { + return *msg_data_; +} +inline void CSVCMsg_UserMessage::set_msg_data(const ::std::string& value) { + set_has_msg_data(); + if (msg_data_ == &::google::protobuf::internal::kEmptyString) { + msg_data_ = new ::std::string; + } + msg_data_->assign(value); +} +inline void CSVCMsg_UserMessage::set_msg_data(const char* value) { + set_has_msg_data(); + if (msg_data_ == &::google::protobuf::internal::kEmptyString) { + msg_data_ = new ::std::string; + } + msg_data_->assign(value); +} +inline void CSVCMsg_UserMessage::set_msg_data(const void* value, size_t size) { + set_has_msg_data(); + if (msg_data_ == &::google::protobuf::internal::kEmptyString) { + msg_data_ = new ::std::string; + } + msg_data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_UserMessage::mutable_msg_data() { + set_has_msg_data(); + if (msg_data_ == &::google::protobuf::internal::kEmptyString) { + msg_data_ = new ::std::string; + } + return msg_data_; +} +inline ::std::string* CSVCMsg_UserMessage::release_msg_data() { + clear_has_msg_data(); + if (msg_data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = msg_data_; + msg_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CSVCMsg_VoiceData + +// optional int32 client = 1; +inline bool CSVCMsg_VoiceData::has_client() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_VoiceData::set_has_client() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_VoiceData::clear_has_client() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_VoiceData::clear_client() { + client_ = 0; + clear_has_client(); +} +inline ::google::protobuf::int32 CSVCMsg_VoiceData::client() const { + return client_; +} +inline void CSVCMsg_VoiceData::set_client(::google::protobuf::int32 value) { + set_has_client(); + client_ = value; +} + +// optional bool proximity = 2; +inline bool CSVCMsg_VoiceData::has_proximity() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_VoiceData::set_has_proximity() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_VoiceData::clear_has_proximity() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_VoiceData::clear_proximity() { + proximity_ = false; + clear_has_proximity(); +} +inline bool CSVCMsg_VoiceData::proximity() const { + return proximity_; +} +inline void CSVCMsg_VoiceData::set_proximity(bool value) { + set_has_proximity(); + proximity_ = value; +} + +// optional fixed64 xuid = 3; +inline bool CSVCMsg_VoiceData::has_xuid() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_VoiceData::set_has_xuid() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_VoiceData::clear_has_xuid() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_VoiceData::clear_xuid() { + xuid_ = GOOGLE_ULONGLONG(0); + clear_has_xuid(); +} +inline ::google::protobuf::uint64 CSVCMsg_VoiceData::xuid() const { + return xuid_; +} +inline void CSVCMsg_VoiceData::set_xuid(::google::protobuf::uint64 value) { + set_has_xuid(); + xuid_ = value; +} + +// optional int32 audible_mask = 4; +inline bool CSVCMsg_VoiceData::has_audible_mask() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_VoiceData::set_has_audible_mask() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_VoiceData::clear_has_audible_mask() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_VoiceData::clear_audible_mask() { + audible_mask_ = 0; + clear_has_audible_mask(); +} +inline ::google::protobuf::int32 CSVCMsg_VoiceData::audible_mask() const { + return audible_mask_; +} +inline void CSVCMsg_VoiceData::set_audible_mask(::google::protobuf::int32 value) { + set_has_audible_mask(); + audible_mask_ = value; +} + +// optional bytes voice_data = 5; +inline bool CSVCMsg_VoiceData::has_voice_data() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_VoiceData::set_has_voice_data() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_VoiceData::clear_has_voice_data() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_VoiceData::clear_voice_data() { + if (voice_data_ != &::google::protobuf::internal::kEmptyString) { + voice_data_->clear(); + } + clear_has_voice_data(); +} +inline const ::std::string& CSVCMsg_VoiceData::voice_data() const { + return *voice_data_; +} +inline void CSVCMsg_VoiceData::set_voice_data(const ::std::string& value) { + set_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::kEmptyString) { + voice_data_ = new ::std::string; + } + voice_data_->assign(value); +} +inline void CSVCMsg_VoiceData::set_voice_data(const char* value) { + set_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::kEmptyString) { + voice_data_ = new ::std::string; + } + voice_data_->assign(value); +} +inline void CSVCMsg_VoiceData::set_voice_data(const void* value, size_t size) { + set_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::kEmptyString) { + voice_data_ = new ::std::string; + } + voice_data_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CSVCMsg_VoiceData::mutable_voice_data() { + set_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::kEmptyString) { + voice_data_ = new ::std::string; + } + return voice_data_; +} +inline ::std::string* CSVCMsg_VoiceData::release_voice_data() { + clear_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = voice_data_; + voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; +inline bool CSVCMsg_VoiceData::has_format() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CSVCMsg_VoiceData::set_has_format() { + _has_bits_[0] |= 0x00000020u; +} +inline void CSVCMsg_VoiceData::clear_has_format() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CSVCMsg_VoiceData::clear_format() { + format_ = 0; + clear_has_format(); +} +inline VoiceDataFormat_t CSVCMsg_VoiceData::format() const { + return static_cast< VoiceDataFormat_t >(format_); +} +inline void CSVCMsg_VoiceData::set_format(VoiceDataFormat_t value) { + GOOGLE_DCHECK(VoiceDataFormat_t_IsValid(value)); + set_has_format(); + format_ = value; +} + +// ------------------------------------------------------------------- + +// CSVCMsgList_GameEvents_event_t + +// optional int32 tick = 1; +inline bool CSVCMsgList_GameEvents_event_t::has_tick() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsgList_GameEvents_event_t::set_has_tick() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsgList_GameEvents_event_t::clear_has_tick() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsgList_GameEvents_event_t::clear_tick() { + tick_ = 0; + clear_has_tick(); +} +inline ::google::protobuf::int32 CSVCMsgList_GameEvents_event_t::tick() const { + return tick_; +} +inline void CSVCMsgList_GameEvents_event_t::set_tick(::google::protobuf::int32 value) { + set_has_tick(); + tick_ = value; +} + +// optional .CSVCMsg_GameEvent event = 2; +inline bool CSVCMsgList_GameEvents_event_t::has_event() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsgList_GameEvents_event_t::set_has_event() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsgList_GameEvents_event_t::clear_has_event() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsgList_GameEvents_event_t::clear_event() { + if (event_ != NULL) event_->::CSVCMsg_GameEvent::Clear(); + clear_has_event(); +} +inline const ::CSVCMsg_GameEvent& CSVCMsgList_GameEvents_event_t::event() const { + return event_ != NULL ? *event_ : *default_instance_->event_; +} +inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::mutable_event() { + set_has_event(); + if (event_ == NULL) event_ = new ::CSVCMsg_GameEvent; + return event_; +} +inline ::CSVCMsg_GameEvent* CSVCMsgList_GameEvents_event_t::release_event() { + clear_has_event(); + ::CSVCMsg_GameEvent* temp = event_; + event_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CSVCMsgList_GameEvents + +// repeated .CSVCMsgList_GameEvents.event_t events = 1; +inline int CSVCMsgList_GameEvents::events_size() const { + return events_.size(); +} +inline void CSVCMsgList_GameEvents::clear_events() { + events_.Clear(); +} +inline const ::CSVCMsgList_GameEvents_event_t& CSVCMsgList_GameEvents::events(int index) const { + return events_.Get(index); +} +inline ::CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents::mutable_events(int index) { + return events_.Mutable(index); +} +inline ::CSVCMsgList_GameEvents_event_t* CSVCMsgList_GameEvents::add_events() { + return events_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >& +CSVCMsgList_GameEvents::events() const { + return events_; +} +inline ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_GameEvents_event_t >* +CSVCMsgList_GameEvents::mutable_events() { + return &events_; +} + +// ------------------------------------------------------------------- + +// CSVCMsgList_UserMessages_usermsg_t + +// optional int32 tick = 1; +inline bool CSVCMsgList_UserMessages_usermsg_t::has_tick() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsgList_UserMessages_usermsg_t::set_has_tick() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsgList_UserMessages_usermsg_t::clear_has_tick() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsgList_UserMessages_usermsg_t::clear_tick() { + tick_ = 0; + clear_has_tick(); +} +inline ::google::protobuf::int32 CSVCMsgList_UserMessages_usermsg_t::tick() const { + return tick_; +} +inline void CSVCMsgList_UserMessages_usermsg_t::set_tick(::google::protobuf::int32 value) { + set_has_tick(); + tick_ = value; +} + +// optional .CSVCMsg_UserMessage msg = 2; +inline bool CSVCMsgList_UserMessages_usermsg_t::has_msg() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsgList_UserMessages_usermsg_t::set_has_msg() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsgList_UserMessages_usermsg_t::clear_has_msg() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsgList_UserMessages_usermsg_t::clear_msg() { + if (msg_ != NULL) msg_->::CSVCMsg_UserMessage::Clear(); + clear_has_msg(); +} +inline const ::CSVCMsg_UserMessage& CSVCMsgList_UserMessages_usermsg_t::msg() const { + return msg_ != NULL ? *msg_ : *default_instance_->msg_; +} +inline ::CSVCMsg_UserMessage* CSVCMsgList_UserMessages_usermsg_t::mutable_msg() { + set_has_msg(); + if (msg_ == NULL) msg_ = new ::CSVCMsg_UserMessage; + return msg_; +} +inline ::CSVCMsg_UserMessage* CSVCMsgList_UserMessages_usermsg_t::release_msg() { + clear_has_msg(); + ::CSVCMsg_UserMessage* temp = msg_; + msg_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CSVCMsgList_UserMessages + +// repeated .CSVCMsgList_UserMessages.usermsg_t usermsgs = 1; +inline int CSVCMsgList_UserMessages::usermsgs_size() const { + return usermsgs_.size(); +} +inline void CSVCMsgList_UserMessages::clear_usermsgs() { + usermsgs_.Clear(); +} +inline const ::CSVCMsgList_UserMessages_usermsg_t& CSVCMsgList_UserMessages::usermsgs(int index) const { + return usermsgs_.Get(index); +} +inline ::CSVCMsgList_UserMessages_usermsg_t* CSVCMsgList_UserMessages::mutable_usermsgs(int index) { + return usermsgs_.Mutable(index); +} +inline ::CSVCMsgList_UserMessages_usermsg_t* CSVCMsgList_UserMessages::add_usermsgs() { + return usermsgs_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_UserMessages_usermsg_t >& +CSVCMsgList_UserMessages::usermsgs() const { + return usermsgs_; +} +inline ::google::protobuf::RepeatedPtrField< ::CSVCMsgList_UserMessages_usermsg_t >* +CSVCMsgList_UserMessages::mutable_usermsgs() { + return &usermsgs_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PacketReliable + +// optional int32 tick = 1; +inline bool CSVCMsg_PacketReliable::has_tick() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_PacketReliable::set_has_tick() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_PacketReliable::clear_has_tick() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_PacketReliable::clear_tick() { + tick_ = 0; + clear_has_tick(); +} +inline ::google::protobuf::int32 CSVCMsg_PacketReliable::tick() const { + return tick_; +} +inline void CSVCMsg_PacketReliable::set_tick(::google::protobuf::int32 value) { + set_has_tick(); + tick_ = value; +} + +// optional int32 messagessize = 2; +inline bool CSVCMsg_PacketReliable::has_messagessize() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_PacketReliable::set_has_messagessize() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_PacketReliable::clear_has_messagessize() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_PacketReliable::clear_messagessize() { + messagessize_ = 0; + clear_has_messagessize(); +} +inline ::google::protobuf::int32 CSVCMsg_PacketReliable::messagessize() const { + return messagessize_; +} +inline void CSVCMsg_PacketReliable::set_messagessize(::google::protobuf::int32 value) { + set_has_messagessize(); + messagessize_ = value; +} + + +// @@protoc_insertion_point(namespace_scope) + +#ifndef SWIG +namespace google { +namespace protobuf { + +template <> +inline const EnumDescriptor* GetEnumDescriptor< NET_Messages>() { + return NET_Messages_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< SIGNONSTATE>() { + return SIGNONSTATE_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< CLC_Messages>() { + return CLC_Messages_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< VoiceDataFormat_t>() { + return VoiceDataFormat_t_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< SVC_Messages>() { + return SVC_Messages_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< ESplitScreenMessageType>() { + return ESplitScreenMessageType_descriptor(); +} + +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_netmessages_2eproto__INCLUDED diff --git a/public/engine/protobuf/netmessages.proto b/public/engine/protobuf/netmessages.proto new file mode 100644 index 00000000..0e5d288a --- /dev/null +++ b/public/engine/protobuf/netmessages.proto @@ -0,0 +1,583 @@ +//====== 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 NET_Messages +{ + net_NOP = 0; + net_Disconnect = 1; // disconnect, last message in connection + net_File = 2; // file transmission message request/deny + net_SplitScreenUser = 3; // Changes split screen user, client and server must both provide handler + net_Tick = 4; // s->c world tick, c->s ack world tick + net_StringCmd = 5; // a string command + net_SetConVar = 6; // sends one/multiple convar/userinfo settings + 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 + { + optional string name = 1; + optional string value = 2; + } + + repeated CVar cvars = 1; +} + +message CNETMsg_NOP +{ +} + +message CNETMsg_Disconnect +{ + optional string text = 1; +} + +message CNETMsg_File +{ + optional int32 transfer_id = 1; + optional string file_name = 2; + optional bool is_replay_demo_file = 3; + optional bool deny = 4; +} + +message CNETMsg_SplitScreenUser +{ + optional int32 slot = 1; +} + +message CNETMsg_Tick +{ + optional uint32 tick = 1; // current tick count + optional uint32 host_frametime = 2; // Host frame time in 1/100000th of a second + optional uint32 host_frametime_std_deviation = 3; // Host frame time stddev in 1/100000th of a second +} + +message CNETMsg_StringCmd +{ + optional string command = 1; +} + +message CNETMsg_SetConVar +{ + optional CMsg_CVars convars = 1; +} + +message CNETMsg_SignonState +{ + optional uint32 signon_state = 1; // See SIGNONSTATE_ defines + optional uint32 spawn_count = 2; // server spawn count (session number) + optional uint32 num_server_players = 3; // Number of players the server discloses as connected to the server + repeated string players_networkids = 4; // player network ids + optional string map_name = 5; // Name of the current map +} + +//============================================================================= +// Client messages +//============================================================================= + +enum CLC_Messages +{ + clc_ClientInfo = 8; // client info (table CRC etc) + clc_Move = 9; // [CUserCmd] + clc_VoiceData = 10; // Voicestream data from a client + clc_BaselineAck = 11; // client acknowledges a new baseline seqnr + clc_ListenEvents = 12; // client acknowledges a new baseline seqnr + clc_RespondCvarValue = 13; // client is responding to a svc_GetCvarValue message. + clc_FileCRCCheck = 14; // client is sending a file's CRC to the server to be verified. + clc_LoadingProgress = 15; // client loading progress + clc_SplitPlayerConnect = 16; + clc_ClientMessage = 17; +} + +message CCLCMsg_ClientInfo +{ + optional fixed32 send_table_crc = 1; + optional uint32 server_count = 2; + optional bool is_hltv = 3; + optional bool is_replay = 4; + optional uint32 friends_id = 5; + optional string friends_name = 6; + repeated fixed32 custom_files = 7; +} + +message CCLCMsg_Move +{ + optional uint32 num_backup_commands = 1; // new commands = user_cmds_size() - num_backup_commands + optional uint32 num_new_commands = 2; + optional bytes data = 3; +} + +enum VoiceDataFormat_t +{ + VOICEDATA_FORMAT_STEAM = 0; + VOICEDATA_FORMAT_ENGINE = 1; +} + +message CCLCMsg_VoiceData +{ + optional bytes data = 1; + optional fixed64 xuid = 2; + optional VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; +} + +message CCLCMsg_BaselineAck +{ + optional int32 baseline_tick = 1; + optional int32 baseline_nr = 2; +} + +message CCLCMsg_ListenEvents +{ + repeated fixed32 event_mask = 1; +} + +message CCLCMsg_RespondCvarValue +{ + optional int32 cookie = 1; // QueryCvarCookie_t + optional int32 status_code = 2; // EQueryCvarValueStatus + optional string name = 3; + optional string value = 4; +} + +message CCLCMsg_FileCRCCheck +{ + optional int32 code_path = 1; + optional string path = 2; + optional int32 code_filename = 3; + optional string filename = 4; + optional fixed32 crc = 5; +} + +message CCLCMsg_LoadingProgress +{ + optional int32 progress = 1; +} + +message CCLCMsg_SplitPlayerConnect +{ + optional CMsg_CVars convars = 1; +} + +message CCLCMsg_ClientMessage +{ + optional int32 msg_type = 1; + optional bytes data = 2; +} + +//============================================================================= +// Server messages +//============================================================================= + +enum SVC_Messages +{ + svc_ServerInfo = 8; // first message from server about game; map etc + svc_SendTable = 9; // sends a sendtable description for a game class + svc_ClassInfo = 10; // Info about classes (first byte is a CLASSINFO_ define). + svc_SetPause = 11; // tells client if server paused or unpaused + svc_CreateStringTable = 12; // inits shared string tables + svc_UpdateStringTable = 13; // updates a string table + svc_VoiceInit = 14; // inits used voice codecs & quality + svc_VoiceData = 15; // Voicestream data from the server + svc_Print = 16; // print text to console + svc_Sounds = 17; // starts playing sound + svc_SetView = 18; // sets entity as point of view + svc_FixAngle = 19; // sets/corrects players viewangle + svc_CrosshairAngle = 20; // adjusts crosshair in auto aim mode to lock on traget + svc_BSPDecal = 21; // add a static decal to the world BSP + svc_SplitScreen = 22; // split screen style message + svc_UserMessage = 23; // a game specific message + svc_EntityMessage = 24; // a message for an entity + svc_GameEvent = 25; // global game event fired + svc_PacketEntities = 26; // non-delta compressed entities + svc_TempEntities = 27; // non-reliable event object + svc_Prefetch = 28; // only sound indices for now + svc_Menu = 29; // display a menu from a plugin + svc_GameEventList = 30; // list of known games events and fields + svc_GetCvarValue = 31; // Server wants to know the value of a cvar on the client + svc_PacketReliable = 32; +} + +message CSVCMsg_ServerInfo +{ + optional int32 protocol = 1; // protocol version + optional int32 server_count = 2; // number of changelevels since server start + optional bool is_dedicated = 3; // dedicated server ? + optional bool is_hltv = 4; // HLTV server ? + optional bool is_replay = 5; // Replay server ? + optional int32 c_os = 6; // L = linux, W = Win32 + optional fixed32 map_crc = 7; // server map CRC + optional fixed32 client_crc = 8; // client.dll CRC server is using + optional fixed32 string_table_crc = 9; // string table CRC server is using + optional int32 max_clients = 10; // max number of clients on server + optional int32 max_classes = 11; // max number of server classes + optional int32 player_slot = 12; // our client slot number + optional float tick_interval = 13; // server tick interval + optional string game_dir = 14; // game directory eg "tf2" + optional string map_name = 15; // name of current map + optional string sky_name = 16; // name of current skybox + optional string host_name = 17; // server name +} + +message CSVCMsg_ClassInfo +{ + message class_t + { + optional int32 class_id = 1; + optional string data_table_name = 2; + optional string class_name = 3; + } + + optional bool create_on_client = 1; + repeated class_t classes = 2; +} + +message CSVCMsg_SetPause +{ + optional bool paused = 1; +} + +message CSVCMsg_VoiceInit +{ + optional int32 quality = 1; + optional string codec = 2; + optional int32 version = 3 [default = 0]; +} + +message CSVCMsg_Print +{ + optional string text = 1; +} + +message CSVCMsg_Sounds +{ + message sounddata_t + { + optional sint32 origin_x = 1; + optional sint32 origin_y = 2; + optional sint32 origin_z = 3; + optional uint32 volume = 4; + optional float delay_value = 5; + optional int32 sequence_number = 6; + optional int32 entity_index = 7; + optional int32 channel = 8; + optional int32 pitch = 9; + optional int32 flags = 10; + optional uint32 sound_num = 11; + optional fixed32 sound_num_handle = 12; + optional int32 speaker_entity = 13; + optional int32 random_seed = 14; + optional int32 sound_level = 15; // soundlevel_t + optional bool is_sentence = 16; + optional bool is_ambient = 17; + }; + + optional bool reliable_sound = 1; + repeated sounddata_t sounds = 2; +} + +message CSVCMsg_Prefetch +{ + optional int32 sound_index = 1; +} + +message CSVCMsg_SetView +{ + optional int32 entity_index = 1; +} + +message CSVCMsg_FixAngle +{ + optional bool relative = 1; + optional CMsgQAngle angle = 2; +} + +message CSVCMsg_CrosshairAngle +{ + optional CMsgQAngle angle = 1; +} + +message CSVCMsg_BSPDecal +{ + optional CMsgVector pos = 1; + optional int32 decal_texture_index = 2; + optional int32 entity_index = 3; + optional int32 model_index = 4; + optional bool low_priority = 5; +} + +enum ESplitScreenMessageType +{ + MSG_SPLITSCREEN_ADDUSER = 0; + MSG_SPLITSCREEN_REMOVEUSER = 1; + MSG_SPLITSCREEN_TYPE_BITS = 1; +}; + +message CSVCMsg_SplitScreen +{ + optional ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + optional int32 slot = 2; + optional int32 player_index = 3; +} + +message CSVCMsg_GetCvarValue +{ + optional int32 cookie = 1; // QueryCvarCookie_t + optional string cvar_name = 2; +} + +message CSVCMsg_Menu +{ + optional int32 dialog_type = 1; // DIALOG_TYPE + optional bytes menu_key_values = 2; // KeyValues.WriteAsBinary() +} + +message CSVCMsg_SendTable +{ + message sendprop_t + { + optional int32 type = 1; // SendPropType + optional string var_name = 2; + optional int32 flags = 3; + optional int32 priority = 4; + optional string dt_name = 5; // if pProp->m_Type == DPT_DataTable || IsExcludeProp + optional int32 num_elements = 6; // else if pProp->m_Type == DPT_Array + optional float low_value = 7; // else ... + optional float high_value = 8; // ... + optional int32 num_bits = 9; // ... + }; + + optional bool is_end = 1; + optional string net_table_name = 2; + optional bool needs_decoder = 3; + 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 + { + optional int32 type = 1; + optional string name = 2; + }; + + message descriptor_t + { + optional int32 eventid = 1; + optional string name = 2; + repeated key_t keys = 3; + }; + + repeated descriptor_t descriptors = 1; +} + +message CSVCMsg_PacketEntities +{ + optional int32 max_entries = 1; + optional int32 updated_entries = 2; + optional bool is_delta = 3; + optional bool update_baseline = 4; + optional int32 baseline = 5; + optional int32 delta_from = 6; + optional bytes entity_data = 7; +} + +message CSVCMsg_TempEntities +{ + optional bool reliable = 1; + optional int32 num_entries = 2; + optional bytes entity_data = 3; +} + +message CSVCMsg_CreateStringTable +{ + optional string name = 1; + optional int32 max_entries = 2; + optional int32 num_entries = 3; + optional bool user_data_fixed_size = 4; + optional int32 user_data_size = 5; + optional int32 user_data_size_bits = 6; + optional int32 flags = 7; + optional bytes string_data = 8; +} + +message CSVCMsg_UpdateStringTable +{ + optional int32 table_id = 1; + optional int32 num_changed_entries = 2; + 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; + optional bool proximity = 2; + optional fixed64 xuid = 3; + optional int32 audible_mask = 4; + optional bytes voice_data = 5; + 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; + optional int32 messagessize = 2; +} + diff --git a/public/game/shared/dota/protobuf/ai_activity.pb.cc b/public/game/shared/dota/protobuf/ai_activity.pb.cc new file mode 100644 index 00000000..f9c51b92 --- /dev/null +++ b/public/game/shared/dota/protobuf/ai_activity.pb.cc @@ -0,0 +1,1010 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "ai_activity.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace { + +const ::google::protobuf::EnumDescriptor* Activity_descriptor_ = NULL; + +} // namespace + + +void protobuf_AssignDesc_ai_5factivity_2eproto() { + protobuf_AddDesc_ai_5factivity_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "ai_activity.proto"); + GOOGLE_CHECK(file != NULL); + Activity_descriptor_ = file->enum_type(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_ai_5factivity_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); +} + +} // namespace + +void protobuf_ShutdownFile_ai_5factivity_2eproto() { +} + +void protobuf_AddDesc_ai_5factivity_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\021ai_activity.proto*\275v\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" + "\022\014\n\010ACT_WALK\020\006\022\020\n\014ACT_WALK_AIM\020\007\022\023\n\017ACT_" + "WALK_CROUCH\020\010\022\027\n\023ACT_WALK_CROUCH_AIM\020\t\022\013" + "\n\007ACT_RUN\020\n\022\017\n\013ACT_RUN_AIM\020\013\022\022\n\016ACT_RUN_" + "CROUCH\020\014\022\026\n\022ACT_RUN_CROUCH_AIM\020\r\022\025\n\021ACT_" + "RUN_PROTECTED\020\016\022\032\n\026ACT_SCRIPT_CUSTOM_MOV" + "E\020\017\022\025\n\021ACT_RANGE_ATTACK1\020\020\022\025\n\021ACT_RANGE_" + "ATTACK2\020\021\022\031\n\025ACT_RANGE_ATTACK1_LOW\020\022\022\031\n\025" + "ACT_RANGE_ATTACK2_LOW\020\023\022\021\n\rACT_DIESIMPLE" + "\020\024\022\023\n\017ACT_DIEBACKWARD\020\025\022\022\n\016ACT_DIEFORWAR" + "D\020\026\022\022\n\016ACT_DIEVIOLENT\020\027\022\022\n\016ACT_DIERAGDOL" + "L\020\030\022\013\n\007ACT_FLY\020\031\022\r\n\tACT_HOVER\020\032\022\r\n\tACT_G" + "LIDE\020\033\022\014\n\010ACT_SWIM\020\034\022\014\n\010ACT_JUMP\020\035\022\013\n\007AC" + "T_HOP\020\036\022\014\n\010ACT_LEAP\020\037\022\014\n\010ACT_LAND\020 \022\020\n\014A" + "CT_CLIMB_UP\020!\022\022\n\016ACT_CLIMB_DOWN\020\"\022\026\n\022ACT" + "_CLIMB_DISMOUNT\020#\022\025\n\021ACT_SHIPLADDER_UP\020$" + "\022\027\n\023ACT_SHIPLADDER_DOWN\020%\022\023\n\017ACT_STRAFE_" + "LEFT\020&\022\024\n\020ACT_STRAFE_RIGHT\020\'\022\021\n\rACT_ROLL" + "_LEFT\020(\022\022\n\016ACT_ROLL_RIGHT\020)\022\021\n\rACT_TURN_" + "LEFT\020*\022\022\n\016ACT_TURN_RIGHT\020+\022\016\n\nACT_CROUCH" + "\020,\022\022\n\016ACT_CROUCHIDLE\020-\022\r\n\tACT_STAND\020.\022\013\n" + "\007ACT_USE\020/\022\031\n\025ACT_ALIEN_BURROW_IDLE\0200\022\030\n" + "\024ACT_ALIEN_BURROW_OUT\0201\022\017\n\013ACT_SIGNAL1\0202" + "\022\017\n\013ACT_SIGNAL2\0203\022\017\n\013ACT_SIGNAL3\0204\022\026\n\022AC" + "T_SIGNAL_ADVANCE\0205\022\026\n\022ACT_SIGNAL_FORWARD" + "\0206\022\024\n\020ACT_SIGNAL_GROUP\0207\022\023\n\017ACT_SIGNAL_H" + "ALT\0208\022\023\n\017ACT_SIGNAL_LEFT\0209\022\024\n\020ACT_SIGNAL" + "_RIGHT\020:\022\030\n\024ACT_SIGNAL_TAKECOVER\020;\022\026\n\022AC" + "T_LOOKBACK_RIGHT\020<\022\025\n\021ACT_LOOKBACK_LEFT\020" + "=\022\r\n\tACT_COWER\020>\022\024\n\020ACT_SMALL_FLINCH\020\?\022\022" + "\n\016ACT_BIG_FLINCH\020@\022\025\n\021ACT_MELEE_ATTACK1\020" + "A\022\025\n\021ACT_MELEE_ATTACK2\020B\022\016\n\nACT_RELOAD\020C" + "\022\024\n\020ACT_RELOAD_START\020D\022\025\n\021ACT_RELOAD_FIN" + "ISH\020E\022\022\n\016ACT_RELOAD_LOW\020F\022\013\n\007ACT_ARM\020G\022\016" + "\n\nACT_DISARM\020H\022\023\n\017ACT_DROP_WEAPON\020I\022\033\n\027A" + "CT_DROP_WEAPON_SHOTGUN\020J\022\025\n\021ACT_PICKUP_G" + "ROUND\020K\022\023\n\017ACT_PICKUP_RACK\020L\022\022\n\016ACT_IDLE" + "_ANGRY\020M\022\024\n\020ACT_IDLE_RELAXED\020N\022\027\n\023ACT_ID" + "LE_STIMULATED\020O\022\025\n\021ACT_IDLE_AGITATED\020P\022\024" + "\n\020ACT_IDLE_STEALTH\020Q\022\021\n\rACT_IDLE_HURT\020R\022" + "\024\n\020ACT_WALK_RELAXED\020S\022\027\n\023ACT_WALK_STIMUL" + "ATED\020T\022\025\n\021ACT_WALK_AGITATED\020U\022\024\n\020ACT_WAL" + "K_STEALTH\020V\022\023\n\017ACT_RUN_RELAXED\020W\022\026\n\022ACT_" + "RUN_STIMULATED\020X\022\024\n\020ACT_RUN_AGITATED\020Y\022\023" + "\n\017ACT_RUN_STEALTH\020Z\022\030\n\024ACT_IDLE_AIM_RELA" + "XED\020[\022\033\n\027ACT_IDLE_AIM_STIMULATED\020\\\022\031\n\025AC" + "T_IDLE_AIM_AGITATED\020]\022\030\n\024ACT_IDLE_AIM_ST" + "EALTH\020^\022\030\n\024ACT_WALK_AIM_RELAXED\020_\022\033\n\027ACT" + "_WALK_AIM_STIMULATED\020`\022\031\n\025ACT_WALK_AIM_A" + "GITATED\020a\022\030\n\024ACT_WALK_AIM_STEALTH\020b\022\027\n\023A" + "CT_RUN_AIM_RELAXED\020c\022\032\n\026ACT_RUN_AIM_STIM" + "ULATED\020d\022\030\n\024ACT_RUN_AIM_AGITATED\020e\022\027\n\023AC" + "T_RUN_AIM_STEALTH\020f\022\035\n\031ACT_CROUCHIDLE_ST" + "IMULATED\020g\022!\n\035ACT_CROUCHIDLE_AIM_STIMULA" + "TED\020h\022\033\n\027ACT_CROUCHIDLE_AGITATED\020i\022\021\n\rAC" + "T_WALK_HURT\020j\022\020\n\014ACT_RUN_HURT\020k\022\027\n\023ACT_S" + "PECIAL_ATTACK1\020l\022\027\n\023ACT_SPECIAL_ATTACK2\020" + "m\022\023\n\017ACT_COMBAT_IDLE\020n\022\023\n\017ACT_WALK_SCARE" + "D\020o\022\022\n\016ACT_RUN_SCARED\020p\022\025\n\021ACT_VICTORY_D" + "ANCE\020q\022\024\n\020ACT_DIE_HEADSHOT\020r\022\025\n\021ACT_DIE_" + "CHESTSHOT\020s\022\023\n\017ACT_DIE_GUTSHOT\020t\022\024\n\020ACT_" + "DIE_BACKSHOT\020u\022\023\n\017ACT_FLINCH_HEAD\020v\022\024\n\020A" + "CT_FLINCH_CHEST\020w\022\026\n\022ACT_FLINCH_STOMACH\020" + "x\022\026\n\022ACT_FLINCH_LEFTARM\020y\022\027\n\023ACT_FLINCH_" + "RIGHTARM\020z\022\026\n\022ACT_FLINCH_LEFTLEG\020{\022\027\n\023AC" + "T_FLINCH_RIGHTLEG\020|\022\026\n\022ACT_FLINCH_PHYSIC" + "S\020}\022\030\n\024ACT_FLINCH_HEAD_BACK\020~\022\031\n\025ACT_FLI" + "NCH_CHEST_BACK\020\177\022\034\n\027ACT_FLINCH_STOMACH_B" + "ACK\020\200\001\022\034\n\027ACT_FLINCH_CROUCH_FRONT\020\201\001\022\033\n\026" + "ACT_FLINCH_CROUCH_BACK\020\202\001\022\033\n\026ACT_FLINCH_" + "CROUCH_LEFT\020\203\001\022\034\n\027ACT_FLINCH_CROUCH_RIGH" + "T\020\204\001\022\025\n\020ACT_IDLE_ON_FIRE\020\205\001\022\025\n\020ACT_WALK_" + "ON_FIRE\020\206\001\022\024\n\017ACT_RUN_ON_FIRE\020\207\001\022\024\n\017ACT_" + "RAPPEL_LOOP\020\210\001\022\021\n\014ACT_180_LEFT\020\211\001\022\022\n\rACT" + "_180_RIGHT\020\212\001\022\020\n\013ACT_90_LEFT\020\213\001\022\021\n\014ACT_9" + "0_RIGHT\020\214\001\022\022\n\rACT_STEP_LEFT\020\215\001\022\023\n\016ACT_ST" + "EP_RIGHT\020\216\001\022\022\n\rACT_STEP_BACK\020\217\001\022\022\n\rACT_S" + "TEP_FORE\020\220\001\022\036\n\031ACT_GESTURE_RANGE_ATTACK1" + "\020\221\001\022\036\n\031ACT_GESTURE_RANGE_ATTACK2\020\222\001\022\036\n\031A" + "CT_GESTURE_MELEE_ATTACK1\020\223\001\022\036\n\031ACT_GESTU" + "RE_MELEE_ATTACK2\020\224\001\022\"\n\035ACT_GESTURE_RANGE" + "_ATTACK1_LOW\020\225\001\022\"\n\035ACT_GESTURE_RANGE_ATT" + "ACK2_LOW\020\226\001\022#\n\036ACT_MELEE_ATTACK_SWING_GE" + "STURE\020\227\001\022\035\n\030ACT_GESTURE_SMALL_FLINCH\020\230\001\022" + "\033\n\026ACT_GESTURE_BIG_FLINCH\020\231\001\022\035\n\030ACT_GEST" + "URE_FLINCH_BLAST\020\232\001\022%\n ACT_GESTURE_FLINC" + "H_BLAST_SHOTGUN\020\233\001\022%\n ACT_GESTURE_FLINCH" + "_BLAST_DAMAGED\020\234\001\022-\n(ACT_GESTURE_FLINCH_" + "BLAST_DAMAGED_SHOTGUN\020\235\001\022\034\n\027ACT_GESTURE_" + "FLINCH_HEAD\020\236\001\022\035\n\030ACT_GESTURE_FLINCH_CHE" + "ST\020\237\001\022\037\n\032ACT_GESTURE_FLINCH_STOMACH\020\240\001\022\037" + "\n\032ACT_GESTURE_FLINCH_LEFTARM\020\241\001\022 \n\033ACT_G" + "ESTURE_FLINCH_RIGHTARM\020\242\001\022\037\n\032ACT_GESTURE" + "_FLINCH_LEFTLEG\020\243\001\022 \n\033ACT_GESTURE_FLINCH" + "_RIGHTLEG\020\244\001\022\032\n\025ACT_GESTURE_TURN_LEFT\020\245\001" + "\022\033\n\026ACT_GESTURE_TURN_RIGHT\020\246\001\022\034\n\027ACT_GES" + "TURE_TURN_LEFT45\020\247\001\022\035\n\030ACT_GESTURE_TURN_" + "RIGHT45\020\250\001\022\034\n\027ACT_GESTURE_TURN_LEFT90\020\251\001" + "\022\035\n\030ACT_GESTURE_TURN_RIGHT90\020\252\001\022!\n\034ACT_G" + "ESTURE_TURN_LEFT45_FLAT\020\253\001\022\"\n\035ACT_GESTUR" + "E_TURN_RIGHT45_FLAT\020\254\001\022!\n\034ACT_GESTURE_TU" + "RN_LEFT90_FLAT\020\255\001\022\"\n\035ACT_GESTURE_TURN_RI" + "GHT90_FLAT\020\256\001\022\025\n\020ACT_BARNACLE_HIT\020\257\001\022\026\n\021" + "ACT_BARNACLE_PULL\020\260\001\022\027\n\022ACT_BARNACLE_CHO" + "MP\020\261\001\022\026\n\021ACT_BARNACLE_CHEW\020\262\001\022\027\n\022ACT_DO_" + "NOT_DISTURB\020\263\001\022\032\n\025ACT_SPECIFIC_SEQUENCE\020" + "\264\001\022\020\n\013ACT_VM_DRAW\020\265\001\022\023\n\016ACT_VM_HOLSTER\020\266" + "\001\022\020\n\013ACT_VM_IDLE\020\267\001\022\022\n\rACT_VM_FIDGET\020\270\001\022" + "\024\n\017ACT_VM_PULLBACK\020\271\001\022\031\n\024ACT_VM_PULLBACK" + "_HIGH\020\272\001\022\030\n\023ACT_VM_PULLBACK_LOW\020\273\001\022\021\n\014AC" + "T_VM_THROW\020\274\001\022\023\n\016ACT_VM_PULLPIN\020\275\001\022\031\n\024AC" + "T_VM_PRIMARYATTACK\020\276\001\022\033\n\026ACT_VM_SECONDAR" + "YATTACK\020\277\001\022\022\n\rACT_VM_RELOAD\020\300\001\022\023\n\016ACT_VM" + "_DRYFIRE\020\301\001\022\023\n\016ACT_VM_HITLEFT\020\302\001\022\024\n\017ACT_" + "VM_HITLEFT2\020\303\001\022\024\n\017ACT_VM_HITRIGHT\020\304\001\022\025\n\020" + "ACT_VM_HITRIGHT2\020\305\001\022\025\n\020ACT_VM_HITCENTER\020" + "\306\001\022\026\n\021ACT_VM_HITCENTER2\020\307\001\022\024\n\017ACT_VM_MIS" + "SLEFT\020\310\001\022\025\n\020ACT_VM_MISSLEFT2\020\311\001\022\025\n\020ACT_V" + "M_MISSRIGHT\020\312\001\022\026\n\021ACT_VM_MISSRIGHT2\020\313\001\022\026" + "\n\021ACT_VM_MISSCENTER\020\314\001\022\027\n\022ACT_VM_MISSCEN" + "TER2\020\315\001\022\024\n\017ACT_VM_HAULBACK\020\316\001\022\025\n\020ACT_VM_" + "SWINGHARD\020\317\001\022\025\n\020ACT_VM_SWINGMISS\020\320\001\022\024\n\017A" + "CT_VM_SWINGHIT\020\321\001\022\033\n\026ACT_VM_IDLE_TO_LOWE" + "RED\020\322\001\022\030\n\023ACT_VM_IDLE_LOWERED\020\323\001\022\033\n\026ACT_" + "VM_LOWERED_TO_IDLE\020\324\001\022\023\n\016ACT_VM_RECOIL1\020" + "\325\001\022\023\n\016ACT_VM_RECOIL2\020\326\001\022\023\n\016ACT_VM_RECOIL" + "3\020\327\001\022\022\n\rACT_VM_PICKUP\020\330\001\022\023\n\016ACT_VM_RELEA" + "SE\020\331\001\022\033\n\026ACT_VM_ATTACH_SILENCER\020\332\001\022\033\n\026AC" + "T_VM_DETACH_SILENCER\020\333\001\022\034\n\027ACT_SLAM_STIC" + "KWALL_IDLE\020\334\001\022\037\n\032ACT_SLAM_STICKWALL_ND_I" + "DLE\020\335\001\022\036\n\031ACT_SLAM_STICKWALL_ATTACH\020\336\001\022\037" + "\n\032ACT_SLAM_STICKWALL_ATTACH2\020\337\001\022!\n\034ACT_S" + "LAM_STICKWALL_ND_ATTACH\020\340\001\022\"\n\035ACT_SLAM_S" + "TICKWALL_ND_ATTACH2\020\341\001\022 \n\033ACT_SLAM_STICK" + "WALL_DETONATE\020\342\001\022)\n$ACT_SLAM_STICKWALL_D" + "ETONATOR_HOLSTER\020\343\001\022\034\n\027ACT_SLAM_STICKWAL" + "L_DRAW\020\344\001\022\037\n\032ACT_SLAM_STICKWALL_ND_DRAW\020" + "\345\001\022 \n\033ACT_SLAM_STICKWALL_TO_THROW\020\346\001\022#\n\036" + "ACT_SLAM_STICKWALL_TO_THROW_ND\020\347\001\022&\n!ACT" + "_SLAM_STICKWALL_TO_TRIPMINE_ND\020\350\001\022\030\n\023ACT" + "_SLAM_THROW_IDLE\020\351\001\022\033\n\026ACT_SLAM_THROW_ND" + "_IDLE\020\352\001\022\031\n\024ACT_SLAM_THROW_THROW\020\353\001\022\032\n\025A" + "CT_SLAM_THROW_THROW2\020\354\001\022\034\n\027ACT_SLAM_THRO" + "W_THROW_ND\020\355\001\022\035\n\030ACT_SLAM_THROW_THROW_ND" + "2\020\356\001\022\030\n\023ACT_SLAM_THROW_DRAW\020\357\001\022\033\n\026ACT_SL" + "AM_THROW_ND_DRAW\020\360\001\022 \n\033ACT_SLAM_THROW_TO" + "_STICKWALL\020\361\001\022#\n\036ACT_SLAM_THROW_TO_STICK" + "WALL_ND\020\362\001\022\034\n\027ACT_SLAM_THROW_DETONATE\020\363\001" + "\022%\n ACT_SLAM_THROW_DETONATOR_HOLSTER\020\364\001\022" + "\"\n\035ACT_SLAM_THROW_TO_TRIPMINE_ND\020\365\001\022\033\n\026A" + "CT_SLAM_TRIPMINE_IDLE\020\366\001\022\033\n\026ACT_SLAM_TRI" + "PMINE_DRAW\020\367\001\022\035\n\030ACT_SLAM_TRIPMINE_ATTAC" + "H\020\370\001\022\036\n\031ACT_SLAM_TRIPMINE_ATTACH2\020\371\001\022&\n!" + "ACT_SLAM_TRIPMINE_TO_STICKWALL_ND\020\372\001\022\"\n\035" + "ACT_SLAM_TRIPMINE_TO_THROW_ND\020\373\001\022\034\n\027ACT_" + "SLAM_DETONATOR_IDLE\020\374\001\022\034\n\027ACT_SLAM_DETON" + "ATOR_DRAW\020\375\001\022 \n\033ACT_SLAM_DETONATOR_DETON" + "ATE\020\376\001\022\037\n\032ACT_SLAM_DETONATOR_HOLSTER\020\377\001\022" + "&\n!ACT_SLAM_DETONATOR_STICKWALL_DRAW\020\200\002\022" + "\"\n\035ACT_SLAM_DETONATOR_THROW_DRAW\020\201\002\022\035\n\030A" + "CT_SHOTGUN_RELOAD_START\020\202\002\022\036\n\031ACT_SHOTGU" + "N_RELOAD_FINISH\020\203\002\022\025\n\020ACT_SHOTGUN_PUMP\020\204" + "\002\022\023\n\016ACT_SMG2_IDLE2\020\205\002\022\023\n\016ACT_SMG2_FIRE2" + "\020\206\002\022\023\n\016ACT_SMG2_DRAW2\020\207\002\022\025\n\020ACT_SMG2_REL" + "OAD2\020\210\002\022\026\n\021ACT_SMG2_DRYFIRE2\020\211\002\022\024\n\017ACT_S" + "MG2_TOAUTO\020\212\002\022\025\n\020ACT_SMG2_TOBURST\020\213\002\022\033\n\026" + "ACT_PHYSCANNON_UPGRADE\020\214\002\022\031\n\024ACT_RANGE_A" + "TTACK_AR1\020\215\002\022\031\n\024ACT_RANGE_ATTACK_AR2\020\216\002\022" + "\035\n\030ACT_RANGE_ATTACK_AR2_LOW\020\217\002\022!\n\034ACT_RA" + "NGE_ATTACK_AR2_GRENADE\020\220\002\022\032\n\025ACT_RANGE_A" + "TTACK_HMG1\020\221\002\022\030\n\023ACT_RANGE_ATTACK_ML\020\222\002\022" + "\032\n\025ACT_RANGE_ATTACK_SMG1\020\223\002\022\036\n\031ACT_RANGE" + "_ATTACK_SMG1_LOW\020\224\002\022\032\n\025ACT_RANGE_ATTACK_" + "SMG2\020\225\002\022\035\n\030ACT_RANGE_ATTACK_SHOTGUN\020\226\002\022!" + "\n\034ACT_RANGE_ATTACK_SHOTGUN_LOW\020\227\002\022\034\n\027ACT" + "_RANGE_ATTACK_PISTOL\020\230\002\022 \n\033ACT_RANGE_ATT" + "ACK_PISTOL_LOW\020\231\002\022\032\n\025ACT_RANGE_ATTACK_SL" + "AM\020\232\002\022\036\n\031ACT_RANGE_ATTACK_TRIPWIRE\020\233\002\022\033\n" + "\026ACT_RANGE_ATTACK_THROW\020\234\002\022\"\n\035ACT_RANGE_" + "ATTACK_SNIPER_RIFLE\020\235\002\022\031\n\024ACT_RANGE_ATTA" + "CK_RPG\020\236\002\022\033\n\026ACT_MELEE_ATTACK_SWING\020\237\002\022\026" + "\n\021ACT_RANGE_AIM_LOW\020\240\002\022\033\n\026ACT_RANGE_AIM_" + "SMG1_LOW\020\241\002\022\035\n\030ACT_RANGE_AIM_PISTOL_LOW\020" + "\242\002\022\032\n\025ACT_RANGE_AIM_AR2_LOW\020\243\002\022\031\n\024ACT_CO" + "VER_PISTOL_LOW\020\244\002\022\027\n\022ACT_COVER_SMG1_LOW\020" + "\245\002\022!\n\034ACT_GESTURE_RANGE_ATTACK_AR1\020\246\002\022!\n" + "\034ACT_GESTURE_RANGE_ATTACK_AR2\020\247\002\022)\n$ACT_" + "GESTURE_RANGE_ATTACK_AR2_GRENADE\020\250\002\022\"\n\035A" + "CT_GESTURE_RANGE_ATTACK_HMG1\020\251\002\022 \n\033ACT_G" + "ESTURE_RANGE_ATTACK_ML\020\252\002\022\"\n\035ACT_GESTURE" + "_RANGE_ATTACK_SMG1\020\253\002\022&\n!ACT_GESTURE_RAN" + "GE_ATTACK_SMG1_LOW\020\254\002\022\"\n\035ACT_GESTURE_RAN" + "GE_ATTACK_SMG2\020\255\002\022%\n ACT_GESTURE_RANGE_A" + "TTACK_SHOTGUN\020\256\002\022$\n\037ACT_GESTURE_RANGE_AT" + "TACK_PISTOL\020\257\002\022(\n#ACT_GESTURE_RANGE_ATTA" + "CK_PISTOL_LOW\020\260\002\022\"\n\035ACT_GESTURE_RANGE_AT" + "TACK_SLAM\020\261\002\022&\n!ACT_GESTURE_RANGE_ATTACK" + "_TRIPWIRE\020\262\002\022#\n\036ACT_GESTURE_RANGE_ATTACK" + "_THROW\020\263\002\022*\n%ACT_GESTURE_RANGE_ATTACK_SN" + "IPER_RIFLE\020\264\002\022#\n\036ACT_GESTURE_MELEE_ATTAC" + "K_SWING\020\265\002\022\023\n\016ACT_IDLE_RIFLE\020\266\002\022\022\n\rACT_I" + "DLE_SMG1\020\267\002\022\030\n\023ACT_IDLE_ANGRY_SMG1\020\270\002\022\024\n" + "\017ACT_IDLE_PISTOL\020\271\002\022\032\n\025ACT_IDLE_ANGRY_PI" + "STOL\020\272\002\022\033\n\026ACT_IDLE_ANGRY_SHOTGUN\020\273\002\022\034\n\027" + "ACT_IDLE_STEALTH_PISTOL\020\274\002\022\025\n\020ACT_IDLE_P" + "ACKAGE\020\275\002\022\025\n\020ACT_WALK_PACKAGE\020\276\002\022\026\n\021ACT_" + "IDLE_SUITCASE\020\277\002\022\026\n\021ACT_WALK_SUITCASE\020\300\002" + "\022\032\n\025ACT_IDLE_SMG1_RELAXED\020\301\002\022\035\n\030ACT_IDLE" + "_SMG1_STIMULATED\020\302\002\022\033\n\026ACT_WALK_RIFLE_RE" + "LAXED\020\303\002\022\032\n\025ACT_RUN_RIFLE_RELAXED\020\304\002\022\036\n\031" + "ACT_WALK_RIFLE_STIMULATED\020\305\002\022\035\n\030ACT_RUN_" + "RIFLE_STIMULATED\020\306\002\022\"\n\035ACT_IDLE_AIM_RIFL" + "E_STIMULATED\020\307\002\022\"\n\035ACT_WALK_AIM_RIFLE_ST" + "IMULATED\020\310\002\022!\n\034ACT_RUN_AIM_RIFLE_STIMULA" + "TED\020\311\002\022\035\n\030ACT_IDLE_SHOTGUN_RELAXED\020\312\002\022 \n" + "\033ACT_IDLE_SHOTGUN_STIMULATED\020\313\002\022\036\n\031ACT_I" + "DLE_SHOTGUN_AGITATED\020\314\002\022\023\n\016ACT_WALK_ANGR" + "Y\020\315\002\022\027\n\022ACT_POLICE_HARASS1\020\316\002\022\027\n\022ACT_POL" + "ICE_HARASS2\020\317\002\022\027\n\022ACT_IDLE_MANNEDGUN\020\320\002\022" + "\023\n\016ACT_IDLE_MELEE\020\321\002\022\031\n\024ACT_IDLE_ANGRY_M" + "ELEE\020\322\002\022\031\n\024ACT_IDLE_RPG_RELAXED\020\323\002\022\021\n\014AC" + "T_IDLE_RPG\020\324\002\022\027\n\022ACT_IDLE_ANGRY_RPG\020\325\002\022\026" + "\n\021ACT_COVER_LOW_RPG\020\326\002\022\021\n\014ACT_WALK_RPG\020\327" + "\002\022\020\n\013ACT_RUN_RPG\020\330\002\022\030\n\023ACT_WALK_CROUCH_R" + "PG\020\331\002\022\027\n\022ACT_RUN_CROUCH_RPG\020\332\002\022\031\n\024ACT_WA" + "LK_RPG_RELAXED\020\333\002\022\030\n\023ACT_RUN_RPG_RELAXED" + "\020\334\002\022\023\n\016ACT_WALK_RIFLE\020\335\002\022\027\n\022ACT_WALK_AIM" + "_RIFLE\020\336\002\022\032\n\025ACT_WALK_CROUCH_RIFLE\020\337\002\022\036\n" + "\031ACT_WALK_CROUCH_AIM_RIFLE\020\340\002\022\022\n\rACT_RUN" + "_RIFLE\020\341\002\022\026\n\021ACT_RUN_AIM_RIFLE\020\342\002\022\031\n\024ACT" + "_RUN_CROUCH_RIFLE\020\343\002\022\035\n\030ACT_RUN_CROUCH_A" + "IM_RIFLE\020\344\002\022\033\n\026ACT_RUN_STEALTH_PISTOL\020\345\002" + "\022\031\n\024ACT_WALK_AIM_SHOTGUN\020\346\002\022\030\n\023ACT_RUN_A" + "IM_SHOTGUN\020\347\002\022\024\n\017ACT_WALK_PISTOL\020\350\002\022\023\n\016A" + "CT_RUN_PISTOL\020\351\002\022\030\n\023ACT_WALK_AIM_PISTOL\020" + "\352\002\022\027\n\022ACT_RUN_AIM_PISTOL\020\353\002\022\034\n\027ACT_WALK_" + "STEALTH_PISTOL\020\354\002\022 \n\033ACT_WALK_AIM_STEALT" + "H_PISTOL\020\355\002\022\037\n\032ACT_RUN_AIM_STEALTH_PISTO" + "L\020\356\002\022\026\n\021ACT_RELOAD_PISTOL\020\357\002\022\032\n\025ACT_RELO" + "AD_PISTOL_LOW\020\360\002\022\024\n\017ACT_RELOAD_SMG1\020\361\002\022\030" + "\n\023ACT_RELOAD_SMG1_LOW\020\362\002\022\027\n\022ACT_RELOAD_S" + "HOTGUN\020\363\002\022\033\n\026ACT_RELOAD_SHOTGUN_LOW\020\364\002\022\027" + "\n\022ACT_GESTURE_RELOAD\020\365\002\022\036\n\031ACT_GESTURE_R" + "ELOAD_PISTOL\020\366\002\022\034\n\027ACT_GESTURE_RELOAD_SM" + "G1\020\367\002\022\037\n\032ACT_GESTURE_RELOAD_SHOTGUN\020\370\002\022\027" + "\n\022ACT_BUSY_LEAN_LEFT\020\371\002\022\035\n\030ACT_BUSY_LEAN" + "_LEFT_ENTRY\020\372\002\022\034\n\027ACT_BUSY_LEAN_LEFT_EXI" + "T\020\373\002\022\027\n\022ACT_BUSY_LEAN_BACK\020\374\002\022\035\n\030ACT_BUS" + "Y_LEAN_BACK_ENTRY\020\375\002\022\034\n\027ACT_BUSY_LEAN_BA" + "CK_EXIT\020\376\002\022\030\n\023ACT_BUSY_SIT_GROUND\020\377\002\022\036\n\031" + "ACT_BUSY_SIT_GROUND_ENTRY\020\200\003\022\035\n\030ACT_BUSY" + "_SIT_GROUND_EXIT\020\201\003\022\027\n\022ACT_BUSY_SIT_CHAI" + "R\020\202\003\022\035\n\030ACT_BUSY_SIT_CHAIR_ENTRY\020\203\003\022\034\n\027A" + "CT_BUSY_SIT_CHAIR_EXIT\020\204\003\022\023\n\016ACT_BUSY_ST" + "AND\020\205\003\022\023\n\016ACT_BUSY_QUEUE\020\206\003\022\023\n\016ACT_DUCK_" + "DODGE\020\207\003\022\035\n\030ACT_DIE_BARNACLE_SWALLOW\020\210\003\022" + "\"\n\035ACT_GESTURE_BARNACLE_STRANGLE\020\211\003\022\032\n\025A" + "CT_PHYSCANNON_DETACH\020\212\003\022\033\n\026ACT_PHYSCANNO" + "N_ANIMATE\020\213\003\022\037\n\032ACT_PHYSCANNON_ANIMATE_P" + "RE\020\214\003\022 \n\033ACT_PHYSCANNON_ANIMATE_POST\020\215\003\022" + "\026\n\021ACT_DIE_FRONTSIDE\020\216\003\022\026\n\021ACT_DIE_RIGHT" + "SIDE\020\217\003\022\025\n\020ACT_DIE_BACKSIDE\020\220\003\022\025\n\020ACT_DI" + "E_LEFTSIDE\020\221\003\022\022\n\rACT_OPEN_DOOR\020\222\003\022\035\n\030ACT" + "_DI_ALYX_ZOMBIE_MELEE\020\223\003\022#\n\036ACT_DI_ALYX_" + "ZOMBIE_TORSO_MELEE\020\224\003\022\037\n\032ACT_DI_ALYX_HEA" + "DCRAB_MELEE\020\225\003\022\030\n\023ACT_DI_ALYX_ANTLION\020\226\003" + "\022!\n\034ACT_DI_ALYX_ZOMBIE_SHOTGUN64\020\227\003\022!\n\034A" + "CT_DI_ALYX_ZOMBIE_SHOTGUN26\020\230\003\022(\n#ACT_RE" + "ADINESS_RELAXED_TO_STIMULATED\020\231\003\022-\n(ACT_" + "READINESS_RELAXED_TO_STIMULATED_WALK\020\232\003\022" + ")\n$ACT_READINESS_AGITATED_TO_STIMULATED\020" + "\233\003\022(\n#ACT_READINESS_STIMULATED_TO_RELAXE" + "D\020\234\003\022/\n*ACT_READINESS_PISTOL_RELAXED_TO_" + "STIMULATED\020\235\003\0224\n/ACT_READINESS_PISTOL_RE" + "LAXED_TO_STIMULATED_WALK\020\236\003\0220\n+ACT_READI" + "NESS_PISTOL_AGITATED_TO_STIMULATED\020\237\003\022/\n" + "*ACT_READINESS_PISTOL_STIMULATED_TO_RELA" + "XED\020\240\003\022\023\n\016ACT_IDLE_CARRY\020\241\003\022\023\n\016ACT_WALK_" + "CARRY\020\242\003\022\022\n\rACT_DOTA_IDLE\020\243\003\022\027\n\022ACT_DOTA" + "_IDLE_RARE\020\245\003\022\021\n\014ACT_DOTA_RUN\020\246\003\022\024\n\017ACT_" + "DOTA_ATTACK\020\250\003\022\025\n\020ACT_DOTA_ATTACK2\020\251\003\022\032\n" + "\025ACT_DOTA_ATTACK_EVENT\020\252\003\022\021\n\014ACT_DOTA_DI" + "E\020\253\003\022\024\n\017ACT_DOTA_FLINCH\020\254\003\022\023\n\016ACT_DOTA_F" + "LAIL\020\255\003\022\026\n\021ACT_DOTA_DISABLED\020\256\003\022\034\n\027ACT_D" + "OTA_CAST_ABILITY_1\020\257\003\022\034\n\027ACT_DOTA_CAST_A" + "BILITY_2\020\260\003\022\034\n\027ACT_DOTA_CAST_ABILITY_3\020\261" + "\003\022\034\n\027ACT_DOTA_CAST_ABILITY_4\020\262\003\022\034\n\027ACT_D" + "OTA_CAST_ABILITY_5\020\263\003\022\034\n\027ACT_DOTA_CAST_A" + "BILITY_6\020\264\003\022 \n\033ACT_DOTA_OVERRIDE_ABILITY" + "_1\020\265\003\022 \n\033ACT_DOTA_OVERRIDE_ABILITY_2\020\266\003\022" + " \n\033ACT_DOTA_OVERRIDE_ABILITY_3\020\267\003\022 \n\033ACT" + "_DOTA_OVERRIDE_ABILITY_4\020\270\003\022\037\n\032ACT_DOTA_" + "CHANNEL_ABILITY_1\020\271\003\022\037\n\032ACT_DOTA_CHANNEL" + "_ABILITY_2\020\272\003\022\037\n\032ACT_DOTA_CHANNEL_ABILIT" + "Y_3\020\273\003\022\037\n\032ACT_DOTA_CHANNEL_ABILITY_4\020\274\003\022" + "\037\n\032ACT_DOTA_CHANNEL_ABILITY_5\020\275\003\022\037\n\032ACT_" + "DOTA_CHANNEL_ABILITY_6\020\276\003\022#\n\036ACT_DOTA_CH" + "ANNEL_END_ABILITY_1\020\277\003\022#\n\036ACT_DOTA_CHANN" + "EL_END_ABILITY_2\020\300\003\022#\n\036ACT_DOTA_CHANNEL_" + "END_ABILITY_3\020\301\003\022#\n\036ACT_DOTA_CHANNEL_END" + "_ABILITY_4\020\302\003\022#\n\036ACT_DOTA_CHANNEL_END_AB" + "ILITY_5\020\303\003\022#\n\036ACT_DOTA_CHANNEL_END_ABILI" + "TY_6\020\304\003\022\034\n\027ACT_DOTA_CONSTANT_LAYER\020\305\003\022\025\n" + "\020ACT_DOTA_CAPTURE\020\306\003\022\023\n\016ACT_DOTA_SPAWN\020\307" + "\003\022\027\n\022ACT_DOTA_KILLTAUNT\020\310\003\022\023\n\016ACT_DOTA_T" + "AUNT\020\311\003\022\024\n\017ACT_DOTA_THIRST\020\312\003\022\037\n\032ACT_DOT" + "A_CAST_DRAGONBREATH\020\313\003\022\027\n\022ACT_DOTA_ECHO_" + "SLAM\020\314\003\022 \n\033ACT_DOTA_CAST_ABILITY_1_END\020\315" + "\003\022 \n\033ACT_DOTA_CAST_ABILITY_2_END\020\316\003\022 \n\033A" + "CT_DOTA_CAST_ABILITY_3_END\020\317\003\022 \n\033ACT_DOT" + "A_CAST_ABILITY_4_END\020\320\003\022\030\n\023ACT_MIRANA_LE" + "AP_END\020\321\003\022\027\n\022ACT_WAVEFORM_START\020\322\003\022\025\n\020AC" + "T_WAVEFORM_END\020\323\003\022\036\n\031ACT_DOTA_CAST_ABILI" + "TY_ROT\020\324\003\022\031\n\024ACT_DOTA_DIE_SPECIAL\020\325\003\022\'\n\"" + "ACT_DOTA_RATTLETRAP_BATTERYASSAULT\020\326\003\022\"\n" + "\035ACT_DOTA_RATTLETRAP_POWERCOGS\020\327\003\022\'\n\"ACT" + "_DOTA_RATTLETRAP_HOOKSHOT_START\020\330\003\022&\n!AC" + "T_DOTA_RATTLETRAP_HOOKSHOT_LOOP\020\331\003\022%\n AC" + "T_DOTA_RATTLETRAP_HOOKSHOT_END\020\332\003\022+\n&ACT" + "_STORM_SPIRIT_OVERLOAD_RUN_OVERRIDE\020\333\003\022\033" + "\n\026ACT_DOTA_TINKER_REARM1\020\334\003\022\033\n\026ACT_DOTA_" + "TINKER_REARM2\020\335\003\022\033\n\026ACT_DOTA_TINKER_REAR" + "M3\020\336\003\022\027\n\022ACT_TINY_AVALANCHE\020\337\003\022\022\n\rACT_TI" + "NY_TOSS\020\340\003\022\023\n\016ACT_TINY_GROWL\020\341\003\022\036\n\031ACT_D" + "OTA_WEAVERBUG_ATTACH\020\342\003\022 \n\033ACT_DOTA_CAST" + "_WILD_AXES_END\020\343\003\022#\n\036ACT_DOTA_CAST_LIFE_" + "BREAK_START\020\344\003\022!\n\034ACT_DOTA_CAST_LIFE_BRE" + "AK_END\020\345\003\022%\n ACT_DOTA_NIGHTSTALKER_TRANS" + "ITION\020\346\003\022\036\n\031ACT_DOTA_LIFESTEALER_RAGE\020\347\003" + "\022%\n ACT_DOTA_LIFESTEALER_OPEN_WOUNDS\020\350\003\022" + "!\n\034ACT_DOTA_SAND_KING_BURROW_IN\020\351\003\022\"\n\035AC" + "T_DOTA_SAND_KING_BURROW_OUT\020\352\003\022&\n!ACT_DO" + "TA_EARTHSHAKER_TOTEM_ATTACK\020\353\003\022\031\n\024ACT_DO" + "TA_WHEEL_LAYER\020\354\003\022+\n&ACT_DOTA_ALCHEMIST_" + "CHEMICAL_RAGE_START\020\355\003\022\"\n\035ACT_DOTA_ALCHE" + "MIST_CONCOCTION\020\356\003\022%\n ACT_DOTA_JAKIRO_LI" + "QUIDFIRE_START\020\357\003\022$\n\037ACT_DOTA_JAKIRO_LIQ" + "UIDFIRE_LOOP\020\360\003\022 \n\033ACT_DOTA_LIFESTEALER_" + "INFEST\020\361\003\022$\n\037ACT_DOTA_LIFESTEALER_INFEST" + "_END\020\362\003\022\030\n\023ACT_DOTA_LASSO_LOOP\020\363\003\022(\n#ACT" + "_DOTA_ALCHEMIST_CONCOCTION_THROW\020\364\003\022)\n$A" + "CT_DOTA_ALCHEMIST_CHEMICAL_RAGE_END\020\365\003\022\034" + "\n\027ACT_DOTA_CAST_COLD_SNAP\020\366\003\022\035\n\030ACT_DOTA" + "_CAST_GHOST_WALK\020\367\003\022\032\n\025ACT_DOTA_CAST_TOR" + "NADO\020\370\003\022\026\n\021ACT_DOTA_CAST_EMP\020\371\003\022\033\n\026ACT_D" + "OTA_CAST_ALACRITY\020\372\003\022\037\n\032ACT_DOTA_CAST_CH" + "AOS_METEOR\020\373\003\022\035\n\030ACT_DOTA_CAST_SUN_STRIK" + "E\020\374\003\022\037\n\032ACT_DOTA_CAST_FORGE_SPIRIT\020\375\003\022\033\n" + "\026ACT_DOTA_CAST_ICE_WALL\020\376\003\022\"\n\035ACT_DOTA_C" + "AST_DEAFENING_BLAST\020\377\003\022\025\n\020ACT_DOTA_VICTO" + "RY\020\200\004\022\024\n\017ACT_DOTA_DEFEAT\020\201\004\022(\n#ACT_DOTA_" + "SPIRIT_BREAKER_CHARGE_POSE\020\202\004\022\'\n\"ACT_DOT" + "A_SPIRIT_BREAKER_CHARGE_END\020\203\004\022\026\n\021ACT_DO" + "TA_TELEPORT\020\204\004\022\032\n\025ACT_DOTA_TELEPORT_END\020" + "\205\004\022\035\n\030ACT_DOTA_CAST_REFRACTION\020\206\004\022\034\n\027ACT" + "_DOTA_CAST_ABILITY_7\020\207\004\022\037\n\032ACT_DOTA_CANC" + "EL_SIREN_SONG\020\210\004\022\037\n\032ACT_DOTA_CHANNEL_ABI" + "LITY_7\020\211\004\022\025\n\020ACT_DOTA_LOADOUT\020\212\004\022\034\n\027ACT_" + "DOTA_FORCESTAFF_END\020\213\004\022\026\n\021ACT_DOTA_POOF_" + "END\020\214\004\022\032\n\025ACT_DOTA_SLARK_POUNCE\020\215\004\022!\n\034AC" + "T_DOTA_MAGNUS_SKEWER_START\020\216\004\022\037\n\032ACT_DOT" + "A_MAGNUS_SKEWER_END\020\217\004\022\037\n\032ACT_DOTA_MEDUS" + "A_STONE_GAZE\020\220\004\022\031\n\024ACT_DOTA_RELAX_START\020" + "\221\004\022\030\n\023ACT_DOTA_RELAX_LOOP\020\222\004\022\027\n\022ACT_DOTA" + "_RELAX_END\020\223\004\022\036\n\031ACT_DOTA_CENTAUR_STAMPE" + "DE\020\224\004\022\035\n\030ACT_DOTA_BELLYACHE_START\020\225\004\022\034\n\027" + "ACT_DOTA_BELLYACHE_LOOP\020\226\004\022\033\n\026ACT_DOTA_B" + "ELLYACHE_END\020\227\004\022\035\n\030ACT_DOTA_ROQUELAIRE_L" + "AND\020\230\004\022\"\n\035ACT_DOTA_ROQUELAIRE_LAND_IDLE\020" + "\231\004\022\032\n\025ACT_DOTA_GREEVIL_CAST\020\232\004\022&\n!ACT_DO" + "TA_GREEVIL_OVERRIDE_ABILITY\020\233\004\022 \n\033ACT_DO" + "TA_GREEVIL_HOOK_START\020\234\004\022\036\n\031ACT_DOTA_GRE" + "EVIL_HOOK_END\020\235\004\022 \n\033ACT_DOTA_GREEVIL_BLI" + "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); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "ai_activity.proto", &protobuf_RegisterTypes); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_ai_5factivity_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_ai_5factivity_2eproto { + StaticDescriptorInitializer_ai_5factivity_2eproto() { + protobuf_AddDesc_ai_5factivity_2eproto(); + } +} static_descriptor_initializer_ai_5factivity_2eproto_; + +const ::google::protobuf::EnumDescriptor* Activity_descriptor() { + protobuf_AssignDescriptorsOnce(); + return Activity_descriptor_; +} +bool Activity_IsValid(int value) { + switch(value) { + case -1: + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 80: + case 81: + case 82: + case 83: + case 84: + case 85: + case 86: + case 87: + case 88: + case 89: + case 90: + case 91: + case 92: + case 93: + case 94: + case 95: + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + case 109: + case 110: + case 111: + case 112: + case 113: + case 114: + case 115: + case 116: + case 117: + case 118: + case 119: + case 120: + case 121: + case 122: + case 123: + case 124: + case 125: + case 126: + case 127: + case 128: + case 129: + case 130: + case 131: + case 132: + case 133: + case 134: + case 135: + case 136: + case 137: + case 138: + case 139: + case 140: + case 141: + case 142: + case 143: + case 144: + case 145: + case 146: + case 147: + case 148: + case 149: + case 150: + case 151: + case 152: + case 153: + case 154: + case 155: + case 156: + case 157: + case 158: + case 159: + case 160: + case 161: + case 162: + case 163: + case 164: + case 165: + case 166: + case 167: + case 168: + case 169: + case 170: + case 171: + case 172: + case 173: + case 174: + case 175: + case 176: + case 177: + case 178: + case 179: + case 180: + case 181: + case 182: + case 183: + case 184: + case 185: + case 186: + case 187: + case 188: + case 189: + case 190: + case 191: + case 192: + case 193: + case 194: + case 195: + case 196: + case 197: + case 198: + case 199: + case 200: + case 201: + case 202: + case 203: + case 204: + case 205: + case 206: + case 207: + case 208: + case 209: + case 210: + case 211: + case 212: + case 213: + case 214: + case 215: + case 216: + case 217: + case 218: + case 219: + case 220: + case 221: + case 222: + case 223: + case 224: + case 225: + case 226: + case 227: + case 228: + case 229: + case 230: + case 231: + case 232: + case 233: + case 234: + case 235: + case 236: + case 237: + case 238: + case 239: + case 240: + case 241: + case 242: + case 243: + case 244: + case 245: + case 246: + case 247: + case 248: + case 249: + case 250: + case 251: + case 252: + case 253: + case 254: + case 255: + case 256: + case 257: + case 258: + case 259: + case 260: + case 261: + case 262: + case 263: + case 264: + case 265: + case 266: + case 267: + case 268: + case 269: + case 270: + case 271: + case 272: + case 273: + case 274: + case 275: + case 276: + case 277: + case 278: + case 279: + case 280: + case 281: + case 282: + case 283: + case 284: + case 285: + case 286: + case 287: + case 288: + case 289: + case 290: + case 291: + case 292: + case 293: + case 294: + case 295: + case 296: + case 297: + case 298: + case 299: + case 300: + case 301: + case 302: + case 303: + case 304: + case 305: + case 306: + case 307: + case 308: + case 309: + case 310: + case 311: + case 312: + case 313: + case 314: + case 315: + case 316: + case 317: + case 318: + case 319: + case 320: + case 321: + case 322: + case 323: + case 324: + case 325: + case 326: + case 327: + case 328: + case 329: + case 330: + case 331: + case 332: + case 333: + case 334: + case 335: + case 336: + case 337: + case 338: + case 339: + case 340: + case 341: + case 342: + case 343: + case 344: + case 345: + case 346: + case 347: + case 348: + case 349: + case 350: + case 351: + case 352: + case 353: + case 354: + case 355: + case 356: + case 357: + case 358: + case 359: + case 360: + case 361: + case 362: + case 363: + case 364: + case 365: + case 366: + case 367: + case 368: + case 369: + case 370: + case 371: + case 372: + case 373: + case 374: + case 375: + case 376: + case 377: + case 378: + case 379: + case 380: + case 381: + case 382: + case 383: + case 384: + case 385: + case 386: + case 387: + case 388: + case 389: + case 390: + case 391: + case 392: + case 393: + case 394: + case 395: + case 396: + case 397: + case 398: + case 399: + case 400: + case 401: + case 402: + case 403: + case 404: + case 405: + case 406: + case 407: + case 408: + case 409: + case 410: + case 411: + case 412: + case 413: + case 414: + case 415: + case 416: + case 417: + case 418: + case 419: + case 421: + case 422: + case 424: + case 425: + case 426: + case 427: + case 428: + case 429: + case 430: + case 431: + case 432: + case 433: + case 434: + case 435: + case 436: + case 437: + case 438: + case 439: + case 440: + case 441: + case 442: + case 443: + case 444: + case 445: + case 446: + case 447: + case 448: + case 449: + case 450: + case 451: + case 452: + case 453: + case 454: + case 455: + case 456: + case 457: + case 458: + case 459: + case 460: + case 461: + case 462: + case 463: + case 464: + case 465: + case 466: + case 467: + case 468: + case 469: + case 470: + case 471: + case 472: + case 473: + case 474: + case 475: + case 476: + case 477: + case 478: + case 479: + case 480: + case 481: + case 482: + case 483: + case 484: + case 485: + case 486: + case 487: + case 488: + case 489: + case 490: + case 491: + case 492: + case 493: + case 494: + case 495: + case 496: + case 497: + case 498: + case 499: + case 500: + case 501: + case 502: + case 503: + case 504: + case 505: + case 506: + case 507: + case 508: + case 509: + case 510: + case 511: + case 512: + case 513: + case 514: + case 515: + case 516: + case 517: + case 518: + case 519: + case 520: + case 521: + case 522: + case 523: + case 524: + case 525: + case 526: + case 527: + case 528: + case 529: + case 530: + case 531: + case 532: + case 533: + case 534: + case 535: + case 536: + case 537: + case 538: + case 539: + case 540: + case 541: + case 542: + case 543: + case 544: + case 545: + case 546: + case 547: + return true; + default: + return false; + } +} + + +// @@protoc_insertion_point(namespace_scope) + +// @@protoc_insertion_point(global_scope) diff --git a/public/game/shared/dota/protobuf/ai_activity.pb.h b/public/game/shared/dota/protobuf/ai_activity.pb.h new file mode 100644 index 00000000..67ab662b --- /dev/null +++ b/public/game/shared/dota/protobuf/ai_activity.pb.h @@ -0,0 +1,624 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ai_activity.proto + +#ifndef PROTOBUF_ai_5factivity_2eproto__INCLUDED +#define PROTOBUF_ai_5factivity_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2004000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +// Internal implementation detail -- do not call these. +void protobuf_AddDesc_ai_5factivity_2eproto(); +void protobuf_AssignDesc_ai_5factivity_2eproto(); +void protobuf_ShutdownFile_ai_5factivity_2eproto(); + + +enum Activity { + ACT_INVALID = -1, + ACT_RESET = 0, + ACT_IDLE = 1, + ACT_TRANSITION = 2, + ACT_COVER = 3, + ACT_COVER_MED = 4, + ACT_COVER_LOW = 5, + ACT_WALK = 6, + ACT_WALK_AIM = 7, + ACT_WALK_CROUCH = 8, + ACT_WALK_CROUCH_AIM = 9, + ACT_RUN = 10, + ACT_RUN_AIM = 11, + ACT_RUN_CROUCH = 12, + ACT_RUN_CROUCH_AIM = 13, + ACT_RUN_PROTECTED = 14, + ACT_SCRIPT_CUSTOM_MOVE = 15, + ACT_RANGE_ATTACK1 = 16, + ACT_RANGE_ATTACK2 = 17, + ACT_RANGE_ATTACK1_LOW = 18, + ACT_RANGE_ATTACK2_LOW = 19, + ACT_DIESIMPLE = 20, + ACT_DIEBACKWARD = 21, + ACT_DIEFORWARD = 22, + ACT_DIEVIOLENT = 23, + ACT_DIERAGDOLL = 24, + ACT_FLY = 25, + ACT_HOVER = 26, + ACT_GLIDE = 27, + ACT_SWIM = 28, + ACT_JUMP = 29, + ACT_HOP = 30, + ACT_LEAP = 31, + ACT_LAND = 32, + ACT_CLIMB_UP = 33, + ACT_CLIMB_DOWN = 34, + ACT_CLIMB_DISMOUNT = 35, + ACT_SHIPLADDER_UP = 36, + ACT_SHIPLADDER_DOWN = 37, + ACT_STRAFE_LEFT = 38, + ACT_STRAFE_RIGHT = 39, + ACT_ROLL_LEFT = 40, + ACT_ROLL_RIGHT = 41, + ACT_TURN_LEFT = 42, + ACT_TURN_RIGHT = 43, + ACT_CROUCH = 44, + ACT_CROUCHIDLE = 45, + ACT_STAND = 46, + ACT_USE = 47, + ACT_ALIEN_BURROW_IDLE = 48, + ACT_ALIEN_BURROW_OUT = 49, + ACT_SIGNAL1 = 50, + ACT_SIGNAL2 = 51, + ACT_SIGNAL3 = 52, + ACT_SIGNAL_ADVANCE = 53, + ACT_SIGNAL_FORWARD = 54, + ACT_SIGNAL_GROUP = 55, + ACT_SIGNAL_HALT = 56, + ACT_SIGNAL_LEFT = 57, + ACT_SIGNAL_RIGHT = 58, + ACT_SIGNAL_TAKECOVER = 59, + ACT_LOOKBACK_RIGHT = 60, + ACT_LOOKBACK_LEFT = 61, + ACT_COWER = 62, + ACT_SMALL_FLINCH = 63, + ACT_BIG_FLINCH = 64, + ACT_MELEE_ATTACK1 = 65, + ACT_MELEE_ATTACK2 = 66, + ACT_RELOAD = 67, + ACT_RELOAD_START = 68, + ACT_RELOAD_FINISH = 69, + ACT_RELOAD_LOW = 70, + ACT_ARM = 71, + ACT_DISARM = 72, + ACT_DROP_WEAPON = 73, + ACT_DROP_WEAPON_SHOTGUN = 74, + ACT_PICKUP_GROUND = 75, + ACT_PICKUP_RACK = 76, + ACT_IDLE_ANGRY = 77, + ACT_IDLE_RELAXED = 78, + ACT_IDLE_STIMULATED = 79, + ACT_IDLE_AGITATED = 80, + ACT_IDLE_STEALTH = 81, + ACT_IDLE_HURT = 82, + ACT_WALK_RELAXED = 83, + ACT_WALK_STIMULATED = 84, + ACT_WALK_AGITATED = 85, + ACT_WALK_STEALTH = 86, + ACT_RUN_RELAXED = 87, + ACT_RUN_STIMULATED = 88, + ACT_RUN_AGITATED = 89, + ACT_RUN_STEALTH = 90, + ACT_IDLE_AIM_RELAXED = 91, + ACT_IDLE_AIM_STIMULATED = 92, + ACT_IDLE_AIM_AGITATED = 93, + ACT_IDLE_AIM_STEALTH = 94, + ACT_WALK_AIM_RELAXED = 95, + ACT_WALK_AIM_STIMULATED = 96, + ACT_WALK_AIM_AGITATED = 97, + ACT_WALK_AIM_STEALTH = 98, + ACT_RUN_AIM_RELAXED = 99, + ACT_RUN_AIM_STIMULATED = 100, + ACT_RUN_AIM_AGITATED = 101, + ACT_RUN_AIM_STEALTH = 102, + ACT_CROUCHIDLE_STIMULATED = 103, + ACT_CROUCHIDLE_AIM_STIMULATED = 104, + ACT_CROUCHIDLE_AGITATED = 105, + ACT_WALK_HURT = 106, + ACT_RUN_HURT = 107, + ACT_SPECIAL_ATTACK1 = 108, + ACT_SPECIAL_ATTACK2 = 109, + ACT_COMBAT_IDLE = 110, + ACT_WALK_SCARED = 111, + ACT_RUN_SCARED = 112, + ACT_VICTORY_DANCE = 113, + ACT_DIE_HEADSHOT = 114, + ACT_DIE_CHESTSHOT = 115, + ACT_DIE_GUTSHOT = 116, + ACT_DIE_BACKSHOT = 117, + ACT_FLINCH_HEAD = 118, + ACT_FLINCH_CHEST = 119, + ACT_FLINCH_STOMACH = 120, + ACT_FLINCH_LEFTARM = 121, + ACT_FLINCH_RIGHTARM = 122, + ACT_FLINCH_LEFTLEG = 123, + ACT_FLINCH_RIGHTLEG = 124, + ACT_FLINCH_PHYSICS = 125, + ACT_FLINCH_HEAD_BACK = 126, + ACT_FLINCH_CHEST_BACK = 127, + ACT_FLINCH_STOMACH_BACK = 128, + ACT_FLINCH_CROUCH_FRONT = 129, + ACT_FLINCH_CROUCH_BACK = 130, + ACT_FLINCH_CROUCH_LEFT = 131, + ACT_FLINCH_CROUCH_RIGHT = 132, + ACT_IDLE_ON_FIRE = 133, + ACT_WALK_ON_FIRE = 134, + ACT_RUN_ON_FIRE = 135, + ACT_RAPPEL_LOOP = 136, + ACT_180_LEFT = 137, + ACT_180_RIGHT = 138, + ACT_90_LEFT = 139, + ACT_90_RIGHT = 140, + ACT_STEP_LEFT = 141, + ACT_STEP_RIGHT = 142, + ACT_STEP_BACK = 143, + ACT_STEP_FORE = 144, + ACT_GESTURE_RANGE_ATTACK1 = 145, + ACT_GESTURE_RANGE_ATTACK2 = 146, + ACT_GESTURE_MELEE_ATTACK1 = 147, + ACT_GESTURE_MELEE_ATTACK2 = 148, + ACT_GESTURE_RANGE_ATTACK1_LOW = 149, + ACT_GESTURE_RANGE_ATTACK2_LOW = 150, + ACT_MELEE_ATTACK_SWING_GESTURE = 151, + ACT_GESTURE_SMALL_FLINCH = 152, + ACT_GESTURE_BIG_FLINCH = 153, + ACT_GESTURE_FLINCH_BLAST = 154, + ACT_GESTURE_FLINCH_BLAST_SHOTGUN = 155, + ACT_GESTURE_FLINCH_BLAST_DAMAGED = 156, + ACT_GESTURE_FLINCH_BLAST_DAMAGED_SHOTGUN = 157, + ACT_GESTURE_FLINCH_HEAD = 158, + ACT_GESTURE_FLINCH_CHEST = 159, + ACT_GESTURE_FLINCH_STOMACH = 160, + ACT_GESTURE_FLINCH_LEFTARM = 161, + ACT_GESTURE_FLINCH_RIGHTARM = 162, + ACT_GESTURE_FLINCH_LEFTLEG = 163, + ACT_GESTURE_FLINCH_RIGHTLEG = 164, + ACT_GESTURE_TURN_LEFT = 165, + ACT_GESTURE_TURN_RIGHT = 166, + ACT_GESTURE_TURN_LEFT45 = 167, + ACT_GESTURE_TURN_RIGHT45 = 168, + ACT_GESTURE_TURN_LEFT90 = 169, + ACT_GESTURE_TURN_RIGHT90 = 170, + ACT_GESTURE_TURN_LEFT45_FLAT = 171, + ACT_GESTURE_TURN_RIGHT45_FLAT = 172, + ACT_GESTURE_TURN_LEFT90_FLAT = 173, + ACT_GESTURE_TURN_RIGHT90_FLAT = 174, + ACT_BARNACLE_HIT = 175, + ACT_BARNACLE_PULL = 176, + ACT_BARNACLE_CHOMP = 177, + ACT_BARNACLE_CHEW = 178, + ACT_DO_NOT_DISTURB = 179, + ACT_SPECIFIC_SEQUENCE = 180, + ACT_VM_DRAW = 181, + ACT_VM_HOLSTER = 182, + ACT_VM_IDLE = 183, + ACT_VM_FIDGET = 184, + ACT_VM_PULLBACK = 185, + ACT_VM_PULLBACK_HIGH = 186, + ACT_VM_PULLBACK_LOW = 187, + ACT_VM_THROW = 188, + ACT_VM_PULLPIN = 189, + ACT_VM_PRIMARYATTACK = 190, + ACT_VM_SECONDARYATTACK = 191, + ACT_VM_RELOAD = 192, + ACT_VM_DRYFIRE = 193, + ACT_VM_HITLEFT = 194, + ACT_VM_HITLEFT2 = 195, + ACT_VM_HITRIGHT = 196, + ACT_VM_HITRIGHT2 = 197, + ACT_VM_HITCENTER = 198, + ACT_VM_HITCENTER2 = 199, + ACT_VM_MISSLEFT = 200, + ACT_VM_MISSLEFT2 = 201, + ACT_VM_MISSRIGHT = 202, + ACT_VM_MISSRIGHT2 = 203, + ACT_VM_MISSCENTER = 204, + ACT_VM_MISSCENTER2 = 205, + ACT_VM_HAULBACK = 206, + ACT_VM_SWINGHARD = 207, + ACT_VM_SWINGMISS = 208, + ACT_VM_SWINGHIT = 209, + ACT_VM_IDLE_TO_LOWERED = 210, + ACT_VM_IDLE_LOWERED = 211, + ACT_VM_LOWERED_TO_IDLE = 212, + ACT_VM_RECOIL1 = 213, + ACT_VM_RECOIL2 = 214, + ACT_VM_RECOIL3 = 215, + ACT_VM_PICKUP = 216, + ACT_VM_RELEASE = 217, + ACT_VM_ATTACH_SILENCER = 218, + ACT_VM_DETACH_SILENCER = 219, + ACT_SLAM_STICKWALL_IDLE = 220, + ACT_SLAM_STICKWALL_ND_IDLE = 221, + ACT_SLAM_STICKWALL_ATTACH = 222, + ACT_SLAM_STICKWALL_ATTACH2 = 223, + ACT_SLAM_STICKWALL_ND_ATTACH = 224, + ACT_SLAM_STICKWALL_ND_ATTACH2 = 225, + ACT_SLAM_STICKWALL_DETONATE = 226, + ACT_SLAM_STICKWALL_DETONATOR_HOLSTER = 227, + ACT_SLAM_STICKWALL_DRAW = 228, + ACT_SLAM_STICKWALL_ND_DRAW = 229, + ACT_SLAM_STICKWALL_TO_THROW = 230, + ACT_SLAM_STICKWALL_TO_THROW_ND = 231, + ACT_SLAM_STICKWALL_TO_TRIPMINE_ND = 232, + ACT_SLAM_THROW_IDLE = 233, + ACT_SLAM_THROW_ND_IDLE = 234, + ACT_SLAM_THROW_THROW = 235, + ACT_SLAM_THROW_THROW2 = 236, + ACT_SLAM_THROW_THROW_ND = 237, + ACT_SLAM_THROW_THROW_ND2 = 238, + ACT_SLAM_THROW_DRAW = 239, + ACT_SLAM_THROW_ND_DRAW = 240, + ACT_SLAM_THROW_TO_STICKWALL = 241, + ACT_SLAM_THROW_TO_STICKWALL_ND = 242, + ACT_SLAM_THROW_DETONATE = 243, + ACT_SLAM_THROW_DETONATOR_HOLSTER = 244, + ACT_SLAM_THROW_TO_TRIPMINE_ND = 245, + ACT_SLAM_TRIPMINE_IDLE = 246, + ACT_SLAM_TRIPMINE_DRAW = 247, + ACT_SLAM_TRIPMINE_ATTACH = 248, + ACT_SLAM_TRIPMINE_ATTACH2 = 249, + ACT_SLAM_TRIPMINE_TO_STICKWALL_ND = 250, + ACT_SLAM_TRIPMINE_TO_THROW_ND = 251, + ACT_SLAM_DETONATOR_IDLE = 252, + ACT_SLAM_DETONATOR_DRAW = 253, + ACT_SLAM_DETONATOR_DETONATE = 254, + ACT_SLAM_DETONATOR_HOLSTER = 255, + ACT_SLAM_DETONATOR_STICKWALL_DRAW = 256, + ACT_SLAM_DETONATOR_THROW_DRAW = 257, + ACT_SHOTGUN_RELOAD_START = 258, + ACT_SHOTGUN_RELOAD_FINISH = 259, + ACT_SHOTGUN_PUMP = 260, + ACT_SMG2_IDLE2 = 261, + ACT_SMG2_FIRE2 = 262, + ACT_SMG2_DRAW2 = 263, + ACT_SMG2_RELOAD2 = 264, + ACT_SMG2_DRYFIRE2 = 265, + ACT_SMG2_TOAUTO = 266, + ACT_SMG2_TOBURST = 267, + ACT_PHYSCANNON_UPGRADE = 268, + ACT_RANGE_ATTACK_AR1 = 269, + ACT_RANGE_ATTACK_AR2 = 270, + ACT_RANGE_ATTACK_AR2_LOW = 271, + ACT_RANGE_ATTACK_AR2_GRENADE = 272, + ACT_RANGE_ATTACK_HMG1 = 273, + ACT_RANGE_ATTACK_ML = 274, + ACT_RANGE_ATTACK_SMG1 = 275, + ACT_RANGE_ATTACK_SMG1_LOW = 276, + ACT_RANGE_ATTACK_SMG2 = 277, + ACT_RANGE_ATTACK_SHOTGUN = 278, + ACT_RANGE_ATTACK_SHOTGUN_LOW = 279, + ACT_RANGE_ATTACK_PISTOL = 280, + ACT_RANGE_ATTACK_PISTOL_LOW = 281, + ACT_RANGE_ATTACK_SLAM = 282, + ACT_RANGE_ATTACK_TRIPWIRE = 283, + ACT_RANGE_ATTACK_THROW = 284, + ACT_RANGE_ATTACK_SNIPER_RIFLE = 285, + ACT_RANGE_ATTACK_RPG = 286, + ACT_MELEE_ATTACK_SWING = 287, + ACT_RANGE_AIM_LOW = 288, + ACT_RANGE_AIM_SMG1_LOW = 289, + ACT_RANGE_AIM_PISTOL_LOW = 290, + ACT_RANGE_AIM_AR2_LOW = 291, + ACT_COVER_PISTOL_LOW = 292, + ACT_COVER_SMG1_LOW = 293, + ACT_GESTURE_RANGE_ATTACK_AR1 = 294, + ACT_GESTURE_RANGE_ATTACK_AR2 = 295, + ACT_GESTURE_RANGE_ATTACK_AR2_GRENADE = 296, + ACT_GESTURE_RANGE_ATTACK_HMG1 = 297, + ACT_GESTURE_RANGE_ATTACK_ML = 298, + ACT_GESTURE_RANGE_ATTACK_SMG1 = 299, + ACT_GESTURE_RANGE_ATTACK_SMG1_LOW = 300, + ACT_GESTURE_RANGE_ATTACK_SMG2 = 301, + ACT_GESTURE_RANGE_ATTACK_SHOTGUN = 302, + ACT_GESTURE_RANGE_ATTACK_PISTOL = 303, + ACT_GESTURE_RANGE_ATTACK_PISTOL_LOW = 304, + ACT_GESTURE_RANGE_ATTACK_SLAM = 305, + ACT_GESTURE_RANGE_ATTACK_TRIPWIRE = 306, + ACT_GESTURE_RANGE_ATTACK_THROW = 307, + ACT_GESTURE_RANGE_ATTACK_SNIPER_RIFLE = 308, + ACT_GESTURE_MELEE_ATTACK_SWING = 309, + ACT_IDLE_RIFLE = 310, + ACT_IDLE_SMG1 = 311, + ACT_IDLE_ANGRY_SMG1 = 312, + ACT_IDLE_PISTOL = 313, + ACT_IDLE_ANGRY_PISTOL = 314, + ACT_IDLE_ANGRY_SHOTGUN = 315, + ACT_IDLE_STEALTH_PISTOL = 316, + ACT_IDLE_PACKAGE = 317, + ACT_WALK_PACKAGE = 318, + ACT_IDLE_SUITCASE = 319, + ACT_WALK_SUITCASE = 320, + ACT_IDLE_SMG1_RELAXED = 321, + ACT_IDLE_SMG1_STIMULATED = 322, + ACT_WALK_RIFLE_RELAXED = 323, + ACT_RUN_RIFLE_RELAXED = 324, + ACT_WALK_RIFLE_STIMULATED = 325, + ACT_RUN_RIFLE_STIMULATED = 326, + ACT_IDLE_AIM_RIFLE_STIMULATED = 327, + ACT_WALK_AIM_RIFLE_STIMULATED = 328, + ACT_RUN_AIM_RIFLE_STIMULATED = 329, + ACT_IDLE_SHOTGUN_RELAXED = 330, + ACT_IDLE_SHOTGUN_STIMULATED = 331, + ACT_IDLE_SHOTGUN_AGITATED = 332, + ACT_WALK_ANGRY = 333, + ACT_POLICE_HARASS1 = 334, + ACT_POLICE_HARASS2 = 335, + ACT_IDLE_MANNEDGUN = 336, + ACT_IDLE_MELEE = 337, + ACT_IDLE_ANGRY_MELEE = 338, + ACT_IDLE_RPG_RELAXED = 339, + ACT_IDLE_RPG = 340, + ACT_IDLE_ANGRY_RPG = 341, + ACT_COVER_LOW_RPG = 342, + ACT_WALK_RPG = 343, + ACT_RUN_RPG = 344, + ACT_WALK_CROUCH_RPG = 345, + ACT_RUN_CROUCH_RPG = 346, + ACT_WALK_RPG_RELAXED = 347, + ACT_RUN_RPG_RELAXED = 348, + ACT_WALK_RIFLE = 349, + ACT_WALK_AIM_RIFLE = 350, + ACT_WALK_CROUCH_RIFLE = 351, + ACT_WALK_CROUCH_AIM_RIFLE = 352, + ACT_RUN_RIFLE = 353, + ACT_RUN_AIM_RIFLE = 354, + ACT_RUN_CROUCH_RIFLE = 355, + ACT_RUN_CROUCH_AIM_RIFLE = 356, + ACT_RUN_STEALTH_PISTOL = 357, + ACT_WALK_AIM_SHOTGUN = 358, + ACT_RUN_AIM_SHOTGUN = 359, + ACT_WALK_PISTOL = 360, + ACT_RUN_PISTOL = 361, + ACT_WALK_AIM_PISTOL = 362, + ACT_RUN_AIM_PISTOL = 363, + ACT_WALK_STEALTH_PISTOL = 364, + ACT_WALK_AIM_STEALTH_PISTOL = 365, + ACT_RUN_AIM_STEALTH_PISTOL = 366, + ACT_RELOAD_PISTOL = 367, + ACT_RELOAD_PISTOL_LOW = 368, + ACT_RELOAD_SMG1 = 369, + ACT_RELOAD_SMG1_LOW = 370, + ACT_RELOAD_SHOTGUN = 371, + ACT_RELOAD_SHOTGUN_LOW = 372, + ACT_GESTURE_RELOAD = 373, + ACT_GESTURE_RELOAD_PISTOL = 374, + ACT_GESTURE_RELOAD_SMG1 = 375, + ACT_GESTURE_RELOAD_SHOTGUN = 376, + ACT_BUSY_LEAN_LEFT = 377, + ACT_BUSY_LEAN_LEFT_ENTRY = 378, + ACT_BUSY_LEAN_LEFT_EXIT = 379, + ACT_BUSY_LEAN_BACK = 380, + ACT_BUSY_LEAN_BACK_ENTRY = 381, + ACT_BUSY_LEAN_BACK_EXIT = 382, + ACT_BUSY_SIT_GROUND = 383, + ACT_BUSY_SIT_GROUND_ENTRY = 384, + ACT_BUSY_SIT_GROUND_EXIT = 385, + ACT_BUSY_SIT_CHAIR = 386, + ACT_BUSY_SIT_CHAIR_ENTRY = 387, + ACT_BUSY_SIT_CHAIR_EXIT = 388, + ACT_BUSY_STAND = 389, + ACT_BUSY_QUEUE = 390, + ACT_DUCK_DODGE = 391, + ACT_DIE_BARNACLE_SWALLOW = 392, + ACT_GESTURE_BARNACLE_STRANGLE = 393, + ACT_PHYSCANNON_DETACH = 394, + ACT_PHYSCANNON_ANIMATE = 395, + ACT_PHYSCANNON_ANIMATE_PRE = 396, + ACT_PHYSCANNON_ANIMATE_POST = 397, + ACT_DIE_FRONTSIDE = 398, + ACT_DIE_RIGHTSIDE = 399, + ACT_DIE_BACKSIDE = 400, + ACT_DIE_LEFTSIDE = 401, + ACT_OPEN_DOOR = 402, + ACT_DI_ALYX_ZOMBIE_MELEE = 403, + ACT_DI_ALYX_ZOMBIE_TORSO_MELEE = 404, + ACT_DI_ALYX_HEADCRAB_MELEE = 405, + ACT_DI_ALYX_ANTLION = 406, + ACT_DI_ALYX_ZOMBIE_SHOTGUN64 = 407, + ACT_DI_ALYX_ZOMBIE_SHOTGUN26 = 408, + ACT_READINESS_RELAXED_TO_STIMULATED = 409, + ACT_READINESS_RELAXED_TO_STIMULATED_WALK = 410, + ACT_READINESS_AGITATED_TO_STIMULATED = 411, + ACT_READINESS_STIMULATED_TO_RELAXED = 412, + ACT_READINESS_PISTOL_RELAXED_TO_STIMULATED = 413, + ACT_READINESS_PISTOL_RELAXED_TO_STIMULATED_WALK = 414, + ACT_READINESS_PISTOL_AGITATED_TO_STIMULATED = 415, + ACT_READINESS_PISTOL_STIMULATED_TO_RELAXED = 416, + ACT_IDLE_CARRY = 417, + ACT_WALK_CARRY = 418, + ACT_DOTA_IDLE = 419, + ACT_DOTA_IDLE_RARE = 421, + ACT_DOTA_RUN = 422, + ACT_DOTA_ATTACK = 424, + ACT_DOTA_ATTACK2 = 425, + ACT_DOTA_ATTACK_EVENT = 426, + ACT_DOTA_DIE = 427, + ACT_DOTA_FLINCH = 428, + ACT_DOTA_FLAIL = 429, + ACT_DOTA_DISABLED = 430, + ACT_DOTA_CAST_ABILITY_1 = 431, + ACT_DOTA_CAST_ABILITY_2 = 432, + ACT_DOTA_CAST_ABILITY_3 = 433, + ACT_DOTA_CAST_ABILITY_4 = 434, + ACT_DOTA_CAST_ABILITY_5 = 435, + ACT_DOTA_CAST_ABILITY_6 = 436, + ACT_DOTA_OVERRIDE_ABILITY_1 = 437, + ACT_DOTA_OVERRIDE_ABILITY_2 = 438, + ACT_DOTA_OVERRIDE_ABILITY_3 = 439, + ACT_DOTA_OVERRIDE_ABILITY_4 = 440, + ACT_DOTA_CHANNEL_ABILITY_1 = 441, + ACT_DOTA_CHANNEL_ABILITY_2 = 442, + ACT_DOTA_CHANNEL_ABILITY_3 = 443, + ACT_DOTA_CHANNEL_ABILITY_4 = 444, + ACT_DOTA_CHANNEL_ABILITY_5 = 445, + ACT_DOTA_CHANNEL_ABILITY_6 = 446, + ACT_DOTA_CHANNEL_END_ABILITY_1 = 447, + ACT_DOTA_CHANNEL_END_ABILITY_2 = 448, + ACT_DOTA_CHANNEL_END_ABILITY_3 = 449, + ACT_DOTA_CHANNEL_END_ABILITY_4 = 450, + ACT_DOTA_CHANNEL_END_ABILITY_5 = 451, + ACT_DOTA_CHANNEL_END_ABILITY_6 = 452, + ACT_DOTA_CONSTANT_LAYER = 453, + ACT_DOTA_CAPTURE = 454, + ACT_DOTA_SPAWN = 455, + ACT_DOTA_KILLTAUNT = 456, + ACT_DOTA_TAUNT = 457, + ACT_DOTA_THIRST = 458, + ACT_DOTA_CAST_DRAGONBREATH = 459, + ACT_DOTA_ECHO_SLAM = 460, + ACT_DOTA_CAST_ABILITY_1_END = 461, + ACT_DOTA_CAST_ABILITY_2_END = 462, + ACT_DOTA_CAST_ABILITY_3_END = 463, + ACT_DOTA_CAST_ABILITY_4_END = 464, + ACT_MIRANA_LEAP_END = 465, + ACT_WAVEFORM_START = 466, + ACT_WAVEFORM_END = 467, + ACT_DOTA_CAST_ABILITY_ROT = 468, + ACT_DOTA_DIE_SPECIAL = 469, + ACT_DOTA_RATTLETRAP_BATTERYASSAULT = 470, + ACT_DOTA_RATTLETRAP_POWERCOGS = 471, + ACT_DOTA_RATTLETRAP_HOOKSHOT_START = 472, + ACT_DOTA_RATTLETRAP_HOOKSHOT_LOOP = 473, + ACT_DOTA_RATTLETRAP_HOOKSHOT_END = 474, + ACT_STORM_SPIRIT_OVERLOAD_RUN_OVERRIDE = 475, + ACT_DOTA_TINKER_REARM1 = 476, + ACT_DOTA_TINKER_REARM2 = 477, + ACT_DOTA_TINKER_REARM3 = 478, + ACT_TINY_AVALANCHE = 479, + ACT_TINY_TOSS = 480, + ACT_TINY_GROWL = 481, + ACT_DOTA_WEAVERBUG_ATTACH = 482, + ACT_DOTA_CAST_WILD_AXES_END = 483, + ACT_DOTA_CAST_LIFE_BREAK_START = 484, + ACT_DOTA_CAST_LIFE_BREAK_END = 485, + ACT_DOTA_NIGHTSTALKER_TRANSITION = 486, + ACT_DOTA_LIFESTEALER_RAGE = 487, + ACT_DOTA_LIFESTEALER_OPEN_WOUNDS = 488, + ACT_DOTA_SAND_KING_BURROW_IN = 489, + ACT_DOTA_SAND_KING_BURROW_OUT = 490, + ACT_DOTA_EARTHSHAKER_TOTEM_ATTACK = 491, + ACT_DOTA_WHEEL_LAYER = 492, + ACT_DOTA_ALCHEMIST_CHEMICAL_RAGE_START = 493, + ACT_DOTA_ALCHEMIST_CONCOCTION = 494, + ACT_DOTA_JAKIRO_LIQUIDFIRE_START = 495, + ACT_DOTA_JAKIRO_LIQUIDFIRE_LOOP = 496, + ACT_DOTA_LIFESTEALER_INFEST = 497, + ACT_DOTA_LIFESTEALER_INFEST_END = 498, + ACT_DOTA_LASSO_LOOP = 499, + ACT_DOTA_ALCHEMIST_CONCOCTION_THROW = 500, + ACT_DOTA_ALCHEMIST_CHEMICAL_RAGE_END = 501, + ACT_DOTA_CAST_COLD_SNAP = 502, + ACT_DOTA_CAST_GHOST_WALK = 503, + ACT_DOTA_CAST_TORNADO = 504, + ACT_DOTA_CAST_EMP = 505, + ACT_DOTA_CAST_ALACRITY = 506, + ACT_DOTA_CAST_CHAOS_METEOR = 507, + ACT_DOTA_CAST_SUN_STRIKE = 508, + ACT_DOTA_CAST_FORGE_SPIRIT = 509, + ACT_DOTA_CAST_ICE_WALL = 510, + ACT_DOTA_CAST_DEAFENING_BLAST = 511, + ACT_DOTA_VICTORY = 512, + ACT_DOTA_DEFEAT = 513, + ACT_DOTA_SPIRIT_BREAKER_CHARGE_POSE = 514, + ACT_DOTA_SPIRIT_BREAKER_CHARGE_END = 515, + ACT_DOTA_TELEPORT = 516, + ACT_DOTA_TELEPORT_END = 517, + ACT_DOTA_CAST_REFRACTION = 518, + ACT_DOTA_CAST_ABILITY_7 = 519, + ACT_DOTA_CANCEL_SIREN_SONG = 520, + ACT_DOTA_CHANNEL_ABILITY_7 = 521, + ACT_DOTA_LOADOUT = 522, + ACT_DOTA_FORCESTAFF_END = 523, + ACT_DOTA_POOF_END = 524, + ACT_DOTA_SLARK_POUNCE = 525, + ACT_DOTA_MAGNUS_SKEWER_START = 526, + ACT_DOTA_MAGNUS_SKEWER_END = 527, + ACT_DOTA_MEDUSA_STONE_GAZE = 528, + ACT_DOTA_RELAX_START = 529, + ACT_DOTA_RELAX_LOOP = 530, + ACT_DOTA_RELAX_END = 531, + ACT_DOTA_CENTAUR_STAMPEDE = 532, + ACT_DOTA_BELLYACHE_START = 533, + ACT_DOTA_BELLYACHE_LOOP = 534, + ACT_DOTA_BELLYACHE_END = 535, + ACT_DOTA_ROQUELAIRE_LAND = 536, + ACT_DOTA_ROQUELAIRE_LAND_IDLE = 537, + ACT_DOTA_GREEVIL_CAST = 538, + ACT_DOTA_GREEVIL_OVERRIDE_ABILITY = 539, + ACT_DOTA_GREEVIL_HOOK_START = 540, + ACT_DOTA_GREEVIL_HOOK_END = 541, + ACT_DOTA_GREEVIL_BLINK_BONE = 542, + ACT_DOTA_IDLE_SLEEPING = 543, + ACT_DOTA_INTRO = 544, + ACT_DOTA_GESTURE_POINT = 545, + ACT_DOTA_GESTURE_ACCENT = 546, + ACT_DOTA_SLEEPING_END = 547 +}; +bool Activity_IsValid(int value); +const Activity Activity_MIN = ACT_INVALID; +const Activity Activity_MAX = ACT_DOTA_SLEEPING_END; +const int Activity_ARRAYSIZE = Activity_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Activity_descriptor(); +inline const ::std::string& Activity_Name(Activity value) { + return ::google::protobuf::internal::NameOfEnum( + Activity_descriptor(), value); +} +inline bool Activity_Parse( + const ::std::string& name, Activity* value) { + return ::google::protobuf::internal::ParseNamedEnum( + Activity_descriptor(), name, value); +} +// =================================================================== + + +// =================================================================== + + +// =================================================================== + + +// @@protoc_insertion_point(namespace_scope) + +#ifndef SWIG +namespace google { +namespace protobuf { + +template <> +inline const EnumDescriptor* GetEnumDescriptor< Activity>() { + return Activity_descriptor(); +} + +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_ai_5factivity_2eproto__INCLUDED diff --git a/public/game/shared/dota/protobuf/ai_activity.proto b/public/game/shared/dota/protobuf/ai_activity.proto new file mode 100644 index 00000000..ba7b3298 --- /dev/null +++ b/public/game/shared/dota/protobuf/ai_activity.proto @@ -0,0 +1,676 @@ +//====== 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. +//===========================================================================// + +// We care more about speed than code size +option optimize_for = SPEED; + +// We don't use the service generation functionality +option cc_generic_services = false; + +enum Activity +{ + ACT_INVALID = -1; // So we have something more succint to check for than '-1' + ACT_RESET = 0; // Set m_Activity to this invalid value to force a reset to m_IdealActivity + ACT_IDLE = 1; + ACT_TRANSITION = 2; + ACT_COVER = 3; // FIXME: obsolete? redundant with ACT_COVER_LOW? + ACT_COVER_MED = 4; // FIXME: unsupported? + ACT_COVER_LOW = 5; // FIXME: rename ACT_IDLE_CROUCH? + ACT_WALK = 6; + ACT_WALK_AIM = 7; + ACT_WALK_CROUCH = 8; + ACT_WALK_CROUCH_AIM = 9; + ACT_RUN = 10; + ACT_RUN_AIM = 11; + ACT_RUN_CROUCH = 12; + ACT_RUN_CROUCH_AIM = 13; + ACT_RUN_PROTECTED = 14; + ACT_SCRIPT_CUSTOM_MOVE = 15; + ACT_RANGE_ATTACK1 = 16; + ACT_RANGE_ATTACK2 = 17; + ACT_RANGE_ATTACK1_LOW = 18; // FIXME: not used yet crouched versions of the range attack + ACT_RANGE_ATTACK2_LOW = 19; // FIXME: not used yet crouched versions of the range attack + ACT_DIESIMPLE = 20; + ACT_DIEBACKWARD = 21; + ACT_DIEFORWARD = 22; + ACT_DIEVIOLENT = 23; + ACT_DIERAGDOLL = 24; + ACT_FLY = 25; // Fly (and flap if appropriate) + ACT_HOVER = 26; + ACT_GLIDE = 27; + ACT_SWIM = 28; + ACT_JUMP = 29; + ACT_HOP = 30; // vertical jump + ACT_LEAP = 31; // long forward jump + ACT_LAND = 32; + ACT_CLIMB_UP = 33; + ACT_CLIMB_DOWN = 34; + ACT_CLIMB_DISMOUNT = 35; + ACT_SHIPLADDER_UP = 36; + ACT_SHIPLADDER_DOWN = 37; + ACT_STRAFE_LEFT = 38; + ACT_STRAFE_RIGHT = 39; + ACT_ROLL_LEFT = 40; // tuck and roll left + ACT_ROLL_RIGHT = 41; // tuck and roll right + ACT_TURN_LEFT = 42; // turn quickly left (stationary) + ACT_TURN_RIGHT = 43; // turn quickly right (stationary) + ACT_CROUCH = 44; // FIXME: obsolete? only used be soldier (the act of crouching down from a standing position) + ACT_CROUCHIDLE = 45; // FIXME: obsolete? only used be soldier (holding body in crouched position (loops)) + ACT_STAND = 46; // FIXME: obsolete? should be transition (the act of standing from a crouched position) + ACT_USE = 47; + ACT_ALIEN_BURROW_IDLE = 48; + ACT_ALIEN_BURROW_OUT = 49; + + ACT_SIGNAL1 = 50; + ACT_SIGNAL2 = 51; + ACT_SIGNAL3 = 52; + + ACT_SIGNAL_ADVANCE = 53; // Squad handsignals specific. + ACT_SIGNAL_FORWARD = 54; + ACT_SIGNAL_GROUP = 55; + ACT_SIGNAL_HALT = 56; + ACT_SIGNAL_LEFT = 57; + ACT_SIGNAL_RIGHT = 58; + ACT_SIGNAL_TAKECOVER = 59; + + ACT_LOOKBACK_RIGHT = 60; // look back over shoulder without turning around. + ACT_LOOKBACK_LEFT = 61; + ACT_COWER = 62; // FIXME: unused should be more extreme version of crouching + ACT_SMALL_FLINCH = 63; // FIXME: needed? shouldn't flinching be down with overlays? + ACT_BIG_FLINCH = 64; + ACT_MELEE_ATTACK1 = 65; + ACT_MELEE_ATTACK2 = 66; + ACT_RELOAD = 67; + ACT_RELOAD_START = 68; + ACT_RELOAD_FINISH = 69; + ACT_RELOAD_LOW = 70; + ACT_ARM = 71; // pull out gun for instance + ACT_DISARM = 72; // reholster gun + ACT_DROP_WEAPON = 73; + ACT_DROP_WEAPON_SHOTGUN = 74; + ACT_PICKUP_GROUND = 75; // pick up something in front of you on the ground + ACT_PICKUP_RACK = 76; // pick up something from a rack or shelf in front of you. + ACT_IDLE_ANGRY = 77; // FIXME: being used as an combat ready idle? alternate idle animation in which the monster is clearly agitated. (loop) + + ACT_IDLE_RELAXED = 78; + ACT_IDLE_STIMULATED = 79; + ACT_IDLE_AGITATED = 80; + ACT_IDLE_STEALTH = 81; + ACT_IDLE_HURT = 82; + + ACT_WALK_RELAXED = 83; + ACT_WALK_STIMULATED = 84; + ACT_WALK_AGITATED = 85; + ACT_WALK_STEALTH = 86; + + ACT_RUN_RELAXED = 87; + ACT_RUN_STIMULATED = 88; + ACT_RUN_AGITATED = 89; + ACT_RUN_STEALTH = 90; + + ACT_IDLE_AIM_RELAXED = 91; + ACT_IDLE_AIM_STIMULATED = 92; + ACT_IDLE_AIM_AGITATED = 93; + ACT_IDLE_AIM_STEALTH = 94; + + ACT_WALK_AIM_RELAXED = 95; + ACT_WALK_AIM_STIMULATED = 96; + ACT_WALK_AIM_AGITATED = 97; + ACT_WALK_AIM_STEALTH = 98; + + ACT_RUN_AIM_RELAXED = 99; + ACT_RUN_AIM_STIMULATED = 100; + ACT_RUN_AIM_AGITATED = 101; + ACT_RUN_AIM_STEALTH = 102; + + ACT_CROUCHIDLE_STIMULATED = 103; + ACT_CROUCHIDLE_AIM_STIMULATED = 104; + ACT_CROUCHIDLE_AGITATED = 105; + + ACT_WALK_HURT = 106; // limp (loop) + ACT_RUN_HURT = 107; // limp (loop) + ACT_SPECIAL_ATTACK1 = 108; // very monster specific special attacks. + ACT_SPECIAL_ATTACK2 = 109; + ACT_COMBAT_IDLE = 110; // FIXME: unused? agitated idle. + ACT_WALK_SCARED = 111; + ACT_RUN_SCARED = 112; + ACT_VICTORY_DANCE = 113; // killed a player do a victory dance. + ACT_DIE_HEADSHOT = 114; // die hit in head. + ACT_DIE_CHESTSHOT = 115; // die hit in chest + ACT_DIE_GUTSHOT = 116; // die hit in gut + ACT_DIE_BACKSHOT = 117; // die hit in back + ACT_FLINCH_HEAD = 118; + ACT_FLINCH_CHEST = 119; + ACT_FLINCH_STOMACH = 120; + ACT_FLINCH_LEFTARM = 121; + ACT_FLINCH_RIGHTARM = 122; + ACT_FLINCH_LEFTLEG = 123; + ACT_FLINCH_RIGHTLEG = 124; + ACT_FLINCH_PHYSICS = 125; + ACT_FLINCH_HEAD_BACK = 126; + ACT_FLINCH_CHEST_BACK = 127; + ACT_FLINCH_STOMACH_BACK = 128; + ACT_FLINCH_CROUCH_FRONT = 129; + ACT_FLINCH_CROUCH_BACK = 130; + ACT_FLINCH_CROUCH_LEFT = 131; + ACT_FLINCH_CROUCH_RIGHT = 132; + + ACT_IDLE_ON_FIRE = 133; // ON FIRE animations + ACT_WALK_ON_FIRE = 134; + ACT_RUN_ON_FIRE = 135; + + ACT_RAPPEL_LOOP = 136; // Rappel down a rope! + + ACT_180_LEFT = 137; // 180 degree left turn + ACT_180_RIGHT = 138; + + ACT_90_LEFT = 139; // 90 degree turns + ACT_90_RIGHT = 140; + + ACT_STEP_LEFT = 141; // Single steps + ACT_STEP_RIGHT = 142; + ACT_STEP_BACK = 143; + ACT_STEP_FORE = 144; + + ACT_GESTURE_RANGE_ATTACK1 = 145; + ACT_GESTURE_RANGE_ATTACK2 = 146; + ACT_GESTURE_MELEE_ATTACK1 = 147; + ACT_GESTURE_MELEE_ATTACK2 = 148; + ACT_GESTURE_RANGE_ATTACK1_LOW = 149; // FIXME: not used yet crouched versions of the range attack + ACT_GESTURE_RANGE_ATTACK2_LOW = 150; // FIXME: not used yet crouched versions of the range attack + + ACT_MELEE_ATTACK_SWING_GESTURE = 151; + + ACT_GESTURE_SMALL_FLINCH = 152; + ACT_GESTURE_BIG_FLINCH = 153; + ACT_GESTURE_FLINCH_BLAST = 154; // Startled by an explosion + ACT_GESTURE_FLINCH_BLAST_SHOTGUN = 155; + ACT_GESTURE_FLINCH_BLAST_DAMAGED = 156; // Damaged by an explosion + ACT_GESTURE_FLINCH_BLAST_DAMAGED_SHOTGUN = 157; + ACT_GESTURE_FLINCH_HEAD = 158; + ACT_GESTURE_FLINCH_CHEST = 159; + ACT_GESTURE_FLINCH_STOMACH = 160; + ACT_GESTURE_FLINCH_LEFTARM = 161; + ACT_GESTURE_FLINCH_RIGHTARM = 162; + ACT_GESTURE_FLINCH_LEFTLEG = 163; + ACT_GESTURE_FLINCH_RIGHTLEG = 164; + + ACT_GESTURE_TURN_LEFT = 165; + ACT_GESTURE_TURN_RIGHT = 166; + ACT_GESTURE_TURN_LEFT45 = 167; + ACT_GESTURE_TURN_RIGHT45 = 168; + ACT_GESTURE_TURN_LEFT90 = 169; + ACT_GESTURE_TURN_RIGHT90 = 170; + ACT_GESTURE_TURN_LEFT45_FLAT = 171; + ACT_GESTURE_TURN_RIGHT45_FLAT = 172; + ACT_GESTURE_TURN_LEFT90_FLAT = 173; + ACT_GESTURE_TURN_RIGHT90_FLAT = 174; + + // HALF-LIFE 1 compatability stuff goes here. Temporary! + ACT_BARNACLE_HIT = 175; // barnacle tongue hits a monster + ACT_BARNACLE_PULL = 176; // barnacle is lifting the monster ( loop ) + ACT_BARNACLE_CHOMP = 177; // barnacle latches on to the monster + ACT_BARNACLE_CHEW = 178; // barnacle is holding the monster in its mouth ( loop ) + + // Sometimes you just want to set an NPC's sequence to a sequence that doesn't actually + // have an activity. The AI will reset the NPC's sequence to whatever its IDEAL activity + // is though. So if you set ideal activity to DO_NOT_DISTURB the AI will not interfere + // with the NPC's current sequence. (SJB) + ACT_DO_NOT_DISTURB = 179; + + ACT_SPECIFIC_SEQUENCE = 180; + + // viewmodel (weapon) activities + // FIXME: move these to the specific viewmodels no need to make global + ACT_VM_DRAW = 181; + ACT_VM_HOLSTER = 182; + ACT_VM_IDLE = 183; + ACT_VM_FIDGET = 184; + ACT_VM_PULLBACK = 185; + ACT_VM_PULLBACK_HIGH = 186; + ACT_VM_PULLBACK_LOW = 187; + ACT_VM_THROW = 188; + ACT_VM_PULLPIN = 189; + ACT_VM_PRIMARYATTACK = 190; // fire + ACT_VM_SECONDARYATTACK = 191; // alt. fire + ACT_VM_RELOAD = 192; + ACT_VM_DRYFIRE = 193; // fire with no ammo loaded. + ACT_VM_HITLEFT = 194; // bludgeon swing to left - hit (primary attk) + ACT_VM_HITLEFT2 = 195; // bludgeon swing to left - hit (secondary attk) + ACT_VM_HITRIGHT = 196; // bludgeon swing to right - hit (primary attk) + ACT_VM_HITRIGHT2 = 197; // bludgeon swing to right - hit (secondary attk) + ACT_VM_HITCENTER = 198; // bludgeon swing center - hit (primary attk) + ACT_VM_HITCENTER2 = 199; // bludgeon swing center - hit (secondary attk) + ACT_VM_MISSLEFT = 200; // bludgeon swing to left - miss (primary attk) + ACT_VM_MISSLEFT2 = 201; // bludgeon swing to left - miss (secondary attk) + ACT_VM_MISSRIGHT = 202; // bludgeon swing to right - miss (primary attk) + ACT_VM_MISSRIGHT2 = 203; // bludgeon swing to right - miss (secondary attk) + ACT_VM_MISSCENTER = 204; // bludgeon swing center - miss (primary attk) + ACT_VM_MISSCENTER2 = 205; // bludgeon swing center - miss (secondary attk) + ACT_VM_HAULBACK = 206; // bludgeon haul the weapon back for a hard strike (secondary attk) + ACT_VM_SWINGHARD = 207; // bludgeon release the hard strike (secondary attk) + ACT_VM_SWINGMISS = 208; + ACT_VM_SWINGHIT = 209; + ACT_VM_IDLE_TO_LOWERED = 210; + ACT_VM_IDLE_LOWERED = 211; + ACT_VM_LOWERED_TO_IDLE = 212; + ACT_VM_RECOIL1 = 213; + ACT_VM_RECOIL2 = 214; + ACT_VM_RECOIL3 = 215; + ACT_VM_PICKUP = 216; + ACT_VM_RELEASE = 217; + + ACT_VM_ATTACH_SILENCER = 218; + ACT_VM_DETACH_SILENCER = 219; + +//=========================== +// HL2 Specific Activities +//=========================== + // SLAM Specialty Activities + ACT_SLAM_STICKWALL_IDLE = 220; + ACT_SLAM_STICKWALL_ND_IDLE = 221; + ACT_SLAM_STICKWALL_ATTACH = 222; + ACT_SLAM_STICKWALL_ATTACH2 = 223; + ACT_SLAM_STICKWALL_ND_ATTACH = 224; + ACT_SLAM_STICKWALL_ND_ATTACH2 = 225; + ACT_SLAM_STICKWALL_DETONATE = 226; + ACT_SLAM_STICKWALL_DETONATOR_HOLSTER = 227; + ACT_SLAM_STICKWALL_DRAW = 228; + ACT_SLAM_STICKWALL_ND_DRAW = 229; + ACT_SLAM_STICKWALL_TO_THROW = 230; + ACT_SLAM_STICKWALL_TO_THROW_ND = 231; + ACT_SLAM_STICKWALL_TO_TRIPMINE_ND = 232; + ACT_SLAM_THROW_IDLE = 233; + ACT_SLAM_THROW_ND_IDLE = 234; + ACT_SLAM_THROW_THROW = 235; + ACT_SLAM_THROW_THROW2 = 236; + ACT_SLAM_THROW_THROW_ND = 237; + ACT_SLAM_THROW_THROW_ND2 = 238; + ACT_SLAM_THROW_DRAW = 239; + ACT_SLAM_THROW_ND_DRAW = 240; + ACT_SLAM_THROW_TO_STICKWALL = 241; + ACT_SLAM_THROW_TO_STICKWALL_ND = 242; + ACT_SLAM_THROW_DETONATE = 243; + ACT_SLAM_THROW_DETONATOR_HOLSTER = 244; + ACT_SLAM_THROW_TO_TRIPMINE_ND = 245; + ACT_SLAM_TRIPMINE_IDLE = 246; + ACT_SLAM_TRIPMINE_DRAW = 247; + ACT_SLAM_TRIPMINE_ATTACH = 248; + ACT_SLAM_TRIPMINE_ATTACH2 = 249; + ACT_SLAM_TRIPMINE_TO_STICKWALL_ND = 250; + ACT_SLAM_TRIPMINE_TO_THROW_ND = 251; + ACT_SLAM_DETONATOR_IDLE = 252; + ACT_SLAM_DETONATOR_DRAW = 253; + ACT_SLAM_DETONATOR_DETONATE = 254; + ACT_SLAM_DETONATOR_HOLSTER = 255; + ACT_SLAM_DETONATOR_STICKWALL_DRAW = 256; + ACT_SLAM_DETONATOR_THROW_DRAW = 257; + + // Shotgun Specialty Activities + ACT_SHOTGUN_RELOAD_START = 258; + ACT_SHOTGUN_RELOAD_FINISH = 259; + ACT_SHOTGUN_PUMP = 260; + + // SMG2 special activities + ACT_SMG2_IDLE2 = 261; + ACT_SMG2_FIRE2 = 262; + ACT_SMG2_DRAW2 = 263; + ACT_SMG2_RELOAD2 = 264; + ACT_SMG2_DRYFIRE2 = 265; + ACT_SMG2_TOAUTO = 266; + ACT_SMG2_TOBURST = 267; + + // Physcannon special activities + ACT_PHYSCANNON_UPGRADE = 268; + + // weapon override activities + ACT_RANGE_ATTACK_AR1 = 269; + ACT_RANGE_ATTACK_AR2 = 270; + ACT_RANGE_ATTACK_AR2_LOW = 271; + ACT_RANGE_ATTACK_AR2_GRENADE = 272; + ACT_RANGE_ATTACK_HMG1 = 273; + ACT_RANGE_ATTACK_ML = 274; + ACT_RANGE_ATTACK_SMG1 = 275; + ACT_RANGE_ATTACK_SMG1_LOW = 276; + ACT_RANGE_ATTACK_SMG2 = 277; + ACT_RANGE_ATTACK_SHOTGUN = 278; + ACT_RANGE_ATTACK_SHOTGUN_LOW = 279; + ACT_RANGE_ATTACK_PISTOL = 280; + ACT_RANGE_ATTACK_PISTOL_LOW = 281; + ACT_RANGE_ATTACK_SLAM = 282; + ACT_RANGE_ATTACK_TRIPWIRE = 283; + ACT_RANGE_ATTACK_THROW = 284; + ACT_RANGE_ATTACK_SNIPER_RIFLE = 285; + ACT_RANGE_ATTACK_RPG = 286; + ACT_MELEE_ATTACK_SWING = 287; + + ACT_RANGE_AIM_LOW = 288; + ACT_RANGE_AIM_SMG1_LOW = 289; + ACT_RANGE_AIM_PISTOL_LOW = 290; + ACT_RANGE_AIM_AR2_LOW = 291; + + ACT_COVER_PISTOL_LOW = 292; + ACT_COVER_SMG1_LOW = 293; + + // weapon override activities + ACT_GESTURE_RANGE_ATTACK_AR1 = 294; + ACT_GESTURE_RANGE_ATTACK_AR2 = 295; + ACT_GESTURE_RANGE_ATTACK_AR2_GRENADE = 296; + ACT_GESTURE_RANGE_ATTACK_HMG1 = 297; + ACT_GESTURE_RANGE_ATTACK_ML = 298; + ACT_GESTURE_RANGE_ATTACK_SMG1 = 299; + ACT_GESTURE_RANGE_ATTACK_SMG1_LOW = 300; + ACT_GESTURE_RANGE_ATTACK_SMG2 = 301; + ACT_GESTURE_RANGE_ATTACK_SHOTGUN = 302; + ACT_GESTURE_RANGE_ATTACK_PISTOL = 303; + ACT_GESTURE_RANGE_ATTACK_PISTOL_LOW = 304; + ACT_GESTURE_RANGE_ATTACK_SLAM = 305; + ACT_GESTURE_RANGE_ATTACK_TRIPWIRE = 306; + ACT_GESTURE_RANGE_ATTACK_THROW = 307; + ACT_GESTURE_RANGE_ATTACK_SNIPER_RIFLE = 308; + ACT_GESTURE_MELEE_ATTACK_SWING = 309; + + ACT_IDLE_RIFLE = 310; + ACT_IDLE_SMG1 = 311; + ACT_IDLE_ANGRY_SMG1 = 312; + ACT_IDLE_PISTOL = 313; + ACT_IDLE_ANGRY_PISTOL = 314; + ACT_IDLE_ANGRY_SHOTGUN = 315; + ACT_IDLE_STEALTH_PISTOL = 316; + + ACT_IDLE_PACKAGE = 317; + ACT_WALK_PACKAGE = 318; + ACT_IDLE_SUITCASE = 319; + ACT_WALK_SUITCASE = 320; + + ACT_IDLE_SMG1_RELAXED = 321; + ACT_IDLE_SMG1_STIMULATED = 322; + ACT_WALK_RIFLE_RELAXED = 323; + ACT_RUN_RIFLE_RELAXED = 324; + ACT_WALK_RIFLE_STIMULATED = 325; + ACT_RUN_RIFLE_STIMULATED = 326; + + ACT_IDLE_AIM_RIFLE_STIMULATED = 327; + ACT_WALK_AIM_RIFLE_STIMULATED = 328; + ACT_RUN_AIM_RIFLE_STIMULATED = 329; + + ACT_IDLE_SHOTGUN_RELAXED = 330; + ACT_IDLE_SHOTGUN_STIMULATED = 331; + ACT_IDLE_SHOTGUN_AGITATED = 332; + + // Policing activities + ACT_WALK_ANGRY = 333; + ACT_POLICE_HARASS1 = 334; + ACT_POLICE_HARASS2 = 335; + + // Manned guns + ACT_IDLE_MANNEDGUN = 336; + + // Melee weapon + ACT_IDLE_MELEE = 337; + ACT_IDLE_ANGRY_MELEE = 338; + + // RPG activities + ACT_IDLE_RPG_RELAXED = 339; + ACT_IDLE_RPG = 340; + ACT_IDLE_ANGRY_RPG = 341; + ACT_COVER_LOW_RPG = 342; + ACT_WALK_RPG = 343; + ACT_RUN_RPG = 344; + ACT_WALK_CROUCH_RPG = 345; + ACT_RUN_CROUCH_RPG = 346; + ACT_WALK_RPG_RELAXED = 347; + ACT_RUN_RPG_RELAXED = 348; + + ACT_WALK_RIFLE = 349; + ACT_WALK_AIM_RIFLE = 350; + ACT_WALK_CROUCH_RIFLE = 351; + ACT_WALK_CROUCH_AIM_RIFLE = 352; + ACT_RUN_RIFLE = 353; + ACT_RUN_AIM_RIFLE = 354; + ACT_RUN_CROUCH_RIFLE = 355; + ACT_RUN_CROUCH_AIM_RIFLE = 356; + ACT_RUN_STEALTH_PISTOL = 357; + + ACT_WALK_AIM_SHOTGUN = 358; + ACT_RUN_AIM_SHOTGUN = 359; + + ACT_WALK_PISTOL = 360; + ACT_RUN_PISTOL = 361; + ACT_WALK_AIM_PISTOL = 362; + ACT_RUN_AIM_PISTOL = 363; + ACT_WALK_STEALTH_PISTOL = 364; + ACT_WALK_AIM_STEALTH_PISTOL = 365; + ACT_RUN_AIM_STEALTH_PISTOL = 366; + + // Reloads + ACT_RELOAD_PISTOL = 367; + ACT_RELOAD_PISTOL_LOW = 368; + ACT_RELOAD_SMG1 = 369; + ACT_RELOAD_SMG1_LOW = 370; + ACT_RELOAD_SHOTGUN = 371; + ACT_RELOAD_SHOTGUN_LOW = 372; + + ACT_GESTURE_RELOAD = 373; + ACT_GESTURE_RELOAD_PISTOL = 374; + ACT_GESTURE_RELOAD_SMG1 = 375; + ACT_GESTURE_RELOAD_SHOTGUN = 376; + + // Busy animations + ACT_BUSY_LEAN_LEFT = 377; + ACT_BUSY_LEAN_LEFT_ENTRY = 378; + ACT_BUSY_LEAN_LEFT_EXIT = 379; + ACT_BUSY_LEAN_BACK = 380; + ACT_BUSY_LEAN_BACK_ENTRY = 381; + ACT_BUSY_LEAN_BACK_EXIT = 382; + ACT_BUSY_SIT_GROUND = 383; + ACT_BUSY_SIT_GROUND_ENTRY = 384; + ACT_BUSY_SIT_GROUND_EXIT = 385; + ACT_BUSY_SIT_CHAIR = 386; + ACT_BUSY_SIT_CHAIR_ENTRY = 387; + ACT_BUSY_SIT_CHAIR_EXIT = 388; + ACT_BUSY_STAND = 389; + ACT_BUSY_QUEUE = 390; + + // Dodge animations + ACT_DUCK_DODGE = 391; + + // For NPCs being lifted/eaten by barnacles: + // being swallowed by a barnacle + ACT_DIE_BARNACLE_SWALLOW = 392; + // being lifted by a barnacle + ACT_GESTURE_BARNACLE_STRANGLE = 393; + + ACT_PHYSCANNON_DETACH = 394; // An activity to be played if we're picking this up with the physcannon + ACT_PHYSCANNON_ANIMATE = 395; // An activity to be played by an object being picked up with the physcannon but has different behavior to DETACH + ACT_PHYSCANNON_ANIMATE_PRE = 396; // An activity to be played by an object being picked up with the physcannon before playing the ACT_PHYSCANNON_ANIMATE + ACT_PHYSCANNON_ANIMATE_POST = 397; // An activity to be played by an object being picked up with the physcannon after playing the ACT_PHYSCANNON_ANIMATE + + ACT_DIE_FRONTSIDE = 398; + ACT_DIE_RIGHTSIDE = 399; + ACT_DIE_BACKSIDE = 400; + ACT_DIE_LEFTSIDE = 401; + + ACT_OPEN_DOOR = 402; + + // Dynamic interactions + ACT_DI_ALYX_ZOMBIE_MELEE = 403; + ACT_DI_ALYX_ZOMBIE_TORSO_MELEE = 404; + ACT_DI_ALYX_HEADCRAB_MELEE = 405; + ACT_DI_ALYX_ANTLION = 406; + + ACT_DI_ALYX_ZOMBIE_SHOTGUN64 = 407; + ACT_DI_ALYX_ZOMBIE_SHOTGUN26 = 408; + + ACT_READINESS_RELAXED_TO_STIMULATED = 409; + ACT_READINESS_RELAXED_TO_STIMULATED_WALK = 410; + ACT_READINESS_AGITATED_TO_STIMULATED = 411; + ACT_READINESS_STIMULATED_TO_RELAXED = 412; + + ACT_READINESS_PISTOL_RELAXED_TO_STIMULATED = 413; + ACT_READINESS_PISTOL_RELAXED_TO_STIMULATED_WALK = 414; + ACT_READINESS_PISTOL_AGITATED_TO_STIMULATED = 415; + ACT_READINESS_PISTOL_STIMULATED_TO_RELAXED = 416; + + ACT_IDLE_CARRY = 417; + ACT_WALK_CARRY = 418; + + ///****************** + ///DOTA ANIMATIONS + ///****************** + + ACT_DOTA_IDLE = 419; +//REMOVED ACT_DOTA_IDLE_ALT = 420; + ACT_DOTA_IDLE_RARE = 421; + ACT_DOTA_RUN = 422; +//REMOVED ACT_DOTA_RUN_ALT = 423; + ACT_DOTA_ATTACK = 424; + ACT_DOTA_ATTACK2 = 425; + ACT_DOTA_ATTACK_EVENT = 426; + ACT_DOTA_DIE = 427; + ACT_DOTA_FLINCH = 428; + ACT_DOTA_FLAIL = 429; + ACT_DOTA_DISABLED = 430; + ACT_DOTA_CAST_ABILITY_1 = 431; + ACT_DOTA_CAST_ABILITY_2 = 432; + ACT_DOTA_CAST_ABILITY_3 = 433; + ACT_DOTA_CAST_ABILITY_4 = 434; + ACT_DOTA_CAST_ABILITY_5 = 435; + ACT_DOTA_CAST_ABILITY_6 = 436; + ACT_DOTA_OVERRIDE_ABILITY_1 = 437; + ACT_DOTA_OVERRIDE_ABILITY_2 = 438; + ACT_DOTA_OVERRIDE_ABILITY_3 = 439; + ACT_DOTA_OVERRIDE_ABILITY_4 = 440; + ACT_DOTA_CHANNEL_ABILITY_1 = 441; + ACT_DOTA_CHANNEL_ABILITY_2 = 442; + ACT_DOTA_CHANNEL_ABILITY_3 = 443; + ACT_DOTA_CHANNEL_ABILITY_4 = 444; + ACT_DOTA_CHANNEL_ABILITY_5 = 445; + ACT_DOTA_CHANNEL_ABILITY_6 = 446; + ACT_DOTA_CHANNEL_END_ABILITY_1 = 447; + ACT_DOTA_CHANNEL_END_ABILITY_2 = 448; + ACT_DOTA_CHANNEL_END_ABILITY_3 = 449; + ACT_DOTA_CHANNEL_END_ABILITY_4 = 450; + ACT_DOTA_CHANNEL_END_ABILITY_5 = 451; + ACT_DOTA_CHANNEL_END_ABILITY_6 = 452; + ACT_DOTA_CONSTANT_LAYER = 453; + ACT_DOTA_CAPTURE = 454; + ACT_DOTA_SPAWN = 455; + ACT_DOTA_KILLTAUNT = 456; + ACT_DOTA_TAUNT = 457; + + //Hero specific (I hate my life) + ACT_DOTA_THIRST = 458; + ACT_DOTA_CAST_DRAGONBREATH = 459; + ACT_DOTA_ECHO_SLAM = 460; + ACT_DOTA_CAST_ABILITY_1_END = 461; + ACT_DOTA_CAST_ABILITY_2_END = 462; + ACT_DOTA_CAST_ABILITY_3_END = 463; + ACT_DOTA_CAST_ABILITY_4_END = 464; + ACT_MIRANA_LEAP_END = 465; + ACT_WAVEFORM_START = 466; + ACT_WAVEFORM_END = 467; + ACT_DOTA_CAST_ABILITY_ROT = 468; + ACT_DOTA_DIE_SPECIAL = 469; + ACT_DOTA_RATTLETRAP_BATTERYASSAULT = 470; + ACT_DOTA_RATTLETRAP_POWERCOGS = 471; + ACT_DOTA_RATTLETRAP_HOOKSHOT_START = 472; + ACT_DOTA_RATTLETRAP_HOOKSHOT_LOOP = 473; + ACT_DOTA_RATTLETRAP_HOOKSHOT_END = 474; + ACT_STORM_SPIRIT_OVERLOAD_RUN_OVERRIDE = 475; + ACT_DOTA_TINKER_REARM1 = 476; + ACT_DOTA_TINKER_REARM2 = 477; + ACT_DOTA_TINKER_REARM3 = 478; + ACT_TINY_AVALANCHE = 479; + ACT_TINY_TOSS = 480; + ACT_TINY_GROWL = 481; + ACT_DOTA_WEAVERBUG_ATTACH = 482; + ACT_DOTA_CAST_WILD_AXES_END = 483; + ACT_DOTA_CAST_LIFE_BREAK_START = 484; + ACT_DOTA_CAST_LIFE_BREAK_END = 485; + ACT_DOTA_NIGHTSTALKER_TRANSITION = 486; + ACT_DOTA_LIFESTEALER_RAGE = 487; + ACT_DOTA_LIFESTEALER_OPEN_WOUNDS = 488; + ACT_DOTA_SAND_KING_BURROW_IN = 489; + ACT_DOTA_SAND_KING_BURROW_OUT = 490; + ACT_DOTA_EARTHSHAKER_TOTEM_ATTACK = 491; + ACT_DOTA_WHEEL_LAYER = 492; + ACT_DOTA_ALCHEMIST_CHEMICAL_RAGE_START = 493; + ACT_DOTA_ALCHEMIST_CONCOCTION = 494; + ACT_DOTA_JAKIRO_LIQUIDFIRE_START = 495; + ACT_DOTA_JAKIRO_LIQUIDFIRE_LOOP = 496; + ACT_DOTA_LIFESTEALER_INFEST = 497; + ACT_DOTA_LIFESTEALER_INFEST_END = 498; + ACT_DOTA_LASSO_LOOP = 499; + ACT_DOTA_ALCHEMIST_CONCOCTION_THROW = 500; + ACT_DOTA_ALCHEMIST_CHEMICAL_RAGE_END = 501; + ACT_DOTA_CAST_COLD_SNAP = 502; + ACT_DOTA_CAST_GHOST_WALK = 503; + ACT_DOTA_CAST_TORNADO = 504; + ACT_DOTA_CAST_EMP = 505; + ACT_DOTA_CAST_ALACRITY = 506; + ACT_DOTA_CAST_CHAOS_METEOR = 507; + ACT_DOTA_CAST_SUN_STRIKE = 508; + ACT_DOTA_CAST_FORGE_SPIRIT = 509; + ACT_DOTA_CAST_ICE_WALL = 510; + ACT_DOTA_CAST_DEAFENING_BLAST = 511; + ACT_DOTA_VICTORY = 512; + ACT_DOTA_DEFEAT = 513; + ACT_DOTA_SPIRIT_BREAKER_CHARGE_POSE = 514; + ACT_DOTA_SPIRIT_BREAKER_CHARGE_END = 515; + ACT_DOTA_TELEPORT = 516; + ACT_DOTA_TELEPORT_END = 517; + ACT_DOTA_CAST_REFRACTION = 518; + ACT_DOTA_CAST_ABILITY_7 = 519; + ACT_DOTA_CANCEL_SIREN_SONG = 520; + ACT_DOTA_CHANNEL_ABILITY_7 = 521; + ACT_DOTA_LOADOUT = 522; + ACT_DOTA_FORCESTAFF_END = 523; + ACT_DOTA_POOF_END = 524; + ACT_DOTA_SLARK_POUNCE = 525; + ACT_DOTA_MAGNUS_SKEWER_START = 526; + ACT_DOTA_MAGNUS_SKEWER_END = 527; + ACT_DOTA_MEDUSA_STONE_GAZE = 528; + ACT_DOTA_RELAX_START = 529; + ACT_DOTA_RELAX_LOOP = 530; + ACT_DOTA_RELAX_END = 531; + ACT_DOTA_CENTAUR_STAMPEDE = 532; + ACT_DOTA_BELLYACHE_START = 533; + ACT_DOTA_BELLYACHE_LOOP = 534; + ACT_DOTA_BELLYACHE_END = 535; + ACT_DOTA_ROQUELAIRE_LAND = 536; + ACT_DOTA_ROQUELAIRE_LAND_IDLE = 537; + ACT_DOTA_GREEVIL_CAST = 538; + ACT_DOTA_GREEVIL_OVERRIDE_ABILITY = 539; + ACT_DOTA_GREEVIL_HOOK_START = 540; + ACT_DOTA_GREEVIL_HOOK_END = 541; + ACT_DOTA_GREEVIL_BLINK_BONE = 542; + ACT_DOTA_IDLE_SLEEPING = 543; + ACT_DOTA_INTRO = 544; + ACT_DOTA_GESTURE_POINT = 545; + ACT_DOTA_GESTURE_ACCENT = 546; + ACT_DOTA_SLEEPING_END = 547; +}; + + diff --git a/public/game/shared/dota/protobuf/dota_commonmessages.pb.cc b/public/game/shared/dota/protobuf/dota_commonmessages.pb.cc new file mode 100644 index 00000000..481455fa --- /dev/null +++ b/public/game/shared/dota/protobuf/dota_commonmessages.pb.cc @@ -0,0 +1,1482 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "dota_commonmessages.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace { + +const ::google::protobuf::Descriptor* CDOTAMsg_LocationPing_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAMsg_LocationPing_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAMsg_ItemAlert_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAMsg_ItemAlert_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAMsg_MapLine_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAMsg_MapLine_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAMsg_WorldLine_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAMsg_WorldLine_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* EDOTAChatWheelMessage_descriptor_ = NULL; + +} // namespace + + +void protobuf_AssignDesc_dota_5fcommonmessages_2eproto() { + protobuf_AddDesc_dota_5fcommonmessages_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "dota_commonmessages.proto"); + GOOGLE_CHECK(file != NULL); + CDOTAMsg_LocationPing_descriptor_ = file->message_type(0); + static const int CDOTAMsg_LocationPing_offsets_[4] = { + 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_), + }; + CDOTAMsg_LocationPing_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAMsg_LocationPing_descriptor_, + CDOTAMsg_LocationPing::default_instance_, + CDOTAMsg_LocationPing_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAMsg_LocationPing)); + CDOTAMsg_ItemAlert_descriptor_ = file->message_type(1); + static const int CDOTAMsg_ItemAlert_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_ItemAlert, x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_ItemAlert, y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_ItemAlert, itemid_), + }; + CDOTAMsg_ItemAlert_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAMsg_ItemAlert_descriptor_, + CDOTAMsg_ItemAlert::default_instance_, + CDOTAMsg_ItemAlert_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_ItemAlert, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_ItemAlert, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAMsg_ItemAlert)); + CDOTAMsg_MapLine_descriptor_ = file->message_type(2); + static const int CDOTAMsg_MapLine_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_MapLine, x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_MapLine, y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_MapLine, initial_), + }; + CDOTAMsg_MapLine_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAMsg_MapLine_descriptor_, + CDOTAMsg_MapLine::default_instance_, + CDOTAMsg_MapLine_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_MapLine, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_MapLine, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAMsg_MapLine)); + CDOTAMsg_WorldLine_descriptor_ = file->message_type(3); + static const int CDOTAMsg_WorldLine_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_WorldLine, x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_WorldLine, y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_WorldLine, z_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_WorldLine, initial_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_WorldLine, end_), + }; + CDOTAMsg_WorldLine_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAMsg_WorldLine_descriptor_, + CDOTAMsg_WorldLine::default_instance_, + CDOTAMsg_WorldLine_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_WorldLine, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_WorldLine, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAMsg_WorldLine)); + EDOTAChatWheelMessage_descriptor_ = file->enum_type(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_dota_5fcommonmessages_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAMsg_LocationPing_descriptor_, &CDOTAMsg_LocationPing::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAMsg_ItemAlert_descriptor_, &CDOTAMsg_ItemAlert::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAMsg_MapLine_descriptor_, &CDOTAMsg_MapLine::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAMsg_WorldLine_descriptor_, &CDOTAMsg_WorldLine::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_dota_5fcommonmessages_2eproto() { + delete CDOTAMsg_LocationPing::default_instance_; + delete CDOTAMsg_LocationPing_reflection_; + delete CDOTAMsg_ItemAlert::default_instance_; + delete CDOTAMsg_ItemAlert_reflection_; + delete CDOTAMsg_MapLine::default_instance_; + delete CDOTAMsg_MapLine_reflection_; + delete CDOTAMsg_WorldLine::default_instance_; + delete CDOTAMsg_WorldLine_reflection_; +} + +void protobuf_AddDesc_dota_5fcommonmessages_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); + ::protobuf_AddDesc_netmessages_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*\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); + ::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_LocationPing::default_instance_->InitAsDefaultInstance(); + CDOTAMsg_ItemAlert::default_instance_->InitAsDefaultInstance(); + CDOTAMsg_MapLine::default_instance_->InitAsDefaultInstance(); + CDOTAMsg_WorldLine::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_dota_5fcommonmessages_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_dota_5fcommonmessages_2eproto { + StaticDescriptorInitializer_dota_5fcommonmessages_2eproto() { + protobuf_AddDesc_dota_5fcommonmessages_2eproto(); + } +} static_descriptor_initializer_dota_5fcommonmessages_2eproto_; + +const ::google::protobuf::EnumDescriptor* EDOTAChatWheelMessage_descriptor() { + protobuf_AssignDescriptorsOnce(); + return EDOTAChatWheelMessage_descriptor_; +} +bool EDOTAChatWheelMessage_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + return true; + default: + return false; + } +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAMsg_LocationPing::kXFieldNumber; +const int CDOTAMsg_LocationPing::kYFieldNumber; +const int CDOTAMsg_LocationPing::kTargetFieldNumber; +const int CDOTAMsg_LocationPing::kDirectPingFieldNumber; +#endif // !_MSC_VER + +CDOTAMsg_LocationPing::CDOTAMsg_LocationPing() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAMsg_LocationPing::InitAsDefaultInstance() { +} + +CDOTAMsg_LocationPing::CDOTAMsg_LocationPing(const CDOTAMsg_LocationPing& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAMsg_LocationPing::SharedCtor() { + _cached_size_ = 0; + x_ = 0; + y_ = 0; + target_ = 0; + direct_ping_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAMsg_LocationPing::~CDOTAMsg_LocationPing() { + SharedDtor(); +} + +void CDOTAMsg_LocationPing::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAMsg_LocationPing::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAMsg_LocationPing::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAMsg_LocationPing_descriptor_; +} + +const CDOTAMsg_LocationPing& CDOTAMsg_LocationPing::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fcommonmessages_2eproto(); return *default_instance_; +} + +CDOTAMsg_LocationPing* CDOTAMsg_LocationPing::default_instance_ = NULL; + +CDOTAMsg_LocationPing* CDOTAMsg_LocationPing::New() const { + return new CDOTAMsg_LocationPing; +} + +void CDOTAMsg_LocationPing::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + x_ = 0; + y_ = 0; + target_ = 0; + direct_ping_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAMsg_LocationPing::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 int32 x = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_y; + break; + } + + // optional int32 y = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &y_))); + set_has_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_target; + break; + } + + // optional int32 target = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_target: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &target_))); + set_has_target(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_direct_ping; + break; + } + + // optional bool direct_ping = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_direct_ping: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &direct_ping_))); + set_has_direct_ping(); + } 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 CDOTAMsg_LocationPing::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 x = 1; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->x(), output); + } + + // optional int32 y = 2; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->y(), output); + } + + // optional int32 target = 3; + if (has_target()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->target(), output); + } + + // optional bool direct_ping = 4; + if (has_direct_ping()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->direct_ping(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAMsg_LocationPing::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 x = 1; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->x(), target); + } + + // optional int32 y = 2; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->y(), target); + } + + // optional int32 target = 3; + if (has_target()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->target(), target); + } + + // optional bool direct_ping = 4; + if (has_direct_ping()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->direct_ping(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAMsg_LocationPing::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 x = 1; + if (has_x()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->x()); + } + + // optional int32 y = 2; + if (has_y()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->y()); + } + + // optional int32 target = 3; + if (has_target()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->target()); + } + + // optional bool direct_ping = 4; + if (has_direct_ping()) { + total_size += 1 + 1; + } + + } + 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_LocationPing::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAMsg_LocationPing* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAMsg_LocationPing::MergeFrom(const CDOTAMsg_LocationPing& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + if (from.has_target()) { + set_target(from.target()); + } + if (from.has_direct_ping()) { + set_direct_ping(from.direct_ping()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAMsg_LocationPing::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAMsg_LocationPing::CopyFrom(const CDOTAMsg_LocationPing& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAMsg_LocationPing::IsInitialized() const { + + return true; +} + +void CDOTAMsg_LocationPing::Swap(CDOTAMsg_LocationPing* other) { + if (other != this) { + std::swap(x_, other->x_); + std::swap(y_, other->y_); + std::swap(target_, other->target_); + std::swap(direct_ping_, other->direct_ping_); + 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_LocationPing::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAMsg_LocationPing_descriptor_; + metadata.reflection = CDOTAMsg_LocationPing_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAMsg_ItemAlert::kXFieldNumber; +const int CDOTAMsg_ItemAlert::kYFieldNumber; +const int CDOTAMsg_ItemAlert::kItemidFieldNumber; +#endif // !_MSC_VER + +CDOTAMsg_ItemAlert::CDOTAMsg_ItemAlert() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAMsg_ItemAlert::InitAsDefaultInstance() { +} + +CDOTAMsg_ItemAlert::CDOTAMsg_ItemAlert(const CDOTAMsg_ItemAlert& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAMsg_ItemAlert::SharedCtor() { + _cached_size_ = 0; + x_ = 0; + y_ = 0; + itemid_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAMsg_ItemAlert::~CDOTAMsg_ItemAlert() { + SharedDtor(); +} + +void CDOTAMsg_ItemAlert::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAMsg_ItemAlert::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAMsg_ItemAlert::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAMsg_ItemAlert_descriptor_; +} + +const CDOTAMsg_ItemAlert& CDOTAMsg_ItemAlert::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fcommonmessages_2eproto(); return *default_instance_; +} + +CDOTAMsg_ItemAlert* CDOTAMsg_ItemAlert::default_instance_ = NULL; + +CDOTAMsg_ItemAlert* CDOTAMsg_ItemAlert::New() const { + return new CDOTAMsg_ItemAlert; +} + +void CDOTAMsg_ItemAlert::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + x_ = 0; + y_ = 0; + itemid_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAMsg_ItemAlert::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 int32 x = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_y; + break; + } + + // optional int32 y = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &y_))); + set_has_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_itemid; + break; + } + + // optional int32 itemid = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_itemid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &itemid_))); + set_has_itemid(); + } 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 CDOTAMsg_ItemAlert::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 x = 1; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->x(), output); + } + + // optional int32 y = 2; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->y(), output); + } + + // optional int32 itemid = 3; + if (has_itemid()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->itemid(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAMsg_ItemAlert::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 x = 1; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->x(), target); + } + + // optional int32 y = 2; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->y(), target); + } + + // optional int32 itemid = 3; + if (has_itemid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->itemid(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAMsg_ItemAlert::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 x = 1; + if (has_x()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->x()); + } + + // optional int32 y = 2; + if (has_y()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->y()); + } + + // optional int32 itemid = 3; + if (has_itemid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->itemid()); + } + + } + 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_ItemAlert::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAMsg_ItemAlert* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAMsg_ItemAlert::MergeFrom(const CDOTAMsg_ItemAlert& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + if (from.has_itemid()) { + set_itemid(from.itemid()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAMsg_ItemAlert::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAMsg_ItemAlert::CopyFrom(const CDOTAMsg_ItemAlert& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAMsg_ItemAlert::IsInitialized() const { + + return true; +} + +void CDOTAMsg_ItemAlert::Swap(CDOTAMsg_ItemAlert* other) { + if (other != this) { + std::swap(x_, other->x_); + std::swap(y_, other->y_); + std::swap(itemid_, other->itemid_); + 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_ItemAlert::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAMsg_ItemAlert_descriptor_; + metadata.reflection = CDOTAMsg_ItemAlert_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAMsg_MapLine::kXFieldNumber; +const int CDOTAMsg_MapLine::kYFieldNumber; +const int CDOTAMsg_MapLine::kInitialFieldNumber; +#endif // !_MSC_VER + +CDOTAMsg_MapLine::CDOTAMsg_MapLine() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAMsg_MapLine::InitAsDefaultInstance() { +} + +CDOTAMsg_MapLine::CDOTAMsg_MapLine(const CDOTAMsg_MapLine& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAMsg_MapLine::SharedCtor() { + _cached_size_ = 0; + x_ = 0; + y_ = 0; + initial_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAMsg_MapLine::~CDOTAMsg_MapLine() { + SharedDtor(); +} + +void CDOTAMsg_MapLine::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAMsg_MapLine::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAMsg_MapLine::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAMsg_MapLine_descriptor_; +} + +const CDOTAMsg_MapLine& CDOTAMsg_MapLine::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fcommonmessages_2eproto(); return *default_instance_; +} + +CDOTAMsg_MapLine* CDOTAMsg_MapLine::default_instance_ = NULL; + +CDOTAMsg_MapLine* CDOTAMsg_MapLine::New() const { + return new CDOTAMsg_MapLine; +} + +void CDOTAMsg_MapLine::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + x_ = 0; + y_ = 0; + initial_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAMsg_MapLine::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 int32 x = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_y; + break; + } + + // optional int32 y = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &y_))); + set_has_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_initial; + break; + } + + // optional bool initial = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_initial: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &initial_))); + set_has_initial(); + } 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 CDOTAMsg_MapLine::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 x = 1; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->x(), output); + } + + // optional int32 y = 2; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->y(), output); + } + + // optional bool initial = 3; + if (has_initial()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->initial(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAMsg_MapLine::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 x = 1; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->x(), target); + } + + // optional int32 y = 2; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->y(), target); + } + + // optional bool initial = 3; + if (has_initial()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->initial(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAMsg_MapLine::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 x = 1; + if (has_x()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->x()); + } + + // optional int32 y = 2; + if (has_y()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->y()); + } + + // optional bool initial = 3; + if (has_initial()) { + total_size += 1 + 1; + } + + } + 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_MapLine::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAMsg_MapLine* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAMsg_MapLine::MergeFrom(const CDOTAMsg_MapLine& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + if (from.has_initial()) { + set_initial(from.initial()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAMsg_MapLine::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAMsg_MapLine::CopyFrom(const CDOTAMsg_MapLine& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAMsg_MapLine::IsInitialized() const { + + return true; +} + +void CDOTAMsg_MapLine::Swap(CDOTAMsg_MapLine* other) { + if (other != this) { + std::swap(x_, other->x_); + std::swap(y_, other->y_); + std::swap(initial_, other->initial_); + 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_MapLine::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAMsg_MapLine_descriptor_; + metadata.reflection = CDOTAMsg_MapLine_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAMsg_WorldLine::kXFieldNumber; +const int CDOTAMsg_WorldLine::kYFieldNumber; +const int CDOTAMsg_WorldLine::kZFieldNumber; +const int CDOTAMsg_WorldLine::kInitialFieldNumber; +const int CDOTAMsg_WorldLine::kEndFieldNumber; +#endif // !_MSC_VER + +CDOTAMsg_WorldLine::CDOTAMsg_WorldLine() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAMsg_WorldLine::InitAsDefaultInstance() { +} + +CDOTAMsg_WorldLine::CDOTAMsg_WorldLine(const CDOTAMsg_WorldLine& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAMsg_WorldLine::SharedCtor() { + _cached_size_ = 0; + x_ = 0; + y_ = 0; + z_ = 0; + initial_ = false; + end_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAMsg_WorldLine::~CDOTAMsg_WorldLine() { + SharedDtor(); +} + +void CDOTAMsg_WorldLine::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAMsg_WorldLine::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAMsg_WorldLine::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAMsg_WorldLine_descriptor_; +} + +const CDOTAMsg_WorldLine& CDOTAMsg_WorldLine::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fcommonmessages_2eproto(); return *default_instance_; +} + +CDOTAMsg_WorldLine* CDOTAMsg_WorldLine::default_instance_ = NULL; + +CDOTAMsg_WorldLine* CDOTAMsg_WorldLine::New() const { + return new CDOTAMsg_WorldLine; +} + +void CDOTAMsg_WorldLine::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + x_ = 0; + y_ = 0; + z_ = 0; + initial_ = false; + end_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAMsg_WorldLine::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 int32 x = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_y; + break; + } + + // optional int32 y = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &y_))); + set_has_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_z; + break; + } + + // optional int32 z = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_z: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &z_))); + set_has_z(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_initial; + break; + } + + // optional bool initial = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_initial: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &initial_))); + set_has_initial(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_end; + break; + } + + // optional bool end = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_end: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &end_))); + set_has_end(); + } 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 CDOTAMsg_WorldLine::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 x = 1; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->x(), output); + } + + // optional int32 y = 2; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->y(), output); + } + + // optional int32 z = 3; + if (has_z()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->z(), output); + } + + // optional bool initial = 4; + if (has_initial()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->initial(), output); + } + + // optional bool end = 5; + if (has_end()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->end(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAMsg_WorldLine::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 x = 1; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->x(), target); + } + + // optional int32 y = 2; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->y(), target); + } + + // optional int32 z = 3; + if (has_z()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->z(), target); + } + + // optional bool initial = 4; + if (has_initial()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->initial(), target); + } + + // optional bool end = 5; + if (has_end()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->end(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAMsg_WorldLine::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 x = 1; + if (has_x()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->x()); + } + + // optional int32 y = 2; + if (has_y()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->y()); + } + + // optional int32 z = 3; + if (has_z()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->z()); + } + + // optional bool initial = 4; + if (has_initial()) { + total_size += 1 + 1; + } + + // optional bool end = 5; + if (has_end()) { + total_size += 1 + 1; + } + + } + 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_WorldLine::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAMsg_WorldLine* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAMsg_WorldLine::MergeFrom(const CDOTAMsg_WorldLine& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + if (from.has_z()) { + set_z(from.z()); + } + if (from.has_initial()) { + set_initial(from.initial()); + } + if (from.has_end()) { + set_end(from.end()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAMsg_WorldLine::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAMsg_WorldLine::CopyFrom(const CDOTAMsg_WorldLine& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAMsg_WorldLine::IsInitialized() const { + + return true; +} + +void CDOTAMsg_WorldLine::Swap(CDOTAMsg_WorldLine* other) { + if (other != this) { + std::swap(x_, other->x_); + std::swap(y_, other->y_); + std::swap(z_, other->z_); + std::swap(initial_, other->initial_); + std::swap(end_, other->end_); + 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_WorldLine::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAMsg_WorldLine_descriptor_; + metadata.reflection = CDOTAMsg_WorldLine_reflection_; + return metadata; +} + + +// @@protoc_insertion_point(namespace_scope) + +// @@protoc_insertion_point(global_scope) diff --git a/public/game/shared/dota/protobuf/dota_commonmessages.pb.h b/public/game/shared/dota/protobuf/dota_commonmessages.pb.h new file mode 100644 index 00000000..7d818765 --- /dev/null +++ b/public/game/shared/dota/protobuf/dota_commonmessages.pb.h @@ -0,0 +1,874 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: dota_commonmessages.proto + +#ifndef PROTOBUF_dota_5fcommonmessages_2eproto__INCLUDED +#define PROTOBUF_dota_5fcommonmessages_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2004000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include "google/protobuf/descriptor.pb.h" +#include "netmessages.pb.h" +// @@protoc_insertion_point(includes) + +// Internal implementation detail -- do not call these. +void protobuf_AddDesc_dota_5fcommonmessages_2eproto(); +void protobuf_AssignDesc_dota_5fcommonmessages_2eproto(); +void protobuf_ShutdownFile_dota_5fcommonmessages_2eproto(); + +class CDOTAMsg_LocationPing; +class CDOTAMsg_ItemAlert; +class CDOTAMsg_MapLine; +class CDOTAMsg_WorldLine; + +enum EDOTAChatWheelMessage { + k_EDOTA_CW_Ok = 0, + k_EDOTA_CW_Care = 1, + k_EDOTA_CW_GetBack = 2, + k_EDOTA_CW_NeedWards = 3, + k_EDOTA_CW_Stun = 4, + k_EDOTA_CW_Help = 5, + k_EDOTA_CW_Push = 6, + k_EDOTA_CW_GoodJob = 7, + k_EDOTA_CW_Missing = 8, + k_EDOTA_CW_Missing_Top = 9, + k_EDOTA_CW_Missing_Mid = 10, + k_EDOTA_CW_Missing_Bottom = 11 +}; +bool EDOTAChatWheelMessage_IsValid(int value); +const EDOTAChatWheelMessage EDOTAChatWheelMessage_MIN = k_EDOTA_CW_Ok; +const EDOTAChatWheelMessage EDOTAChatWheelMessage_MAX = k_EDOTA_CW_Missing_Bottom; +const int EDOTAChatWheelMessage_ARRAYSIZE = EDOTAChatWheelMessage_MAX + 1; + +const ::google::protobuf::EnumDescriptor* EDOTAChatWheelMessage_descriptor(); +inline const ::std::string& EDOTAChatWheelMessage_Name(EDOTAChatWheelMessage value) { + return ::google::protobuf::internal::NameOfEnum( + EDOTAChatWheelMessage_descriptor(), value); +} +inline bool EDOTAChatWheelMessage_Parse( + const ::std::string& name, EDOTAChatWheelMessage* value) { + return ::google::protobuf::internal::ParseNamedEnum( + EDOTAChatWheelMessage_descriptor(), name, value); +} +// =================================================================== + +class CDOTAMsg_LocationPing : public ::google::protobuf::Message { + public: + CDOTAMsg_LocationPing(); + virtual ~CDOTAMsg_LocationPing(); + + CDOTAMsg_LocationPing(const CDOTAMsg_LocationPing& from); + + inline CDOTAMsg_LocationPing& operator=(const CDOTAMsg_LocationPing& 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_LocationPing& default_instance(); + + void Swap(CDOTAMsg_LocationPing* other); + + // implements Message ---------------------------------------------- + + CDOTAMsg_LocationPing* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAMsg_LocationPing& from); + void MergeFrom(const CDOTAMsg_LocationPing& 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 x = 1; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 1; + inline ::google::protobuf::int32 x() const; + inline void set_x(::google::protobuf::int32 value); + + // optional int32 y = 2; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 2; + inline ::google::protobuf::int32 y() const; + inline void set_y(::google::protobuf::int32 value); + + // optional int32 target = 3; + inline bool has_target() const; + inline void clear_target(); + static const int kTargetFieldNumber = 3; + inline ::google::protobuf::int32 target() const; + inline void set_target(::google::protobuf::int32 value); + + // optional bool direct_ping = 4; + inline bool has_direct_ping() const; + inline void clear_direct_ping(); + static const int kDirectPingFieldNumber = 4; + inline bool direct_ping() const; + inline void set_direct_ping(bool value); + + // @@protoc_insertion_point(class_scope:CDOTAMsg_LocationPing) + private: + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + inline void set_has_target(); + inline void clear_has_target(); + inline void set_has_direct_ping(); + inline void clear_has_direct_ping(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 x_; + ::google::protobuf::int32 y_; + ::google::protobuf::int32 target_; + bool direct_ping_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 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_LocationPing* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAMsg_ItemAlert : public ::google::protobuf::Message { + public: + CDOTAMsg_ItemAlert(); + virtual ~CDOTAMsg_ItemAlert(); + + CDOTAMsg_ItemAlert(const CDOTAMsg_ItemAlert& from); + + inline CDOTAMsg_ItemAlert& operator=(const CDOTAMsg_ItemAlert& 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_ItemAlert& default_instance(); + + void Swap(CDOTAMsg_ItemAlert* other); + + // implements Message ---------------------------------------------- + + CDOTAMsg_ItemAlert* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAMsg_ItemAlert& from); + void MergeFrom(const CDOTAMsg_ItemAlert& 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 x = 1; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 1; + inline ::google::protobuf::int32 x() const; + inline void set_x(::google::protobuf::int32 value); + + // optional int32 y = 2; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 2; + inline ::google::protobuf::int32 y() const; + inline void set_y(::google::protobuf::int32 value); + + // optional int32 itemid = 3; + inline bool has_itemid() const; + inline void clear_itemid(); + static const int kItemidFieldNumber = 3; + inline ::google::protobuf::int32 itemid() const; + inline void set_itemid(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAMsg_ItemAlert) + private: + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + inline void set_has_itemid(); + inline void clear_has_itemid(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 x_; + ::google::protobuf::int32 y_; + ::google::protobuf::int32 itemid_; + + 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_ItemAlert* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAMsg_MapLine : public ::google::protobuf::Message { + public: + CDOTAMsg_MapLine(); + virtual ~CDOTAMsg_MapLine(); + + CDOTAMsg_MapLine(const CDOTAMsg_MapLine& from); + + inline CDOTAMsg_MapLine& operator=(const CDOTAMsg_MapLine& 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_MapLine& default_instance(); + + void Swap(CDOTAMsg_MapLine* other); + + // implements Message ---------------------------------------------- + + CDOTAMsg_MapLine* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAMsg_MapLine& from); + void MergeFrom(const CDOTAMsg_MapLine& 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 x = 1; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 1; + inline ::google::protobuf::int32 x() const; + inline void set_x(::google::protobuf::int32 value); + + // optional int32 y = 2; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 2; + inline ::google::protobuf::int32 y() const; + inline void set_y(::google::protobuf::int32 value); + + // optional bool initial = 3; + inline bool has_initial() const; + inline void clear_initial(); + static const int kInitialFieldNumber = 3; + inline bool initial() const; + inline void set_initial(bool value); + + // @@protoc_insertion_point(class_scope:CDOTAMsg_MapLine) + private: + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + inline void set_has_initial(); + inline void clear_has_initial(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 x_; + ::google::protobuf::int32 y_; + bool initial_; + + 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_MapLine* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAMsg_WorldLine : public ::google::protobuf::Message { + public: + CDOTAMsg_WorldLine(); + virtual ~CDOTAMsg_WorldLine(); + + CDOTAMsg_WorldLine(const CDOTAMsg_WorldLine& from); + + inline CDOTAMsg_WorldLine& operator=(const CDOTAMsg_WorldLine& 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_WorldLine& default_instance(); + + void Swap(CDOTAMsg_WorldLine* other); + + // implements Message ---------------------------------------------- + + CDOTAMsg_WorldLine* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAMsg_WorldLine& from); + void MergeFrom(const CDOTAMsg_WorldLine& 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 x = 1; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 1; + inline ::google::protobuf::int32 x() const; + inline void set_x(::google::protobuf::int32 value); + + // optional int32 y = 2; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 2; + inline ::google::protobuf::int32 y() const; + inline void set_y(::google::protobuf::int32 value); + + // optional int32 z = 3; + inline bool has_z() const; + inline void clear_z(); + static const int kZFieldNumber = 3; + inline ::google::protobuf::int32 z() const; + inline void set_z(::google::protobuf::int32 value); + + // optional bool initial = 4; + inline bool has_initial() const; + inline void clear_initial(); + static const int kInitialFieldNumber = 4; + inline bool initial() const; + inline void set_initial(bool value); + + // optional bool end = 5; + inline bool has_end() const; + inline void clear_end(); + static const int kEndFieldNumber = 5; + inline bool end() const; + inline void set_end(bool value); + + // @@protoc_insertion_point(class_scope:CDOTAMsg_WorldLine) + private: + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + inline void set_has_z(); + inline void clear_has_z(); + inline void set_has_initial(); + inline void clear_has_initial(); + inline void set_has_end(); + inline void clear_has_end(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 x_; + ::google::protobuf::int32 y_; + ::google::protobuf::int32 z_; + bool initial_; + bool end_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 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_WorldLine* default_instance_; +}; +// =================================================================== + + +// =================================================================== + +// CDOTAMsg_LocationPing + +// optional int32 x = 1; +inline bool CDOTAMsg_LocationPing::has_x() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAMsg_LocationPing::set_has_x() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAMsg_LocationPing::clear_has_x() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAMsg_LocationPing::clear_x() { + x_ = 0; + clear_has_x(); +} +inline ::google::protobuf::int32 CDOTAMsg_LocationPing::x() const { + return x_; +} +inline void CDOTAMsg_LocationPing::set_x(::google::protobuf::int32 value) { + set_has_x(); + x_ = value; +} + +// optional int32 y = 2; +inline bool CDOTAMsg_LocationPing::has_y() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAMsg_LocationPing::set_has_y() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAMsg_LocationPing::clear_has_y() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAMsg_LocationPing::clear_y() { + y_ = 0; + clear_has_y(); +} +inline ::google::protobuf::int32 CDOTAMsg_LocationPing::y() const { + return y_; +} +inline void CDOTAMsg_LocationPing::set_y(::google::protobuf::int32 value) { + set_has_y(); + y_ = value; +} + +// optional int32 target = 3; +inline bool CDOTAMsg_LocationPing::has_target() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAMsg_LocationPing::set_has_target() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAMsg_LocationPing::clear_has_target() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAMsg_LocationPing::clear_target() { + target_ = 0; + clear_has_target(); +} +inline ::google::protobuf::int32 CDOTAMsg_LocationPing::target() const { + return target_; +} +inline void CDOTAMsg_LocationPing::set_target(::google::protobuf::int32 value) { + set_has_target(); + target_ = value; +} + +// optional bool direct_ping = 4; +inline bool CDOTAMsg_LocationPing::has_direct_ping() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAMsg_LocationPing::set_has_direct_ping() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAMsg_LocationPing::clear_has_direct_ping() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAMsg_LocationPing::clear_direct_ping() { + direct_ping_ = false; + clear_has_direct_ping(); +} +inline bool CDOTAMsg_LocationPing::direct_ping() const { + return direct_ping_; +} +inline void CDOTAMsg_LocationPing::set_direct_ping(bool value) { + set_has_direct_ping(); + direct_ping_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAMsg_ItemAlert + +// optional int32 x = 1; +inline bool CDOTAMsg_ItemAlert::has_x() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAMsg_ItemAlert::set_has_x() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAMsg_ItemAlert::clear_has_x() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAMsg_ItemAlert::clear_x() { + x_ = 0; + clear_has_x(); +} +inline ::google::protobuf::int32 CDOTAMsg_ItemAlert::x() const { + return x_; +} +inline void CDOTAMsg_ItemAlert::set_x(::google::protobuf::int32 value) { + set_has_x(); + x_ = value; +} + +// optional int32 y = 2; +inline bool CDOTAMsg_ItemAlert::has_y() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAMsg_ItemAlert::set_has_y() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAMsg_ItemAlert::clear_has_y() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAMsg_ItemAlert::clear_y() { + y_ = 0; + clear_has_y(); +} +inline ::google::protobuf::int32 CDOTAMsg_ItemAlert::y() const { + return y_; +} +inline void CDOTAMsg_ItemAlert::set_y(::google::protobuf::int32 value) { + set_has_y(); + y_ = value; +} + +// optional int32 itemid = 3; +inline bool CDOTAMsg_ItemAlert::has_itemid() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAMsg_ItemAlert::set_has_itemid() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAMsg_ItemAlert::clear_has_itemid() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAMsg_ItemAlert::clear_itemid() { + itemid_ = 0; + clear_has_itemid(); +} +inline ::google::protobuf::int32 CDOTAMsg_ItemAlert::itemid() const { + return itemid_; +} +inline void CDOTAMsg_ItemAlert::set_itemid(::google::protobuf::int32 value) { + set_has_itemid(); + itemid_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAMsg_MapLine + +// optional int32 x = 1; +inline bool CDOTAMsg_MapLine::has_x() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAMsg_MapLine::set_has_x() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAMsg_MapLine::clear_has_x() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAMsg_MapLine::clear_x() { + x_ = 0; + clear_has_x(); +} +inline ::google::protobuf::int32 CDOTAMsg_MapLine::x() const { + return x_; +} +inline void CDOTAMsg_MapLine::set_x(::google::protobuf::int32 value) { + set_has_x(); + x_ = value; +} + +// optional int32 y = 2; +inline bool CDOTAMsg_MapLine::has_y() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAMsg_MapLine::set_has_y() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAMsg_MapLine::clear_has_y() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAMsg_MapLine::clear_y() { + y_ = 0; + clear_has_y(); +} +inline ::google::protobuf::int32 CDOTAMsg_MapLine::y() const { + return y_; +} +inline void CDOTAMsg_MapLine::set_y(::google::protobuf::int32 value) { + set_has_y(); + y_ = value; +} + +// optional bool initial = 3; +inline bool CDOTAMsg_MapLine::has_initial() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAMsg_MapLine::set_has_initial() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAMsg_MapLine::clear_has_initial() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAMsg_MapLine::clear_initial() { + initial_ = false; + clear_has_initial(); +} +inline bool CDOTAMsg_MapLine::initial() const { + return initial_; +} +inline void CDOTAMsg_MapLine::set_initial(bool value) { + set_has_initial(); + initial_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAMsg_WorldLine + +// optional int32 x = 1; +inline bool CDOTAMsg_WorldLine::has_x() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAMsg_WorldLine::set_has_x() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAMsg_WorldLine::clear_has_x() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAMsg_WorldLine::clear_x() { + x_ = 0; + clear_has_x(); +} +inline ::google::protobuf::int32 CDOTAMsg_WorldLine::x() const { + return x_; +} +inline void CDOTAMsg_WorldLine::set_x(::google::protobuf::int32 value) { + set_has_x(); + x_ = value; +} + +// optional int32 y = 2; +inline bool CDOTAMsg_WorldLine::has_y() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAMsg_WorldLine::set_has_y() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAMsg_WorldLine::clear_has_y() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAMsg_WorldLine::clear_y() { + y_ = 0; + clear_has_y(); +} +inline ::google::protobuf::int32 CDOTAMsg_WorldLine::y() const { + return y_; +} +inline void CDOTAMsg_WorldLine::set_y(::google::protobuf::int32 value) { + set_has_y(); + y_ = value; +} + +// optional int32 z = 3; +inline bool CDOTAMsg_WorldLine::has_z() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAMsg_WorldLine::set_has_z() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAMsg_WorldLine::clear_has_z() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAMsg_WorldLine::clear_z() { + z_ = 0; + clear_has_z(); +} +inline ::google::protobuf::int32 CDOTAMsg_WorldLine::z() const { + return z_; +} +inline void CDOTAMsg_WorldLine::set_z(::google::protobuf::int32 value) { + set_has_z(); + z_ = value; +} + +// optional bool initial = 4; +inline bool CDOTAMsg_WorldLine::has_initial() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAMsg_WorldLine::set_has_initial() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAMsg_WorldLine::clear_has_initial() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAMsg_WorldLine::clear_initial() { + initial_ = false; + clear_has_initial(); +} +inline bool CDOTAMsg_WorldLine::initial() const { + return initial_; +} +inline void CDOTAMsg_WorldLine::set_initial(bool value) { + set_has_initial(); + initial_ = value; +} + +// optional bool end = 5; +inline bool CDOTAMsg_WorldLine::has_end() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAMsg_WorldLine::set_has_end() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAMsg_WorldLine::clear_has_end() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAMsg_WorldLine::clear_end() { + end_ = false; + clear_has_end(); +} +inline bool CDOTAMsg_WorldLine::end() const { + return end_; +} +inline void CDOTAMsg_WorldLine::set_end(bool value) { + set_has_end(); + end_ = value; +} + + +// @@protoc_insertion_point(namespace_scope) + +#ifndef SWIG +namespace google { +namespace protobuf { + +template <> +inline const EnumDescriptor* GetEnumDescriptor< EDOTAChatWheelMessage>() { + return EDOTAChatWheelMessage_descriptor(); +} + +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_dota_5fcommonmessages_2eproto__INCLUDED diff --git a/public/game/shared/dota/protobuf/dota_commonmessages.proto b/public/game/shared/dota/protobuf/dota_commonmessages.proto new file mode 100644 index 00000000..84ed257c --- /dev/null +++ b/public/game/shared/dota/protobuf/dota_commonmessages.proto @@ -0,0 +1,117 @@ +//====== 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. +// +//============================================================================= + +// We care more about speed than code size +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"; + +// for CMsgVector, etc. +import "netmessages.proto"; + +//============================================================================= +// Dota Common Messages +//============================================================================= +enum EDOTAChatWheelMessage +{ + k_EDOTA_CW_Ok = 0; + k_EDOTA_CW_Care = 1; + k_EDOTA_CW_GetBack = 2; + k_EDOTA_CW_NeedWards = 3; + k_EDOTA_CW_Stun = 4; + k_EDOTA_CW_Help = 5; + k_EDOTA_CW_Push = 6; + k_EDOTA_CW_GoodJob = 7; + k_EDOTA_CW_Missing = 8; + k_EDOTA_CW_Missing_Top = 9; + k_EDOTA_CW_Missing_Mid = 10; + k_EDOTA_CW_Missing_Bottom = 11; +} + +message CDOTAMsg_LocationPing +{ + optional int32 x = 1; + optional int32 y = 2; + optional int32 target = 3; + optional bool direct_ping = 4; +} + +message CDOTAMsg_ItemAlert +{ + optional int32 x = 1; + optional int32 y = 2; + optional int32 itemid = 3; +} + +message CDOTAMsg_MapLine +{ + optional int32 x = 1; + optional int32 y = 2; + optional bool initial = 3; +} + +message CDOTAMsg_WorldLine +{ + optional int32 x = 1; + optional int32 y = 2; + optional int32 z = 3; + optional bool initial = 4; + optional bool end = 5; +} + + +//============================================================================= + + diff --git a/public/game/shared/dota/protobuf/dota_usermessages.pb.cc b/public/game/shared/dota/protobuf/dota_usermessages.pb.cc new file mode 100644 index 00000000..414862a4 --- /dev/null +++ b/public/game/shared/dota/protobuf/dota_usermessages.pb.cc @@ -0,0 +1,20903 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "dota_usermessages.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace { + +const ::google::protobuf::Descriptor* CDOTAUserMsg_AIDebugLine_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_AIDebugLine_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_Ping_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_Ping_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_SwapVerify_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_SwapVerify_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ChatEvent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ChatEvent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_CombatLogData_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_CombatLogData_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_CombatLogShowDeath_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_CombatLogShowDeath_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_BotChat_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_BotChat_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_CombatHeroPositions_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_CombatHeroPositions_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_MiniKillCamInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_MiniKillCamInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_MiniKillCamInfo_Attacker_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_GlobalLightColor_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_GlobalLightColor_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_GlobalLightDirection_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_GlobalLightDirection_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_LocationPing_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_LocationPing_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ItemAlert_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ItemAlert_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_MinimapEvent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_MinimapEvent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_MapLine_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_MapLine_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_MinimapDebugPoint_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_MinimapDebugPoint_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_CreateLinearProjectile_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_CreateLinearProjectile_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_DestroyLinearProjectile_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_DestroyLinearProjectile_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_DodgeTrackingProjectiles_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_DodgeTrackingProjectiles_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_SpectatorPlayerClick_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_SpectatorPlayerClick_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_NevermoreRequiem_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_NevermoreRequiem_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_InvalidCommand_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_InvalidCommand_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_HudError_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_HudError_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_SharedCooldown_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_SharedCooldown_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_SetNextAutobuyItem_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_SetNextAutobuyItem_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_HalloweenDrops_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_HalloweenDrops_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAResponseQuerySerialized_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAResponseQuerySerialized_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAResponseQuerySerialized_Fact_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAResponseQuerySerialized_Fact_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* CDOTAResponseQuerySerialized_Fact_ValueType_descriptor_ = NULL; +const ::google::protobuf::Descriptor* CDOTASpeechMatchOnClient_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTASpeechMatchOnClient_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_UnitEvent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_Speech_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_UnitEvent_Speech_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_SpeechMute_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_UnitEvent_SpeechMute_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_AddGesture_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_UnitEvent_AddGesture_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_UnitEvent_RemoveGesture_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_BloodImpact_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_UnitEvent_BloodImpact_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_FadeGesture_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_UnitEvent_FadeGesture_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ItemPurchased_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ItemPurchased_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ItemFound_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ItemFound_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_CreateParticle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_CreateParticle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_DestroyParticle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_DestroyParticle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_UpdateParticle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleFwd_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_UpdateParticleFwd_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleOrient_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_UpdateParticleOrient_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleFallback_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_UpdateParticleFallback_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleOffset_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_UpdateParticleOffset_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleEnt_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_UpdateParticleEnt_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleLatency_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_UpdateParticleLatency_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_OverheadEvent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_OverheadEvent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialTipInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_TutorialTipInfo_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_WorldLine_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_WorldLine_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_TournamentDrop_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_TournamentDrop_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ChatWheel_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ChatWheel_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ReceivedXmasGift_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ReceivedXmasGift_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_ShowSurvey_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_ShowSurvey_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_UpdateSharedContent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_UpdateSharedContent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialRequestExp_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_TutorialRequestExp_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialFade_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_TutorialFade_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialPingMinimap_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_TutorialPingMinimap_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTA_UM_GamerulesStateChanged_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTA_UM_GamerulesStateChanged_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* EDotaUserMessages_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* DOTA_CHAT_MESSAGE_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* DOTA_NO_BATTLE_POINTS_REASONS_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* DOTA_CHAT_INFORMATIONAL_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* DOTA_COMBATLOG_TYPES_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* EDotaEntityMessages_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* DOTA_PARTICLE_MESSAGE_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* DOTA_OVERHEAD_ALERT_descriptor_ = NULL; + +} // namespace + + +void protobuf_AssignDesc_dota_5fusermessages_2eproto() { + protobuf_AddDesc_dota_5fusermessages_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "dota_usermessages.proto"); + GOOGLE_CHECK(file != NULL); + CDOTAUserMsg_AIDebugLine_descriptor_ = file->message_type(0); + static const int CDOTAUserMsg_AIDebugLine_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_AIDebugLine, message_), + }; + CDOTAUserMsg_AIDebugLine_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_AIDebugLine_descriptor_, + CDOTAUserMsg_AIDebugLine::default_instance_, + CDOTAUserMsg_AIDebugLine_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_AIDebugLine, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_AIDebugLine, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_AIDebugLine)); + CDOTAUserMsg_Ping_descriptor_ = file->message_type(1); + static const int CDOTAUserMsg_Ping_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_Ping, message_), + }; + CDOTAUserMsg_Ping_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_Ping_descriptor_, + CDOTAUserMsg_Ping::default_instance_, + CDOTAUserMsg_Ping_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_Ping, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_Ping, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_Ping)); + CDOTAUserMsg_SwapVerify_descriptor_ = file->message_type(2); + static const int CDOTAUserMsg_SwapVerify_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SwapVerify, player_id_), + }; + CDOTAUserMsg_SwapVerify_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_SwapVerify_descriptor_, + CDOTAUserMsg_SwapVerify::default_instance_, + CDOTAUserMsg_SwapVerify_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SwapVerify, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SwapVerify, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_SwapVerify)); + CDOTAUserMsg_ChatEvent_descriptor_ = file->message_type(3); + static const int CDOTAUserMsg_ChatEvent_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, playerid_1_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, playerid_2_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, playerid_3_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, playerid_4_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, playerid_5_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, playerid_6_), + }; + CDOTAUserMsg_ChatEvent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ChatEvent_descriptor_, + CDOTAUserMsg_ChatEvent::default_instance_, + CDOTAUserMsg_ChatEvent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatEvent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ChatEvent)); + CDOTAUserMsg_CombatLogData_descriptor_ = file->message_type(4); + static const int CDOTAUserMsg_CombatLogData_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, target_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, attacker_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, attacker_illusion_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, target_illusion_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, inflictor_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, health_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, time_), + }; + CDOTAUserMsg_CombatLogData_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_CombatLogData_descriptor_, + CDOTAUserMsg_CombatLogData::default_instance_, + CDOTAUserMsg_CombatLogData_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogData, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_CombatLogData)); + CDOTAUserMsg_CombatLogShowDeath_descriptor_ = file->message_type(5); + static const int CDOTAUserMsg_CombatLogShowDeath_offsets_[1] = { + }; + CDOTAUserMsg_CombatLogShowDeath_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_CombatLogShowDeath_descriptor_, + CDOTAUserMsg_CombatLogShowDeath::default_instance_, + CDOTAUserMsg_CombatLogShowDeath_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogShowDeath, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatLogShowDeath, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_CombatLogShowDeath)); + CDOTAUserMsg_BotChat_descriptor_ = file->message_type(6); + static const int CDOTAUserMsg_BotChat_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_BotChat, player_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_BotChat, format_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_BotChat, message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_BotChat, target_), + }; + CDOTAUserMsg_BotChat_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_BotChat_descriptor_, + CDOTAUserMsg_BotChat::default_instance_, + CDOTAUserMsg_BotChat_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_BotChat, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_BotChat, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_BotChat)); + CDOTAUserMsg_CombatHeroPositions_descriptor_ = file->message_type(7); + static const int CDOTAUserMsg_CombatHeroPositions_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatHeroPositions, index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatHeroPositions, time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatHeroPositions, world_pos_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatHeroPositions, health_), + }; + CDOTAUserMsg_CombatHeroPositions_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_CombatHeroPositions_descriptor_, + CDOTAUserMsg_CombatHeroPositions::default_instance_, + CDOTAUserMsg_CombatHeroPositions_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatHeroPositions, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CombatHeroPositions, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_CombatHeroPositions)); + CDOTAUserMsg_MiniKillCamInfo_descriptor_ = file->message_type(8); + static const int CDOTAUserMsg_MiniKillCamInfo_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo, attackers_), + }; + CDOTAUserMsg_MiniKillCamInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_MiniKillCamInfo_descriptor_, + CDOTAUserMsg_MiniKillCamInfo::default_instance_, + CDOTAUserMsg_MiniKillCamInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_MiniKillCamInfo)); + CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor_ = CDOTAUserMsg_MiniKillCamInfo_descriptor_->nested_type(0); + static const int CDOTAUserMsg_MiniKillCamInfo_Attacker_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker, attacker_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker, total_damage_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker, abilities_), + }; + CDOTAUserMsg_MiniKillCamInfo_Attacker_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor_, + CDOTAUserMsg_MiniKillCamInfo_Attacker::default_instance_, + CDOTAUserMsg_MiniKillCamInfo_Attacker_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_MiniKillCamInfo_Attacker)); + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor_ = CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor_->nested_type(0); + static const int CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability, ability_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability, damage_), + }; + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor_, + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::default_instance_, + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability)); + CDOTAUserMsg_GlobalLightColor_descriptor_ = file->message_type(9); + static const int CDOTAUserMsg_GlobalLightColor_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_GlobalLightColor, color_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_GlobalLightColor, duration_), + }; + CDOTAUserMsg_GlobalLightColor_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_GlobalLightColor_descriptor_, + CDOTAUserMsg_GlobalLightColor::default_instance_, + CDOTAUserMsg_GlobalLightColor_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_GlobalLightColor, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_GlobalLightColor, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_GlobalLightColor)); + CDOTAUserMsg_GlobalLightDirection_descriptor_ = file->message_type(10); + static const int CDOTAUserMsg_GlobalLightDirection_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_GlobalLightDirection, direction_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_GlobalLightDirection, duration_), + }; + CDOTAUserMsg_GlobalLightDirection_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_GlobalLightDirection_descriptor_, + CDOTAUserMsg_GlobalLightDirection::default_instance_, + CDOTAUserMsg_GlobalLightDirection_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_GlobalLightDirection, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_GlobalLightDirection, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_GlobalLightDirection)); + CDOTAUserMsg_LocationPing_descriptor_ = file->message_type(11); + static const int CDOTAUserMsg_LocationPing_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_LocationPing, player_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_LocationPing, location_ping_), + }; + CDOTAUserMsg_LocationPing_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_LocationPing_descriptor_, + CDOTAUserMsg_LocationPing::default_instance_, + CDOTAUserMsg_LocationPing_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_LocationPing, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_LocationPing, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_LocationPing)); + CDOTAUserMsg_ItemAlert_descriptor_ = file->message_type(12); + static const int CDOTAUserMsg_ItemAlert_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemAlert, player_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemAlert, item_alert_), + }; + CDOTAUserMsg_ItemAlert_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ItemAlert_descriptor_, + CDOTAUserMsg_ItemAlert::default_instance_, + CDOTAUserMsg_ItemAlert_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemAlert, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemAlert, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ItemAlert)); + CDOTAUserMsg_MinimapEvent_descriptor_ = file->message_type(13); + static const int CDOTAUserMsg_MinimapEvent_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapEvent, event_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapEvent, entity_handle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapEvent, x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapEvent, y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapEvent, duration_), + }; + CDOTAUserMsg_MinimapEvent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_MinimapEvent_descriptor_, + CDOTAUserMsg_MinimapEvent::default_instance_, + CDOTAUserMsg_MinimapEvent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapEvent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapEvent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_MinimapEvent)); + CDOTAUserMsg_MapLine_descriptor_ = file->message_type(14); + static const int CDOTAUserMsg_MapLine_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MapLine, player_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MapLine, mapline_), + }; + CDOTAUserMsg_MapLine_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_MapLine_descriptor_, + CDOTAUserMsg_MapLine::default_instance_, + CDOTAUserMsg_MapLine_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MapLine, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MapLine, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_MapLine)); + CDOTAUserMsg_MinimapDebugPoint_descriptor_ = file->message_type(15); + static const int CDOTAUserMsg_MinimapDebugPoint_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapDebugPoint, location_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapDebugPoint, color_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapDebugPoint, size_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapDebugPoint, duration_), + }; + CDOTAUserMsg_MinimapDebugPoint_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_MinimapDebugPoint_descriptor_, + CDOTAUserMsg_MinimapDebugPoint::default_instance_, + CDOTAUserMsg_MinimapDebugPoint_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapDebugPoint, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_MinimapDebugPoint, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_MinimapDebugPoint)); + CDOTAUserMsg_CreateLinearProjectile_descriptor_ = file->message_type(16); + static const int CDOTAUserMsg_CreateLinearProjectile_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CreateLinearProjectile, origin_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CreateLinearProjectile, velocity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CreateLinearProjectile, latency_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CreateLinearProjectile, entindex_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CreateLinearProjectile, particle_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CreateLinearProjectile, handle_), + }; + CDOTAUserMsg_CreateLinearProjectile_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_CreateLinearProjectile_descriptor_, + CDOTAUserMsg_CreateLinearProjectile::default_instance_, + CDOTAUserMsg_CreateLinearProjectile_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CreateLinearProjectile, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_CreateLinearProjectile, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_CreateLinearProjectile)); + CDOTAUserMsg_DestroyLinearProjectile_descriptor_ = file->message_type(17); + static const int CDOTAUserMsg_DestroyLinearProjectile_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_DestroyLinearProjectile, handle_), + }; + CDOTAUserMsg_DestroyLinearProjectile_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_DestroyLinearProjectile_descriptor_, + CDOTAUserMsg_DestroyLinearProjectile::default_instance_, + CDOTAUserMsg_DestroyLinearProjectile_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_DestroyLinearProjectile, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_DestroyLinearProjectile, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_DestroyLinearProjectile)); + CDOTAUserMsg_DodgeTrackingProjectiles_descriptor_ = file->message_type(18); + static const int CDOTAUserMsg_DodgeTrackingProjectiles_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_DodgeTrackingProjectiles, entindex_), + }; + CDOTAUserMsg_DodgeTrackingProjectiles_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_DodgeTrackingProjectiles_descriptor_, + CDOTAUserMsg_DodgeTrackingProjectiles::default_instance_, + CDOTAUserMsg_DodgeTrackingProjectiles_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_DodgeTrackingProjectiles, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_DodgeTrackingProjectiles, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_DodgeTrackingProjectiles)); + CDOTAUserMsg_SpectatorPlayerClick_descriptor_ = file->message_type(19); + static const int CDOTAUserMsg_SpectatorPlayerClick_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SpectatorPlayerClick, entindex_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SpectatorPlayerClick, order_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SpectatorPlayerClick, target_index_), + }; + CDOTAUserMsg_SpectatorPlayerClick_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_SpectatorPlayerClick_descriptor_, + CDOTAUserMsg_SpectatorPlayerClick::default_instance_, + CDOTAUserMsg_SpectatorPlayerClick_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SpectatorPlayerClick, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SpectatorPlayerClick, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_SpectatorPlayerClick)); + CDOTAUserMsg_NevermoreRequiem_descriptor_ = file->message_type(20); + static const int CDOTAUserMsg_NevermoreRequiem_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_NevermoreRequiem, entity_handle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_NevermoreRequiem, lines_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_NevermoreRequiem, origin_), + }; + CDOTAUserMsg_NevermoreRequiem_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_NevermoreRequiem_descriptor_, + CDOTAUserMsg_NevermoreRequiem::default_instance_, + CDOTAUserMsg_NevermoreRequiem_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_NevermoreRequiem, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_NevermoreRequiem, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_NevermoreRequiem)); + CDOTAUserMsg_InvalidCommand_descriptor_ = file->message_type(21); + static const int CDOTAUserMsg_InvalidCommand_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_InvalidCommand, message_), + }; + CDOTAUserMsg_InvalidCommand_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_InvalidCommand_descriptor_, + CDOTAUserMsg_InvalidCommand::default_instance_, + CDOTAUserMsg_InvalidCommand_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_InvalidCommand, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_InvalidCommand, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_InvalidCommand)); + CDOTAUserMsg_HudError_descriptor_ = file->message_type(22); + static const int CDOTAUserMsg_HudError_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_HudError, order_id_), + }; + CDOTAUserMsg_HudError_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_HudError_descriptor_, + CDOTAUserMsg_HudError::default_instance_, + CDOTAUserMsg_HudError_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_HudError, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_HudError, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_HudError)); + CDOTAUserMsg_SharedCooldown_descriptor_ = file->message_type(23); + static const int CDOTAUserMsg_SharedCooldown_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SharedCooldown, entindex_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SharedCooldown, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SharedCooldown, cooldown_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SharedCooldown, name_index_), + }; + CDOTAUserMsg_SharedCooldown_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_SharedCooldown_descriptor_, + CDOTAUserMsg_SharedCooldown::default_instance_, + CDOTAUserMsg_SharedCooldown_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SharedCooldown, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SharedCooldown, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_SharedCooldown)); + CDOTAUserMsg_SetNextAutobuyItem_descriptor_ = file->message_type(24); + static const int CDOTAUserMsg_SetNextAutobuyItem_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SetNextAutobuyItem, name_), + }; + CDOTAUserMsg_SetNextAutobuyItem_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_SetNextAutobuyItem_descriptor_, + CDOTAUserMsg_SetNextAutobuyItem::default_instance_, + CDOTAUserMsg_SetNextAutobuyItem_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SetNextAutobuyItem, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SetNextAutobuyItem, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_SetNextAutobuyItem)); + CDOTAUserMsg_HalloweenDrops_descriptor_ = file->message_type(25); + static const int CDOTAUserMsg_HalloweenDrops_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_HalloweenDrops, item_defs_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_HalloweenDrops, player_ids_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_HalloweenDrops, prize_list_), + }; + CDOTAUserMsg_HalloweenDrops_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_HalloweenDrops_descriptor_, + CDOTAUserMsg_HalloweenDrops::default_instance_, + CDOTAUserMsg_HalloweenDrops_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_HalloweenDrops, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_HalloweenDrops, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_HalloweenDrops)); + CDOTAResponseQuerySerialized_descriptor_ = file->message_type(26); + static const int CDOTAResponseQuerySerialized_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized, facts_), + }; + CDOTAResponseQuerySerialized_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAResponseQuerySerialized_descriptor_, + CDOTAResponseQuerySerialized::default_instance_, + CDOTAResponseQuerySerialized_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAResponseQuerySerialized)); + CDOTAResponseQuerySerialized_Fact_descriptor_ = CDOTAResponseQuerySerialized_descriptor_->nested_type(0); + static const int CDOTAResponseQuerySerialized_Fact_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized_Fact, key_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized_Fact, valtype_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized_Fact, val_numeric_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized_Fact, val_string_), + }; + CDOTAResponseQuerySerialized_Fact_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAResponseQuerySerialized_Fact_descriptor_, + CDOTAResponseQuerySerialized_Fact::default_instance_, + CDOTAResponseQuerySerialized_Fact_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized_Fact, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAResponseQuerySerialized_Fact, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAResponseQuerySerialized_Fact)); + CDOTAResponseQuerySerialized_Fact_ValueType_descriptor_ = CDOTAResponseQuerySerialized_Fact_descriptor_->enum_type(0); + CDOTASpeechMatchOnClient_descriptor_ = file->message_type(27); + static const int CDOTASpeechMatchOnClient_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTASpeechMatchOnClient, concept_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTASpeechMatchOnClient, recipient_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTASpeechMatchOnClient, responsequery_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTASpeechMatchOnClient, randomseed_), + }; + CDOTASpeechMatchOnClient_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTASpeechMatchOnClient_descriptor_, + CDOTASpeechMatchOnClient::default_instance_, + CDOTASpeechMatchOnClient_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTASpeechMatchOnClient, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTASpeechMatchOnClient, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTASpeechMatchOnClient)); + CDOTAUserMsg_UnitEvent_descriptor_ = file->message_type(28); + static const int CDOTAUserMsg_UnitEvent_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, msg_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, entity_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, speech_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, speech_mute_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, add_gesture_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, remove_gesture_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, blood_impact_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, fade_gesture_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, speech_match_on_client_), + }; + CDOTAUserMsg_UnitEvent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_UnitEvent_descriptor_, + CDOTAUserMsg_UnitEvent::default_instance_, + CDOTAUserMsg_UnitEvent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_UnitEvent)); + CDOTAUserMsg_UnitEvent_Speech_descriptor_ = CDOTAUserMsg_UnitEvent_descriptor_->nested_type(0); + static const int CDOTAUserMsg_UnitEvent_Speech_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_Speech, concept_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_Speech, response_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_Speech, recipient_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_Speech, level_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_Speech, muteable_), + }; + CDOTAUserMsg_UnitEvent_Speech_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_UnitEvent_Speech_descriptor_, + CDOTAUserMsg_UnitEvent_Speech::default_instance_, + CDOTAUserMsg_UnitEvent_Speech_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_Speech, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_Speech, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_UnitEvent_Speech)); + CDOTAUserMsg_UnitEvent_SpeechMute_descriptor_ = CDOTAUserMsg_UnitEvent_descriptor_->nested_type(1); + static const int CDOTAUserMsg_UnitEvent_SpeechMute_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_SpeechMute, delay_), + }; + CDOTAUserMsg_UnitEvent_SpeechMute_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_UnitEvent_SpeechMute_descriptor_, + CDOTAUserMsg_UnitEvent_SpeechMute::default_instance_, + CDOTAUserMsg_UnitEvent_SpeechMute_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_SpeechMute, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_SpeechMute, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_UnitEvent_SpeechMute)); + CDOTAUserMsg_UnitEvent_AddGesture_descriptor_ = CDOTAUserMsg_UnitEvent_descriptor_->nested_type(2); + static const int CDOTAUserMsg_UnitEvent_AddGesture_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_AddGesture, activity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_AddGesture, slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_AddGesture, fade_in_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_AddGesture, fade_out_), + }; + CDOTAUserMsg_UnitEvent_AddGesture_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_UnitEvent_AddGesture_descriptor_, + CDOTAUserMsg_UnitEvent_AddGesture::default_instance_, + CDOTAUserMsg_UnitEvent_AddGesture_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_AddGesture, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_AddGesture, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_UnitEvent_AddGesture)); + CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor_ = CDOTAUserMsg_UnitEvent_descriptor_->nested_type(3); + static const int CDOTAUserMsg_UnitEvent_RemoveGesture_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_RemoveGesture, activity_), + }; + CDOTAUserMsg_UnitEvent_RemoveGesture_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor_, + CDOTAUserMsg_UnitEvent_RemoveGesture::default_instance_, + CDOTAUserMsg_UnitEvent_RemoveGesture_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_RemoveGesture, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_RemoveGesture, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_UnitEvent_RemoveGesture)); + CDOTAUserMsg_UnitEvent_BloodImpact_descriptor_ = CDOTAUserMsg_UnitEvent_descriptor_->nested_type(4); + static const int CDOTAUserMsg_UnitEvent_BloodImpact_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_BloodImpact, scale_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_BloodImpact, x_normal_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_BloodImpact, y_normal_), + }; + CDOTAUserMsg_UnitEvent_BloodImpact_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_UnitEvent_BloodImpact_descriptor_, + CDOTAUserMsg_UnitEvent_BloodImpact::default_instance_, + CDOTAUserMsg_UnitEvent_BloodImpact_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_BloodImpact, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_BloodImpact, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_UnitEvent_BloodImpact)); + CDOTAUserMsg_UnitEvent_FadeGesture_descriptor_ = CDOTAUserMsg_UnitEvent_descriptor_->nested_type(5); + static const int CDOTAUserMsg_UnitEvent_FadeGesture_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_FadeGesture, activity_), + }; + CDOTAUserMsg_UnitEvent_FadeGesture_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_UnitEvent_FadeGesture_descriptor_, + CDOTAUserMsg_UnitEvent_FadeGesture::default_instance_, + CDOTAUserMsg_UnitEvent_FadeGesture_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_FadeGesture, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UnitEvent_FadeGesture, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_UnitEvent_FadeGesture)); + CDOTAUserMsg_ItemPurchased_descriptor_ = file->message_type(29); + static const int CDOTAUserMsg_ItemPurchased_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemPurchased, item_index_), + }; + CDOTAUserMsg_ItemPurchased_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ItemPurchased_descriptor_, + CDOTAUserMsg_ItemPurchased::default_instance_, + CDOTAUserMsg_ItemPurchased_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemPurchased, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemPurchased, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ItemPurchased)); + CDOTAUserMsg_ItemFound_descriptor_ = file->message_type(30); + static const int CDOTAUserMsg_ItemFound_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemFound, player_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemFound, quality_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemFound, rarity_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemFound, method_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemFound, itemdef_), + }; + CDOTAUserMsg_ItemFound_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ItemFound_descriptor_, + CDOTAUserMsg_ItemFound::default_instance_, + CDOTAUserMsg_ItemFound_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemFound, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ItemFound, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ItemFound)); + CDOTAUserMsg_ParticleManager_descriptor_ = file->message_type(31); + static const int CDOTAUserMsg_ParticleManager_offsets_[14] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, release_particle_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, create_particle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, destroy_particle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, destroy_particle_involving_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_fwd_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_orient_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_fallback_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_offset_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_ent_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_latency_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_should_draw_), + }; + CDOTAUserMsg_ParticleManager_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_descriptor_, + CDOTAUserMsg_ParticleManager::default_instance_, + CDOTAUserMsg_ParticleManager_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager)); + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(0); + static const int CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_offsets_[1] = { + }; + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_descriptor_, + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::default_instance_, + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_ReleaseParticleIndex, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_ReleaseParticleIndex, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_ReleaseParticleIndex)); + CDOTAUserMsg_ParticleManager_CreateParticle_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(1); + static const int CDOTAUserMsg_ParticleManager_CreateParticle_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_CreateParticle, particle_name_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_CreateParticle, attach_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_CreateParticle, entity_handle_), + }; + CDOTAUserMsg_ParticleManager_CreateParticle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_CreateParticle_descriptor_, + CDOTAUserMsg_ParticleManager_CreateParticle::default_instance_, + CDOTAUserMsg_ParticleManager_CreateParticle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_CreateParticle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_CreateParticle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_CreateParticle)); + CDOTAUserMsg_ParticleManager_DestroyParticle_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(2); + static const int CDOTAUserMsg_ParticleManager_DestroyParticle_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_DestroyParticle, destroy_immediately_), + }; + CDOTAUserMsg_ParticleManager_DestroyParticle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_DestroyParticle_descriptor_, + CDOTAUserMsg_ParticleManager_DestroyParticle::default_instance_, + CDOTAUserMsg_ParticleManager_DestroyParticle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_DestroyParticle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_DestroyParticle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_DestroyParticle)); + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(3); + static const int CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_DestroyParticleInvolving, destroy_immediately_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_DestroyParticleInvolving, entity_handle_), + }; + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_descriptor_, + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::default_instance_, + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_DestroyParticleInvolving, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_DestroyParticleInvolving, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_DestroyParticleInvolving)); + CDOTAUserMsg_ParticleManager_UpdateParticle_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(4); + static const int CDOTAUserMsg_ParticleManager_UpdateParticle_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticle, control_point_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticle, position_), + }; + CDOTAUserMsg_ParticleManager_UpdateParticle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_UpdateParticle_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticle::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticle)); + CDOTAUserMsg_ParticleManager_UpdateParticleFwd_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(5); + static const int CDOTAUserMsg_ParticleManager_UpdateParticleFwd_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleFwd, control_point_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleFwd, forward_), + }; + CDOTAUserMsg_ParticleManager_UpdateParticleFwd_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_UpdateParticleFwd_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticleFwd::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticleFwd_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleFwd, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleFwd, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleFwd)); + CDOTAUserMsg_ParticleManager_UpdateParticleOrient_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(6); + static const int CDOTAUserMsg_ParticleManager_UpdateParticleOrient_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOrient, control_point_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOrient, forward_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOrient, right_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOrient, up_), + }; + CDOTAUserMsg_ParticleManager_UpdateParticleOrient_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_UpdateParticleOrient_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticleOrient::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticleOrient_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOrient, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOrient, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleOrient)); + CDOTAUserMsg_ParticleManager_UpdateParticleFallback_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(7); + static const int CDOTAUserMsg_ParticleManager_UpdateParticleFallback_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleFallback, control_point_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleFallback, position_), + }; + CDOTAUserMsg_ParticleManager_UpdateParticleFallback_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_UpdateParticleFallback_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticleFallback::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticleFallback_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleFallback, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleFallback, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleFallback)); + CDOTAUserMsg_ParticleManager_UpdateParticleOffset_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(8); + static const int CDOTAUserMsg_ParticleManager_UpdateParticleOffset_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOffset, control_point_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOffset, origin_offset_), + }; + CDOTAUserMsg_ParticleManager_UpdateParticleOffset_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_UpdateParticleOffset_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticleOffset::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticleOffset_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOffset, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleOffset, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleOffset)); + CDOTAUserMsg_ParticleManager_UpdateParticleEnt_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(9); + static const int CDOTAUserMsg_ParticleManager_UpdateParticleEnt_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleEnt, control_point_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleEnt, entity_handle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleEnt, attach_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleEnt, attachment_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleEnt, fallback_position_), + }; + CDOTAUserMsg_ParticleManager_UpdateParticleEnt_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_UpdateParticleEnt_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticleEnt::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticleEnt_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleEnt, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleEnt, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleEnt)); + CDOTAUserMsg_ParticleManager_UpdateParticleLatency_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(10); + static const int CDOTAUserMsg_ParticleManager_UpdateParticleLatency_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleLatency, player_latency_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleLatency, tick_), + }; + CDOTAUserMsg_ParticleManager_UpdateParticleLatency_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_UpdateParticleLatency_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticleLatency_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleLatency, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleLatency, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleLatency)); + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(11); + static const int CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw, should_draw_), + }; + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw)); + CDOTAUserMsg_OverheadEvent_descriptor_ = file->message_type(32); + static const int CDOTAUserMsg_OverheadEvent_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_OverheadEvent, message_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_OverheadEvent, value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_OverheadEvent, target_player_entindex_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_OverheadEvent, target_entindex_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_OverheadEvent, source_player_entindex_), + }; + CDOTAUserMsg_OverheadEvent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_OverheadEvent_descriptor_, + CDOTAUserMsg_OverheadEvent::default_instance_, + CDOTAUserMsg_OverheadEvent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_OverheadEvent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_OverheadEvent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_OverheadEvent)); + CDOTAUserMsg_TutorialTipInfo_descriptor_ = file->message_type(33); + static const int CDOTAUserMsg_TutorialTipInfo_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialTipInfo, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialTipInfo, progress_), + }; + CDOTAUserMsg_TutorialTipInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_TutorialTipInfo_descriptor_, + CDOTAUserMsg_TutorialTipInfo::default_instance_, + CDOTAUserMsg_TutorialTipInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialTipInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialTipInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_TutorialTipInfo)); + CDOTAUserMsg_WorldLine_descriptor_ = file->message_type(34); + static const int CDOTAUserMsg_WorldLine_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_WorldLine, player_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_WorldLine, worldline_), + }; + CDOTAUserMsg_WorldLine_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_WorldLine_descriptor_, + CDOTAUserMsg_WorldLine::default_instance_, + CDOTAUserMsg_WorldLine_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_WorldLine, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_WorldLine, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_WorldLine)); + CDOTAUserMsg_TournamentDrop_descriptor_ = file->message_type(35); + static const int CDOTAUserMsg_TournamentDrop_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TournamentDrop, winner_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TournamentDrop, event_type_), + }; + CDOTAUserMsg_TournamentDrop_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_TournamentDrop_descriptor_, + CDOTAUserMsg_TournamentDrop::default_instance_, + CDOTAUserMsg_TournamentDrop_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TournamentDrop, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TournamentDrop, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_TournamentDrop)); + CDOTAUserMsg_ChatWheel_descriptor_ = file->message_type(36); + static const int CDOTAUserMsg_ChatWheel_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatWheel, chat_message_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatWheel, player_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatWheel, account_id_), + }; + CDOTAUserMsg_ChatWheel_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ChatWheel_descriptor_, + CDOTAUserMsg_ChatWheel::default_instance_, + CDOTAUserMsg_ChatWheel_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatWheel, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ChatWheel, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ChatWheel)); + CDOTAUserMsg_ReceivedXmasGift_descriptor_ = file->message_type(37); + static const int CDOTAUserMsg_ReceivedXmasGift_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ReceivedXmasGift, player_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ReceivedXmasGift, item_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ReceivedXmasGift, inventory_slot_), + }; + CDOTAUserMsg_ReceivedXmasGift_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ReceivedXmasGift_descriptor_, + CDOTAUserMsg_ReceivedXmasGift::default_instance_, + CDOTAUserMsg_ReceivedXmasGift_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ReceivedXmasGift, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ReceivedXmasGift, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ReceivedXmasGift)); + CDOTAUserMsg_ShowSurvey_descriptor_ = file->message_type(38); + static const int CDOTAUserMsg_ShowSurvey_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ShowSurvey, survey_id_), + }; + CDOTAUserMsg_ShowSurvey_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_ShowSurvey_descriptor_, + CDOTAUserMsg_ShowSurvey::default_instance_, + CDOTAUserMsg_ShowSurvey_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ShowSurvey, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ShowSurvey, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_ShowSurvey)); + CDOTAUserMsg_UpdateSharedContent_descriptor_ = file->message_type(39); + static const int CDOTAUserMsg_UpdateSharedContent_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UpdateSharedContent, slot_type_), + }; + CDOTAUserMsg_UpdateSharedContent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_UpdateSharedContent_descriptor_, + CDOTAUserMsg_UpdateSharedContent::default_instance_, + CDOTAUserMsg_UpdateSharedContent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UpdateSharedContent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UpdateSharedContent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_UpdateSharedContent)); + CDOTAUserMsg_TutorialRequestExp_descriptor_ = file->message_type(40); + static const int CDOTAUserMsg_TutorialRequestExp_offsets_[1] = { + }; + CDOTAUserMsg_TutorialRequestExp_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_TutorialRequestExp_descriptor_, + CDOTAUserMsg_TutorialRequestExp::default_instance_, + CDOTAUserMsg_TutorialRequestExp_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialRequestExp, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialRequestExp, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_TutorialRequestExp)); + CDOTAUserMsg_TutorialFade_descriptor_ = file->message_type(41); + static const int CDOTAUserMsg_TutorialFade_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialFade, tgt_alpha_), + }; + CDOTAUserMsg_TutorialFade_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_TutorialFade_descriptor_, + CDOTAUserMsg_TutorialFade::default_instance_, + CDOTAUserMsg_TutorialFade_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialFade, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialFade, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_TutorialFade)); + CDOTAUserMsg_TutorialPingMinimap_descriptor_ = file->message_type(42); + static const int CDOTAUserMsg_TutorialPingMinimap_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialPingMinimap, player_id_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialPingMinimap, pos_x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialPingMinimap, pos_y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialPingMinimap, pos_z_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialPingMinimap, entity_index_), + }; + CDOTAUserMsg_TutorialPingMinimap_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_TutorialPingMinimap_descriptor_, + CDOTAUserMsg_TutorialPingMinimap::default_instance_, + CDOTAUserMsg_TutorialPingMinimap_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialPingMinimap, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialPingMinimap, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_TutorialPingMinimap)); + CDOTA_UM_GamerulesStateChanged_descriptor_ = file->message_type(43); + static const int CDOTA_UM_GamerulesStateChanged_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTA_UM_GamerulesStateChanged, state_), + }; + CDOTA_UM_GamerulesStateChanged_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTA_UM_GamerulesStateChanged_descriptor_, + CDOTA_UM_GamerulesStateChanged::default_instance_, + CDOTA_UM_GamerulesStateChanged_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTA_UM_GamerulesStateChanged, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTA_UM_GamerulesStateChanged, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTA_UM_GamerulesStateChanged)); + EDotaUserMessages_descriptor_ = file->enum_type(0); + DOTA_CHAT_MESSAGE_descriptor_ = file->enum_type(1); + DOTA_NO_BATTLE_POINTS_REASONS_descriptor_ = file->enum_type(2); + DOTA_CHAT_INFORMATIONAL_descriptor_ = file->enum_type(3); + DOTA_COMBATLOG_TYPES_descriptor_ = file->enum_type(4); + EDotaEntityMessages_descriptor_ = file->enum_type(5); + DOTA_PARTICLE_MESSAGE_descriptor_ = file->enum_type(6); + DOTA_OVERHEAD_ALERT_descriptor_ = file->enum_type(7); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_dota_5fusermessages_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_AIDebugLine_descriptor_, &CDOTAUserMsg_AIDebugLine::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_Ping_descriptor_, &CDOTAUserMsg_Ping::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_SwapVerify_descriptor_, &CDOTAUserMsg_SwapVerify::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ChatEvent_descriptor_, &CDOTAUserMsg_ChatEvent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_CombatLogData_descriptor_, &CDOTAUserMsg_CombatLogData::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_CombatLogShowDeath_descriptor_, &CDOTAUserMsg_CombatLogShowDeath::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_BotChat_descriptor_, &CDOTAUserMsg_BotChat::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_CombatHeroPositions_descriptor_, &CDOTAUserMsg_CombatHeroPositions::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_MiniKillCamInfo_descriptor_, &CDOTAUserMsg_MiniKillCamInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor_, &CDOTAUserMsg_MiniKillCamInfo_Attacker::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor_, &CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_GlobalLightColor_descriptor_, &CDOTAUserMsg_GlobalLightColor::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_GlobalLightDirection_descriptor_, &CDOTAUserMsg_GlobalLightDirection::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_LocationPing_descriptor_, &CDOTAUserMsg_LocationPing::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ItemAlert_descriptor_, &CDOTAUserMsg_ItemAlert::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_MinimapEvent_descriptor_, &CDOTAUserMsg_MinimapEvent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_MapLine_descriptor_, &CDOTAUserMsg_MapLine::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_MinimapDebugPoint_descriptor_, &CDOTAUserMsg_MinimapDebugPoint::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_CreateLinearProjectile_descriptor_, &CDOTAUserMsg_CreateLinearProjectile::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_DestroyLinearProjectile_descriptor_, &CDOTAUserMsg_DestroyLinearProjectile::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_DodgeTrackingProjectiles_descriptor_, &CDOTAUserMsg_DodgeTrackingProjectiles::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_SpectatorPlayerClick_descriptor_, &CDOTAUserMsg_SpectatorPlayerClick::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_NevermoreRequiem_descriptor_, &CDOTAUserMsg_NevermoreRequiem::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_InvalidCommand_descriptor_, &CDOTAUserMsg_InvalidCommand::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_HudError_descriptor_, &CDOTAUserMsg_HudError::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_SharedCooldown_descriptor_, &CDOTAUserMsg_SharedCooldown::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_SetNextAutobuyItem_descriptor_, &CDOTAUserMsg_SetNextAutobuyItem::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_HalloweenDrops_descriptor_, &CDOTAUserMsg_HalloweenDrops::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAResponseQuerySerialized_descriptor_, &CDOTAResponseQuerySerialized::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAResponseQuerySerialized_Fact_descriptor_, &CDOTAResponseQuerySerialized_Fact::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTASpeechMatchOnClient_descriptor_, &CDOTASpeechMatchOnClient::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_UnitEvent_descriptor_, &CDOTAUserMsg_UnitEvent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_UnitEvent_Speech_descriptor_, &CDOTAUserMsg_UnitEvent_Speech::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_UnitEvent_SpeechMute_descriptor_, &CDOTAUserMsg_UnitEvent_SpeechMute::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_UnitEvent_AddGesture_descriptor_, &CDOTAUserMsg_UnitEvent_AddGesture::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor_, &CDOTAUserMsg_UnitEvent_RemoveGesture::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_UnitEvent_BloodImpact_descriptor_, &CDOTAUserMsg_UnitEvent_BloodImpact::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_UnitEvent_FadeGesture_descriptor_, &CDOTAUserMsg_UnitEvent_FadeGesture::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ItemPurchased_descriptor_, &CDOTAUserMsg_ItemPurchased::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ItemFound_descriptor_, &CDOTAUserMsg_ItemFound::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_descriptor_, &CDOTAUserMsg_ParticleManager::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_descriptor_, &CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_CreateParticle_descriptor_, &CDOTAUserMsg_ParticleManager_CreateParticle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_DestroyParticle_descriptor_, &CDOTAUserMsg_ParticleManager_DestroyParticle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_descriptor_, &CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_UpdateParticle_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_UpdateParticleFwd_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleFwd::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_UpdateParticleOrient_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleOrient::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_UpdateParticleFallback_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleFallback::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_UpdateParticleOffset_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleOffset::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_UpdateParticleEnt_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleEnt::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_UpdateParticleLatency_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_OverheadEvent_descriptor_, &CDOTAUserMsg_OverheadEvent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_TutorialTipInfo_descriptor_, &CDOTAUserMsg_TutorialTipInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_WorldLine_descriptor_, &CDOTAUserMsg_WorldLine::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_TournamentDrop_descriptor_, &CDOTAUserMsg_TournamentDrop::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ChatWheel_descriptor_, &CDOTAUserMsg_ChatWheel::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ReceivedXmasGift_descriptor_, &CDOTAUserMsg_ReceivedXmasGift::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_ShowSurvey_descriptor_, &CDOTAUserMsg_ShowSurvey::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_UpdateSharedContent_descriptor_, &CDOTAUserMsg_UpdateSharedContent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_TutorialRequestExp_descriptor_, &CDOTAUserMsg_TutorialRequestExp::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_TutorialFade_descriptor_, &CDOTAUserMsg_TutorialFade::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_TutorialPingMinimap_descriptor_, &CDOTAUserMsg_TutorialPingMinimap::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTA_UM_GamerulesStateChanged_descriptor_, &CDOTA_UM_GamerulesStateChanged::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_dota_5fusermessages_2eproto() { + delete CDOTAUserMsg_AIDebugLine::default_instance_; + delete CDOTAUserMsg_AIDebugLine_reflection_; + delete CDOTAUserMsg_Ping::default_instance_; + delete CDOTAUserMsg_Ping_reflection_; + delete CDOTAUserMsg_SwapVerify::default_instance_; + delete CDOTAUserMsg_SwapVerify_reflection_; + delete CDOTAUserMsg_ChatEvent::default_instance_; + delete CDOTAUserMsg_ChatEvent_reflection_; + delete CDOTAUserMsg_CombatLogData::default_instance_; + delete CDOTAUserMsg_CombatLogData_reflection_; + delete CDOTAUserMsg_CombatLogShowDeath::default_instance_; + delete CDOTAUserMsg_CombatLogShowDeath_reflection_; + delete CDOTAUserMsg_BotChat::default_instance_; + delete CDOTAUserMsg_BotChat_reflection_; + delete CDOTAUserMsg_CombatHeroPositions::default_instance_; + delete CDOTAUserMsg_CombatHeroPositions_reflection_; + delete CDOTAUserMsg_MiniKillCamInfo::default_instance_; + delete CDOTAUserMsg_MiniKillCamInfo_reflection_; + delete CDOTAUserMsg_MiniKillCamInfo_Attacker::default_instance_; + delete CDOTAUserMsg_MiniKillCamInfo_Attacker_reflection_; + delete CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::default_instance_; + delete CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_reflection_; + delete CDOTAUserMsg_GlobalLightColor::default_instance_; + delete CDOTAUserMsg_GlobalLightColor_reflection_; + delete CDOTAUserMsg_GlobalLightDirection::default_instance_; + delete CDOTAUserMsg_GlobalLightDirection_reflection_; + delete CDOTAUserMsg_LocationPing::default_instance_; + delete CDOTAUserMsg_LocationPing_reflection_; + delete CDOTAUserMsg_ItemAlert::default_instance_; + delete CDOTAUserMsg_ItemAlert_reflection_; + delete CDOTAUserMsg_MinimapEvent::default_instance_; + delete CDOTAUserMsg_MinimapEvent_reflection_; + delete CDOTAUserMsg_MapLine::default_instance_; + delete CDOTAUserMsg_MapLine_reflection_; + delete CDOTAUserMsg_MinimapDebugPoint::default_instance_; + delete CDOTAUserMsg_MinimapDebugPoint_reflection_; + delete CDOTAUserMsg_CreateLinearProjectile::default_instance_; + delete CDOTAUserMsg_CreateLinearProjectile_reflection_; + delete CDOTAUserMsg_DestroyLinearProjectile::default_instance_; + delete CDOTAUserMsg_DestroyLinearProjectile_reflection_; + delete CDOTAUserMsg_DodgeTrackingProjectiles::default_instance_; + delete CDOTAUserMsg_DodgeTrackingProjectiles_reflection_; + delete CDOTAUserMsg_SpectatorPlayerClick::default_instance_; + delete CDOTAUserMsg_SpectatorPlayerClick_reflection_; + delete CDOTAUserMsg_NevermoreRequiem::default_instance_; + delete CDOTAUserMsg_NevermoreRequiem_reflection_; + delete CDOTAUserMsg_InvalidCommand::default_instance_; + delete CDOTAUserMsg_InvalidCommand_reflection_; + delete CDOTAUserMsg_HudError::default_instance_; + delete CDOTAUserMsg_HudError_reflection_; + delete CDOTAUserMsg_SharedCooldown::default_instance_; + delete CDOTAUserMsg_SharedCooldown_reflection_; + delete CDOTAUserMsg_SetNextAutobuyItem::default_instance_; + delete CDOTAUserMsg_SetNextAutobuyItem_reflection_; + delete CDOTAUserMsg_HalloweenDrops::default_instance_; + delete CDOTAUserMsg_HalloweenDrops_reflection_; + delete CDOTAResponseQuerySerialized::default_instance_; + delete CDOTAResponseQuerySerialized_reflection_; + delete CDOTAResponseQuerySerialized_Fact::default_instance_; + delete CDOTAResponseQuerySerialized_Fact_reflection_; + delete CDOTASpeechMatchOnClient::default_instance_; + delete CDOTASpeechMatchOnClient_reflection_; + delete CDOTAUserMsg_UnitEvent::default_instance_; + delete CDOTAUserMsg_UnitEvent_reflection_; + delete CDOTAUserMsg_UnitEvent_Speech::default_instance_; + delete CDOTAUserMsg_UnitEvent_Speech_reflection_; + delete CDOTAUserMsg_UnitEvent_SpeechMute::default_instance_; + delete CDOTAUserMsg_UnitEvent_SpeechMute_reflection_; + delete CDOTAUserMsg_UnitEvent_AddGesture::default_instance_; + delete CDOTAUserMsg_UnitEvent_AddGesture_reflection_; + delete CDOTAUserMsg_UnitEvent_RemoveGesture::default_instance_; + delete CDOTAUserMsg_UnitEvent_RemoveGesture_reflection_; + delete CDOTAUserMsg_UnitEvent_BloodImpact::default_instance_; + delete CDOTAUserMsg_UnitEvent_BloodImpact_reflection_; + delete CDOTAUserMsg_UnitEvent_FadeGesture::default_instance_; + delete CDOTAUserMsg_UnitEvent_FadeGesture_reflection_; + delete CDOTAUserMsg_ItemPurchased::default_instance_; + delete CDOTAUserMsg_ItemPurchased_reflection_; + delete CDOTAUserMsg_ItemFound::default_instance_; + delete CDOTAUserMsg_ItemFound_reflection_; + delete CDOTAUserMsg_ParticleManager::default_instance_; + delete CDOTAUserMsg_ParticleManager_reflection_; + delete CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::default_instance_; + delete CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_reflection_; + delete CDOTAUserMsg_ParticleManager_CreateParticle::default_instance_; + delete CDOTAUserMsg_ParticleManager_CreateParticle_reflection_; + delete CDOTAUserMsg_ParticleManager_DestroyParticle::default_instance_; + delete CDOTAUserMsg_ParticleManager_DestroyParticle_reflection_; + delete CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::default_instance_; + delete CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_reflection_; + delete CDOTAUserMsg_ParticleManager_UpdateParticle::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticle_reflection_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleFwd::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleFwd_reflection_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleOrient::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleOrient_reflection_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleFallback::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleFallback_reflection_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleOffset::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleOffset_reflection_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleEnt::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleEnt_reflection_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleLatency_reflection_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_reflection_; + delete CDOTAUserMsg_OverheadEvent::default_instance_; + delete CDOTAUserMsg_OverheadEvent_reflection_; + delete CDOTAUserMsg_TutorialTipInfo::default_instance_; + delete CDOTAUserMsg_TutorialTipInfo_reflection_; + delete CDOTAUserMsg_WorldLine::default_instance_; + delete CDOTAUserMsg_WorldLine_reflection_; + delete CDOTAUserMsg_TournamentDrop::default_instance_; + delete CDOTAUserMsg_TournamentDrop_reflection_; + delete CDOTAUserMsg_ChatWheel::default_instance_; + delete CDOTAUserMsg_ChatWheel_reflection_; + delete CDOTAUserMsg_ReceivedXmasGift::default_instance_; + delete CDOTAUserMsg_ReceivedXmasGift_reflection_; + delete CDOTAUserMsg_ShowSurvey::default_instance_; + delete CDOTAUserMsg_ShowSurvey_reflection_; + delete CDOTAUserMsg_UpdateSharedContent::default_instance_; + delete CDOTAUserMsg_UpdateSharedContent_reflection_; + delete CDOTAUserMsg_TutorialRequestExp::default_instance_; + delete CDOTAUserMsg_TutorialRequestExp_reflection_; + delete CDOTAUserMsg_TutorialFade::default_instance_; + delete CDOTAUserMsg_TutorialFade_reflection_; + delete CDOTAUserMsg_TutorialPingMinimap::default_instance_; + delete CDOTAUserMsg_TutorialPingMinimap_reflection_; + delete CDOTA_UM_GamerulesStateChanged::default_instance_; + delete CDOTA_UM_GamerulesStateChanged_reflection_; +} + +void protobuf_AddDesc_dota_5fusermessages_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); + ::protobuf_AddDesc_netmessages_2eproto(); + ::protobuf_AddDesc_ai_5factivity_2eproto(); + ::protobuf_AddDesc_dota_5fcommonmessages_2eproto(); + ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( + "\n\027dota_usermessages.proto\032 google/protob" + "uf/descriptor.proto\032\021netmessages.proto\032\021" + "ai_activity.proto\032\031dota_commonmessages.p" + "roto\"+\n\030CDOTAUserMsg_AIDebugLine\022\017\n\007mess" + "age\030\001 \001(\t\"$\n\021CDOTAUserMsg_Ping\022\017\n\007messag" + "e\030\001 \001(\t\",\n\027CDOTAUserMsg_SwapVerify\022\021\n\tpl" + "ayer_id\030\001 \001(\r\"\357\001\n\026CDOTAUserMsg_ChatEvent" + "\0226\n\004type\030\001 \002(\0162\022.DOTA_CHAT_MESSAGE:\024CHAT" + "_MESSAGE_INVALID\022\r\n\005value\030\002 \001(\r\022\026\n\nplaye" + "rid_1\030\003 \001(\021:\002-1\022\026\n\nplayerid_2\030\004 \001(\021:\002-1\022" + "\026\n\nplayerid_3\030\005 \001(\021:\002-1\022\026\n\nplayerid_4\030\006 " + "\001(\021:\002-1\022\026\n\nplayerid_5\030\007 \001(\021:\002-1\022\026\n\nplaye" + "rid_6\030\010 \001(\021:\002-1\"\375\001\n\032CDOTAUserMsg_CombatL" + "ogData\022:\n\004type\030\001 \001(\0162\025.DOTA_COMBATLOG_TY" + "PES:\025DOTA_COMBATLOG_DAMAGE\022\023\n\013target_nam" + "e\030\002 \001(\r\022\025\n\rattacker_name\030\003 \001(\r\022\031\n\021attack" + "er_illusion\030\004 \001(\010\022\027\n\017target_illusion\030\005 \001" + "(\010\022\026\n\016inflictor_name\030\006 \001(\r\022\r\n\005value\030\007 \001(" + "\005\022\016\n\006health\030\010 \001(\005\022\014\n\004time\030\t \001(\002\"!\n\037CDOTA" + "UserMsg_CombatLogShowDeath\"Z\n\024CDOTAUserM" + "sg_BotChat\022\021\n\tplayer_id\030\001 \001(\r\022\016\n\006format\030" + "\002 \001(\t\022\017\n\007message\030\003 \001(\t\022\016\n\006target\030\004 \001(\t\"q" + "\n CDOTAUserMsg_CombatHeroPositions\022\r\n\005in" + "dex\030\001 \001(\r\022\014\n\004time\030\002 \001(\005\022 \n\tworld_pos\030\003 \001" + "(\0132\r.CMsgVector2D\022\016\n\006health\030\004 \001(\005\"\375\001\n\034CD" + "OTAUserMsg_MiniKillCamInfo\0229\n\tattackers\030" + "\001 \003(\0132&.CDOTAUserMsg_MiniKillCamInfo.Att" + "acker\032\241\001\n\010Attacker\022\020\n\010attacker\030\001 \001(\r\022\024\n\014" + "total_damage\030\002 \001(\005\022A\n\tabilities\030\003 \003(\0132.." + "CDOTAUserMsg_MiniKillCamInfo.Attacker.Ab" + "ility\032*\n\007Ability\022\017\n\007ability\030\001 \001(\r\022\016\n\006dam" + "age\030\002 \001(\005\"@\n\035CDOTAUserMsg_GlobalLightCol" + "or\022\r\n\005color\030\001 \001(\r\022\020\n\010duration\030\002 \001(\002\"U\n!C" + "DOTAUserMsg_GlobalLightDirection\022\036\n\tdire" + "ction\030\001 \001(\0132\013.CMsgVector\022\020\n\010duration\030\002 \001" + "(\002\"]\n\031CDOTAUserMsg_LocationPing\022\021\n\tplaye" + "r_id\030\001 \001(\r\022-\n\rlocation_ping\030\002 \001(\0132\026.CDOT" + "AMsg_LocationPing\"T\n\026CDOTAUserMsg_ItemAl" + "ert\022\021\n\tplayer_id\030\001 \001(\r\022\'\n\nitem_alert\030\002 \001" + "(\0132\023.CDOTAMsg_ItemAlert\"n\n\031CDOTAUserMsg_" + "MinimapEvent\022\022\n\nevent_type\030\001 \001(\005\022\025\n\renti" + "ty_handle\030\002 \001(\005\022\t\n\001x\030\003 \001(\005\022\t\n\001y\030\004 \001(\005\022\020\n" + "\010duration\030\005 \001(\005\"M\n\024CDOTAUserMsg_MapLine\022" + "\021\n\tplayer_id\030\001 \001(\005\022\"\n\007mapline\030\002 \001(\0132\021.CD" + "OTAMsg_MapLine\"n\n\036CDOTAUserMsg_MinimapDe" + "bugPoint\022\035\n\010location\030\001 \001(\0132\013.CMsgVector\022" + "\r\n\005color\030\002 \001(\r\022\014\n\004size\030\003 \001(\005\022\020\n\010duration" + "\030\004 \001(\002\"\256\001\n#CDOTAUserMsg_CreateLinearProj" + "ectile\022\033\n\006origin\030\001 \001(\0132\013.CMsgVector\022\037\n\010v" + "elocity\030\002 \001(\0132\r.CMsgVector2D\022\017\n\007latency\030" + "\003 \001(\005\022\020\n\010entindex\030\004 \001(\005\022\026\n\016particle_inde" + "x\030\005 \001(\005\022\016\n\006handle\030\006 \001(\005\"6\n$CDOTAUserMsg_" + "DestroyLinearProjectile\022\016\n\006handle\030\001 \001(\005\"" + "9\n%CDOTAUserMsg_DodgeTrackingProjectiles" + "\022\020\n\010entindex\030\001 \002(\005\"_\n!CDOTAUserMsg_Spect" + "atorPlayerClick\022\020\n\010entindex\030\001 \002(\005\022\022\n\nord" + "er_type\030\002 \001(\005\022\024\n\014target_index\030\003 \001(\005\"b\n\035C" + "DOTAUserMsg_NevermoreRequiem\022\025\n\rentity_h" + "andle\030\001 \001(\005\022\r\n\005lines\030\002 \001(\005\022\033\n\006origin\030\003 \001" + "(\0132\013.CMsgVector\".\n\033CDOTAUserMsg_InvalidC" + "ommand\022\017\n\007message\030\001 \001(\t\")\n\025CDOTAUserMsg_" + "HudError\022\020\n\010order_id\030\001 \001(\005\"c\n\033CDOTAUserM" + "sg_SharedCooldown\022\020\n\010entindex\030\001 \001(\005\022\014\n\004n" + "ame\030\002 \001(\t\022\020\n\010cooldown\030\003 \001(\002\022\022\n\nname_inde" + "x\030\004 \001(\005\"/\n\037CDOTAUserMsg_SetNextAutobuyIt" + "em\022\014\n\004name\030\001 \001(\t\"X\n\033CDOTAUserMsg_Hallowe" + "enDrops\022\021\n\titem_defs\030\001 \003(\r\022\022\n\nplayer_ids" + "\030\002 \003(\r\022\022\n\nprize_list\030\003 \001(\r\"\376\001\n\034CDOTAResp" + "onseQuerySerialized\0221\n\005facts\030\001 \003(\0132\".CDO" + "TAResponseQuerySerialized.Fact\032\252\001\n\004Fact\022" + "\013\n\003key\030\001 \002(\005\022F\n\007valtype\030\002 \002(\0162,.CDOTARes" + "ponseQuerySerialized.Fact.ValueType:\007NUM" + "ERIC\022\023\n\013val_numeric\030\003 \001(\002\022\022\n\nval_string\030" + "\004 \001(\t\"$\n\tValueType\022\013\n\007NUMERIC\020\001\022\n\n\006STRIN" + "G\020\002\"\220\001\n\030CDOTASpeechMatchOnClient\022\017\n\007conc" + "ept\030\001 \001(\005\022\026\n\016recipient_type\030\002 \001(\005\0224\n\rres" + "ponsequery\030\003 \001(\0132\035.CDOTAResponseQuerySer" + "ialized\022\025\n\nrandomseed\030\004 \001(\017:\0010\"\260\007\n\026CDOTA" + "UserMsg_UnitEvent\0228\n\010msg_type\030\001 \002(\0162\024.ED" + "otaEntityMessages:\020DOTA_UNIT_SPEECH\022\024\n\014e" + "ntity_index\030\002 \002(\005\022.\n\006speech\030\003 \001(\0132\036.CDOT" + "AUserMsg_UnitEvent.Speech\0227\n\013speech_mute" + "\030\004 \001(\0132\".CDOTAUserMsg_UnitEvent.SpeechMu" + "te\0227\n\013add_gesture\030\005 \001(\0132\".CDOTAUserMsg_U" + "nitEvent.AddGesture\022=\n\016remove_gesture\030\006 " + "\001(\0132%.CDOTAUserMsg_UnitEvent.RemoveGestu" + "re\0229\n\014blood_impact\030\007 \001(\0132#.CDOTAUserMsg_" + "UnitEvent.BloodImpact\0229\n\014fade_gesture\030\010 " + "\001(\0132#.CDOTAUserMsg_UnitEvent.FadeGesture" + "\0229\n\026speech_match_on_client\030\t \001(\0132\031.CDOTA" + "SpeechMatchOnClient\032k\n\006Speech\022\017\n\007concept" + "\030\001 \001(\005\022\020\n\010response\030\002 \001(\t\022\026\n\016recipient_ty" + "pe\030\003 \001(\005\022\r\n\005level\030\004 \001(\005\022\027\n\010muteable\030\005 \001(" + "\010:\005false\032 \n\nSpeechMute\022\022\n\005delay\030\001 \001(\002:\0030" + ".5\032o\n\nAddGesture\022(\n\010activity\030\001 \001(\0162\t.Act" + "ivity:\013ACT_INVALID\022\014\n\004slot\030\002 \001(\005\022\022\n\007fade" + "_in\030\003 \001(\002:\0010\022\025\n\010fade_out\030\004 \001(\002:\0030.1\0329\n\rR" + "emoveGesture\022(\n\010activity\030\001 \001(\0162\t.Activit" + "y:\013ACT_INVALID\032@\n\013BloodImpact\022\r\n\005scale\030\001" + " \001(\005\022\020\n\010x_normal\030\002 \001(\005\022\020\n\010y_normal\030\003 \001(\005" + "\0327\n\013FadeGesture\022(\n\010activity\030\001 \001(\0162\t.Acti" + "vity:\013ACT_INVALID\"0\n\032CDOTAUserMsg_ItemPu" + "rchased\022\022\n\nitem_index\030\001 \001(\005\"j\n\026CDOTAUser" + "Msg_ItemFound\022\016\n\006player\030\001 \001(\005\022\017\n\007quality" + "\030\002 \001(\005\022\016\n\006rarity\030\003 \001(\005\022\016\n\006method\030\004 \001(\005\022\017" + "\n\007itemdef\030\005 \001(\005\"\375\017\n\034CDOTAUserMsg_Particl" + "eManager\022H\n\004type\030\001 \002(\0162\026.DOTA_PARTICLE_M" + "ESSAGE:\"DOTA_PARTICLE_MANAGER_EVENT_CREA" + "TE\022\r\n\005index\030\002 \002(\r\022R\n\026release_particle_in" + "dex\030\003 \001(\01322.CDOTAUserMsg_ParticleManager" + ".ReleaseParticleIndex\022E\n\017create_particle" + "\030\004 \001(\0132,.CDOTAUserMsg_ParticleManager.Cr" + "eateParticle\022G\n\020destroy_particle\030\005 \001(\0132-" + ".CDOTAUserMsg_ParticleManager.DestroyPar" + "ticle\022Z\n\032destroy_particle_involving\030\006 \001(" + "\01326.CDOTAUserMsg_ParticleManager.Destroy" + "ParticleInvolving\022E\n\017update_particle\030\007 \001" + "(\0132,.CDOTAUserMsg_ParticleManager.Update" + "Particle\022L\n\023update_particle_fwd\030\010 \001(\0132/." + "CDOTAUserMsg_ParticleManager.UpdateParti" + "cleFwd\022R\n\026update_particle_orient\030\t \001(\01322" + ".CDOTAUserMsg_ParticleManager.UpdatePart" + "icleOrient\022V\n\030update_particle_fallback\030\n" + " \001(\01324.CDOTAUserMsg_ParticleManager.Upda" + "teParticleFallback\022R\n\026update_particle_of" + "fset\030\013 \001(\01322.CDOTAUserMsg_ParticleManage" + "r.UpdateParticleOffset\022L\n\023update_particl" + "e_ent\030\014 \001(\0132/.CDOTAUserMsg_ParticleManag" + "er.UpdateParticleEnt\022T\n\027update_particle_" + "latency\030\r \001(\01323.CDOTAUserMsg_ParticleMan" + "ager.UpdateParticleLatency\022[\n\033update_par" + "ticle_should_draw\030\016 \001(\01326.CDOTAUserMsg_P" + "articleManager.UpdateParticleShouldDraw\032" + "\026\n\024ReleaseParticleIndex\032Y\n\016CreateParticl" + "e\022\033\n\023particle_name_index\030\001 \001(\005\022\023\n\013attach" + "_type\030\002 \001(\005\022\025\n\rentity_handle\030\003 \001(\005\032.\n\017De" + "stroyParticle\022\033\n\023destroy_immediately\030\001 \001" + "(\010\032N\n\030DestroyParticleInvolving\022\033\n\023destro" + "y_immediately\030\001 \001(\010\022\025\n\rentity_handle\030\003 \001" + "(\005\032F\n\016UpdateParticle\022\025\n\rcontrol_point\030\001 " + "\001(\005\022\035\n\010position\030\002 \001(\0132\013.CMsgVector\032H\n\021Up" + "dateParticleFwd\022\025\n\rcontrol_point\030\001 \001(\005\022\034" + "\n\007forward\030\002 \001(\0132\013.CMsgVector\032\200\001\n\024UpdateP" + "articleOrient\022\025\n\rcontrol_point\030\001 \001(\005\022\034\n\007" + "forward\030\002 \001(\0132\013.CMsgVector\022\032\n\005right\030\003 \001(" + "\0132\013.CMsgVector\022\027\n\002up\030\004 \001(\0132\013.CMsgVector\032" + "N\n\026UpdateParticleFallback\022\025\n\rcontrol_poi" + "nt\030\001 \001(\005\022\035\n\010position\030\002 \001(\0132\013.CMsgVector\032" + "Q\n\024UpdateParticleOffset\022\025\n\rcontrol_point" + "\030\001 \001(\005\022\"\n\rorigin_offset\030\002 \001(\0132\013.CMsgVect" + "or\032\222\001\n\021UpdateParticleEnt\022\025\n\rcontrol_poin" + "t\030\001 \001(\005\022\025\n\rentity_handle\030\002 \001(\005\022\023\n\013attach" + "_type\030\003 \001(\005\022\022\n\nattachment\030\004 \001(\005\022&\n\021fallb" + "ack_position\030\005 \001(\0132\013.CMsgVector\032=\n\025Updat" + "eParticleLatency\022\026\n\016player_latency\030\001 \001(\005" + "\022\014\n\004tick\030\002 \001(\005\032/\n\030UpdateParticleShouldDr" + "aw\022\023\n\013should_draw\030\001 \001(\010\"\305\001\n\032CDOTAUserMsg" + "_OverheadEvent\022\?\n\014message_type\030\001 \002(\0162\024.D" + "OTA_OVERHEAD_ALERT:\023OVERHEAD_ALERT_GOLD\022" + "\r\n\005value\030\002 \001(\005\022\036\n\026target_player_entindex" + "\030\003 \001(\005\022\027\n\017target_entindex\030\004 \001(\005\022\036\n\026sourc" + "e_player_entindex\030\005 \001(\005\">\n\034CDOTAUserMsg_" + "TutorialTipInfo\022\014\n\004name\030\001 \001(\t\022\020\n\010progres" + "s\030\002 \001(\005\"S\n\026CDOTAUserMsg_WorldLine\022\021\n\tpla" + "yer_id\030\001 \001(\005\022&\n\tworldline\030\002 \001(\0132\023.CDOTAM" + "sg_WorldLine\"F\n\033CDOTAUserMsg_TournamentD" + "rop\022\023\n\013winner_name\030\001 \001(\t\022\022\n\nevent_type\030\002" + " \001(\005\"|\n\026CDOTAUserMsg_ChatWheel\022;\n\014chat_m" + "essage\030\001 \001(\0162\026.EDOTAChatWheelMessage:\rk_" + "EDOTA_CW_Ok\022\021\n\tplayer_id\030\002 \001(\r\022\022\n\naccoun" + "t_id\030\003 \001(\r\"]\n\035CDOTAUserMsg_ReceivedXmasG" + "ift\022\021\n\tplayer_id\030\001 \001(\005\022\021\n\titem_name\030\002 \001(" + "\t\022\026\n\016inventory_slot\030\003 \001(\005\",\n\027CDOTAUserMs" + "g_ShowSurvey\022\021\n\tsurvey_id\030\001 \001(\005\"5\n CDOTA" + "UserMsg_UpdateSharedContent\022\021\n\tslot_type" + "\030\001 \001(\005\"!\n\037CDOTAUserMsg_TutorialRequestEx" + "p\".\n\031CDOTAUserMsg_TutorialFade\022\021\n\ttgt_al" + "pha\030\001 \001(\005\"x\n CDOTAUserMsg_TutorialPingMi" + "nimap\022\021\n\tplayer_id\030\001 \001(\r\022\r\n\005pos_x\030\002 \001(\002\022" + "\r\n\005pos_y\030\003 \001(\002\022\r\n\005pos_z\030\004 \001(\002\022\024\n\014entity_" + "index\030\005 \001(\005\"/\n\036CDOTA_UM_GamerulesStateCh" + "anged\022\r\n\005state\030\001 \001(\r*\363\t\n\021EDotaUserMessag" + "es\022\036\n\032DOTA_UM_AddUnitToSelection\020@\022\027\n\023DO" + "TA_UM_AIDebugLine\020A\022\025\n\021DOTA_UM_ChatEvent" + "\020B\022\037\n\033DOTA_UM_CombatHeroPositions\020C\022\031\n\025D" + "OTA_UM_CombatLogData\020D\022\036\n\032DOTA_UM_Combat" + "LogShowDeath\020F\022\"\n\036DOTA_UM_CreateLinearPr" + "ojectile\020G\022#\n\037DOTA_UM_DestroyLinearProje" + "ctile\020H\022$\n DOTA_UM_DodgeTrackingProjecti" + "les\020I\022\034\n\030DOTA_UM_GlobalLightColor\020J\022 \n\034D" + "OTA_UM_GlobalLightDirection\020K\022\032\n\026DOTA_UM" + "_InvalidCommand\020L\022\030\n\024DOTA_UM_LocationPin" + "g\020M\022\023\n\017DOTA_UM_MapLine\020N\022\033\n\027DOTA_UM_Mini" + "KillCamInfo\020O\022\035\n\031DOTA_UM_MinimapDebugPoi" + "nt\020P\022\030\n\024DOTA_UM_MinimapEvent\020Q\022\034\n\030DOTA_U" + "M_NevermoreRequiem\020R\022\031\n\025DOTA_UM_Overhead" + "Event\020S\022\036\n\032DOTA_UM_SetNextAutobuyItem\020T\022" + "\032\n\026DOTA_UM_SharedCooldown\020U\022 \n\034DOTA_UM_S" + "pectatorPlayerClick\020V\022\033\n\027DOTA_UM_Tutoria" + "lTipInfo\020W\022\025\n\021DOTA_UM_UnitEvent\020X\022\033\n\027DOT" + "A_UM_ParticleManager\020Y\022\023\n\017DOTA_UM_BotCha" + "t\020Z\022\024\n\020DOTA_UM_HudError\020[\022\031\n\025DOTA_UM_Ite" + "mPurchased\020\\\022\020\n\014DOTA_UM_Ping\020]\022\025\n\021DOTA_U" + "M_ItemFound\020^\022!\n\035DOTA_UM_CharacterSpeakC" + "oncept\020_\022\026\n\022DOTA_UM_SwapVerify\020`\022\025\n\021DOTA" + "_UM_WorldLine\020a\022\032\n\026DOTA_UM_TournamentDro" + "p\020b\022\025\n\021DOTA_UM_ItemAlert\020c\022\032\n\026DOTA_UM_Ha" + "lloweenDrops\020d\022\025\n\021DOTA_UM_ChatWheel\020e\022\034\n" + "\030DOTA_UM_ReceivedXmasGift\020f\022\037\n\033DOTA_UM_U" + "pdateSharedContent\020g\022\036\n\032DOTA_UM_Tutorial" + "RequestExp\020h\022\037\n\033DOTA_UM_TutorialPingMini" + "map\020i\022!\n\035DOTA_UM_GamerulesStateChanged\020j" + "\022\026\n\022DOTA_UM_ShowSurvey\020k\022\030\n\024DOTA_UM_Tuto" + "rialFade\020l*\343\016\n\021DOTA_CHAT_MESSAGE\022!\n\024CHAT" + "_MESSAGE_INVALID\020\377\377\377\377\377\377\377\377\377\001\022\032\n\026CHAT_MESS" + "AGE_HERO_KILL\020\000\022\032\n\026CHAT_MESSAGE_HERO_DEN" + "Y\020\001\022\036\n\032CHAT_MESSAGE_BARRACKS_KILL\020\002\022\033\n\027C" + "HAT_MESSAGE_TOWER_KILL\020\003\022\033\n\027CHAT_MESSAGE" + "_TOWER_DENY\020\004\022\033\n\027CHAT_MESSAGE_FIRSTBLOOD" + "\020\005\022\034\n\030CHAT_MESSAGE_STREAK_KILL\020\006\022\030\n\024CHAT" + "_MESSAGE_BUYBACK\020\007\022\026\n\022CHAT_MESSAGE_AEGIS" + "\020\010\022\034\n\030CHAT_MESSAGE_ROSHAN_KILL\020\t\022\035\n\031CHAT" + "_MESSAGE_COURIER_LOST\020\n\022\"\n\036CHAT_MESSAGE_" + "COURIER_RESPAWNED\020\013\022\033\n\027CHAT_MESSAGE_GLYP" + "H_USED\020\014\022\036\n\032CHAT_MESSAGE_ITEM_PURCHASE\020\r" + "\022\030\n\024CHAT_MESSAGE_CONNECT\020\016\022\033\n\027CHAT_MESSA" + "GE_DISCONNECT\020\017\022.\n*CHAT_MESSAGE_DISCONNE" + "CT_WAIT_FOR_RECONNECT\020\020\022*\n&CHAT_MESSAGE_" + "DISCONNECT_TIME_REMAINING\020\021\0221\n-CHAT_MESS" + "AGE_DISCONNECT_TIME_REMAINING_PLURAL\020\022\022\032" + "\n\026CHAT_MESSAGE_RECONNECT\020\023\022\030\n\024CHAT_MESSA" + "GE_ABANDON\020\024\022\036\n\032CHAT_MESSAGE_SAFE_TO_LEA" + "VE\020\025\022\034\n\030CHAT_MESSAGE_RUNE_PICKUP\020\026\022\034\n\030CH" + "AT_MESSAGE_RUNE_BOTTLE\020\027\022\031\n\025CHAT_MESSAGE" + "_INTHEBAG\020\030\022\033\n\027CHAT_MESSAGE_SECRETSHOP\020\031" + "\022#\n\037CHAT_MESSAGE_ITEM_AUTOPURCHASED\020\032\022\037\n" + "\033CHAT_MESSAGE_ITEMS_COMBINED\020\033\022\035\n\031CHAT_M" + "ESSAGE_SUPER_CREEPS\020\034\022%\n!CHAT_MESSAGE_CA" + "NT_USE_ACTION_ITEM\020\035\022\"\n\036CHAT_MESSAGE_CHA" + "RGES_EXHAUSTED\020\036\022\032\n\026CHAT_MESSAGE_CANTPAU" + "SE\020\037\022\035\n\031CHAT_MESSAGE_NOPAUSESLEFT\020 \022\035\n\031C" + "HAT_MESSAGE_CANTPAUSEYET\020!\022\027\n\023CHAT_MESSA" + "GE_PAUSED\020\"\022\"\n\036CHAT_MESSAGE_UNPAUSE_COUN" + "TDOWN\020#\022\031\n\025CHAT_MESSAGE_UNPAUSED\020$\022\036\n\032CH" + "AT_MESSAGE_AUTO_UNPAUSED\020%\022\032\n\026CHAT_MESSA" + "GE_YOUPAUSED\020&\022 \n\034CHAT_MESSAGE_CANTUNPAU" + "SETEAM\020\'\022(\n$CHAT_MESSAGE_SAFE_TO_LEAVE_A" + "BANDONER\020(\022\"\n\036CHAT_MESSAGE_VOICE_TEXT_BA" + "NNED\020)\022.\n*CHAT_MESSAGE_SPECTATORS_WATCHI" + "NG_THIS_GAME\020*\022 \n\034CHAT_MESSAGE_REPORT_RE" + "MINDER\020+\022\032\n\026CHAT_MESSAGE_ECON_ITEM\020,\022\026\n\022" + "CHAT_MESSAGE_TAUNT\020-\022\027\n\023CHAT_MESSAGE_RAN" + "DOM\020.\022\030\n\024CHAT_MESSAGE_RD_TURN\020/\022.\n*CHAT_" + "MESSAGE_SAFE_TO_LEAVE_ABANDONER_EARLY\0200\022" + " \n\034CHAT_MESSAGE_DROP_RATE_BONUS\0201\022!\n\035CHA" + "T_MESSAGE_NO_BATTLE_POINTS\0202\022\035\n\031CHAT_MES" + "SAGE_DENIED_AEGIS\0203\022\036\n\032CHAT_MESSAGE_INFO" + "RMATIONAL\0204\022\035\n\031CHAT_MESSAGE_AEGIS_STOLEN" + "\0205\022\035\n\031CHAT_MESSAGE_ROSHAN_CANDY\0206\022\034\n\030CHA" + "T_MESSAGE_ITEM_GIFTED\0207\022\'\n#CHAT_MESSAGE_" + "HERO_KILL_WITH_GREEVIL\0208*\262\001\n\035DOTA_NO_BAT" + "TLE_POINTS_REASONS\022%\n!NO_BATTLE_POINTS_W" + "RONG_LOBBY_TYPE\020\001\022\"\n\036NO_BATTLE_POINTS_PR" + "ACTICE_BOTS\020\002\022#\n\037NO_BATTLE_POINTS_CHEATS" + "_ENABLED\020\003\022!\n\035NO_BATTLE_POINTS_LOW_PRIOR" + "ITY\020\004*7\n\027DOTA_CHAT_INFORMATIONAL\022\034\n\030COOP" + "_BATTLE_POINTS_RULES\020\001*\251\001\n\024DOTA_COMBATLO" + "G_TYPES\022\031\n\025DOTA_COMBATLOG_DAMAGE\020\000\022\027\n\023DO" + "TA_COMBATLOG_HEAL\020\001\022\037\n\033DOTA_COMBATLOG_MO" + "DIFIER_ADD\020\002\022\"\n\036DOTA_COMBATLOG_MODIFIER_" + "REMOVE\020\003\022\030\n\024DOTA_COMBATLOG_DEATH\020\004*\345\001\n\023E" + "DotaEntityMessages\022\024\n\020DOTA_UNIT_SPEECH\020\000" + "\022\031\n\025DOTA_UNIT_SPEECH_MUTE\020\001\022\031\n\025DOTA_UNIT" + "_ADD_GESTURE\020\002\022\034\n\030DOTA_UNIT_REMOVE_GESTU" + "RE\020\003\022!\n\035DOTA_UNIT_REMOVE_ALL_GESTURES\020\004\022" + "\032\n\026DOTA_UNIT_FADE_GESTURE\020\006\022%\n!DOTA_UNIT" + "_SPEECH_CLIENTSIDE_RULES\020\007*\262\004\n\025DOTA_PART" + "ICLE_MESSAGE\022&\n\"DOTA_PARTICLE_MANAGER_EV" + "ENT_CREATE\020\000\022&\n\"DOTA_PARTICLE_MANAGER_EV" + "ENT_UPDATE\020\001\022.\n*DOTA_PARTICLE_MANAGER_EV" + "ENT_UPDATE_FORWARD\020\002\0222\n.DOTA_PARTICLE_MA" + "NAGER_EVENT_UPDATE_ORIENTATION\020\003\022/\n+DOTA" + "_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK\020" + "\004\022*\n&DOTA_PARTICLE_MANAGER_EVENT_UPDATE_" + "ENT\020\005\022-\n)DOTA_PARTICLE_MANAGER_EVENT_UPD" + "ATE_OFFSET\020\006\022\'\n#DOTA_PARTICLE_MANAGER_EV" + "ENT_DESTROY\020\007\0221\n-DOTA_PARTICLE_MANAGER_E" + "VENT_DESTROY_INVOLVING\020\010\022\'\n#DOTA_PARTICL" + "E_MANAGER_EVENT_RELEASE\020\t\022\'\n#DOTA_PARTIC" + "LE_MANAGER_EVENT_LATENCY\020\n\022+\n\'DOTA_PARTI" + "CLE_MANAGER_EVENT_SHOULD_DRAW\020\013*\206\003\n\023DOTA" + "_OVERHEAD_ALERT\022\027\n\023OVERHEAD_ALERT_GOLD\020\000" + "\022\027\n\023OVERHEAD_ALERT_DENY\020\001\022\033\n\027OVERHEAD_AL" + "ERT_CRITICAL\020\002\022\025\n\021OVERHEAD_ALERT_XP\020\003\022%\n" + "!OVERHEAD_ALERT_BONUS_SPELL_DAMAGE\020\004\022\027\n\023" + "OVERHEAD_ALERT_MISS\020\005\022\031\n\025OVERHEAD_ALERT_" + "DAMAGE\020\006\022\030\n\024OVERHEAD_ALERT_EVADE\020\007\022\030\n\024OV" + "ERHEAD_ALERT_BLOCK\020\010\022&\n\"OVERHEAD_ALERT_B" + "ONUS_POISON_DAMAGE\020\t\022\027\n\023OVERHEAD_ALERT_H" + "EAL\020\n\022\033\n\027OVERHEAD_ALERT_MANA_ADD\020\013\022\034\n\030OV" + "ERHEAD_ALERT_MANA_LOSS\020\014B\005H\001\200\001\000", 12031); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "dota_usermessages.proto", &protobuf_RegisterTypes); + CDOTAUserMsg_AIDebugLine::default_instance_ = new CDOTAUserMsg_AIDebugLine(); + CDOTAUserMsg_Ping::default_instance_ = new CDOTAUserMsg_Ping(); + CDOTAUserMsg_SwapVerify::default_instance_ = new CDOTAUserMsg_SwapVerify(); + CDOTAUserMsg_ChatEvent::default_instance_ = new CDOTAUserMsg_ChatEvent(); + CDOTAUserMsg_CombatLogData::default_instance_ = new CDOTAUserMsg_CombatLogData(); + CDOTAUserMsg_CombatLogShowDeath::default_instance_ = new CDOTAUserMsg_CombatLogShowDeath(); + CDOTAUserMsg_BotChat::default_instance_ = new CDOTAUserMsg_BotChat(); + CDOTAUserMsg_CombatHeroPositions::default_instance_ = new CDOTAUserMsg_CombatHeroPositions(); + CDOTAUserMsg_MiniKillCamInfo::default_instance_ = new CDOTAUserMsg_MiniKillCamInfo(); + CDOTAUserMsg_MiniKillCamInfo_Attacker::default_instance_ = new CDOTAUserMsg_MiniKillCamInfo_Attacker(); + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::default_instance_ = new CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability(); + CDOTAUserMsg_GlobalLightColor::default_instance_ = new CDOTAUserMsg_GlobalLightColor(); + CDOTAUserMsg_GlobalLightDirection::default_instance_ = new CDOTAUserMsg_GlobalLightDirection(); + CDOTAUserMsg_LocationPing::default_instance_ = new CDOTAUserMsg_LocationPing(); + CDOTAUserMsg_ItemAlert::default_instance_ = new CDOTAUserMsg_ItemAlert(); + CDOTAUserMsg_MinimapEvent::default_instance_ = new CDOTAUserMsg_MinimapEvent(); + CDOTAUserMsg_MapLine::default_instance_ = new CDOTAUserMsg_MapLine(); + CDOTAUserMsg_MinimapDebugPoint::default_instance_ = new CDOTAUserMsg_MinimapDebugPoint(); + CDOTAUserMsg_CreateLinearProjectile::default_instance_ = new CDOTAUserMsg_CreateLinearProjectile(); + CDOTAUserMsg_DestroyLinearProjectile::default_instance_ = new CDOTAUserMsg_DestroyLinearProjectile(); + CDOTAUserMsg_DodgeTrackingProjectiles::default_instance_ = new CDOTAUserMsg_DodgeTrackingProjectiles(); + CDOTAUserMsg_SpectatorPlayerClick::default_instance_ = new CDOTAUserMsg_SpectatorPlayerClick(); + CDOTAUserMsg_NevermoreRequiem::default_instance_ = new CDOTAUserMsg_NevermoreRequiem(); + CDOTAUserMsg_InvalidCommand::default_instance_ = new CDOTAUserMsg_InvalidCommand(); + CDOTAUserMsg_HudError::default_instance_ = new CDOTAUserMsg_HudError(); + CDOTAUserMsg_SharedCooldown::default_instance_ = new CDOTAUserMsg_SharedCooldown(); + CDOTAUserMsg_SetNextAutobuyItem::default_instance_ = new CDOTAUserMsg_SetNextAutobuyItem(); + CDOTAUserMsg_HalloweenDrops::default_instance_ = new CDOTAUserMsg_HalloweenDrops(); + CDOTAResponseQuerySerialized::default_instance_ = new CDOTAResponseQuerySerialized(); + CDOTAResponseQuerySerialized_Fact::default_instance_ = new CDOTAResponseQuerySerialized_Fact(); + CDOTASpeechMatchOnClient::default_instance_ = new CDOTASpeechMatchOnClient(); + CDOTAUserMsg_UnitEvent::default_instance_ = new CDOTAUserMsg_UnitEvent(); + CDOTAUserMsg_UnitEvent_Speech::default_instance_ = new CDOTAUserMsg_UnitEvent_Speech(); + CDOTAUserMsg_UnitEvent_SpeechMute::default_instance_ = new CDOTAUserMsg_UnitEvent_SpeechMute(); + CDOTAUserMsg_UnitEvent_AddGesture::default_instance_ = new CDOTAUserMsg_UnitEvent_AddGesture(); + CDOTAUserMsg_UnitEvent_RemoveGesture::default_instance_ = new CDOTAUserMsg_UnitEvent_RemoveGesture(); + CDOTAUserMsg_UnitEvent_BloodImpact::default_instance_ = new CDOTAUserMsg_UnitEvent_BloodImpact(); + CDOTAUserMsg_UnitEvent_FadeGesture::default_instance_ = new CDOTAUserMsg_UnitEvent_FadeGesture(); + CDOTAUserMsg_ItemPurchased::default_instance_ = new CDOTAUserMsg_ItemPurchased(); + CDOTAUserMsg_ItemFound::default_instance_ = new CDOTAUserMsg_ItemFound(); + CDOTAUserMsg_ParticleManager::default_instance_ = new CDOTAUserMsg_ParticleManager(); + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::default_instance_ = new CDOTAUserMsg_ParticleManager_ReleaseParticleIndex(); + CDOTAUserMsg_ParticleManager_CreateParticle::default_instance_ = new CDOTAUserMsg_ParticleManager_CreateParticle(); + CDOTAUserMsg_ParticleManager_DestroyParticle::default_instance_ = new CDOTAUserMsg_ParticleManager_DestroyParticle(); + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::default_instance_ = new CDOTAUserMsg_ParticleManager_DestroyParticleInvolving(); + CDOTAUserMsg_ParticleManager_UpdateParticle::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticle(); + CDOTAUserMsg_ParticleManager_UpdateParticleFwd::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleFwd(); + CDOTAUserMsg_ParticleManager_UpdateParticleOrient::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleOrient(); + CDOTAUserMsg_ParticleManager_UpdateParticleFallback::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleFallback(); + CDOTAUserMsg_ParticleManager_UpdateParticleOffset::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleOffset(); + CDOTAUserMsg_ParticleManager_UpdateParticleEnt::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleEnt(); + CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleLatency(); + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw(); + CDOTAUserMsg_OverheadEvent::default_instance_ = new CDOTAUserMsg_OverheadEvent(); + CDOTAUserMsg_TutorialTipInfo::default_instance_ = new CDOTAUserMsg_TutorialTipInfo(); + CDOTAUserMsg_WorldLine::default_instance_ = new CDOTAUserMsg_WorldLine(); + CDOTAUserMsg_TournamentDrop::default_instance_ = new CDOTAUserMsg_TournamentDrop(); + CDOTAUserMsg_ChatWheel::default_instance_ = new CDOTAUserMsg_ChatWheel(); + CDOTAUserMsg_ReceivedXmasGift::default_instance_ = new CDOTAUserMsg_ReceivedXmasGift(); + CDOTAUserMsg_ShowSurvey::default_instance_ = new CDOTAUserMsg_ShowSurvey(); + CDOTAUserMsg_UpdateSharedContent::default_instance_ = new CDOTAUserMsg_UpdateSharedContent(); + CDOTAUserMsg_TutorialRequestExp::default_instance_ = new CDOTAUserMsg_TutorialRequestExp(); + CDOTAUserMsg_TutorialFade::default_instance_ = new CDOTAUserMsg_TutorialFade(); + CDOTAUserMsg_TutorialPingMinimap::default_instance_ = new CDOTAUserMsg_TutorialPingMinimap(); + CDOTA_UM_GamerulesStateChanged::default_instance_ = new CDOTA_UM_GamerulesStateChanged(); + CDOTAUserMsg_AIDebugLine::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_Ping::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_SwapVerify::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ChatEvent::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_CombatLogData::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_CombatLogShowDeath::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_BotChat::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_CombatHeroPositions::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_MiniKillCamInfo::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_MiniKillCamInfo_Attacker::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_GlobalLightColor::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_GlobalLightDirection::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_LocationPing::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ItemAlert::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_MinimapEvent::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_MapLine::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_MinimapDebugPoint::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_CreateLinearProjectile::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_DestroyLinearProjectile::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_DodgeTrackingProjectiles::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_SpectatorPlayerClick::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_NevermoreRequiem::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_InvalidCommand::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_HudError::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_SharedCooldown::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_SetNextAutobuyItem::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_HalloweenDrops::default_instance_->InitAsDefaultInstance(); + CDOTAResponseQuerySerialized::default_instance_->InitAsDefaultInstance(); + CDOTAResponseQuerySerialized_Fact::default_instance_->InitAsDefaultInstance(); + CDOTASpeechMatchOnClient::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_UnitEvent::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_UnitEvent_Speech::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_UnitEvent_SpeechMute::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_UnitEvent_AddGesture::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_UnitEvent_RemoveGesture::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_UnitEvent_BloodImpact::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_UnitEvent_FadeGesture::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ItemPurchased::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ItemFound::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_CreateParticle::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_DestroyParticle::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_UpdateParticle::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_UpdateParticleFwd::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_UpdateParticleOrient::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_UpdateParticleFallback::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_UpdateParticleOffset::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_UpdateParticleEnt::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_OverheadEvent::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_TutorialTipInfo::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_WorldLine::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_TournamentDrop::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ChatWheel::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ReceivedXmasGift::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_ShowSurvey::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_UpdateSharedContent::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_TutorialRequestExp::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_TutorialFade::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_TutorialPingMinimap::default_instance_->InitAsDefaultInstance(); + CDOTA_UM_GamerulesStateChanged::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_dota_5fusermessages_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_dota_5fusermessages_2eproto { + StaticDescriptorInitializer_dota_5fusermessages_2eproto() { + protobuf_AddDesc_dota_5fusermessages_2eproto(); + } +} static_descriptor_initializer_dota_5fusermessages_2eproto_; + +const ::google::protobuf::EnumDescriptor* EDotaUserMessages_descriptor() { + protobuf_AssignDescriptorsOnce(); + return EDotaUserMessages_descriptor_; +} +bool EDotaUserMessages_IsValid(int value) { + switch(value) { + case 64: + case 65: + case 66: + case 67: + case 68: + case 70: + case 71: + case 72: + case 73: + case 74: + case 75: + case 76: + case 77: + case 78: + case 79: + case 80: + case 81: + case 82: + case 83: + case 84: + case 85: + case 86: + case 87: + case 88: + case 89: + case 90: + case 91: + case 92: + case 93: + case 94: + case 95: + case 96: + case 97: + case 98: + case 99: + case 100: + case 101: + case 102: + case 103: + case 104: + case 105: + case 106: + case 107: + case 108: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* DOTA_CHAT_MESSAGE_descriptor() { + protobuf_AssignDescriptorsOnce(); + return DOTA_CHAT_MESSAGE_descriptor_; +} +bool DOTA_CHAT_MESSAGE_IsValid(int value) { + switch(value) { + case -1: + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* DOTA_NO_BATTLE_POINTS_REASONS_descriptor() { + protobuf_AssignDescriptorsOnce(); + return DOTA_NO_BATTLE_POINTS_REASONS_descriptor_; +} +bool DOTA_NO_BATTLE_POINTS_REASONS_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* DOTA_CHAT_INFORMATIONAL_descriptor() { + protobuf_AssignDescriptorsOnce(); + return DOTA_CHAT_INFORMATIONAL_descriptor_; +} +bool DOTA_CHAT_INFORMATIONAL_IsValid(int value) { + switch(value) { + case 1: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* DOTA_COMBATLOG_TYPES_descriptor() { + protobuf_AssignDescriptorsOnce(); + return DOTA_COMBATLOG_TYPES_descriptor_; +} +bool DOTA_COMBATLOG_TYPES_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* EDotaEntityMessages_descriptor() { + protobuf_AssignDescriptorsOnce(); + return EDotaEntityMessages_descriptor_; +} +bool EDotaEntityMessages_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 6: + case 7: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* DOTA_PARTICLE_MESSAGE_descriptor() { + protobuf_AssignDescriptorsOnce(); + return DOTA_PARTICLE_MESSAGE_descriptor_; +} +bool DOTA_PARTICLE_MESSAGE_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* DOTA_OVERHEAD_ALERT_descriptor() { + protobuf_AssignDescriptorsOnce(); + return DOTA_OVERHEAD_ALERT_descriptor_; +} +bool DOTA_OVERHEAD_ALERT_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + return true; + default: + return false; + } +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_AIDebugLine::kMessageFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_AIDebugLine::CDOTAUserMsg_AIDebugLine() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_AIDebugLine::InitAsDefaultInstance() { +} + +CDOTAUserMsg_AIDebugLine::CDOTAUserMsg_AIDebugLine(const CDOTAUserMsg_AIDebugLine& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_AIDebugLine::SharedCtor() { + _cached_size_ = 0; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_AIDebugLine::~CDOTAUserMsg_AIDebugLine() { + SharedDtor(); +} + +void CDOTAUserMsg_AIDebugLine::SharedDtor() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + delete message_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_AIDebugLine::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_AIDebugLine::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_AIDebugLine_descriptor_; +} + +const CDOTAUserMsg_AIDebugLine& CDOTAUserMsg_AIDebugLine::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_AIDebugLine* CDOTAUserMsg_AIDebugLine::default_instance_ = NULL; + +CDOTAUserMsg_AIDebugLine* CDOTAUserMsg_AIDebugLine::New() const { + return new CDOTAUserMsg_AIDebugLine; +} + +void CDOTAUserMsg_AIDebugLine::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_message()) { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_AIDebugLine::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 string message = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CDOTAUserMsg_AIDebugLine::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->message(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_AIDebugLine::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->message(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_AIDebugLine::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string message = 1; + if (has_message()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + } + 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 CDOTAUserMsg_AIDebugLine::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_AIDebugLine* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_AIDebugLine::MergeFrom(const CDOTAUserMsg_AIDebugLine& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_message()) { + set_message(from.message()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_AIDebugLine::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_AIDebugLine::CopyFrom(const CDOTAUserMsg_AIDebugLine& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_AIDebugLine::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_AIDebugLine::Swap(CDOTAUserMsg_AIDebugLine* other) { + if (other != this) { + std::swap(message_, other->message_); + 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 CDOTAUserMsg_AIDebugLine::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_AIDebugLine_descriptor_; + metadata.reflection = CDOTAUserMsg_AIDebugLine_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_Ping::kMessageFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_Ping::CDOTAUserMsg_Ping() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_Ping::InitAsDefaultInstance() { +} + +CDOTAUserMsg_Ping::CDOTAUserMsg_Ping(const CDOTAUserMsg_Ping& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_Ping::SharedCtor() { + _cached_size_ = 0; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_Ping::~CDOTAUserMsg_Ping() { + SharedDtor(); +} + +void CDOTAUserMsg_Ping::SharedDtor() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + delete message_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_Ping::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_Ping::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_Ping_descriptor_; +} + +const CDOTAUserMsg_Ping& CDOTAUserMsg_Ping::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_Ping* CDOTAUserMsg_Ping::default_instance_ = NULL; + +CDOTAUserMsg_Ping* CDOTAUserMsg_Ping::New() const { + return new CDOTAUserMsg_Ping; +} + +void CDOTAUserMsg_Ping::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_message()) { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_Ping::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 string message = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CDOTAUserMsg_Ping::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->message(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_Ping::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->message(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_Ping::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string message = 1; + if (has_message()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + } + 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 CDOTAUserMsg_Ping::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_Ping* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_Ping::MergeFrom(const CDOTAUserMsg_Ping& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_message()) { + set_message(from.message()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_Ping::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_Ping::CopyFrom(const CDOTAUserMsg_Ping& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_Ping::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_Ping::Swap(CDOTAUserMsg_Ping* other) { + if (other != this) { + std::swap(message_, other->message_); + 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 CDOTAUserMsg_Ping::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_Ping_descriptor_; + metadata.reflection = CDOTAUserMsg_Ping_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_SwapVerify::kPlayerIdFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_SwapVerify::CDOTAUserMsg_SwapVerify() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_SwapVerify::InitAsDefaultInstance() { +} + +CDOTAUserMsg_SwapVerify::CDOTAUserMsg_SwapVerify(const CDOTAUserMsg_SwapVerify& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_SwapVerify::SharedCtor() { + _cached_size_ = 0; + player_id_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_SwapVerify::~CDOTAUserMsg_SwapVerify() { + SharedDtor(); +} + +void CDOTAUserMsg_SwapVerify::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_SwapVerify::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_SwapVerify::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_SwapVerify_descriptor_; +} + +const CDOTAUserMsg_SwapVerify& CDOTAUserMsg_SwapVerify::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_SwapVerify* CDOTAUserMsg_SwapVerify::default_instance_ = NULL; + +CDOTAUserMsg_SwapVerify* CDOTAUserMsg_SwapVerify::New() const { + return new CDOTAUserMsg_SwapVerify; +} + +void CDOTAUserMsg_SwapVerify::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_id_ = 0u; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_SwapVerify::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 uint32 player_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &player_id_))); + set_has_player_id(); + } 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 CDOTAUserMsg_SwapVerify::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->player_id(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_SwapVerify::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->player_id(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_SwapVerify::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 player_id = 1; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->player_id()); + } + + } + 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 CDOTAUserMsg_SwapVerify::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_SwapVerify* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_SwapVerify::MergeFrom(const CDOTAUserMsg_SwapVerify& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_SwapVerify::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_SwapVerify::CopyFrom(const CDOTAUserMsg_SwapVerify& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_SwapVerify::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_SwapVerify::Swap(CDOTAUserMsg_SwapVerify* other) { + if (other != this) { + std::swap(player_id_, other->player_id_); + 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 CDOTAUserMsg_SwapVerify::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_SwapVerify_descriptor_; + metadata.reflection = CDOTAUserMsg_SwapVerify_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_ChatEvent::kTypeFieldNumber; +const int CDOTAUserMsg_ChatEvent::kValueFieldNumber; +const int CDOTAUserMsg_ChatEvent::kPlayerid1FieldNumber; +const int CDOTAUserMsg_ChatEvent::kPlayerid2FieldNumber; +const int CDOTAUserMsg_ChatEvent::kPlayerid3FieldNumber; +const int CDOTAUserMsg_ChatEvent::kPlayerid4FieldNumber; +const int CDOTAUserMsg_ChatEvent::kPlayerid5FieldNumber; +const int CDOTAUserMsg_ChatEvent::kPlayerid6FieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ChatEvent::CDOTAUserMsg_ChatEvent() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ChatEvent::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ChatEvent::CDOTAUserMsg_ChatEvent(const CDOTAUserMsg_ChatEvent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ChatEvent::SharedCtor() { + _cached_size_ = 0; + type_ = -1; + value_ = 0u; + playerid_1_ = -1; + playerid_2_ = -1; + playerid_3_ = -1; + playerid_4_ = -1; + playerid_5_ = -1; + playerid_6_ = -1; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ChatEvent::~CDOTAUserMsg_ChatEvent() { + SharedDtor(); +} + +void CDOTAUserMsg_ChatEvent::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ChatEvent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ChatEvent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ChatEvent_descriptor_; +} + +const CDOTAUserMsg_ChatEvent& CDOTAUserMsg_ChatEvent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ChatEvent* CDOTAUserMsg_ChatEvent::default_instance_ = NULL; + +CDOTAUserMsg_ChatEvent* CDOTAUserMsg_ChatEvent::New() const { + return new CDOTAUserMsg_ChatEvent; +} + +void CDOTAUserMsg_ChatEvent::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + type_ = -1; + value_ = 0u; + playerid_1_ = -1; + playerid_2_ = -1; + playerid_3_ = -1; + playerid_4_ = -1; + playerid_5_ = -1; + playerid_6_ = -1; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ChatEvent::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)) { + // required .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID]; + 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 (DOTA_CHAT_MESSAGE_IsValid(value)) { + set_type(static_cast< DOTA_CHAT_MESSAGE >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_value; + break; + } + + // optional uint32 value = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_value: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &value_))); + set_has_value(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_playerid_1; + break; + } + + // optional sint32 playerid_1 = 3 [default = -1]; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_playerid_1: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &playerid_1_))); + set_has_playerid_1(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_playerid_2; + break; + } + + // optional sint32 playerid_2 = 4 [default = -1]; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_playerid_2: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &playerid_2_))); + set_has_playerid_2(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_playerid_3; + break; + } + + // optional sint32 playerid_3 = 5 [default = -1]; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_playerid_3: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &playerid_3_))); + set_has_playerid_3(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_playerid_4; + break; + } + + // optional sint32 playerid_4 = 6 [default = -1]; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_playerid_4: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &playerid_4_))); + set_has_playerid_4(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(56)) goto parse_playerid_5; + break; + } + + // optional sint32 playerid_5 = 7 [default = -1]; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_playerid_5: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &playerid_5_))); + set_has_playerid_5(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(64)) goto parse_playerid_6; + break; + } + + // optional sint32 playerid_6 = 8 [default = -1]; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_playerid_6: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SINT32>( + input, &playerid_6_))); + set_has_playerid_6(); + } 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 CDOTAUserMsg_ChatEvent::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID]; + if (has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->type(), output); + } + + // optional uint32 value = 2; + if (has_value()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->value(), output); + } + + // optional sint32 playerid_1 = 3 [default = -1]; + if (has_playerid_1()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(3, this->playerid_1(), output); + } + + // optional sint32 playerid_2 = 4 [default = -1]; + if (has_playerid_2()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(4, this->playerid_2(), output); + } + + // optional sint32 playerid_3 = 5 [default = -1]; + if (has_playerid_3()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(5, this->playerid_3(), output); + } + + // optional sint32 playerid_4 = 6 [default = -1]; + if (has_playerid_4()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(6, this->playerid_4(), output); + } + + // optional sint32 playerid_5 = 7 [default = -1]; + if (has_playerid_5()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(7, this->playerid_5(), output); + } + + // optional sint32 playerid_6 = 8 [default = -1]; + if (has_playerid_6()) { + ::google::protobuf::internal::WireFormatLite::WriteSInt32(8, this->playerid_6(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ChatEvent::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // required .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID]; + if (has_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->type(), target); + } + + // optional uint32 value = 2; + if (has_value()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->value(), target); + } + + // optional sint32 playerid_1 = 3 [default = -1]; + if (has_playerid_1()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(3, this->playerid_1(), target); + } + + // optional sint32 playerid_2 = 4 [default = -1]; + if (has_playerid_2()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(4, this->playerid_2(), target); + } + + // optional sint32 playerid_3 = 5 [default = -1]; + if (has_playerid_3()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(5, this->playerid_3(), target); + } + + // optional sint32 playerid_4 = 6 [default = -1]; + if (has_playerid_4()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(6, this->playerid_4(), target); + } + + // optional sint32 playerid_5 = 7 [default = -1]; + if (has_playerid_5()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(7, this->playerid_5(), target); + } + + // optional sint32 playerid_6 = 8 [default = -1]; + if (has_playerid_6()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSInt32ToArray(8, this->playerid_6(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ChatEvent::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID]; + if (has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); + } + + // optional uint32 value = 2; + if (has_value()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->value()); + } + + // optional sint32 playerid_1 = 3 [default = -1]; + if (has_playerid_1()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->playerid_1()); + } + + // optional sint32 playerid_2 = 4 [default = -1]; + if (has_playerid_2()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->playerid_2()); + } + + // optional sint32 playerid_3 = 5 [default = -1]; + if (has_playerid_3()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->playerid_3()); + } + + // optional sint32 playerid_4 = 6 [default = -1]; + if (has_playerid_4()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->playerid_4()); + } + + // optional sint32 playerid_5 = 7 [default = -1]; + if (has_playerid_5()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->playerid_5()); + } + + // optional sint32 playerid_6 = 8 [default = -1]; + if (has_playerid_6()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::SInt32Size( + this->playerid_6()); + } + + } + 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 CDOTAUserMsg_ChatEvent::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ChatEvent* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ChatEvent::MergeFrom(const CDOTAUserMsg_ChatEvent& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_type()) { + set_type(from.type()); + } + if (from.has_value()) { + set_value(from.value()); + } + if (from.has_playerid_1()) { + set_playerid_1(from.playerid_1()); + } + if (from.has_playerid_2()) { + set_playerid_2(from.playerid_2()); + } + if (from.has_playerid_3()) { + set_playerid_3(from.playerid_3()); + } + if (from.has_playerid_4()) { + set_playerid_4(from.playerid_4()); + } + if (from.has_playerid_5()) { + set_playerid_5(from.playerid_5()); + } + if (from.has_playerid_6()) { + set_playerid_6(from.playerid_6()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ChatEvent::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ChatEvent::CopyFrom(const CDOTAUserMsg_ChatEvent& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ChatEvent::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + return true; +} + +void CDOTAUserMsg_ChatEvent::Swap(CDOTAUserMsg_ChatEvent* other) { + if (other != this) { + std::swap(type_, other->type_); + std::swap(value_, other->value_); + std::swap(playerid_1_, other->playerid_1_); + std::swap(playerid_2_, other->playerid_2_); + std::swap(playerid_3_, other->playerid_3_); + std::swap(playerid_4_, other->playerid_4_); + std::swap(playerid_5_, other->playerid_5_); + std::swap(playerid_6_, other->playerid_6_); + 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 CDOTAUserMsg_ChatEvent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ChatEvent_descriptor_; + metadata.reflection = CDOTAUserMsg_ChatEvent_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_CombatLogData::kTypeFieldNumber; +const int CDOTAUserMsg_CombatLogData::kTargetNameFieldNumber; +const int CDOTAUserMsg_CombatLogData::kAttackerNameFieldNumber; +const int CDOTAUserMsg_CombatLogData::kAttackerIllusionFieldNumber; +const int CDOTAUserMsg_CombatLogData::kTargetIllusionFieldNumber; +const int CDOTAUserMsg_CombatLogData::kInflictorNameFieldNumber; +const int CDOTAUserMsg_CombatLogData::kValueFieldNumber; +const int CDOTAUserMsg_CombatLogData::kHealthFieldNumber; +const int CDOTAUserMsg_CombatLogData::kTimeFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_CombatLogData::CDOTAUserMsg_CombatLogData() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_CombatLogData::InitAsDefaultInstance() { +} + +CDOTAUserMsg_CombatLogData::CDOTAUserMsg_CombatLogData(const CDOTAUserMsg_CombatLogData& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_CombatLogData::SharedCtor() { + _cached_size_ = 0; + type_ = 0; + target_name_ = 0u; + attacker_name_ = 0u; + attacker_illusion_ = false; + target_illusion_ = false; + inflictor_name_ = 0u; + value_ = 0; + health_ = 0; + time_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_CombatLogData::~CDOTAUserMsg_CombatLogData() { + SharedDtor(); +} + +void CDOTAUserMsg_CombatLogData::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_CombatLogData::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_CombatLogData::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_CombatLogData_descriptor_; +} + +const CDOTAUserMsg_CombatLogData& CDOTAUserMsg_CombatLogData::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_CombatLogData* CDOTAUserMsg_CombatLogData::default_instance_ = NULL; + +CDOTAUserMsg_CombatLogData* CDOTAUserMsg_CombatLogData::New() const { + return new CDOTAUserMsg_CombatLogData; +} + +void CDOTAUserMsg_CombatLogData::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + type_ = 0; + target_name_ = 0u; + attacker_name_ = 0u; + attacker_illusion_ = false; + target_illusion_ = false; + inflictor_name_ = 0u; + value_ = 0; + health_ = 0; + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + time_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_CombatLogData::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 .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_DAMAGE]; + 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 (DOTA_COMBATLOG_TYPES_IsValid(value)) { + set_type(static_cast< DOTA_COMBATLOG_TYPES >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_target_name; + break; + } + + // optional uint32 target_name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_target_name: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &target_name_))); + set_has_target_name(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_attacker_name; + break; + } + + // optional uint32 attacker_name = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_attacker_name: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &attacker_name_))); + set_has_attacker_name(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_attacker_illusion; + break; + } + + // optional bool attacker_illusion = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_attacker_illusion: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &attacker_illusion_))); + set_has_attacker_illusion(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_target_illusion; + break; + } + + // optional bool target_illusion = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_target_illusion: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &target_illusion_))); + set_has_target_illusion(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_inflictor_name; + break; + } + + // optional uint32 inflictor_name = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_inflictor_name: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &inflictor_name_))); + set_has_inflictor_name(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(56)) goto parse_value; + break; + } + + // optional int32 value = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_value: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &value_))); + set_has_value(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(64)) goto parse_health; + break; + } + + // optional int32 health = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_health: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &health_))); + set_has_health(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(77)) goto parse_time; + break; + } + + // optional float time = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &time_))); + set_has_time(); + } 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 CDOTAUserMsg_CombatLogData::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_DAMAGE]; + if (has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->type(), output); + } + + // optional uint32 target_name = 2; + if (has_target_name()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->target_name(), output); + } + + // optional uint32 attacker_name = 3; + if (has_attacker_name()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->attacker_name(), output); + } + + // optional bool attacker_illusion = 4; + if (has_attacker_illusion()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->attacker_illusion(), output); + } + + // optional bool target_illusion = 5; + if (has_target_illusion()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->target_illusion(), output); + } + + // optional uint32 inflictor_name = 6; + if (has_inflictor_name()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->inflictor_name(), output); + } + + // optional int32 value = 7; + if (has_value()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->value(), output); + } + + // optional int32 health = 8; + if (has_health()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->health(), output); + } + + // optional float time = 9; + if (has_time()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(9, this->time(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_CombatLogData::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_DAMAGE]; + if (has_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->type(), target); + } + + // optional uint32 target_name = 2; + if (has_target_name()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->target_name(), target); + } + + // optional uint32 attacker_name = 3; + if (has_attacker_name()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->attacker_name(), target); + } + + // optional bool attacker_illusion = 4; + if (has_attacker_illusion()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->attacker_illusion(), target); + } + + // optional bool target_illusion = 5; + if (has_target_illusion()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->target_illusion(), target); + } + + // optional uint32 inflictor_name = 6; + if (has_inflictor_name()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->inflictor_name(), target); + } + + // optional int32 value = 7; + if (has_value()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->value(), target); + } + + // optional int32 health = 8; + if (has_health()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->health(), target); + } + + // optional float time = 9; + if (has_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(9, this->time(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_CombatLogData::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_DAMAGE]; + if (has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); + } + + // optional uint32 target_name = 2; + if (has_target_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->target_name()); + } + + // optional uint32 attacker_name = 3; + if (has_attacker_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->attacker_name()); + } + + // optional bool attacker_illusion = 4; + if (has_attacker_illusion()) { + total_size += 1 + 1; + } + + // optional bool target_illusion = 5; + if (has_target_illusion()) { + total_size += 1 + 1; + } + + // optional uint32 inflictor_name = 6; + if (has_inflictor_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->inflictor_name()); + } + + // optional int32 value = 7; + if (has_value()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->value()); + } + + // optional int32 health = 8; + if (has_health()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->health()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional float time = 9; + if (has_time()) { + total_size += 1 + 4; + } + + } + 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 CDOTAUserMsg_CombatLogData::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_CombatLogData* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_CombatLogData::MergeFrom(const CDOTAUserMsg_CombatLogData& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_type()) { + set_type(from.type()); + } + if (from.has_target_name()) { + set_target_name(from.target_name()); + } + if (from.has_attacker_name()) { + set_attacker_name(from.attacker_name()); + } + if (from.has_attacker_illusion()) { + set_attacker_illusion(from.attacker_illusion()); + } + if (from.has_target_illusion()) { + set_target_illusion(from.target_illusion()); + } + if (from.has_inflictor_name()) { + set_inflictor_name(from.inflictor_name()); + } + if (from.has_value()) { + set_value(from.value()); + } + if (from.has_health()) { + set_health(from.health()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_time()) { + set_time(from.time()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_CombatLogData::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_CombatLogData::CopyFrom(const CDOTAUserMsg_CombatLogData& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_CombatLogData::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_CombatLogData::Swap(CDOTAUserMsg_CombatLogData* other) { + if (other != this) { + std::swap(type_, other->type_); + std::swap(target_name_, other->target_name_); + std::swap(attacker_name_, other->attacker_name_); + std::swap(attacker_illusion_, other->attacker_illusion_); + std::swap(target_illusion_, other->target_illusion_); + std::swap(inflictor_name_, other->inflictor_name_); + std::swap(value_, other->value_); + std::swap(health_, other->health_); + std::swap(time_, other->time_); + 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 CDOTAUserMsg_CombatLogData::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_CombatLogData_descriptor_; + metadata.reflection = CDOTAUserMsg_CombatLogData_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CDOTAUserMsg_CombatLogShowDeath::CDOTAUserMsg_CombatLogShowDeath() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_CombatLogShowDeath::InitAsDefaultInstance() { +} + +CDOTAUserMsg_CombatLogShowDeath::CDOTAUserMsg_CombatLogShowDeath(const CDOTAUserMsg_CombatLogShowDeath& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_CombatLogShowDeath::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_CombatLogShowDeath::~CDOTAUserMsg_CombatLogShowDeath() { + SharedDtor(); +} + +void CDOTAUserMsg_CombatLogShowDeath::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_CombatLogShowDeath::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_CombatLogShowDeath::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_CombatLogShowDeath_descriptor_; +} + +const CDOTAUserMsg_CombatLogShowDeath& CDOTAUserMsg_CombatLogShowDeath::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_CombatLogShowDeath* CDOTAUserMsg_CombatLogShowDeath::default_instance_ = NULL; + +CDOTAUserMsg_CombatLogShowDeath* CDOTAUserMsg_CombatLogShowDeath::New() const { + return new CDOTAUserMsg_CombatLogShowDeath; +} + +void CDOTAUserMsg_CombatLogShowDeath::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_CombatLogShowDeath::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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())); + } + return true; +#undef DO_ +} + +void CDOTAUserMsg_CombatLogShowDeath::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_CombatLogShowDeath::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_CombatLogShowDeath::ByteSize() const { + int total_size = 0; + + 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 CDOTAUserMsg_CombatLogShowDeath::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_CombatLogShowDeath* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_CombatLogShowDeath::MergeFrom(const CDOTAUserMsg_CombatLogShowDeath& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_CombatLogShowDeath::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_CombatLogShowDeath::CopyFrom(const CDOTAUserMsg_CombatLogShowDeath& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_CombatLogShowDeath::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_CombatLogShowDeath::Swap(CDOTAUserMsg_CombatLogShowDeath* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CDOTAUserMsg_CombatLogShowDeath::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_CombatLogShowDeath_descriptor_; + metadata.reflection = CDOTAUserMsg_CombatLogShowDeath_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_BotChat::kPlayerIdFieldNumber; +const int CDOTAUserMsg_BotChat::kFormatFieldNumber; +const int CDOTAUserMsg_BotChat::kMessageFieldNumber; +const int CDOTAUserMsg_BotChat::kTargetFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_BotChat::CDOTAUserMsg_BotChat() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_BotChat::InitAsDefaultInstance() { +} + +CDOTAUserMsg_BotChat::CDOTAUserMsg_BotChat(const CDOTAUserMsg_BotChat& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_BotChat::SharedCtor() { + _cached_size_ = 0; + player_id_ = 0u; + format_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + target_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_BotChat::~CDOTAUserMsg_BotChat() { + SharedDtor(); +} + +void CDOTAUserMsg_BotChat::SharedDtor() { + if (format_ != &::google::protobuf::internal::kEmptyString) { + delete format_; + } + if (message_ != &::google::protobuf::internal::kEmptyString) { + delete message_; + } + if (target_ != &::google::protobuf::internal::kEmptyString) { + delete target_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_BotChat::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_BotChat::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_BotChat_descriptor_; +} + +const CDOTAUserMsg_BotChat& CDOTAUserMsg_BotChat::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_BotChat* CDOTAUserMsg_BotChat::default_instance_ = NULL; + +CDOTAUserMsg_BotChat* CDOTAUserMsg_BotChat::New() const { + return new CDOTAUserMsg_BotChat; +} + +void CDOTAUserMsg_BotChat::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_id_ = 0u; + if (has_format()) { + if (format_ != &::google::protobuf::internal::kEmptyString) { + format_->clear(); + } + } + if (has_message()) { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + } + if (has_target()) { + if (target_ != &::google::protobuf::internal::kEmptyString) { + target_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_BotChat::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 uint32 player_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &player_id_))); + set_has_player_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_format; + break; + } + + // optional string format = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_format: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_format())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->format().data(), this->format().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_message; + break; + } + + // optional string message = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_message: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_target; + break; + } + + // optional string target = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_target: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_target())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->target().data(), this->target().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CDOTAUserMsg_BotChat::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->player_id(), output); + } + + // optional string format = 2; + if (has_format()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->format().data(), this->format().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->format(), output); + } + + // optional string message = 3; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->message(), output); + } + + // optional string target = 4; + if (has_target()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->target().data(), this->target().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 4, this->target(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_BotChat::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->player_id(), target); + } + + // optional string format = 2; + if (has_format()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->format().data(), this->format().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->format(), target); + } + + // optional string message = 3; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->message(), target); + } + + // optional string target = 4; + if (has_target()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->target().data(), this->target().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->target(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_BotChat::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 player_id = 1; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->player_id()); + } + + // optional string format = 2; + if (has_format()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->format()); + } + + // optional string message = 3; + if (has_message()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + // optional string target = 4; + if (has_target()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->target()); + } + + } + 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 CDOTAUserMsg_BotChat::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_BotChat* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_BotChat::MergeFrom(const CDOTAUserMsg_BotChat& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + if (from.has_format()) { + set_format(from.format()); + } + if (from.has_message()) { + set_message(from.message()); + } + if (from.has_target()) { + set_target(from.target()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_BotChat::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_BotChat::CopyFrom(const CDOTAUserMsg_BotChat& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_BotChat::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_BotChat::Swap(CDOTAUserMsg_BotChat* other) { + if (other != this) { + std::swap(player_id_, other->player_id_); + std::swap(format_, other->format_); + std::swap(message_, other->message_); + std::swap(target_, other->target_); + 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 CDOTAUserMsg_BotChat::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_BotChat_descriptor_; + metadata.reflection = CDOTAUserMsg_BotChat_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_CombatHeroPositions::kIndexFieldNumber; +const int CDOTAUserMsg_CombatHeroPositions::kTimeFieldNumber; +const int CDOTAUserMsg_CombatHeroPositions::kWorldPosFieldNumber; +const int CDOTAUserMsg_CombatHeroPositions::kHealthFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_CombatHeroPositions::CDOTAUserMsg_CombatHeroPositions() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_CombatHeroPositions::InitAsDefaultInstance() { + world_pos_ = const_cast< ::CMsgVector2D*>(&::CMsgVector2D::default_instance()); +} + +CDOTAUserMsg_CombatHeroPositions::CDOTAUserMsg_CombatHeroPositions(const CDOTAUserMsg_CombatHeroPositions& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_CombatHeroPositions::SharedCtor() { + _cached_size_ = 0; + index_ = 0u; + time_ = 0; + world_pos_ = NULL; + health_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_CombatHeroPositions::~CDOTAUserMsg_CombatHeroPositions() { + SharedDtor(); +} + +void CDOTAUserMsg_CombatHeroPositions::SharedDtor() { + if (this != default_instance_) { + delete world_pos_; + } +} + +void CDOTAUserMsg_CombatHeroPositions::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_CombatHeroPositions::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_CombatHeroPositions_descriptor_; +} + +const CDOTAUserMsg_CombatHeroPositions& CDOTAUserMsg_CombatHeroPositions::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_CombatHeroPositions* CDOTAUserMsg_CombatHeroPositions::default_instance_ = NULL; + +CDOTAUserMsg_CombatHeroPositions* CDOTAUserMsg_CombatHeroPositions::New() const { + return new CDOTAUserMsg_CombatHeroPositions; +} + +void CDOTAUserMsg_CombatHeroPositions::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + index_ = 0u; + time_ = 0; + if (has_world_pos()) { + if (world_pos_ != NULL) world_pos_->::CMsgVector2D::Clear(); + } + health_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_CombatHeroPositions::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 uint32 index = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &index_))); + set_has_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_time; + break; + } + + // optional int32 time = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &time_))); + set_has_time(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_world_pos; + break; + } + + // optional .CMsgVector2D world_pos = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_world_pos: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_world_pos())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_health; + break; + } + + // optional int32 health = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_health: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &health_))); + set_has_health(); + } 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 CDOTAUserMsg_CombatHeroPositions::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 index = 1; + if (has_index()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->index(), output); + } + + // optional int32 time = 2; + if (has_time()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->time(), output); + } + + // optional .CMsgVector2D world_pos = 3; + if (has_world_pos()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->world_pos(), output); + } + + // optional int32 health = 4; + if (has_health()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->health(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_CombatHeroPositions::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 index = 1; + if (has_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->index(), target); + } + + // optional int32 time = 2; + if (has_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->time(), target); + } + + // optional .CMsgVector2D world_pos = 3; + if (has_world_pos()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->world_pos(), target); + } + + // optional int32 health = 4; + if (has_health()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->health(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_CombatHeroPositions::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 index = 1; + if (has_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->index()); + } + + // optional int32 time = 2; + if (has_time()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->time()); + } + + // optional .CMsgVector2D world_pos = 3; + if (has_world_pos()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->world_pos()); + } + + // optional int32 health = 4; + if (has_health()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->health()); + } + + } + 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 CDOTAUserMsg_CombatHeroPositions::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_CombatHeroPositions* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_CombatHeroPositions::MergeFrom(const CDOTAUserMsg_CombatHeroPositions& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_index()) { + set_index(from.index()); + } + if (from.has_time()) { + set_time(from.time()); + } + if (from.has_world_pos()) { + mutable_world_pos()->::CMsgVector2D::MergeFrom(from.world_pos()); + } + if (from.has_health()) { + set_health(from.health()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_CombatHeroPositions::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_CombatHeroPositions::CopyFrom(const CDOTAUserMsg_CombatHeroPositions& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_CombatHeroPositions::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_CombatHeroPositions::Swap(CDOTAUserMsg_CombatHeroPositions* other) { + if (other != this) { + std::swap(index_, other->index_); + std::swap(time_, other->time_); + std::swap(world_pos_, other->world_pos_); + std::swap(health_, other->health_); + 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 CDOTAUserMsg_CombatHeroPositions::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_CombatHeroPositions_descriptor_; + metadata.reflection = CDOTAUserMsg_CombatHeroPositions_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::kAbilityFieldNumber; +const int CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::kDamageFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::InitAsDefaultInstance() { +} + +CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability(const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::SharedCtor() { + _cached_size_ = 0; + ability_ = 0u; + damage_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::~CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability() { + SharedDtor(); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor_; +} + +const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::default_instance_ = NULL; + +CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::New() const { + return new CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability; +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + ability_ = 0u; + damage_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::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 uint32 ability = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &ability_))); + set_has_ability(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_damage; + break; + } + + // optional int32 damage = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_damage: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &damage_))); + set_has_damage(); + } 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 CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 ability = 1; + if (has_ability()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->ability(), output); + } + + // optional int32 damage = 2; + if (has_damage()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->damage(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 ability = 1; + if (has_ability()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->ability(), target); + } + + // optional int32 damage = 2; + if (has_damage()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->damage(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 ability = 1; + if (has_ability()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->ability()); + } + + // optional int32 damage = 2; + if (has_damage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->damage()); + } + + } + 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 CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::MergeFrom(const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_ability()) { + set_ability(from.ability()); + } + if (from.has_damage()) { + set_damage(from.damage()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::CopyFrom(const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::Swap(CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* other) { + if (other != this) { + std::swap(ability_, other->ability_); + std::swap(damage_, other->damage_); + 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 CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor_; + metadata.reflection = CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_MiniKillCamInfo_Attacker::kAttackerFieldNumber; +const int CDOTAUserMsg_MiniKillCamInfo_Attacker::kTotalDamageFieldNumber; +const int CDOTAUserMsg_MiniKillCamInfo_Attacker::kAbilitiesFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_MiniKillCamInfo_Attacker::CDOTAUserMsg_MiniKillCamInfo_Attacker() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::InitAsDefaultInstance() { +} + +CDOTAUserMsg_MiniKillCamInfo_Attacker::CDOTAUserMsg_MiniKillCamInfo_Attacker(const CDOTAUserMsg_MiniKillCamInfo_Attacker& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::SharedCtor() { + _cached_size_ = 0; + attacker_ = 0u; + total_damage_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_MiniKillCamInfo_Attacker::~CDOTAUserMsg_MiniKillCamInfo_Attacker() { + SharedDtor(); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_MiniKillCamInfo_Attacker::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor_; +} + +const CDOTAUserMsg_MiniKillCamInfo_Attacker& CDOTAUserMsg_MiniKillCamInfo_Attacker::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_MiniKillCamInfo_Attacker* CDOTAUserMsg_MiniKillCamInfo_Attacker::default_instance_ = NULL; + +CDOTAUserMsg_MiniKillCamInfo_Attacker* CDOTAUserMsg_MiniKillCamInfo_Attacker::New() const { + return new CDOTAUserMsg_MiniKillCamInfo_Attacker; +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + attacker_ = 0u; + total_damage_ = 0; + } + abilities_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_MiniKillCamInfo_Attacker::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 uint32 attacker = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &attacker_))); + set_has_attacker(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_total_damage; + break; + } + + // optional int32 total_damage = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_total_damage: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &total_damage_))); + set_has_total_damage(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_abilities; + break; + } + + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_abilities: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_abilities())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_abilities; + 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 CDOTAUserMsg_MiniKillCamInfo_Attacker::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 attacker = 1; + if (has_attacker()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->attacker(), output); + } + + // optional int32 total_damage = 2; + if (has_total_damage()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->total_damage(), output); + } + + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3; + for (int i = 0; i < this->abilities_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->abilities(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_MiniKillCamInfo_Attacker::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 attacker = 1; + if (has_attacker()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->attacker(), target); + } + + // optional int32 total_damage = 2; + if (has_total_damage()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->total_damage(), target); + } + + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3; + for (int i = 0; i < this->abilities_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->abilities(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_MiniKillCamInfo_Attacker::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 attacker = 1; + if (has_attacker()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->attacker()); + } + + // optional int32 total_damage = 2; + if (has_total_damage()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->total_damage()); + } + + } + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3; + total_size += 1 * this->abilities_size(); + for (int i = 0; i < this->abilities_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->abilities(i)); + } + + 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 CDOTAUserMsg_MiniKillCamInfo_Attacker::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_MiniKillCamInfo_Attacker* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::MergeFrom(const CDOTAUserMsg_MiniKillCamInfo_Attacker& from) { + GOOGLE_CHECK_NE(&from, this); + abilities_.MergeFrom(from.abilities_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_attacker()) { + set_attacker(from.attacker()); + } + if (from.has_total_damage()) { + set_total_damage(from.total_damage()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::CopyFrom(const CDOTAUserMsg_MiniKillCamInfo_Attacker& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_MiniKillCamInfo_Attacker::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_MiniKillCamInfo_Attacker::Swap(CDOTAUserMsg_MiniKillCamInfo_Attacker* other) { + if (other != this) { + std::swap(attacker_, other->attacker_); + std::swap(total_damage_, other->total_damage_); + abilities_.Swap(&other->abilities_); + 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 CDOTAUserMsg_MiniKillCamInfo_Attacker::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor_; + metadata.reflection = CDOTAUserMsg_MiniKillCamInfo_Attacker_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_MiniKillCamInfo::kAttackersFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_MiniKillCamInfo::CDOTAUserMsg_MiniKillCamInfo() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_MiniKillCamInfo::InitAsDefaultInstance() { +} + +CDOTAUserMsg_MiniKillCamInfo::CDOTAUserMsg_MiniKillCamInfo(const CDOTAUserMsg_MiniKillCamInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_MiniKillCamInfo::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_MiniKillCamInfo::~CDOTAUserMsg_MiniKillCamInfo() { + SharedDtor(); +} + +void CDOTAUserMsg_MiniKillCamInfo::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_MiniKillCamInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_MiniKillCamInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_MiniKillCamInfo_descriptor_; +} + +const CDOTAUserMsg_MiniKillCamInfo& CDOTAUserMsg_MiniKillCamInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_MiniKillCamInfo* CDOTAUserMsg_MiniKillCamInfo::default_instance_ = NULL; + +CDOTAUserMsg_MiniKillCamInfo* CDOTAUserMsg_MiniKillCamInfo::New() const { + return new CDOTAUserMsg_MiniKillCamInfo; +} + +void CDOTAUserMsg_MiniKillCamInfo::Clear() { + attackers_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_MiniKillCamInfo::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)) { + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_attackers: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_attackers())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(10)) goto parse_attackers; + 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 CDOTAUserMsg_MiniKillCamInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1; + for (int i = 0; i < this->attackers_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->attackers(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_MiniKillCamInfo::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1; + for (int i = 0; i < this->attackers_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->attackers(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_MiniKillCamInfo::ByteSize() const { + int total_size = 0; + + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1; + total_size += 1 * this->attackers_size(); + for (int i = 0; i < this->attackers_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->attackers(i)); + } + + 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 CDOTAUserMsg_MiniKillCamInfo::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_MiniKillCamInfo* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_MiniKillCamInfo::MergeFrom(const CDOTAUserMsg_MiniKillCamInfo& from) { + GOOGLE_CHECK_NE(&from, this); + attackers_.MergeFrom(from.attackers_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_MiniKillCamInfo::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_MiniKillCamInfo::CopyFrom(const CDOTAUserMsg_MiniKillCamInfo& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_MiniKillCamInfo::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_MiniKillCamInfo::Swap(CDOTAUserMsg_MiniKillCamInfo* other) { + if (other != this) { + attackers_.Swap(&other->attackers_); + 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 CDOTAUserMsg_MiniKillCamInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_MiniKillCamInfo_descriptor_; + metadata.reflection = CDOTAUserMsg_MiniKillCamInfo_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_GlobalLightColor::kColorFieldNumber; +const int CDOTAUserMsg_GlobalLightColor::kDurationFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_GlobalLightColor::CDOTAUserMsg_GlobalLightColor() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_GlobalLightColor::InitAsDefaultInstance() { +} + +CDOTAUserMsg_GlobalLightColor::CDOTAUserMsg_GlobalLightColor(const CDOTAUserMsg_GlobalLightColor& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_GlobalLightColor::SharedCtor() { + _cached_size_ = 0; + color_ = 0u; + duration_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_GlobalLightColor::~CDOTAUserMsg_GlobalLightColor() { + SharedDtor(); +} + +void CDOTAUserMsg_GlobalLightColor::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_GlobalLightColor::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_GlobalLightColor::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_GlobalLightColor_descriptor_; +} + +const CDOTAUserMsg_GlobalLightColor& CDOTAUserMsg_GlobalLightColor::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_GlobalLightColor* CDOTAUserMsg_GlobalLightColor::default_instance_ = NULL; + +CDOTAUserMsg_GlobalLightColor* CDOTAUserMsg_GlobalLightColor::New() const { + return new CDOTAUserMsg_GlobalLightColor; +} + +void CDOTAUserMsg_GlobalLightColor::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + color_ = 0u; + duration_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_GlobalLightColor::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 uint32 color = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &color_))); + set_has_color(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_duration; + break; + } + + // optional float duration = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_duration: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &duration_))); + set_has_duration(); + } 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 CDOTAUserMsg_GlobalLightColor::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 color = 1; + if (has_color()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->color(), output); + } + + // optional float duration = 2; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->duration(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_GlobalLightColor::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 color = 1; + if (has_color()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->color(), target); + } + + // optional float duration = 2; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->duration(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_GlobalLightColor::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 color = 1; + if (has_color()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->color()); + } + + // optional float duration = 2; + if (has_duration()) { + total_size += 1 + 4; + } + + } + 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 CDOTAUserMsg_GlobalLightColor::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_GlobalLightColor* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_GlobalLightColor::MergeFrom(const CDOTAUserMsg_GlobalLightColor& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_color()) { + set_color(from.color()); + } + if (from.has_duration()) { + set_duration(from.duration()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_GlobalLightColor::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_GlobalLightColor::CopyFrom(const CDOTAUserMsg_GlobalLightColor& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_GlobalLightColor::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_GlobalLightColor::Swap(CDOTAUserMsg_GlobalLightColor* other) { + if (other != this) { + std::swap(color_, other->color_); + std::swap(duration_, other->duration_); + 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 CDOTAUserMsg_GlobalLightColor::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_GlobalLightColor_descriptor_; + metadata.reflection = CDOTAUserMsg_GlobalLightColor_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_GlobalLightDirection::kDirectionFieldNumber; +const int CDOTAUserMsg_GlobalLightDirection::kDurationFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_GlobalLightDirection::CDOTAUserMsg_GlobalLightDirection() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_GlobalLightDirection::InitAsDefaultInstance() { + direction_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_GlobalLightDirection::CDOTAUserMsg_GlobalLightDirection(const CDOTAUserMsg_GlobalLightDirection& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_GlobalLightDirection::SharedCtor() { + _cached_size_ = 0; + direction_ = NULL; + duration_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_GlobalLightDirection::~CDOTAUserMsg_GlobalLightDirection() { + SharedDtor(); +} + +void CDOTAUserMsg_GlobalLightDirection::SharedDtor() { + if (this != default_instance_) { + delete direction_; + } +} + +void CDOTAUserMsg_GlobalLightDirection::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_GlobalLightDirection::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_GlobalLightDirection_descriptor_; +} + +const CDOTAUserMsg_GlobalLightDirection& CDOTAUserMsg_GlobalLightDirection::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_GlobalLightDirection* CDOTAUserMsg_GlobalLightDirection::default_instance_ = NULL; + +CDOTAUserMsg_GlobalLightDirection* CDOTAUserMsg_GlobalLightDirection::New() const { + return new CDOTAUserMsg_GlobalLightDirection; +} + +void CDOTAUserMsg_GlobalLightDirection::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_direction()) { + if (direction_ != NULL) direction_->::CMsgVector::Clear(); + } + duration_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_GlobalLightDirection::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 .CMsgVector direction = 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_direction())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_duration; + break; + } + + // optional float duration = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_duration: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &duration_))); + set_has_duration(); + } 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 CDOTAUserMsg_GlobalLightDirection::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .CMsgVector direction = 1; + if (has_direction()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->direction(), output); + } + + // optional float duration = 2; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->duration(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_GlobalLightDirection::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .CMsgVector direction = 1; + if (has_direction()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->direction(), target); + } + + // optional float duration = 2; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->duration(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_GlobalLightDirection::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .CMsgVector direction = 1; + if (has_direction()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->direction()); + } + + // optional float duration = 2; + if (has_duration()) { + total_size += 1 + 4; + } + + } + 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 CDOTAUserMsg_GlobalLightDirection::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_GlobalLightDirection* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_GlobalLightDirection::MergeFrom(const CDOTAUserMsg_GlobalLightDirection& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_direction()) { + mutable_direction()->::CMsgVector::MergeFrom(from.direction()); + } + if (from.has_duration()) { + set_duration(from.duration()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_GlobalLightDirection::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_GlobalLightDirection::CopyFrom(const CDOTAUserMsg_GlobalLightDirection& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_GlobalLightDirection::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_GlobalLightDirection::Swap(CDOTAUserMsg_GlobalLightDirection* other) { + if (other != this) { + std::swap(direction_, other->direction_); + std::swap(duration_, other->duration_); + 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 CDOTAUserMsg_GlobalLightDirection::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_GlobalLightDirection_descriptor_; + metadata.reflection = CDOTAUserMsg_GlobalLightDirection_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_LocationPing::kPlayerIdFieldNumber; +const int CDOTAUserMsg_LocationPing::kLocationPingFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_LocationPing::CDOTAUserMsg_LocationPing() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_LocationPing::InitAsDefaultInstance() { + location_ping_ = const_cast< ::CDOTAMsg_LocationPing*>(&::CDOTAMsg_LocationPing::default_instance()); +} + +CDOTAUserMsg_LocationPing::CDOTAUserMsg_LocationPing(const CDOTAUserMsg_LocationPing& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_LocationPing::SharedCtor() { + _cached_size_ = 0; + player_id_ = 0u; + location_ping_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_LocationPing::~CDOTAUserMsg_LocationPing() { + SharedDtor(); +} + +void CDOTAUserMsg_LocationPing::SharedDtor() { + if (this != default_instance_) { + delete location_ping_; + } +} + +void CDOTAUserMsg_LocationPing::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_LocationPing::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_LocationPing_descriptor_; +} + +const CDOTAUserMsg_LocationPing& CDOTAUserMsg_LocationPing::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_LocationPing* CDOTAUserMsg_LocationPing::default_instance_ = NULL; + +CDOTAUserMsg_LocationPing* CDOTAUserMsg_LocationPing::New() const { + return new CDOTAUserMsg_LocationPing; +} + +void CDOTAUserMsg_LocationPing::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_id_ = 0u; + if (has_location_ping()) { + if (location_ping_ != NULL) location_ping_->::CDOTAMsg_LocationPing::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_LocationPing::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 uint32 player_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &player_id_))); + set_has_player_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_location_ping; + break; + } + + // optional .CDOTAMsg_LocationPing location_ping = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_location_ping: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_location_ping())); + } 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 CDOTAUserMsg_LocationPing::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->player_id(), output); + } + + // optional .CDOTAMsg_LocationPing location_ping = 2; + if (has_location_ping()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->location_ping(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_LocationPing::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->player_id(), target); + } + + // optional .CDOTAMsg_LocationPing location_ping = 2; + if (has_location_ping()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->location_ping(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_LocationPing::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 player_id = 1; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->player_id()); + } + + // optional .CDOTAMsg_LocationPing location_ping = 2; + if (has_location_ping()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->location_ping()); + } + + } + 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 CDOTAUserMsg_LocationPing::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_LocationPing* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_LocationPing::MergeFrom(const CDOTAUserMsg_LocationPing& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + if (from.has_location_ping()) { + mutable_location_ping()->::CDOTAMsg_LocationPing::MergeFrom(from.location_ping()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_LocationPing::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_LocationPing::CopyFrom(const CDOTAUserMsg_LocationPing& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_LocationPing::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_LocationPing::Swap(CDOTAUserMsg_LocationPing* other) { + if (other != this) { + std::swap(player_id_, other->player_id_); + std::swap(location_ping_, other->location_ping_); + 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 CDOTAUserMsg_LocationPing::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_LocationPing_descriptor_; + metadata.reflection = CDOTAUserMsg_LocationPing_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_ItemAlert::kPlayerIdFieldNumber; +const int CDOTAUserMsg_ItemAlert::kItemAlertFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ItemAlert::CDOTAUserMsg_ItemAlert() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ItemAlert::InitAsDefaultInstance() { + item_alert_ = const_cast< ::CDOTAMsg_ItemAlert*>(&::CDOTAMsg_ItemAlert::default_instance()); +} + +CDOTAUserMsg_ItemAlert::CDOTAUserMsg_ItemAlert(const CDOTAUserMsg_ItemAlert& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ItemAlert::SharedCtor() { + _cached_size_ = 0; + player_id_ = 0u; + item_alert_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ItemAlert::~CDOTAUserMsg_ItemAlert() { + SharedDtor(); +} + +void CDOTAUserMsg_ItemAlert::SharedDtor() { + if (this != default_instance_) { + delete item_alert_; + } +} + +void CDOTAUserMsg_ItemAlert::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ItemAlert::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ItemAlert_descriptor_; +} + +const CDOTAUserMsg_ItemAlert& CDOTAUserMsg_ItemAlert::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ItemAlert* CDOTAUserMsg_ItemAlert::default_instance_ = NULL; + +CDOTAUserMsg_ItemAlert* CDOTAUserMsg_ItemAlert::New() const { + return new CDOTAUserMsg_ItemAlert; +} + +void CDOTAUserMsg_ItemAlert::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_id_ = 0u; + if (has_item_alert()) { + if (item_alert_ != NULL) item_alert_->::CDOTAMsg_ItemAlert::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ItemAlert::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 uint32 player_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &player_id_))); + set_has_player_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_item_alert; + break; + } + + // optional .CDOTAMsg_ItemAlert item_alert = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_item_alert: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_item_alert())); + } 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 CDOTAUserMsg_ItemAlert::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->player_id(), output); + } + + // optional .CDOTAMsg_ItemAlert item_alert = 2; + if (has_item_alert()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->item_alert(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ItemAlert::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->player_id(), target); + } + + // optional .CDOTAMsg_ItemAlert item_alert = 2; + if (has_item_alert()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->item_alert(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ItemAlert::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 player_id = 1; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->player_id()); + } + + // optional .CDOTAMsg_ItemAlert item_alert = 2; + if (has_item_alert()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->item_alert()); + } + + } + 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 CDOTAUserMsg_ItemAlert::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ItemAlert* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ItemAlert::MergeFrom(const CDOTAUserMsg_ItemAlert& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + if (from.has_item_alert()) { + mutable_item_alert()->::CDOTAMsg_ItemAlert::MergeFrom(from.item_alert()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ItemAlert::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ItemAlert::CopyFrom(const CDOTAUserMsg_ItemAlert& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ItemAlert::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ItemAlert::Swap(CDOTAUserMsg_ItemAlert* other) { + if (other != this) { + std::swap(player_id_, other->player_id_); + std::swap(item_alert_, other->item_alert_); + 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 CDOTAUserMsg_ItemAlert::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ItemAlert_descriptor_; + metadata.reflection = CDOTAUserMsg_ItemAlert_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_MinimapEvent::kEventTypeFieldNumber; +const int CDOTAUserMsg_MinimapEvent::kEntityHandleFieldNumber; +const int CDOTAUserMsg_MinimapEvent::kXFieldNumber; +const int CDOTAUserMsg_MinimapEvent::kYFieldNumber; +const int CDOTAUserMsg_MinimapEvent::kDurationFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_MinimapEvent::CDOTAUserMsg_MinimapEvent() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_MinimapEvent::InitAsDefaultInstance() { +} + +CDOTAUserMsg_MinimapEvent::CDOTAUserMsg_MinimapEvent(const CDOTAUserMsg_MinimapEvent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_MinimapEvent::SharedCtor() { + _cached_size_ = 0; + event_type_ = 0; + entity_handle_ = 0; + x_ = 0; + y_ = 0; + duration_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_MinimapEvent::~CDOTAUserMsg_MinimapEvent() { + SharedDtor(); +} + +void CDOTAUserMsg_MinimapEvent::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_MinimapEvent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_MinimapEvent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_MinimapEvent_descriptor_; +} + +const CDOTAUserMsg_MinimapEvent& CDOTAUserMsg_MinimapEvent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_MinimapEvent* CDOTAUserMsg_MinimapEvent::default_instance_ = NULL; + +CDOTAUserMsg_MinimapEvent* CDOTAUserMsg_MinimapEvent::New() const { + return new CDOTAUserMsg_MinimapEvent; +} + +void CDOTAUserMsg_MinimapEvent::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + event_type_ = 0; + entity_handle_ = 0; + x_ = 0; + y_ = 0; + duration_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_MinimapEvent::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 int32 event_type = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &event_type_))); + set_has_event_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_entity_handle; + break; + } + + // optional int32 entity_handle = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entity_handle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_handle_))); + set_has_entity_handle(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_x; + break; + } + + // optional int32 x = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_x: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_y; + break; + } + + // optional int32 y = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &y_))); + set_has_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_duration; + break; + } + + // optional int32 duration = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_duration: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &duration_))); + set_has_duration(); + } 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 CDOTAUserMsg_MinimapEvent::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 event_type = 1; + if (has_event_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->event_type(), output); + } + + // optional int32 entity_handle = 2; + if (has_entity_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->entity_handle(), output); + } + + // optional int32 x = 3; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->x(), output); + } + + // optional int32 y = 4; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->y(), output); + } + + // optional int32 duration = 5; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->duration(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_MinimapEvent::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 event_type = 1; + if (has_event_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->event_type(), target); + } + + // optional int32 entity_handle = 2; + if (has_entity_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->entity_handle(), target); + } + + // optional int32 x = 3; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->x(), target); + } + + // optional int32 y = 4; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->y(), target); + } + + // optional int32 duration = 5; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->duration(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_MinimapEvent::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 event_type = 1; + if (has_event_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->event_type()); + } + + // optional int32 entity_handle = 2; + if (has_entity_handle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_handle()); + } + + // optional int32 x = 3; + if (has_x()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->x()); + } + + // optional int32 y = 4; + if (has_y()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->y()); + } + + // optional int32 duration = 5; + if (has_duration()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->duration()); + } + + } + 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 CDOTAUserMsg_MinimapEvent::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_MinimapEvent* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_MinimapEvent::MergeFrom(const CDOTAUserMsg_MinimapEvent& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_event_type()) { + set_event_type(from.event_type()); + } + if (from.has_entity_handle()) { + set_entity_handle(from.entity_handle()); + } + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + if (from.has_duration()) { + set_duration(from.duration()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_MinimapEvent::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_MinimapEvent::CopyFrom(const CDOTAUserMsg_MinimapEvent& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_MinimapEvent::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_MinimapEvent::Swap(CDOTAUserMsg_MinimapEvent* other) { + if (other != this) { + std::swap(event_type_, other->event_type_); + std::swap(entity_handle_, other->entity_handle_); + std::swap(x_, other->x_); + std::swap(y_, other->y_); + std::swap(duration_, other->duration_); + 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 CDOTAUserMsg_MinimapEvent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_MinimapEvent_descriptor_; + metadata.reflection = CDOTAUserMsg_MinimapEvent_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_MapLine::kPlayerIdFieldNumber; +const int CDOTAUserMsg_MapLine::kMaplineFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_MapLine::CDOTAUserMsg_MapLine() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_MapLine::InitAsDefaultInstance() { + mapline_ = const_cast< ::CDOTAMsg_MapLine*>(&::CDOTAMsg_MapLine::default_instance()); +} + +CDOTAUserMsg_MapLine::CDOTAUserMsg_MapLine(const CDOTAUserMsg_MapLine& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_MapLine::SharedCtor() { + _cached_size_ = 0; + player_id_ = 0; + mapline_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_MapLine::~CDOTAUserMsg_MapLine() { + SharedDtor(); +} + +void CDOTAUserMsg_MapLine::SharedDtor() { + if (this != default_instance_) { + delete mapline_; + } +} + +void CDOTAUserMsg_MapLine::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_MapLine::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_MapLine_descriptor_; +} + +const CDOTAUserMsg_MapLine& CDOTAUserMsg_MapLine::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_MapLine* CDOTAUserMsg_MapLine::default_instance_ = NULL; + +CDOTAUserMsg_MapLine* CDOTAUserMsg_MapLine::New() const { + return new CDOTAUserMsg_MapLine; +} + +void CDOTAUserMsg_MapLine::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_id_ = 0; + if (has_mapline()) { + if (mapline_ != NULL) mapline_->::CDOTAMsg_MapLine::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_MapLine::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 int32 player_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_id_))); + set_has_player_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_mapline; + break; + } + + // optional .CDOTAMsg_MapLine mapline = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_mapline: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_mapline())); + } 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 CDOTAUserMsg_MapLine::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 player_id = 1; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->player_id(), output); + } + + // optional .CDOTAMsg_MapLine mapline = 2; + if (has_mapline()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->mapline(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_MapLine::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 player_id = 1; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->player_id(), target); + } + + // optional .CDOTAMsg_MapLine mapline = 2; + if (has_mapline()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->mapline(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_MapLine::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 player_id = 1; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player_id()); + } + + // optional .CDOTAMsg_MapLine mapline = 2; + if (has_mapline()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->mapline()); + } + + } + 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 CDOTAUserMsg_MapLine::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_MapLine* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_MapLine::MergeFrom(const CDOTAUserMsg_MapLine& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + if (from.has_mapline()) { + mutable_mapline()->::CDOTAMsg_MapLine::MergeFrom(from.mapline()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_MapLine::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_MapLine::CopyFrom(const CDOTAUserMsg_MapLine& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_MapLine::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_MapLine::Swap(CDOTAUserMsg_MapLine* other) { + if (other != this) { + std::swap(player_id_, other->player_id_); + std::swap(mapline_, other->mapline_); + 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 CDOTAUserMsg_MapLine::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_MapLine_descriptor_; + metadata.reflection = CDOTAUserMsg_MapLine_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_MinimapDebugPoint::kLocationFieldNumber; +const int CDOTAUserMsg_MinimapDebugPoint::kColorFieldNumber; +const int CDOTAUserMsg_MinimapDebugPoint::kSizeFieldNumber; +const int CDOTAUserMsg_MinimapDebugPoint::kDurationFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_MinimapDebugPoint::CDOTAUserMsg_MinimapDebugPoint() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_MinimapDebugPoint::InitAsDefaultInstance() { + location_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_MinimapDebugPoint::CDOTAUserMsg_MinimapDebugPoint(const CDOTAUserMsg_MinimapDebugPoint& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_MinimapDebugPoint::SharedCtor() { + _cached_size_ = 0; + location_ = NULL; + color_ = 0u; + size_ = 0; + duration_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_MinimapDebugPoint::~CDOTAUserMsg_MinimapDebugPoint() { + SharedDtor(); +} + +void CDOTAUserMsg_MinimapDebugPoint::SharedDtor() { + if (this != default_instance_) { + delete location_; + } +} + +void CDOTAUserMsg_MinimapDebugPoint::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_MinimapDebugPoint::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_MinimapDebugPoint_descriptor_; +} + +const CDOTAUserMsg_MinimapDebugPoint& CDOTAUserMsg_MinimapDebugPoint::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_MinimapDebugPoint* CDOTAUserMsg_MinimapDebugPoint::default_instance_ = NULL; + +CDOTAUserMsg_MinimapDebugPoint* CDOTAUserMsg_MinimapDebugPoint::New() const { + return new CDOTAUserMsg_MinimapDebugPoint; +} + +void CDOTAUserMsg_MinimapDebugPoint::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_location()) { + if (location_ != NULL) location_->::CMsgVector::Clear(); + } + color_ = 0u; + size_ = 0; + duration_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_MinimapDebugPoint::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 .CMsgVector location = 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_location())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_color; + break; + } + + // optional uint32 color = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_color: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &color_))); + set_has_color(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_size; + break; + } + + // optional int32 size = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_size: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &size_))); + set_has_size(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(37)) goto parse_duration; + break; + } + + // optional float duration = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_duration: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &duration_))); + set_has_duration(); + } 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 CDOTAUserMsg_MinimapDebugPoint::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .CMsgVector location = 1; + if (has_location()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->location(), output); + } + + // optional uint32 color = 2; + if (has_color()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->color(), output); + } + + // optional int32 size = 3; + if (has_size()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->size(), output); + } + + // optional float duration = 4; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->duration(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_MinimapDebugPoint::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .CMsgVector location = 1; + if (has_location()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->location(), target); + } + + // optional uint32 color = 2; + if (has_color()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->color(), target); + } + + // optional int32 size = 3; + if (has_size()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->size(), target); + } + + // optional float duration = 4; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->duration(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_MinimapDebugPoint::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .CMsgVector location = 1; + if (has_location()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->location()); + } + + // optional uint32 color = 2; + if (has_color()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->color()); + } + + // optional int32 size = 3; + if (has_size()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->size()); + } + + // optional float duration = 4; + if (has_duration()) { + total_size += 1 + 4; + } + + } + 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 CDOTAUserMsg_MinimapDebugPoint::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_MinimapDebugPoint* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_MinimapDebugPoint::MergeFrom(const CDOTAUserMsg_MinimapDebugPoint& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_location()) { + mutable_location()->::CMsgVector::MergeFrom(from.location()); + } + if (from.has_color()) { + set_color(from.color()); + } + if (from.has_size()) { + set_size(from.size()); + } + if (from.has_duration()) { + set_duration(from.duration()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_MinimapDebugPoint::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_MinimapDebugPoint::CopyFrom(const CDOTAUserMsg_MinimapDebugPoint& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_MinimapDebugPoint::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_MinimapDebugPoint::Swap(CDOTAUserMsg_MinimapDebugPoint* other) { + if (other != this) { + std::swap(location_, other->location_); + std::swap(color_, other->color_); + std::swap(size_, other->size_); + std::swap(duration_, other->duration_); + 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 CDOTAUserMsg_MinimapDebugPoint::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_MinimapDebugPoint_descriptor_; + metadata.reflection = CDOTAUserMsg_MinimapDebugPoint_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_CreateLinearProjectile::kOriginFieldNumber; +const int CDOTAUserMsg_CreateLinearProjectile::kVelocityFieldNumber; +const int CDOTAUserMsg_CreateLinearProjectile::kLatencyFieldNumber; +const int CDOTAUserMsg_CreateLinearProjectile::kEntindexFieldNumber; +const int CDOTAUserMsg_CreateLinearProjectile::kParticleIndexFieldNumber; +const int CDOTAUserMsg_CreateLinearProjectile::kHandleFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_CreateLinearProjectile::CDOTAUserMsg_CreateLinearProjectile() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_CreateLinearProjectile::InitAsDefaultInstance() { + origin_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); + velocity_ = const_cast< ::CMsgVector2D*>(&::CMsgVector2D::default_instance()); +} + +CDOTAUserMsg_CreateLinearProjectile::CDOTAUserMsg_CreateLinearProjectile(const CDOTAUserMsg_CreateLinearProjectile& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_CreateLinearProjectile::SharedCtor() { + _cached_size_ = 0; + origin_ = NULL; + velocity_ = NULL; + latency_ = 0; + entindex_ = 0; + particle_index_ = 0; + handle_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_CreateLinearProjectile::~CDOTAUserMsg_CreateLinearProjectile() { + SharedDtor(); +} + +void CDOTAUserMsg_CreateLinearProjectile::SharedDtor() { + if (this != default_instance_) { + delete origin_; + delete velocity_; + } +} + +void CDOTAUserMsg_CreateLinearProjectile::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_CreateLinearProjectile::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_CreateLinearProjectile_descriptor_; +} + +const CDOTAUserMsg_CreateLinearProjectile& CDOTAUserMsg_CreateLinearProjectile::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_CreateLinearProjectile* CDOTAUserMsg_CreateLinearProjectile::default_instance_ = NULL; + +CDOTAUserMsg_CreateLinearProjectile* CDOTAUserMsg_CreateLinearProjectile::New() const { + return new CDOTAUserMsg_CreateLinearProjectile; +} + +void CDOTAUserMsg_CreateLinearProjectile::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_origin()) { + if (origin_ != NULL) origin_->::CMsgVector::Clear(); + } + if (has_velocity()) { + if (velocity_ != NULL) velocity_->::CMsgVector2D::Clear(); + } + latency_ = 0; + entindex_ = 0; + particle_index_ = 0; + handle_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_CreateLinearProjectile::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 .CMsgVector origin = 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_origin())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_velocity; + break; + } + + // optional .CMsgVector2D velocity = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_velocity: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_velocity())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_latency; + break; + } + + // optional int32 latency = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_latency: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &latency_))); + set_has_latency(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_entindex; + break; + } + + // optional int32 entindex = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entindex: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entindex_))); + set_has_entindex(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_particle_index; + break; + } + + // optional int32 particle_index = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_particle_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &particle_index_))); + set_has_particle_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_handle; + break; + } + + // optional int32 handle = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_handle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &handle_))); + set_has_handle(); + } 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 CDOTAUserMsg_CreateLinearProjectile::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .CMsgVector origin = 1; + if (has_origin()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->origin(), output); + } + + // optional .CMsgVector2D velocity = 2; + if (has_velocity()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->velocity(), output); + } + + // optional int32 latency = 3; + if (has_latency()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->latency(), output); + } + + // optional int32 entindex = 4; + if (has_entindex()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->entindex(), output); + } + + // optional int32 particle_index = 5; + if (has_particle_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->particle_index(), output); + } + + // optional int32 handle = 6; + if (has_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->handle(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_CreateLinearProjectile::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .CMsgVector origin = 1; + if (has_origin()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->origin(), target); + } + + // optional .CMsgVector2D velocity = 2; + if (has_velocity()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->velocity(), target); + } + + // optional int32 latency = 3; + if (has_latency()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->latency(), target); + } + + // optional int32 entindex = 4; + if (has_entindex()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->entindex(), target); + } + + // optional int32 particle_index = 5; + if (has_particle_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->particle_index(), target); + } + + // optional int32 handle = 6; + if (has_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->handle(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_CreateLinearProjectile::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .CMsgVector origin = 1; + if (has_origin()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->origin()); + } + + // optional .CMsgVector2D velocity = 2; + if (has_velocity()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->velocity()); + } + + // optional int32 latency = 3; + if (has_latency()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->latency()); + } + + // optional int32 entindex = 4; + if (has_entindex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entindex()); + } + + // optional int32 particle_index = 5; + if (has_particle_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->particle_index()); + } + + // optional int32 handle = 6; + if (has_handle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->handle()); + } + + } + 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 CDOTAUserMsg_CreateLinearProjectile::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_CreateLinearProjectile* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_CreateLinearProjectile::MergeFrom(const CDOTAUserMsg_CreateLinearProjectile& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_origin()) { + mutable_origin()->::CMsgVector::MergeFrom(from.origin()); + } + if (from.has_velocity()) { + mutable_velocity()->::CMsgVector2D::MergeFrom(from.velocity()); + } + if (from.has_latency()) { + set_latency(from.latency()); + } + if (from.has_entindex()) { + set_entindex(from.entindex()); + } + if (from.has_particle_index()) { + set_particle_index(from.particle_index()); + } + if (from.has_handle()) { + set_handle(from.handle()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_CreateLinearProjectile::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_CreateLinearProjectile::CopyFrom(const CDOTAUserMsg_CreateLinearProjectile& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_CreateLinearProjectile::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_CreateLinearProjectile::Swap(CDOTAUserMsg_CreateLinearProjectile* other) { + if (other != this) { + std::swap(origin_, other->origin_); + std::swap(velocity_, other->velocity_); + std::swap(latency_, other->latency_); + std::swap(entindex_, other->entindex_); + std::swap(particle_index_, other->particle_index_); + std::swap(handle_, other->handle_); + 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 CDOTAUserMsg_CreateLinearProjectile::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_CreateLinearProjectile_descriptor_; + metadata.reflection = CDOTAUserMsg_CreateLinearProjectile_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_DestroyLinearProjectile::kHandleFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_DestroyLinearProjectile::CDOTAUserMsg_DestroyLinearProjectile() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_DestroyLinearProjectile::InitAsDefaultInstance() { +} + +CDOTAUserMsg_DestroyLinearProjectile::CDOTAUserMsg_DestroyLinearProjectile(const CDOTAUserMsg_DestroyLinearProjectile& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_DestroyLinearProjectile::SharedCtor() { + _cached_size_ = 0; + handle_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_DestroyLinearProjectile::~CDOTAUserMsg_DestroyLinearProjectile() { + SharedDtor(); +} + +void CDOTAUserMsg_DestroyLinearProjectile::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_DestroyLinearProjectile::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_DestroyLinearProjectile::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_DestroyLinearProjectile_descriptor_; +} + +const CDOTAUserMsg_DestroyLinearProjectile& CDOTAUserMsg_DestroyLinearProjectile::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_DestroyLinearProjectile* CDOTAUserMsg_DestroyLinearProjectile::default_instance_ = NULL; + +CDOTAUserMsg_DestroyLinearProjectile* CDOTAUserMsg_DestroyLinearProjectile::New() const { + return new CDOTAUserMsg_DestroyLinearProjectile; +} + +void CDOTAUserMsg_DestroyLinearProjectile::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + handle_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_DestroyLinearProjectile::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 int32 handle = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &handle_))); + set_has_handle(); + } 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 CDOTAUserMsg_DestroyLinearProjectile::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 handle = 1; + if (has_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->handle(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_DestroyLinearProjectile::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 handle = 1; + if (has_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->handle(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_DestroyLinearProjectile::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 handle = 1; + if (has_handle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->handle()); + } + + } + 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 CDOTAUserMsg_DestroyLinearProjectile::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_DestroyLinearProjectile* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_DestroyLinearProjectile::MergeFrom(const CDOTAUserMsg_DestroyLinearProjectile& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_handle()) { + set_handle(from.handle()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_DestroyLinearProjectile::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_DestroyLinearProjectile::CopyFrom(const CDOTAUserMsg_DestroyLinearProjectile& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_DestroyLinearProjectile::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_DestroyLinearProjectile::Swap(CDOTAUserMsg_DestroyLinearProjectile* other) { + if (other != this) { + std::swap(handle_, other->handle_); + 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 CDOTAUserMsg_DestroyLinearProjectile::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_DestroyLinearProjectile_descriptor_; + metadata.reflection = CDOTAUserMsg_DestroyLinearProjectile_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_DodgeTrackingProjectiles::kEntindexFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_DodgeTrackingProjectiles::CDOTAUserMsg_DodgeTrackingProjectiles() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::InitAsDefaultInstance() { +} + +CDOTAUserMsg_DodgeTrackingProjectiles::CDOTAUserMsg_DodgeTrackingProjectiles(const CDOTAUserMsg_DodgeTrackingProjectiles& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::SharedCtor() { + _cached_size_ = 0; + entindex_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_DodgeTrackingProjectiles::~CDOTAUserMsg_DodgeTrackingProjectiles() { + SharedDtor(); +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_DodgeTrackingProjectiles::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_DodgeTrackingProjectiles_descriptor_; +} + +const CDOTAUserMsg_DodgeTrackingProjectiles& CDOTAUserMsg_DodgeTrackingProjectiles::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_DodgeTrackingProjectiles* CDOTAUserMsg_DodgeTrackingProjectiles::default_instance_ = NULL; + +CDOTAUserMsg_DodgeTrackingProjectiles* CDOTAUserMsg_DodgeTrackingProjectiles::New() const { + return new CDOTAUserMsg_DodgeTrackingProjectiles; +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + entindex_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_DodgeTrackingProjectiles::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)) { + // required int32 entindex = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entindex_))); + set_has_entindex(); + } 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 CDOTAUserMsg_DodgeTrackingProjectiles::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required int32 entindex = 1; + if (has_entindex()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entindex(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_DodgeTrackingProjectiles::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // required int32 entindex = 1; + if (has_entindex()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entindex(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_DodgeTrackingProjectiles::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required int32 entindex = 1; + if (has_entindex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entindex()); + } + + } + 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 CDOTAUserMsg_DodgeTrackingProjectiles::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_DodgeTrackingProjectiles* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::MergeFrom(const CDOTAUserMsg_DodgeTrackingProjectiles& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_entindex()) { + set_entindex(from.entindex()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::CopyFrom(const CDOTAUserMsg_DodgeTrackingProjectiles& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_DodgeTrackingProjectiles::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + return true; +} + +void CDOTAUserMsg_DodgeTrackingProjectiles::Swap(CDOTAUserMsg_DodgeTrackingProjectiles* other) { + if (other != this) { + std::swap(entindex_, other->entindex_); + 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 CDOTAUserMsg_DodgeTrackingProjectiles::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_DodgeTrackingProjectiles_descriptor_; + metadata.reflection = CDOTAUserMsg_DodgeTrackingProjectiles_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_SpectatorPlayerClick::kEntindexFieldNumber; +const int CDOTAUserMsg_SpectatorPlayerClick::kOrderTypeFieldNumber; +const int CDOTAUserMsg_SpectatorPlayerClick::kTargetIndexFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_SpectatorPlayerClick::CDOTAUserMsg_SpectatorPlayerClick() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_SpectatorPlayerClick::InitAsDefaultInstance() { +} + +CDOTAUserMsg_SpectatorPlayerClick::CDOTAUserMsg_SpectatorPlayerClick(const CDOTAUserMsg_SpectatorPlayerClick& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_SpectatorPlayerClick::SharedCtor() { + _cached_size_ = 0; + entindex_ = 0; + order_type_ = 0; + target_index_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_SpectatorPlayerClick::~CDOTAUserMsg_SpectatorPlayerClick() { + SharedDtor(); +} + +void CDOTAUserMsg_SpectatorPlayerClick::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_SpectatorPlayerClick::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_SpectatorPlayerClick::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_SpectatorPlayerClick_descriptor_; +} + +const CDOTAUserMsg_SpectatorPlayerClick& CDOTAUserMsg_SpectatorPlayerClick::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_SpectatorPlayerClick* CDOTAUserMsg_SpectatorPlayerClick::default_instance_ = NULL; + +CDOTAUserMsg_SpectatorPlayerClick* CDOTAUserMsg_SpectatorPlayerClick::New() const { + return new CDOTAUserMsg_SpectatorPlayerClick; +} + +void CDOTAUserMsg_SpectatorPlayerClick::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + entindex_ = 0; + order_type_ = 0; + target_index_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_SpectatorPlayerClick::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)) { + // required int32 entindex = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entindex_))); + set_has_entindex(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_order_type; + break; + } + + // optional int32 order_type = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_order_type: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &order_type_))); + set_has_order_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_target_index; + break; + } + + // optional int32 target_index = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_target_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &target_index_))); + set_has_target_index(); + } 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 CDOTAUserMsg_SpectatorPlayerClick::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required int32 entindex = 1; + if (has_entindex()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entindex(), output); + } + + // optional int32 order_type = 2; + if (has_order_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->order_type(), output); + } + + // optional int32 target_index = 3; + if (has_target_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->target_index(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_SpectatorPlayerClick::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // required int32 entindex = 1; + if (has_entindex()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entindex(), target); + } + + // optional int32 order_type = 2; + if (has_order_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->order_type(), target); + } + + // optional int32 target_index = 3; + if (has_target_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->target_index(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_SpectatorPlayerClick::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required int32 entindex = 1; + if (has_entindex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entindex()); + } + + // optional int32 order_type = 2; + if (has_order_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->order_type()); + } + + // optional int32 target_index = 3; + if (has_target_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->target_index()); + } + + } + 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 CDOTAUserMsg_SpectatorPlayerClick::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_SpectatorPlayerClick* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_SpectatorPlayerClick::MergeFrom(const CDOTAUserMsg_SpectatorPlayerClick& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_entindex()) { + set_entindex(from.entindex()); + } + if (from.has_order_type()) { + set_order_type(from.order_type()); + } + if (from.has_target_index()) { + set_target_index(from.target_index()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_SpectatorPlayerClick::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_SpectatorPlayerClick::CopyFrom(const CDOTAUserMsg_SpectatorPlayerClick& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_SpectatorPlayerClick::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + return true; +} + +void CDOTAUserMsg_SpectatorPlayerClick::Swap(CDOTAUserMsg_SpectatorPlayerClick* other) { + if (other != this) { + std::swap(entindex_, other->entindex_); + std::swap(order_type_, other->order_type_); + std::swap(target_index_, other->target_index_); + 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 CDOTAUserMsg_SpectatorPlayerClick::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_SpectatorPlayerClick_descriptor_; + metadata.reflection = CDOTAUserMsg_SpectatorPlayerClick_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_NevermoreRequiem::kEntityHandleFieldNumber; +const int CDOTAUserMsg_NevermoreRequiem::kLinesFieldNumber; +const int CDOTAUserMsg_NevermoreRequiem::kOriginFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_NevermoreRequiem::CDOTAUserMsg_NevermoreRequiem() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_NevermoreRequiem::InitAsDefaultInstance() { + origin_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_NevermoreRequiem::CDOTAUserMsg_NevermoreRequiem(const CDOTAUserMsg_NevermoreRequiem& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_NevermoreRequiem::SharedCtor() { + _cached_size_ = 0; + entity_handle_ = 0; + lines_ = 0; + origin_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_NevermoreRequiem::~CDOTAUserMsg_NevermoreRequiem() { + SharedDtor(); +} + +void CDOTAUserMsg_NevermoreRequiem::SharedDtor() { + if (this != default_instance_) { + delete origin_; + } +} + +void CDOTAUserMsg_NevermoreRequiem::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_NevermoreRequiem::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_NevermoreRequiem_descriptor_; +} + +const CDOTAUserMsg_NevermoreRequiem& CDOTAUserMsg_NevermoreRequiem::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_NevermoreRequiem* CDOTAUserMsg_NevermoreRequiem::default_instance_ = NULL; + +CDOTAUserMsg_NevermoreRequiem* CDOTAUserMsg_NevermoreRequiem::New() const { + return new CDOTAUserMsg_NevermoreRequiem; +} + +void CDOTAUserMsg_NevermoreRequiem::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + entity_handle_ = 0; + lines_ = 0; + if (has_origin()) { + if (origin_ != NULL) origin_->::CMsgVector::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_NevermoreRequiem::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 int32 entity_handle = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_handle_))); + set_has_entity_handle(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_lines; + break; + } + + // optional int32 lines = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_lines: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &lines_))); + set_has_lines(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_origin; + break; + } + + // optional .CMsgVector origin = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_origin: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_origin())); + } 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 CDOTAUserMsg_NevermoreRequiem::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 entity_handle = 1; + if (has_entity_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entity_handle(), output); + } + + // optional int32 lines = 2; + if (has_lines()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->lines(), output); + } + + // optional .CMsgVector origin = 3; + if (has_origin()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->origin(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_NevermoreRequiem::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 entity_handle = 1; + if (has_entity_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entity_handle(), target); + } + + // optional int32 lines = 2; + if (has_lines()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->lines(), target); + } + + // optional .CMsgVector origin = 3; + if (has_origin()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->origin(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_NevermoreRequiem::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 entity_handle = 1; + if (has_entity_handle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_handle()); + } + + // optional int32 lines = 2; + if (has_lines()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->lines()); + } + + // optional .CMsgVector origin = 3; + if (has_origin()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->origin()); + } + + } + 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 CDOTAUserMsg_NevermoreRequiem::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_NevermoreRequiem* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_NevermoreRequiem::MergeFrom(const CDOTAUserMsg_NevermoreRequiem& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_entity_handle()) { + set_entity_handle(from.entity_handle()); + } + if (from.has_lines()) { + set_lines(from.lines()); + } + if (from.has_origin()) { + mutable_origin()->::CMsgVector::MergeFrom(from.origin()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_NevermoreRequiem::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_NevermoreRequiem::CopyFrom(const CDOTAUserMsg_NevermoreRequiem& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_NevermoreRequiem::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_NevermoreRequiem::Swap(CDOTAUserMsg_NevermoreRequiem* other) { + if (other != this) { + std::swap(entity_handle_, other->entity_handle_); + std::swap(lines_, other->lines_); + std::swap(origin_, other->origin_); + 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 CDOTAUserMsg_NevermoreRequiem::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_NevermoreRequiem_descriptor_; + metadata.reflection = CDOTAUserMsg_NevermoreRequiem_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_InvalidCommand::kMessageFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_InvalidCommand::CDOTAUserMsg_InvalidCommand() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_InvalidCommand::InitAsDefaultInstance() { +} + +CDOTAUserMsg_InvalidCommand::CDOTAUserMsg_InvalidCommand(const CDOTAUserMsg_InvalidCommand& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_InvalidCommand::SharedCtor() { + _cached_size_ = 0; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_InvalidCommand::~CDOTAUserMsg_InvalidCommand() { + SharedDtor(); +} + +void CDOTAUserMsg_InvalidCommand::SharedDtor() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + delete message_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_InvalidCommand::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_InvalidCommand::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_InvalidCommand_descriptor_; +} + +const CDOTAUserMsg_InvalidCommand& CDOTAUserMsg_InvalidCommand::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_InvalidCommand* CDOTAUserMsg_InvalidCommand::default_instance_ = NULL; + +CDOTAUserMsg_InvalidCommand* CDOTAUserMsg_InvalidCommand::New() const { + return new CDOTAUserMsg_InvalidCommand; +} + +void CDOTAUserMsg_InvalidCommand::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_message()) { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_InvalidCommand::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 string message = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CDOTAUserMsg_InvalidCommand::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->message(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_InvalidCommand::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->message(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_InvalidCommand::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string message = 1; + if (has_message()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + } + 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 CDOTAUserMsg_InvalidCommand::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_InvalidCommand* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_InvalidCommand::MergeFrom(const CDOTAUserMsg_InvalidCommand& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_message()) { + set_message(from.message()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_InvalidCommand::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_InvalidCommand::CopyFrom(const CDOTAUserMsg_InvalidCommand& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_InvalidCommand::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_InvalidCommand::Swap(CDOTAUserMsg_InvalidCommand* other) { + if (other != this) { + std::swap(message_, other->message_); + 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 CDOTAUserMsg_InvalidCommand::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_InvalidCommand_descriptor_; + metadata.reflection = CDOTAUserMsg_InvalidCommand_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_HudError::kOrderIdFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_HudError::CDOTAUserMsg_HudError() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_HudError::InitAsDefaultInstance() { +} + +CDOTAUserMsg_HudError::CDOTAUserMsg_HudError(const CDOTAUserMsg_HudError& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_HudError::SharedCtor() { + _cached_size_ = 0; + order_id_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_HudError::~CDOTAUserMsg_HudError() { + SharedDtor(); +} + +void CDOTAUserMsg_HudError::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_HudError::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_HudError::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_HudError_descriptor_; +} + +const CDOTAUserMsg_HudError& CDOTAUserMsg_HudError::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_HudError* CDOTAUserMsg_HudError::default_instance_ = NULL; + +CDOTAUserMsg_HudError* CDOTAUserMsg_HudError::New() const { + return new CDOTAUserMsg_HudError; +} + +void CDOTAUserMsg_HudError::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + order_id_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_HudError::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 int32 order_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &order_id_))); + set_has_order_id(); + } 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 CDOTAUserMsg_HudError::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 order_id = 1; + if (has_order_id()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->order_id(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_HudError::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 order_id = 1; + if (has_order_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->order_id(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_HudError::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 order_id = 1; + if (has_order_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->order_id()); + } + + } + 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 CDOTAUserMsg_HudError::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_HudError* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_HudError::MergeFrom(const CDOTAUserMsg_HudError& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_order_id()) { + set_order_id(from.order_id()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_HudError::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_HudError::CopyFrom(const CDOTAUserMsg_HudError& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_HudError::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_HudError::Swap(CDOTAUserMsg_HudError* other) { + if (other != this) { + std::swap(order_id_, other->order_id_); + 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 CDOTAUserMsg_HudError::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_HudError_descriptor_; + metadata.reflection = CDOTAUserMsg_HudError_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_SharedCooldown::kEntindexFieldNumber; +const int CDOTAUserMsg_SharedCooldown::kNameFieldNumber; +const int CDOTAUserMsg_SharedCooldown::kCooldownFieldNumber; +const int CDOTAUserMsg_SharedCooldown::kNameIndexFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_SharedCooldown::CDOTAUserMsg_SharedCooldown() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_SharedCooldown::InitAsDefaultInstance() { +} + +CDOTAUserMsg_SharedCooldown::CDOTAUserMsg_SharedCooldown(const CDOTAUserMsg_SharedCooldown& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_SharedCooldown::SharedCtor() { + _cached_size_ = 0; + entindex_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + cooldown_ = 0; + name_index_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_SharedCooldown::~CDOTAUserMsg_SharedCooldown() { + SharedDtor(); +} + +void CDOTAUserMsg_SharedCooldown::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_SharedCooldown::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_SharedCooldown::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_SharedCooldown_descriptor_; +} + +const CDOTAUserMsg_SharedCooldown& CDOTAUserMsg_SharedCooldown::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_SharedCooldown* CDOTAUserMsg_SharedCooldown::default_instance_ = NULL; + +CDOTAUserMsg_SharedCooldown* CDOTAUserMsg_SharedCooldown::New() const { + return new CDOTAUserMsg_SharedCooldown; +} + +void CDOTAUserMsg_SharedCooldown::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + entindex_ = 0; + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + cooldown_ = 0; + name_index_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_SharedCooldown::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 int32 entindex = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entindex_))); + set_has_entindex(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_name; + break; + } + + // optional string name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_cooldown; + break; + } + + // optional float cooldown = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_cooldown: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &cooldown_))); + set_has_cooldown(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_name_index; + break; + } + + // optional int32 name_index = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_name_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &name_index_))); + set_has_name_index(); + } 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 CDOTAUserMsg_SharedCooldown::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 entindex = 1; + if (has_entindex()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entindex(), output); + } + + // optional string name = 2; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->name(), output); + } + + // optional float cooldown = 3; + if (has_cooldown()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->cooldown(), output); + } + + // optional int32 name_index = 4; + if (has_name_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->name_index(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_SharedCooldown::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 entindex = 1; + if (has_entindex()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entindex(), target); + } + + // optional string name = 2; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->name(), target); + } + + // optional float cooldown = 3; + if (has_cooldown()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->cooldown(), target); + } + + // optional int32 name_index = 4; + if (has_name_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->name_index(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_SharedCooldown::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 entindex = 1; + if (has_entindex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entindex()); + } + + // optional string name = 2; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + // optional float cooldown = 3; + if (has_cooldown()) { + total_size += 1 + 4; + } + + // optional int32 name_index = 4; + if (has_name_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->name_index()); + } + + } + 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 CDOTAUserMsg_SharedCooldown::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_SharedCooldown* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_SharedCooldown::MergeFrom(const CDOTAUserMsg_SharedCooldown& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_entindex()) { + set_entindex(from.entindex()); + } + if (from.has_name()) { + set_name(from.name()); + } + if (from.has_cooldown()) { + set_cooldown(from.cooldown()); + } + if (from.has_name_index()) { + set_name_index(from.name_index()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_SharedCooldown::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_SharedCooldown::CopyFrom(const CDOTAUserMsg_SharedCooldown& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_SharedCooldown::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_SharedCooldown::Swap(CDOTAUserMsg_SharedCooldown* other) { + if (other != this) { + std::swap(entindex_, other->entindex_); + std::swap(name_, other->name_); + std::swap(cooldown_, other->cooldown_); + std::swap(name_index_, other->name_index_); + 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 CDOTAUserMsg_SharedCooldown::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_SharedCooldown_descriptor_; + metadata.reflection = CDOTAUserMsg_SharedCooldown_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_SetNextAutobuyItem::kNameFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_SetNextAutobuyItem::CDOTAUserMsg_SetNextAutobuyItem() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_SetNextAutobuyItem::InitAsDefaultInstance() { +} + +CDOTAUserMsg_SetNextAutobuyItem::CDOTAUserMsg_SetNextAutobuyItem(const CDOTAUserMsg_SetNextAutobuyItem& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_SetNextAutobuyItem::SharedCtor() { + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_SetNextAutobuyItem::~CDOTAUserMsg_SetNextAutobuyItem() { + SharedDtor(); +} + +void CDOTAUserMsg_SetNextAutobuyItem::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_SetNextAutobuyItem::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_SetNextAutobuyItem::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_SetNextAutobuyItem_descriptor_; +} + +const CDOTAUserMsg_SetNextAutobuyItem& CDOTAUserMsg_SetNextAutobuyItem::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_SetNextAutobuyItem* CDOTAUserMsg_SetNextAutobuyItem::default_instance_ = NULL; + +CDOTAUserMsg_SetNextAutobuyItem* CDOTAUserMsg_SetNextAutobuyItem::New() const { + return new CDOTAUserMsg_SetNextAutobuyItem; +} + +void CDOTAUserMsg_SetNextAutobuyItem::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_SetNextAutobuyItem::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 string name = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CDOTAUserMsg_SetNextAutobuyItem::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->name(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_SetNextAutobuyItem::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->name(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_SetNextAutobuyItem::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string name = 1; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + } + 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 CDOTAUserMsg_SetNextAutobuyItem::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_SetNextAutobuyItem* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_SetNextAutobuyItem::MergeFrom(const CDOTAUserMsg_SetNextAutobuyItem& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_name()) { + set_name(from.name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_SetNextAutobuyItem::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_SetNextAutobuyItem::CopyFrom(const CDOTAUserMsg_SetNextAutobuyItem& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_SetNextAutobuyItem::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_SetNextAutobuyItem::Swap(CDOTAUserMsg_SetNextAutobuyItem* other) { + if (other != this) { + std::swap(name_, other->name_); + 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 CDOTAUserMsg_SetNextAutobuyItem::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_SetNextAutobuyItem_descriptor_; + metadata.reflection = CDOTAUserMsg_SetNextAutobuyItem_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_HalloweenDrops::kItemDefsFieldNumber; +const int CDOTAUserMsg_HalloweenDrops::kPlayerIdsFieldNumber; +const int CDOTAUserMsg_HalloweenDrops::kPrizeListFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_HalloweenDrops::CDOTAUserMsg_HalloweenDrops() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_HalloweenDrops::InitAsDefaultInstance() { +} + +CDOTAUserMsg_HalloweenDrops::CDOTAUserMsg_HalloweenDrops(const CDOTAUserMsg_HalloweenDrops& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_HalloweenDrops::SharedCtor() { + _cached_size_ = 0; + prize_list_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_HalloweenDrops::~CDOTAUserMsg_HalloweenDrops() { + SharedDtor(); +} + +void CDOTAUserMsg_HalloweenDrops::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_HalloweenDrops::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_HalloweenDrops::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_HalloweenDrops_descriptor_; +} + +const CDOTAUserMsg_HalloweenDrops& CDOTAUserMsg_HalloweenDrops::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_HalloweenDrops* CDOTAUserMsg_HalloweenDrops::default_instance_ = NULL; + +CDOTAUserMsg_HalloweenDrops* CDOTAUserMsg_HalloweenDrops::New() const { + return new CDOTAUserMsg_HalloweenDrops; +} + +void CDOTAUserMsg_HalloweenDrops::Clear() { + if (_has_bits_[2 / 32] & (0xffu << (2 % 32))) { + prize_list_ = 0u; + } + item_defs_.Clear(); + player_ids_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_HalloweenDrops::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)) { + // repeated uint32 item_defs = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_item_defs: + DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + 1, 8, input, this->mutable_item_defs()))); + } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) + == ::google::protobuf::internal::WireFormatLite:: + WIRETYPE_LENGTH_DELIMITED) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, this->mutable_item_defs()))); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(8)) goto parse_item_defs; + if (input->ExpectTag(16)) goto parse_player_ids; + break; + } + + // repeated uint32 player_ids = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_player_ids: + DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + 1, 16, input, this->mutable_player_ids()))); + } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) + == ::google::protobuf::internal::WireFormatLite:: + WIRETYPE_LENGTH_DELIMITED) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, this->mutable_player_ids()))); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_player_ids; + if (input->ExpectTag(24)) goto parse_prize_list; + break; + } + + // optional uint32 prize_list = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_prize_list: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &prize_list_))); + set_has_prize_list(); + } 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 CDOTAUserMsg_HalloweenDrops::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated uint32 item_defs = 1; + for (int i = 0; i < this->item_defs_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32( + 1, this->item_defs(i), output); + } + + // repeated uint32 player_ids = 2; + for (int i = 0; i < this->player_ids_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32( + 2, this->player_ids(i), output); + } + + // optional uint32 prize_list = 3; + if (has_prize_list()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->prize_list(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_HalloweenDrops::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated uint32 item_defs = 1; + for (int i = 0; i < this->item_defs_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteUInt32ToArray(1, this->item_defs(i), target); + } + + // repeated uint32 player_ids = 2; + for (int i = 0; i < this->player_ids_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteUInt32ToArray(2, this->player_ids(i), target); + } + + // optional uint32 prize_list = 3; + if (has_prize_list()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->prize_list(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_HalloweenDrops::ByteSize() const { + int total_size = 0; + + if (_has_bits_[2 / 32] & (0xffu << (2 % 32))) { + // optional uint32 prize_list = 3; + if (has_prize_list()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->prize_list()); + } + + } + // repeated uint32 item_defs = 1; + { + int data_size = 0; + for (int i = 0; i < this->item_defs_size(); i++) { + data_size += ::google::protobuf::internal::WireFormatLite:: + UInt32Size(this->item_defs(i)); + } + total_size += 1 * this->item_defs_size() + data_size; + } + + // repeated uint32 player_ids = 2; + { + int data_size = 0; + for (int i = 0; i < this->player_ids_size(); i++) { + data_size += ::google::protobuf::internal::WireFormatLite:: + UInt32Size(this->player_ids(i)); + } + total_size += 1 * this->player_ids_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 CDOTAUserMsg_HalloweenDrops::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_HalloweenDrops* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_HalloweenDrops::MergeFrom(const CDOTAUserMsg_HalloweenDrops& from) { + GOOGLE_CHECK_NE(&from, this); + item_defs_.MergeFrom(from.item_defs_); + player_ids_.MergeFrom(from.player_ids_); + if (from._has_bits_[2 / 32] & (0xffu << (2 % 32))) { + if (from.has_prize_list()) { + set_prize_list(from.prize_list()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_HalloweenDrops::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_HalloweenDrops::CopyFrom(const CDOTAUserMsg_HalloweenDrops& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_HalloweenDrops::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_HalloweenDrops::Swap(CDOTAUserMsg_HalloweenDrops* other) { + if (other != this) { + item_defs_.Swap(&other->item_defs_); + player_ids_.Swap(&other->player_ids_); + std::swap(prize_list_, other->prize_list_); + 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 CDOTAUserMsg_HalloweenDrops::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_HalloweenDrops_descriptor_; + metadata.reflection = CDOTAUserMsg_HalloweenDrops_reflection_; + return metadata; +} + + +// =================================================================== + +const ::google::protobuf::EnumDescriptor* CDOTAResponseQuerySerialized_Fact_ValueType_descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAResponseQuerySerialized_Fact_ValueType_descriptor_; +} +bool CDOTAResponseQuerySerialized_Fact_ValueType_IsValid(int value) { + switch(value) { + case 1: + case 2: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const CDOTAResponseQuerySerialized_Fact_ValueType CDOTAResponseQuerySerialized_Fact::NUMERIC; +const CDOTAResponseQuerySerialized_Fact_ValueType CDOTAResponseQuerySerialized_Fact::STRING; +const CDOTAResponseQuerySerialized_Fact_ValueType CDOTAResponseQuerySerialized_Fact::ValueType_MIN; +const CDOTAResponseQuerySerialized_Fact_ValueType CDOTAResponseQuerySerialized_Fact::ValueType_MAX; +const int CDOTAResponseQuerySerialized_Fact::ValueType_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int CDOTAResponseQuerySerialized_Fact::kKeyFieldNumber; +const int CDOTAResponseQuerySerialized_Fact::kValtypeFieldNumber; +const int CDOTAResponseQuerySerialized_Fact::kValNumericFieldNumber; +const int CDOTAResponseQuerySerialized_Fact::kValStringFieldNumber; +#endif // !_MSC_VER + +CDOTAResponseQuerySerialized_Fact::CDOTAResponseQuerySerialized_Fact() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAResponseQuerySerialized_Fact::InitAsDefaultInstance() { +} + +CDOTAResponseQuerySerialized_Fact::CDOTAResponseQuerySerialized_Fact(const CDOTAResponseQuerySerialized_Fact& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAResponseQuerySerialized_Fact::SharedCtor() { + _cached_size_ = 0; + key_ = 0; + valtype_ = 1; + val_numeric_ = 0; + val_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAResponseQuerySerialized_Fact::~CDOTAResponseQuerySerialized_Fact() { + SharedDtor(); +} + +void CDOTAResponseQuerySerialized_Fact::SharedDtor() { + if (val_string_ != &::google::protobuf::internal::kEmptyString) { + delete val_string_; + } + if (this != default_instance_) { + } +} + +void CDOTAResponseQuerySerialized_Fact::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAResponseQuerySerialized_Fact::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAResponseQuerySerialized_Fact_descriptor_; +} + +const CDOTAResponseQuerySerialized_Fact& CDOTAResponseQuerySerialized_Fact::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAResponseQuerySerialized_Fact* CDOTAResponseQuerySerialized_Fact::default_instance_ = NULL; + +CDOTAResponseQuerySerialized_Fact* CDOTAResponseQuerySerialized_Fact::New() const { + return new CDOTAResponseQuerySerialized_Fact; +} + +void CDOTAResponseQuerySerialized_Fact::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + key_ = 0; + valtype_ = 1; + val_numeric_ = 0; + if (has_val_string()) { + if (val_string_ != &::google::protobuf::internal::kEmptyString) { + val_string_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAResponseQuerySerialized_Fact::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)) { + // required int32 key = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &key_))); + set_has_key(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_valtype; + break; + } + + // required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC]; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_valtype: + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::CDOTAResponseQuerySerialized_Fact_ValueType_IsValid(value)) { + set_valtype(static_cast< ::CDOTAResponseQuerySerialized_Fact_ValueType >(value)); + } else { + mutable_unknown_fields()->AddVarint(2, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_val_numeric; + break; + } + + // optional float val_numeric = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_val_numeric: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &val_numeric_))); + set_has_val_numeric(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_val_string; + break; + } + + // optional string val_string = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_val_string: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_val_string())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->val_string().data(), this->val_string().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CDOTAResponseQuerySerialized_Fact::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required int32 key = 1; + if (has_key()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->key(), output); + } + + // required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC]; + if (has_valtype()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 2, this->valtype(), output); + } + + // optional float val_numeric = 3; + if (has_val_numeric()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->val_numeric(), output); + } + + // optional string val_string = 4; + if (has_val_string()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->val_string().data(), this->val_string().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 4, this->val_string(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAResponseQuerySerialized_Fact::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // required int32 key = 1; + if (has_key()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->key(), target); + } + + // required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC]; + if (has_valtype()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 2, this->valtype(), target); + } + + // optional float val_numeric = 3; + if (has_val_numeric()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->val_numeric(), target); + } + + // optional string val_string = 4; + if (has_val_string()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->val_string().data(), this->val_string().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->val_string(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAResponseQuerySerialized_Fact::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required int32 key = 1; + if (has_key()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->key()); + } + + // required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC]; + if (has_valtype()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->valtype()); + } + + // optional float val_numeric = 3; + if (has_val_numeric()) { + total_size += 1 + 4; + } + + // optional string val_string = 4; + if (has_val_string()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->val_string()); + } + + } + 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 CDOTAResponseQuerySerialized_Fact::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAResponseQuerySerialized_Fact* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAResponseQuerySerialized_Fact::MergeFrom(const CDOTAResponseQuerySerialized_Fact& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_key()) { + set_key(from.key()); + } + if (from.has_valtype()) { + set_valtype(from.valtype()); + } + if (from.has_val_numeric()) { + set_val_numeric(from.val_numeric()); + } + if (from.has_val_string()) { + set_val_string(from.val_string()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAResponseQuerySerialized_Fact::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAResponseQuerySerialized_Fact::CopyFrom(const CDOTAResponseQuerySerialized_Fact& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAResponseQuerySerialized_Fact::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + return true; +} + +void CDOTAResponseQuerySerialized_Fact::Swap(CDOTAResponseQuerySerialized_Fact* other) { + if (other != this) { + std::swap(key_, other->key_); + std::swap(valtype_, other->valtype_); + std::swap(val_numeric_, other->val_numeric_); + std::swap(val_string_, other->val_string_); + 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 CDOTAResponseQuerySerialized_Fact::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAResponseQuerySerialized_Fact_descriptor_; + metadata.reflection = CDOTAResponseQuerySerialized_Fact_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAResponseQuerySerialized::kFactsFieldNumber; +#endif // !_MSC_VER + +CDOTAResponseQuerySerialized::CDOTAResponseQuerySerialized() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAResponseQuerySerialized::InitAsDefaultInstance() { +} + +CDOTAResponseQuerySerialized::CDOTAResponseQuerySerialized(const CDOTAResponseQuerySerialized& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAResponseQuerySerialized::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAResponseQuerySerialized::~CDOTAResponseQuerySerialized() { + SharedDtor(); +} + +void CDOTAResponseQuerySerialized::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAResponseQuerySerialized::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAResponseQuerySerialized::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAResponseQuerySerialized_descriptor_; +} + +const CDOTAResponseQuerySerialized& CDOTAResponseQuerySerialized::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAResponseQuerySerialized* CDOTAResponseQuerySerialized::default_instance_ = NULL; + +CDOTAResponseQuerySerialized* CDOTAResponseQuerySerialized::New() const { + return new CDOTAResponseQuerySerialized; +} + +void CDOTAResponseQuerySerialized::Clear() { + facts_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAResponseQuerySerialized::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)) { + // repeated .CDOTAResponseQuerySerialized.Fact facts = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_facts: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_facts())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(10)) goto parse_facts; + 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 CDOTAResponseQuerySerialized::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated .CDOTAResponseQuerySerialized.Fact facts = 1; + for (int i = 0; i < this->facts_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->facts(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAResponseQuerySerialized::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated .CDOTAResponseQuerySerialized.Fact facts = 1; + for (int i = 0; i < this->facts_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->facts(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAResponseQuerySerialized::ByteSize() const { + int total_size = 0; + + // repeated .CDOTAResponseQuerySerialized.Fact facts = 1; + total_size += 1 * this->facts_size(); + for (int i = 0; i < this->facts_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->facts(i)); + } + + 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 CDOTAResponseQuerySerialized::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAResponseQuerySerialized* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAResponseQuerySerialized::MergeFrom(const CDOTAResponseQuerySerialized& from) { + GOOGLE_CHECK_NE(&from, this); + facts_.MergeFrom(from.facts_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAResponseQuerySerialized::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAResponseQuerySerialized::CopyFrom(const CDOTAResponseQuerySerialized& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAResponseQuerySerialized::IsInitialized() const { + + for (int i = 0; i < facts_size(); i++) { + if (!this->facts(i).IsInitialized()) return false; + } + return true; +} + +void CDOTAResponseQuerySerialized::Swap(CDOTAResponseQuerySerialized* other) { + if (other != this) { + facts_.Swap(&other->facts_); + 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 CDOTAResponseQuerySerialized::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAResponseQuerySerialized_descriptor_; + metadata.reflection = CDOTAResponseQuerySerialized_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTASpeechMatchOnClient::kConceptFieldNumber; +const int CDOTASpeechMatchOnClient::kRecipientTypeFieldNumber; +const int CDOTASpeechMatchOnClient::kResponsequeryFieldNumber; +const int CDOTASpeechMatchOnClient::kRandomseedFieldNumber; +#endif // !_MSC_VER + +CDOTASpeechMatchOnClient::CDOTASpeechMatchOnClient() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTASpeechMatchOnClient::InitAsDefaultInstance() { + responsequery_ = const_cast< ::CDOTAResponseQuerySerialized*>(&::CDOTAResponseQuerySerialized::default_instance()); +} + +CDOTASpeechMatchOnClient::CDOTASpeechMatchOnClient(const CDOTASpeechMatchOnClient& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTASpeechMatchOnClient::SharedCtor() { + _cached_size_ = 0; + concept_ = 0; + recipient_type_ = 0; + responsequery_ = NULL; + randomseed_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTASpeechMatchOnClient::~CDOTASpeechMatchOnClient() { + SharedDtor(); +} + +void CDOTASpeechMatchOnClient::SharedDtor() { + if (this != default_instance_) { + delete responsequery_; + } +} + +void CDOTASpeechMatchOnClient::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTASpeechMatchOnClient::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTASpeechMatchOnClient_descriptor_; +} + +const CDOTASpeechMatchOnClient& CDOTASpeechMatchOnClient::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTASpeechMatchOnClient* CDOTASpeechMatchOnClient::default_instance_ = NULL; + +CDOTASpeechMatchOnClient* CDOTASpeechMatchOnClient::New() const { + return new CDOTASpeechMatchOnClient; +} + +void CDOTASpeechMatchOnClient::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + concept_ = 0; + recipient_type_ = 0; + if (has_responsequery()) { + if (responsequery_ != NULL) responsequery_->::CDOTAResponseQuerySerialized::Clear(); + } + randomseed_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTASpeechMatchOnClient::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 int32 concept = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &concept_))); + set_has_concept(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_recipient_type; + break; + } + + // optional int32 recipient_type = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_recipient_type: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &recipient_type_))); + set_has_recipient_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_responsequery; + break; + } + + // optional .CDOTAResponseQuerySerialized responsequery = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_responsequery: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_responsequery())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(37)) goto parse_randomseed; + break; + } + + // optional sfixed32 randomseed = 4 [default = 0]; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_randomseed: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_SFIXED32>( + input, &randomseed_))); + set_has_randomseed(); + } 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 CDOTASpeechMatchOnClient::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 concept = 1; + if (has_concept()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->concept(), output); + } + + // optional int32 recipient_type = 2; + if (has_recipient_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->recipient_type(), output); + } + + // optional .CDOTAResponseQuerySerialized responsequery = 3; + if (has_responsequery()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->responsequery(), output); + } + + // optional sfixed32 randomseed = 4 [default = 0]; + if (has_randomseed()) { + ::google::protobuf::internal::WireFormatLite::WriteSFixed32(4, this->randomseed(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTASpeechMatchOnClient::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 concept = 1; + if (has_concept()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->concept(), target); + } + + // optional int32 recipient_type = 2; + if (has_recipient_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->recipient_type(), target); + } + + // optional .CDOTAResponseQuerySerialized responsequery = 3; + if (has_responsequery()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->responsequery(), target); + } + + // optional sfixed32 randomseed = 4 [default = 0]; + if (has_randomseed()) { + target = ::google::protobuf::internal::WireFormatLite::WriteSFixed32ToArray(4, this->randomseed(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTASpeechMatchOnClient::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 concept = 1; + if (has_concept()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->concept()); + } + + // optional int32 recipient_type = 2; + if (has_recipient_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->recipient_type()); + } + + // optional .CDOTAResponseQuerySerialized responsequery = 3; + if (has_responsequery()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->responsequery()); + } + + // optional sfixed32 randomseed = 4 [default = 0]; + if (has_randomseed()) { + total_size += 1 + 4; + } + + } + 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 CDOTASpeechMatchOnClient::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTASpeechMatchOnClient* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTASpeechMatchOnClient::MergeFrom(const CDOTASpeechMatchOnClient& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_concept()) { + set_concept(from.concept()); + } + if (from.has_recipient_type()) { + set_recipient_type(from.recipient_type()); + } + if (from.has_responsequery()) { + mutable_responsequery()->::CDOTAResponseQuerySerialized::MergeFrom(from.responsequery()); + } + if (from.has_randomseed()) { + set_randomseed(from.randomseed()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTASpeechMatchOnClient::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTASpeechMatchOnClient::CopyFrom(const CDOTASpeechMatchOnClient& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTASpeechMatchOnClient::IsInitialized() const { + + if (has_responsequery()) { + if (!this->responsequery().IsInitialized()) return false; + } + return true; +} + +void CDOTASpeechMatchOnClient::Swap(CDOTASpeechMatchOnClient* other) { + if (other != this) { + std::swap(concept_, other->concept_); + std::swap(recipient_type_, other->recipient_type_); + std::swap(responsequery_, other->responsequery_); + std::swap(randomseed_, other->randomseed_); + 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 CDOTASpeechMatchOnClient::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTASpeechMatchOnClient_descriptor_; + metadata.reflection = CDOTASpeechMatchOnClient_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_UnitEvent_Speech::kConceptFieldNumber; +const int CDOTAUserMsg_UnitEvent_Speech::kResponseFieldNumber; +const int CDOTAUserMsg_UnitEvent_Speech::kRecipientTypeFieldNumber; +const int CDOTAUserMsg_UnitEvent_Speech::kLevelFieldNumber; +const int CDOTAUserMsg_UnitEvent_Speech::kMuteableFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_UnitEvent_Speech::CDOTAUserMsg_UnitEvent_Speech() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_UnitEvent_Speech::InitAsDefaultInstance() { +} + +CDOTAUserMsg_UnitEvent_Speech::CDOTAUserMsg_UnitEvent_Speech(const CDOTAUserMsg_UnitEvent_Speech& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_Speech::SharedCtor() { + _cached_size_ = 0; + concept_ = 0; + response_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + recipient_type_ = 0; + level_ = 0; + muteable_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_UnitEvent_Speech::~CDOTAUserMsg_UnitEvent_Speech() { + SharedDtor(); +} + +void CDOTAUserMsg_UnitEvent_Speech::SharedDtor() { + if (response_ != &::google::protobuf::internal::kEmptyString) { + delete response_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_UnitEvent_Speech::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_Speech::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_UnitEvent_Speech_descriptor_; +} + +const CDOTAUserMsg_UnitEvent_Speech& CDOTAUserMsg_UnitEvent_Speech::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_UnitEvent_Speech* CDOTAUserMsg_UnitEvent_Speech::default_instance_ = NULL; + +CDOTAUserMsg_UnitEvent_Speech* CDOTAUserMsg_UnitEvent_Speech::New() const { + return new CDOTAUserMsg_UnitEvent_Speech; +} + +void CDOTAUserMsg_UnitEvent_Speech::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + concept_ = 0; + if (has_response()) { + if (response_ != &::google::protobuf::internal::kEmptyString) { + response_->clear(); + } + } + recipient_type_ = 0; + level_ = 0; + muteable_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_UnitEvent_Speech::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 int32 concept = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &concept_))); + set_has_concept(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_response; + break; + } + + // optional string response = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_response: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_response())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->response().data(), this->response().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_recipient_type; + break; + } + + // optional int32 recipient_type = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_recipient_type: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &recipient_type_))); + set_has_recipient_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_level; + break; + } + + // optional int32 level = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_level: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &level_))); + set_has_level(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_muteable; + break; + } + + // optional bool muteable = 5 [default = false]; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_muteable: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &muteable_))); + set_has_muteable(); + } 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 CDOTAUserMsg_UnitEvent_Speech::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 concept = 1; + if (has_concept()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->concept(), output); + } + + // optional string response = 2; + if (has_response()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->response().data(), this->response().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->response(), output); + } + + // optional int32 recipient_type = 3; + if (has_recipient_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->recipient_type(), output); + } + + // optional int32 level = 4; + if (has_level()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->level(), output); + } + + // optional bool muteable = 5 [default = false]; + if (has_muteable()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->muteable(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_UnitEvent_Speech::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 concept = 1; + if (has_concept()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->concept(), target); + } + + // optional string response = 2; + if (has_response()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->response().data(), this->response().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->response(), target); + } + + // optional int32 recipient_type = 3; + if (has_recipient_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->recipient_type(), target); + } + + // optional int32 level = 4; + if (has_level()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->level(), target); + } + + // optional bool muteable = 5 [default = false]; + if (has_muteable()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->muteable(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_UnitEvent_Speech::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 concept = 1; + if (has_concept()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->concept()); + } + + // optional string response = 2; + if (has_response()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->response()); + } + + // optional int32 recipient_type = 3; + if (has_recipient_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->recipient_type()); + } + + // optional int32 level = 4; + if (has_level()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->level()); + } + + // optional bool muteable = 5 [default = false]; + if (has_muteable()) { + total_size += 1 + 1; + } + + } + 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 CDOTAUserMsg_UnitEvent_Speech::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_UnitEvent_Speech* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_UnitEvent_Speech::MergeFrom(const CDOTAUserMsg_UnitEvent_Speech& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_concept()) { + set_concept(from.concept()); + } + if (from.has_response()) { + set_response(from.response()); + } + if (from.has_recipient_type()) { + set_recipient_type(from.recipient_type()); + } + if (from.has_level()) { + set_level(from.level()); + } + if (from.has_muteable()) { + set_muteable(from.muteable()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_UnitEvent_Speech::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_Speech::CopyFrom(const CDOTAUserMsg_UnitEvent_Speech& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_UnitEvent_Speech::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_UnitEvent_Speech::Swap(CDOTAUserMsg_UnitEvent_Speech* other) { + if (other != this) { + std::swap(concept_, other->concept_); + std::swap(response_, other->response_); + std::swap(recipient_type_, other->recipient_type_); + std::swap(level_, other->level_); + std::swap(muteable_, other->muteable_); + 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 CDOTAUserMsg_UnitEvent_Speech::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_UnitEvent_Speech_descriptor_; + metadata.reflection = CDOTAUserMsg_UnitEvent_Speech_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_UnitEvent_SpeechMute::kDelayFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_UnitEvent_SpeechMute::CDOTAUserMsg_UnitEvent_SpeechMute() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::InitAsDefaultInstance() { +} + +CDOTAUserMsg_UnitEvent_SpeechMute::CDOTAUserMsg_UnitEvent_SpeechMute(const CDOTAUserMsg_UnitEvent_SpeechMute& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::SharedCtor() { + _cached_size_ = 0; + delay_ = 0.5f; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_UnitEvent_SpeechMute::~CDOTAUserMsg_UnitEvent_SpeechMute() { + SharedDtor(); +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_SpeechMute::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_UnitEvent_SpeechMute_descriptor_; +} + +const CDOTAUserMsg_UnitEvent_SpeechMute& CDOTAUserMsg_UnitEvent_SpeechMute::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_UnitEvent_SpeechMute* CDOTAUserMsg_UnitEvent_SpeechMute::default_instance_ = NULL; + +CDOTAUserMsg_UnitEvent_SpeechMute* CDOTAUserMsg_UnitEvent_SpeechMute::New() const { + return new CDOTAUserMsg_UnitEvent_SpeechMute; +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + delay_ = 0.5f; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_UnitEvent_SpeechMute::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 float delay = 1 [default = 0.5]; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &delay_))); + set_has_delay(); + } 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 CDOTAUserMsg_UnitEvent_SpeechMute::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional float delay = 1 [default = 0.5]; + if (has_delay()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->delay(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_UnitEvent_SpeechMute::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional float delay = 1 [default = 0.5]; + if (has_delay()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->delay(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_UnitEvent_SpeechMute::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional float delay = 1 [default = 0.5]; + if (has_delay()) { + total_size += 1 + 4; + } + + } + 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 CDOTAUserMsg_UnitEvent_SpeechMute::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_UnitEvent_SpeechMute* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::MergeFrom(const CDOTAUserMsg_UnitEvent_SpeechMute& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_delay()) { + set_delay(from.delay()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::CopyFrom(const CDOTAUserMsg_UnitEvent_SpeechMute& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_UnitEvent_SpeechMute::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_UnitEvent_SpeechMute::Swap(CDOTAUserMsg_UnitEvent_SpeechMute* other) { + if (other != this) { + std::swap(delay_, other->delay_); + 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 CDOTAUserMsg_UnitEvent_SpeechMute::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_UnitEvent_SpeechMute_descriptor_; + metadata.reflection = CDOTAUserMsg_UnitEvent_SpeechMute_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_UnitEvent_AddGesture::kActivityFieldNumber; +const int CDOTAUserMsg_UnitEvent_AddGesture::kSlotFieldNumber; +const int CDOTAUserMsg_UnitEvent_AddGesture::kFadeInFieldNumber; +const int CDOTAUserMsg_UnitEvent_AddGesture::kFadeOutFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_UnitEvent_AddGesture::CDOTAUserMsg_UnitEvent_AddGesture() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_UnitEvent_AddGesture::InitAsDefaultInstance() { +} + +CDOTAUserMsg_UnitEvent_AddGesture::CDOTAUserMsg_UnitEvent_AddGesture(const CDOTAUserMsg_UnitEvent_AddGesture& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_AddGesture::SharedCtor() { + _cached_size_ = 0; + activity_ = -1; + slot_ = 0; + fade_in_ = 0; + fade_out_ = 0.1f; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_UnitEvent_AddGesture::~CDOTAUserMsg_UnitEvent_AddGesture() { + SharedDtor(); +} + +void CDOTAUserMsg_UnitEvent_AddGesture::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_UnitEvent_AddGesture::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_AddGesture::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_UnitEvent_AddGesture_descriptor_; +} + +const CDOTAUserMsg_UnitEvent_AddGesture& CDOTAUserMsg_UnitEvent_AddGesture::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_UnitEvent_AddGesture* CDOTAUserMsg_UnitEvent_AddGesture::default_instance_ = NULL; + +CDOTAUserMsg_UnitEvent_AddGesture* CDOTAUserMsg_UnitEvent_AddGesture::New() const { + return new CDOTAUserMsg_UnitEvent_AddGesture; +} + +void CDOTAUserMsg_UnitEvent_AddGesture::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + activity_ = -1; + slot_ = 0; + fade_in_ = 0; + fade_out_ = 0.1f; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_UnitEvent_AddGesture::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 .Activity activity = 1 [default = ACT_INVALID]; + 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 (Activity_IsValid(value)) { + set_activity(static_cast< Activity >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_slot; + break; + } + + // optional int32 slot = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_slot: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &slot_))); + set_has_slot(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_fade_in; + break; + } + + // optional float fade_in = 3 [default = 0]; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_fade_in: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &fade_in_))); + set_has_fade_in(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(37)) goto parse_fade_out; + break; + } + + // optional float fade_out = 4 [default = 0.1]; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_fade_out: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &fade_out_))); + set_has_fade_out(); + } 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 CDOTAUserMsg_UnitEvent_AddGesture::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->activity(), output); + } + + // optional int32 slot = 2; + if (has_slot()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->slot(), output); + } + + // optional float fade_in = 3 [default = 0]; + if (has_fade_in()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->fade_in(), output); + } + + // optional float fade_out = 4 [default = 0.1]; + if (has_fade_out()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->fade_out(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_UnitEvent_AddGesture::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->activity(), target); + } + + // optional int32 slot = 2; + if (has_slot()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->slot(), target); + } + + // optional float fade_in = 3 [default = 0]; + if (has_fade_in()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->fade_in(), target); + } + + // optional float fade_out = 4 [default = 0.1]; + if (has_fade_out()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->fade_out(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_UnitEvent_AddGesture::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->activity()); + } + + // optional int32 slot = 2; + if (has_slot()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->slot()); + } + + // optional float fade_in = 3 [default = 0]; + if (has_fade_in()) { + total_size += 1 + 4; + } + + // optional float fade_out = 4 [default = 0.1]; + if (has_fade_out()) { + total_size += 1 + 4; + } + + } + 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 CDOTAUserMsg_UnitEvent_AddGesture::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_UnitEvent_AddGesture* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_UnitEvent_AddGesture::MergeFrom(const CDOTAUserMsg_UnitEvent_AddGesture& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_activity()) { + set_activity(from.activity()); + } + if (from.has_slot()) { + set_slot(from.slot()); + } + if (from.has_fade_in()) { + set_fade_in(from.fade_in()); + } + if (from.has_fade_out()) { + set_fade_out(from.fade_out()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_UnitEvent_AddGesture::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_AddGesture::CopyFrom(const CDOTAUserMsg_UnitEvent_AddGesture& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_UnitEvent_AddGesture::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_UnitEvent_AddGesture::Swap(CDOTAUserMsg_UnitEvent_AddGesture* other) { + if (other != this) { + std::swap(activity_, other->activity_); + std::swap(slot_, other->slot_); + std::swap(fade_in_, other->fade_in_); + std::swap(fade_out_, other->fade_out_); + 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 CDOTAUserMsg_UnitEvent_AddGesture::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_UnitEvent_AddGesture_descriptor_; + metadata.reflection = CDOTAUserMsg_UnitEvent_AddGesture_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_UnitEvent_RemoveGesture::kActivityFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_UnitEvent_RemoveGesture::CDOTAUserMsg_UnitEvent_RemoveGesture() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::InitAsDefaultInstance() { +} + +CDOTAUserMsg_UnitEvent_RemoveGesture::CDOTAUserMsg_UnitEvent_RemoveGesture(const CDOTAUserMsg_UnitEvent_RemoveGesture& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::SharedCtor() { + _cached_size_ = 0; + activity_ = -1; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_UnitEvent_RemoveGesture::~CDOTAUserMsg_UnitEvent_RemoveGesture() { + SharedDtor(); +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_RemoveGesture::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor_; +} + +const CDOTAUserMsg_UnitEvent_RemoveGesture& CDOTAUserMsg_UnitEvent_RemoveGesture::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_UnitEvent_RemoveGesture* CDOTAUserMsg_UnitEvent_RemoveGesture::default_instance_ = NULL; + +CDOTAUserMsg_UnitEvent_RemoveGesture* CDOTAUserMsg_UnitEvent_RemoveGesture::New() const { + return new CDOTAUserMsg_UnitEvent_RemoveGesture; +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + activity_ = -1; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_UnitEvent_RemoveGesture::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 .Activity activity = 1 [default = ACT_INVALID]; + 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 (Activity_IsValid(value)) { + set_activity(static_cast< Activity >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } 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 CDOTAUserMsg_UnitEvent_RemoveGesture::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->activity(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_UnitEvent_RemoveGesture::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->activity(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_UnitEvent_RemoveGesture::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->activity()); + } + + } + 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 CDOTAUserMsg_UnitEvent_RemoveGesture::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_UnitEvent_RemoveGesture* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::MergeFrom(const CDOTAUserMsg_UnitEvent_RemoveGesture& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_activity()) { + set_activity(from.activity()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::CopyFrom(const CDOTAUserMsg_UnitEvent_RemoveGesture& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_UnitEvent_RemoveGesture::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_UnitEvent_RemoveGesture::Swap(CDOTAUserMsg_UnitEvent_RemoveGesture* other) { + if (other != this) { + std::swap(activity_, other->activity_); + 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 CDOTAUserMsg_UnitEvent_RemoveGesture::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor_; + metadata.reflection = CDOTAUserMsg_UnitEvent_RemoveGesture_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_UnitEvent_BloodImpact::kScaleFieldNumber; +const int CDOTAUserMsg_UnitEvent_BloodImpact::kXNormalFieldNumber; +const int CDOTAUserMsg_UnitEvent_BloodImpact::kYNormalFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_UnitEvent_BloodImpact::CDOTAUserMsg_UnitEvent_BloodImpact() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::InitAsDefaultInstance() { +} + +CDOTAUserMsg_UnitEvent_BloodImpact::CDOTAUserMsg_UnitEvent_BloodImpact(const CDOTAUserMsg_UnitEvent_BloodImpact& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::SharedCtor() { + _cached_size_ = 0; + scale_ = 0; + x_normal_ = 0; + y_normal_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_UnitEvent_BloodImpact::~CDOTAUserMsg_UnitEvent_BloodImpact() { + SharedDtor(); +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_BloodImpact::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_UnitEvent_BloodImpact_descriptor_; +} + +const CDOTAUserMsg_UnitEvent_BloodImpact& CDOTAUserMsg_UnitEvent_BloodImpact::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_UnitEvent_BloodImpact* CDOTAUserMsg_UnitEvent_BloodImpact::default_instance_ = NULL; + +CDOTAUserMsg_UnitEvent_BloodImpact* CDOTAUserMsg_UnitEvent_BloodImpact::New() const { + return new CDOTAUserMsg_UnitEvent_BloodImpact; +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + scale_ = 0; + x_normal_ = 0; + y_normal_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_UnitEvent_BloodImpact::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 int32 scale = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &scale_))); + set_has_scale(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_x_normal; + break; + } + + // optional int32 x_normal = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_x_normal: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &x_normal_))); + set_has_x_normal(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_y_normal; + break; + } + + // optional int32 y_normal = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_y_normal: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &y_normal_))); + set_has_y_normal(); + } 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 CDOTAUserMsg_UnitEvent_BloodImpact::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 scale = 1; + if (has_scale()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->scale(), output); + } + + // optional int32 x_normal = 2; + if (has_x_normal()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->x_normal(), output); + } + + // optional int32 y_normal = 3; + if (has_y_normal()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->y_normal(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_UnitEvent_BloodImpact::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 scale = 1; + if (has_scale()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->scale(), target); + } + + // optional int32 x_normal = 2; + if (has_x_normal()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->x_normal(), target); + } + + // optional int32 y_normal = 3; + if (has_y_normal()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->y_normal(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_UnitEvent_BloodImpact::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 scale = 1; + if (has_scale()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->scale()); + } + + // optional int32 x_normal = 2; + if (has_x_normal()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->x_normal()); + } + + // optional int32 y_normal = 3; + if (has_y_normal()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->y_normal()); + } + + } + 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 CDOTAUserMsg_UnitEvent_BloodImpact::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_UnitEvent_BloodImpact* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::MergeFrom(const CDOTAUserMsg_UnitEvent_BloodImpact& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_scale()) { + set_scale(from.scale()); + } + if (from.has_x_normal()) { + set_x_normal(from.x_normal()); + } + if (from.has_y_normal()) { + set_y_normal(from.y_normal()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::CopyFrom(const CDOTAUserMsg_UnitEvent_BloodImpact& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_UnitEvent_BloodImpact::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_UnitEvent_BloodImpact::Swap(CDOTAUserMsg_UnitEvent_BloodImpact* other) { + if (other != this) { + std::swap(scale_, other->scale_); + std::swap(x_normal_, other->x_normal_); + std::swap(y_normal_, other->y_normal_); + 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 CDOTAUserMsg_UnitEvent_BloodImpact::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_UnitEvent_BloodImpact_descriptor_; + metadata.reflection = CDOTAUserMsg_UnitEvent_BloodImpact_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_UnitEvent_FadeGesture::kActivityFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_UnitEvent_FadeGesture::CDOTAUserMsg_UnitEvent_FadeGesture() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::InitAsDefaultInstance() { +} + +CDOTAUserMsg_UnitEvent_FadeGesture::CDOTAUserMsg_UnitEvent_FadeGesture(const CDOTAUserMsg_UnitEvent_FadeGesture& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::SharedCtor() { + _cached_size_ = 0; + activity_ = -1; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_UnitEvent_FadeGesture::~CDOTAUserMsg_UnitEvent_FadeGesture() { + SharedDtor(); +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent_FadeGesture::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_UnitEvent_FadeGesture_descriptor_; +} + +const CDOTAUserMsg_UnitEvent_FadeGesture& CDOTAUserMsg_UnitEvent_FadeGesture::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_UnitEvent_FadeGesture* CDOTAUserMsg_UnitEvent_FadeGesture::default_instance_ = NULL; + +CDOTAUserMsg_UnitEvent_FadeGesture* CDOTAUserMsg_UnitEvent_FadeGesture::New() const { + return new CDOTAUserMsg_UnitEvent_FadeGesture; +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + activity_ = -1; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_UnitEvent_FadeGesture::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 .Activity activity = 1 [default = ACT_INVALID]; + 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 (Activity_IsValid(value)) { + set_activity(static_cast< Activity >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } 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 CDOTAUserMsg_UnitEvent_FadeGesture::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->activity(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_UnitEvent_FadeGesture::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->activity(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_UnitEvent_FadeGesture::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .Activity activity = 1 [default = ACT_INVALID]; + if (has_activity()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->activity()); + } + + } + 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 CDOTAUserMsg_UnitEvent_FadeGesture::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_UnitEvent_FadeGesture* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::MergeFrom(const CDOTAUserMsg_UnitEvent_FadeGesture& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_activity()) { + set_activity(from.activity()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::CopyFrom(const CDOTAUserMsg_UnitEvent_FadeGesture& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_UnitEvent_FadeGesture::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_UnitEvent_FadeGesture::Swap(CDOTAUserMsg_UnitEvent_FadeGesture* other) { + if (other != this) { + std::swap(activity_, other->activity_); + 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 CDOTAUserMsg_UnitEvent_FadeGesture::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_UnitEvent_FadeGesture_descriptor_; + metadata.reflection = CDOTAUserMsg_UnitEvent_FadeGesture_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_UnitEvent::kMsgTypeFieldNumber; +const int CDOTAUserMsg_UnitEvent::kEntityIndexFieldNumber; +const int CDOTAUserMsg_UnitEvent::kSpeechFieldNumber; +const int CDOTAUserMsg_UnitEvent::kSpeechMuteFieldNumber; +const int CDOTAUserMsg_UnitEvent::kAddGestureFieldNumber; +const int CDOTAUserMsg_UnitEvent::kRemoveGestureFieldNumber; +const int CDOTAUserMsg_UnitEvent::kBloodImpactFieldNumber; +const int CDOTAUserMsg_UnitEvent::kFadeGestureFieldNumber; +const int CDOTAUserMsg_UnitEvent::kSpeechMatchOnClientFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_UnitEvent::CDOTAUserMsg_UnitEvent() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_UnitEvent::InitAsDefaultInstance() { + speech_ = const_cast< ::CDOTAUserMsg_UnitEvent_Speech*>(&::CDOTAUserMsg_UnitEvent_Speech::default_instance()); + speech_mute_ = const_cast< ::CDOTAUserMsg_UnitEvent_SpeechMute*>(&::CDOTAUserMsg_UnitEvent_SpeechMute::default_instance()); + add_gesture_ = const_cast< ::CDOTAUserMsg_UnitEvent_AddGesture*>(&::CDOTAUserMsg_UnitEvent_AddGesture::default_instance()); + remove_gesture_ = const_cast< ::CDOTAUserMsg_UnitEvent_RemoveGesture*>(&::CDOTAUserMsg_UnitEvent_RemoveGesture::default_instance()); + blood_impact_ = const_cast< ::CDOTAUserMsg_UnitEvent_BloodImpact*>(&::CDOTAUserMsg_UnitEvent_BloodImpact::default_instance()); + fade_gesture_ = const_cast< ::CDOTAUserMsg_UnitEvent_FadeGesture*>(&::CDOTAUserMsg_UnitEvent_FadeGesture::default_instance()); + speech_match_on_client_ = const_cast< ::CDOTASpeechMatchOnClient*>(&::CDOTASpeechMatchOnClient::default_instance()); +} + +CDOTAUserMsg_UnitEvent::CDOTAUserMsg_UnitEvent(const CDOTAUserMsg_UnitEvent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent::SharedCtor() { + _cached_size_ = 0; + msg_type_ = 0; + entity_index_ = 0; + speech_ = NULL; + speech_mute_ = NULL; + add_gesture_ = NULL; + remove_gesture_ = NULL; + blood_impact_ = NULL; + fade_gesture_ = NULL; + speech_match_on_client_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_UnitEvent::~CDOTAUserMsg_UnitEvent() { + SharedDtor(); +} + +void CDOTAUserMsg_UnitEvent::SharedDtor() { + if (this != default_instance_) { + delete speech_; + delete speech_mute_; + delete add_gesture_; + delete remove_gesture_; + delete blood_impact_; + delete fade_gesture_; + delete speech_match_on_client_; + } +} + +void CDOTAUserMsg_UnitEvent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_UnitEvent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_UnitEvent_descriptor_; +} + +const CDOTAUserMsg_UnitEvent& CDOTAUserMsg_UnitEvent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_UnitEvent* CDOTAUserMsg_UnitEvent::default_instance_ = NULL; + +CDOTAUserMsg_UnitEvent* CDOTAUserMsg_UnitEvent::New() const { + return new CDOTAUserMsg_UnitEvent; +} + +void CDOTAUserMsg_UnitEvent::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + msg_type_ = 0; + entity_index_ = 0; + if (has_speech()) { + if (speech_ != NULL) speech_->::CDOTAUserMsg_UnitEvent_Speech::Clear(); + } + if (has_speech_mute()) { + if (speech_mute_ != NULL) speech_mute_->::CDOTAUserMsg_UnitEvent_SpeechMute::Clear(); + } + if (has_add_gesture()) { + if (add_gesture_ != NULL) add_gesture_->::CDOTAUserMsg_UnitEvent_AddGesture::Clear(); + } + if (has_remove_gesture()) { + if (remove_gesture_ != NULL) remove_gesture_->::CDOTAUserMsg_UnitEvent_RemoveGesture::Clear(); + } + if (has_blood_impact()) { + if (blood_impact_ != NULL) blood_impact_->::CDOTAUserMsg_UnitEvent_BloodImpact::Clear(); + } + if (has_fade_gesture()) { + if (fade_gesture_ != NULL) fade_gesture_->::CDOTAUserMsg_UnitEvent_FadeGesture::Clear(); + } + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (has_speech_match_on_client()) { + if (speech_match_on_client_ != NULL) speech_match_on_client_->::CDOTASpeechMatchOnClient::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_UnitEvent::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)) { + // required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH]; + 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 (EDotaEntityMessages_IsValid(value)) { + set_msg_type(static_cast< EDotaEntityMessages >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_entity_index; + break; + } + + // required int32 entity_index = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entity_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_index_))); + set_has_entity_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_speech; + break; + } + + // optional .CDOTAUserMsg_UnitEvent.Speech speech = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_speech: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_speech())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_speech_mute; + break; + } + + // optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_speech_mute: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_speech_mute())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_add_gesture; + break; + } + + // optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_add_gesture: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_add_gesture())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(50)) goto parse_remove_gesture; + break; + } + + // optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_remove_gesture: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_remove_gesture())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(58)) goto parse_blood_impact; + break; + } + + // optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_blood_impact: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_blood_impact())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(66)) goto parse_fade_gesture; + break; + } + + // optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_fade_gesture: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_fade_gesture())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(74)) goto parse_speech_match_on_client; + break; + } + + // optional .CDOTASpeechMatchOnClient speech_match_on_client = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_speech_match_on_client: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_speech_match_on_client())); + } 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 CDOTAUserMsg_UnitEvent::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH]; + if (has_msg_type()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->msg_type(), output); + } + + // required int32 entity_index = 2; + if (has_entity_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->entity_index(), output); + } + + // optional .CDOTAUserMsg_UnitEvent.Speech speech = 3; + if (has_speech()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->speech(), output); + } + + // optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4; + if (has_speech_mute()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, this->speech_mute(), output); + } + + // optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5; + if (has_add_gesture()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, this->add_gesture(), output); + } + + // optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6; + if (has_remove_gesture()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, this->remove_gesture(), output); + } + + // optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7; + if (has_blood_impact()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, this->blood_impact(), output); + } + + // optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8; + if (has_fade_gesture()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, this->fade_gesture(), output); + } + + // optional .CDOTASpeechMatchOnClient speech_match_on_client = 9; + if (has_speech_match_on_client()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 9, this->speech_match_on_client(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_UnitEvent::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH]; + if (has_msg_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->msg_type(), target); + } + + // required int32 entity_index = 2; + if (has_entity_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->entity_index(), target); + } + + // optional .CDOTAUserMsg_UnitEvent.Speech speech = 3; + if (has_speech()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->speech(), target); + } + + // optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4; + if (has_speech_mute()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 4, this->speech_mute(), target); + } + + // optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5; + if (has_add_gesture()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 5, this->add_gesture(), target); + } + + // optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6; + if (has_remove_gesture()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 6, this->remove_gesture(), target); + } + + // optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7; + if (has_blood_impact()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 7, this->blood_impact(), target); + } + + // optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8; + if (has_fade_gesture()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 8, this->fade_gesture(), target); + } + + // optional .CDOTASpeechMatchOnClient speech_match_on_client = 9; + if (has_speech_match_on_client()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 9, this->speech_match_on_client(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_UnitEvent::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH]; + if (has_msg_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->msg_type()); + } + + // required int32 entity_index = 2; + if (has_entity_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_index()); + } + + // optional .CDOTAUserMsg_UnitEvent.Speech speech = 3; + if (has_speech()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->speech()); + } + + // optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4; + if (has_speech_mute()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->speech_mute()); + } + + // optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5; + if (has_add_gesture()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->add_gesture()); + } + + // optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6; + if (has_remove_gesture()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->remove_gesture()); + } + + // optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7; + if (has_blood_impact()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->blood_impact()); + } + + // optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8; + if (has_fade_gesture()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->fade_gesture()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional .CDOTASpeechMatchOnClient speech_match_on_client = 9; + if (has_speech_match_on_client()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->speech_match_on_client()); + } + + } + 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 CDOTAUserMsg_UnitEvent::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_UnitEvent* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_UnitEvent::MergeFrom(const CDOTAUserMsg_UnitEvent& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_msg_type()) { + set_msg_type(from.msg_type()); + } + if (from.has_entity_index()) { + set_entity_index(from.entity_index()); + } + if (from.has_speech()) { + mutable_speech()->::CDOTAUserMsg_UnitEvent_Speech::MergeFrom(from.speech()); + } + if (from.has_speech_mute()) { + mutable_speech_mute()->::CDOTAUserMsg_UnitEvent_SpeechMute::MergeFrom(from.speech_mute()); + } + if (from.has_add_gesture()) { + mutable_add_gesture()->::CDOTAUserMsg_UnitEvent_AddGesture::MergeFrom(from.add_gesture()); + } + if (from.has_remove_gesture()) { + mutable_remove_gesture()->::CDOTAUserMsg_UnitEvent_RemoveGesture::MergeFrom(from.remove_gesture()); + } + if (from.has_blood_impact()) { + mutable_blood_impact()->::CDOTAUserMsg_UnitEvent_BloodImpact::MergeFrom(from.blood_impact()); + } + if (from.has_fade_gesture()) { + mutable_fade_gesture()->::CDOTAUserMsg_UnitEvent_FadeGesture::MergeFrom(from.fade_gesture()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_speech_match_on_client()) { + mutable_speech_match_on_client()->::CDOTASpeechMatchOnClient::MergeFrom(from.speech_match_on_client()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_UnitEvent::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_UnitEvent::CopyFrom(const CDOTAUserMsg_UnitEvent& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_UnitEvent::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + if (has_speech_match_on_client()) { + if (!this->speech_match_on_client().IsInitialized()) return false; + } + return true; +} + +void CDOTAUserMsg_UnitEvent::Swap(CDOTAUserMsg_UnitEvent* other) { + if (other != this) { + std::swap(msg_type_, other->msg_type_); + std::swap(entity_index_, other->entity_index_); + std::swap(speech_, other->speech_); + std::swap(speech_mute_, other->speech_mute_); + std::swap(add_gesture_, other->add_gesture_); + std::swap(remove_gesture_, other->remove_gesture_); + std::swap(blood_impact_, other->blood_impact_); + std::swap(fade_gesture_, other->fade_gesture_); + std::swap(speech_match_on_client_, other->speech_match_on_client_); + 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 CDOTAUserMsg_UnitEvent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_UnitEvent_descriptor_; + metadata.reflection = CDOTAUserMsg_UnitEvent_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_ItemPurchased::kItemIndexFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ItemPurchased::CDOTAUserMsg_ItemPurchased() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ItemPurchased::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ItemPurchased::CDOTAUserMsg_ItemPurchased(const CDOTAUserMsg_ItemPurchased& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ItemPurchased::SharedCtor() { + _cached_size_ = 0; + item_index_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ItemPurchased::~CDOTAUserMsg_ItemPurchased() { + SharedDtor(); +} + +void CDOTAUserMsg_ItemPurchased::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ItemPurchased::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ItemPurchased::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ItemPurchased_descriptor_; +} + +const CDOTAUserMsg_ItemPurchased& CDOTAUserMsg_ItemPurchased::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ItemPurchased* CDOTAUserMsg_ItemPurchased::default_instance_ = NULL; + +CDOTAUserMsg_ItemPurchased* CDOTAUserMsg_ItemPurchased::New() const { + return new CDOTAUserMsg_ItemPurchased; +} + +void CDOTAUserMsg_ItemPurchased::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + item_index_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ItemPurchased::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 int32 item_index = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &item_index_))); + set_has_item_index(); + } 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 CDOTAUserMsg_ItemPurchased::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 item_index = 1; + if (has_item_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->item_index(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ItemPurchased::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 item_index = 1; + if (has_item_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->item_index(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ItemPurchased::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 item_index = 1; + if (has_item_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->item_index()); + } + + } + 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 CDOTAUserMsg_ItemPurchased::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ItemPurchased* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ItemPurchased::MergeFrom(const CDOTAUserMsg_ItemPurchased& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_item_index()) { + set_item_index(from.item_index()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ItemPurchased::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ItemPurchased::CopyFrom(const CDOTAUserMsg_ItemPurchased& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ItemPurchased::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ItemPurchased::Swap(CDOTAUserMsg_ItemPurchased* other) { + if (other != this) { + std::swap(item_index_, other->item_index_); + 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 CDOTAUserMsg_ItemPurchased::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ItemPurchased_descriptor_; + metadata.reflection = CDOTAUserMsg_ItemPurchased_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_ItemFound::kPlayerFieldNumber; +const int CDOTAUserMsg_ItemFound::kQualityFieldNumber; +const int CDOTAUserMsg_ItemFound::kRarityFieldNumber; +const int CDOTAUserMsg_ItemFound::kMethodFieldNumber; +const int CDOTAUserMsg_ItemFound::kItemdefFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ItemFound::CDOTAUserMsg_ItemFound() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ItemFound::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ItemFound::CDOTAUserMsg_ItemFound(const CDOTAUserMsg_ItemFound& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ItemFound::SharedCtor() { + _cached_size_ = 0; + player_ = 0; + quality_ = 0; + rarity_ = 0; + method_ = 0; + itemdef_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ItemFound::~CDOTAUserMsg_ItemFound() { + SharedDtor(); +} + +void CDOTAUserMsg_ItemFound::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ItemFound::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ItemFound::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ItemFound_descriptor_; +} + +const CDOTAUserMsg_ItemFound& CDOTAUserMsg_ItemFound::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ItemFound* CDOTAUserMsg_ItemFound::default_instance_ = NULL; + +CDOTAUserMsg_ItemFound* CDOTAUserMsg_ItemFound::New() const { + return new CDOTAUserMsg_ItemFound; +} + +void CDOTAUserMsg_ItemFound::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_ = 0; + quality_ = 0; + rarity_ = 0; + method_ = 0; + itemdef_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ItemFound::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 int32 player = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_))); + set_has_player(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_quality; + break; + } + + // optional int32 quality = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_quality: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &quality_))); + set_has_quality(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_rarity; + break; + } + + // optional int32 rarity = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_rarity: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &rarity_))); + set_has_rarity(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_method; + break; + } + + // optional int32 method = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_method: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &method_))); + set_has_method(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_itemdef; + break; + } + + // optional int32 itemdef = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_itemdef: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &itemdef_))); + set_has_itemdef(); + } 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 CDOTAUserMsg_ItemFound::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 player = 1; + if (has_player()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->player(), output); + } + + // optional int32 quality = 2; + if (has_quality()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->quality(), output); + } + + // optional int32 rarity = 3; + if (has_rarity()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rarity(), output); + } + + // optional int32 method = 4; + if (has_method()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->method(), output); + } + + // optional int32 itemdef = 5; + if (has_itemdef()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->itemdef(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ItemFound::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 player = 1; + if (has_player()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->player(), target); + } + + // optional int32 quality = 2; + if (has_quality()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->quality(), target); + } + + // optional int32 rarity = 3; + if (has_rarity()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rarity(), target); + } + + // optional int32 method = 4; + if (has_method()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->method(), target); + } + + // optional int32 itemdef = 5; + if (has_itemdef()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->itemdef(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ItemFound::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 player = 1; + if (has_player()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player()); + } + + // optional int32 quality = 2; + if (has_quality()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->quality()); + } + + // optional int32 rarity = 3; + if (has_rarity()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->rarity()); + } + + // optional int32 method = 4; + if (has_method()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->method()); + } + + // optional int32 itemdef = 5; + if (has_itemdef()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->itemdef()); + } + + } + 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 CDOTAUserMsg_ItemFound::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ItemFound* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ItemFound::MergeFrom(const CDOTAUserMsg_ItemFound& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player()) { + set_player(from.player()); + } + if (from.has_quality()) { + set_quality(from.quality()); + } + if (from.has_rarity()) { + set_rarity(from.rarity()); + } + if (from.has_method()) { + set_method(from.method()); + } + if (from.has_itemdef()) { + set_itemdef(from.itemdef()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ItemFound::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ItemFound::CopyFrom(const CDOTAUserMsg_ItemFound& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ItemFound::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ItemFound::Swap(CDOTAUserMsg_ItemFound* other) { + if (other != this) { + std::swap(player_, other->player_); + std::swap(quality_, other->quality_); + std::swap(rarity_, other->rarity_); + std::swap(method_, other->method_); + std::swap(itemdef_, other->itemdef_); + 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 CDOTAUserMsg_ItemFound::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ItemFound_descriptor_; + metadata.reflection = CDOTAUserMsg_ItemFound_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex(const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::~CDOTAUserMsg_ParticleManager_ReleaseParticleIndex() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::New() const { + return new CDOTAUserMsg_ParticleManager_ReleaseParticleIndex; +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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())); + } + return true; +#undef DO_ +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::ByteSize() const { + int total_size = 0; + + 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 CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::MergeFrom(const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::CopyFrom(const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::Swap(CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_ReleaseParticleIndex_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_CreateParticle::kParticleNameIndexFieldNumber; +const int CDOTAUserMsg_ParticleManager_CreateParticle::kAttachTypeFieldNumber; +const int CDOTAUserMsg_ParticleManager_CreateParticle::kEntityHandleFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_CreateParticle::CDOTAUserMsg_ParticleManager_CreateParticle() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ParticleManager_CreateParticle::CDOTAUserMsg_ParticleManager_CreateParticle(const CDOTAUserMsg_ParticleManager_CreateParticle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::SharedCtor() { + _cached_size_ = 0; + particle_name_index_ = 0; + attach_type_ = 0; + entity_handle_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_CreateParticle::~CDOTAUserMsg_ParticleManager_CreateParticle() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_CreateParticle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_CreateParticle_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_CreateParticle& CDOTAUserMsg_ParticleManager_CreateParticle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_CreateParticle* CDOTAUserMsg_ParticleManager_CreateParticle::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_CreateParticle* CDOTAUserMsg_ParticleManager_CreateParticle::New() const { + return new CDOTAUserMsg_ParticleManager_CreateParticle; +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + particle_name_index_ = 0; + attach_type_ = 0; + entity_handle_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_CreateParticle::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 int32 particle_name_index = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &particle_name_index_))); + set_has_particle_name_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_attach_type; + break; + } + + // optional int32 attach_type = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_attach_type: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &attach_type_))); + set_has_attach_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_entity_handle; + break; + } + + // optional int32 entity_handle = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entity_handle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_handle_))); + set_has_entity_handle(); + } 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 CDOTAUserMsg_ParticleManager_CreateParticle::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 particle_name_index = 1; + if (has_particle_name_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->particle_name_index(), output); + } + + // optional int32 attach_type = 2; + if (has_attach_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->attach_type(), output); + } + + // optional int32 entity_handle = 3; + if (has_entity_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->entity_handle(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_CreateParticle::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 particle_name_index = 1; + if (has_particle_name_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->particle_name_index(), target); + } + + // optional int32 attach_type = 2; + if (has_attach_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->attach_type(), target); + } + + // optional int32 entity_handle = 3; + if (has_entity_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->entity_handle(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_CreateParticle::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 particle_name_index = 1; + if (has_particle_name_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->particle_name_index()); + } + + // optional int32 attach_type = 2; + if (has_attach_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->attach_type()); + } + + // optional int32 entity_handle = 3; + if (has_entity_handle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_handle()); + } + + } + 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 CDOTAUserMsg_ParticleManager_CreateParticle::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_CreateParticle* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::MergeFrom(const CDOTAUserMsg_ParticleManager_CreateParticle& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_particle_name_index()) { + set_particle_name_index(from.particle_name_index()); + } + if (from.has_attach_type()) { + set_attach_type(from.attach_type()); + } + if (from.has_entity_handle()) { + set_entity_handle(from.entity_handle()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::CopyFrom(const CDOTAUserMsg_ParticleManager_CreateParticle& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_CreateParticle::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_CreateParticle::Swap(CDOTAUserMsg_ParticleManager_CreateParticle* other) { + if (other != this) { + std::swap(particle_name_index_, other->particle_name_index_); + std::swap(attach_type_, other->attach_type_); + std::swap(entity_handle_, other->entity_handle_); + 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 CDOTAUserMsg_ParticleManager_CreateParticle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_CreateParticle_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_CreateParticle_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_DestroyParticle::kDestroyImmediatelyFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_DestroyParticle::CDOTAUserMsg_ParticleManager_DestroyParticle() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ParticleManager_DestroyParticle::CDOTAUserMsg_ParticleManager_DestroyParticle(const CDOTAUserMsg_ParticleManager_DestroyParticle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::SharedCtor() { + _cached_size_ = 0; + destroy_immediately_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_DestroyParticle::~CDOTAUserMsg_ParticleManager_DestroyParticle() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_DestroyParticle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_DestroyParticle_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_DestroyParticle& CDOTAUserMsg_ParticleManager_DestroyParticle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_DestroyParticle* CDOTAUserMsg_ParticleManager_DestroyParticle::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_DestroyParticle* CDOTAUserMsg_ParticleManager_DestroyParticle::New() const { + return new CDOTAUserMsg_ParticleManager_DestroyParticle; +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + destroy_immediately_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_DestroyParticle::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 bool destroy_immediately = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &destroy_immediately_))); + set_has_destroy_immediately(); + } 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 CDOTAUserMsg_ParticleManager_DestroyParticle::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool destroy_immediately = 1; + if (has_destroy_immediately()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->destroy_immediately(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_DestroyParticle::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool destroy_immediately = 1; + if (has_destroy_immediately()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->destroy_immediately(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_DestroyParticle::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool destroy_immediately = 1; + if (has_destroy_immediately()) { + total_size += 1 + 1; + } + + } + 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 CDOTAUserMsg_ParticleManager_DestroyParticle::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_DestroyParticle* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::MergeFrom(const CDOTAUserMsg_ParticleManager_DestroyParticle& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_destroy_immediately()) { + set_destroy_immediately(from.destroy_immediately()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::CopyFrom(const CDOTAUserMsg_ParticleManager_DestroyParticle& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_DestroyParticle::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_DestroyParticle::Swap(CDOTAUserMsg_ParticleManager_DestroyParticle* other) { + if (other != this) { + std::swap(destroy_immediately_, other->destroy_immediately_); + 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 CDOTAUserMsg_ParticleManager_DestroyParticle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_DestroyParticle_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_DestroyParticle_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::kDestroyImmediatelyFieldNumber; +const int CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::kEntityHandleFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving(const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::SharedCtor() { + _cached_size_ = 0; + destroy_immediately_ = false; + entity_handle_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::~CDOTAUserMsg_ParticleManager_DestroyParticleInvolving() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::New() const { + return new CDOTAUserMsg_ParticleManager_DestroyParticleInvolving; +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + destroy_immediately_ = false; + entity_handle_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::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 bool destroy_immediately = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &destroy_immediately_))); + set_has_destroy_immediately(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_entity_handle; + break; + } + + // optional int32 entity_handle = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entity_handle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_handle_))); + set_has_entity_handle(); + } 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 CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool destroy_immediately = 1; + if (has_destroy_immediately()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->destroy_immediately(), output); + } + + // optional int32 entity_handle = 3; + if (has_entity_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->entity_handle(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool destroy_immediately = 1; + if (has_destroy_immediately()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->destroy_immediately(), target); + } + + // optional int32 entity_handle = 3; + if (has_entity_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->entity_handle(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool destroy_immediately = 1; + if (has_destroy_immediately()) { + total_size += 1 + 1; + } + + // optional int32 entity_handle = 3; + if (has_entity_handle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_handle()); + } + + } + 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 CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::MergeFrom(const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_destroy_immediately()) { + set_destroy_immediately(from.destroy_immediately()); + } + if (from.has_entity_handle()) { + set_entity_handle(from.entity_handle()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::CopyFrom(const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::Swap(CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* other) { + if (other != this) { + std::swap(destroy_immediately_, other->destroy_immediately_); + std::swap(entity_handle_, other->entity_handle_); + 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 CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_DestroyParticleInvolving_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_UpdateParticle::kControlPointFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticle::kPositionFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_UpdateParticle::CDOTAUserMsg_ParticleManager_UpdateParticle() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::InitAsDefaultInstance() { + position_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_ParticleManager_UpdateParticle::CDOTAUserMsg_ParticleManager_UpdateParticle(const CDOTAUserMsg_ParticleManager_UpdateParticle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::SharedCtor() { + _cached_size_ = 0; + control_point_ = 0; + position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_UpdateParticle::~CDOTAUserMsg_ParticleManager_UpdateParticle() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::SharedDtor() { + if (this != default_instance_) { + delete position_; + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_UpdateParticle_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_UpdateParticle& CDOTAUserMsg_ParticleManager_UpdateParticle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_UpdateParticle* CDOTAUserMsg_ParticleManager_UpdateParticle::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_UpdateParticle* CDOTAUserMsg_ParticleManager_UpdateParticle::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticle; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + control_point_ = 0; + if (has_position()) { + if (position_ != NULL) position_->::CMsgVector::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticle::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 int32 control_point = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &control_point_))); + set_has_control_point(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_position; + break; + } + + // optional .CMsgVector position = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_position: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_position())); + } 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 CDOTAUserMsg_ParticleManager_UpdateParticle::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 control_point = 1; + if (has_control_point()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->control_point(), output); + } + + // optional .CMsgVector position = 2; + if (has_position()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->position(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticle::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 control_point = 1; + if (has_control_point()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->control_point(), target); + } + + // optional .CMsgVector position = 2; + if (has_position()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->position(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_UpdateParticle::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 control_point = 1; + if (has_control_point()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->control_point()); + } + + // optional .CMsgVector position = 2; + if (has_position()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->position()); + } + + } + 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 CDOTAUserMsg_ParticleManager_UpdateParticle::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_UpdateParticle* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticle& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_control_point()) { + set_control_point(from.control_point()); + } + if (from.has_position()) { + mutable_position()->::CMsgVector::MergeFrom(from.position()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticle& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticle::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticle::Swap(CDOTAUserMsg_ParticleManager_UpdateParticle* other) { + if (other != this) { + std::swap(control_point_, other->control_point_); + std::swap(position_, other->position_); + 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 CDOTAUserMsg_ParticleManager_UpdateParticle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticle_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticle_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_UpdateParticleFwd::kControlPointFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleFwd::kForwardFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_UpdateParticleFwd::CDOTAUserMsg_ParticleManager_UpdateParticleFwd() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::InitAsDefaultInstance() { + forward_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleFwd::CDOTAUserMsg_ParticleManager_UpdateParticleFwd(const CDOTAUserMsg_ParticleManager_UpdateParticleFwd& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::SharedCtor() { + _cached_size_ = 0; + control_point_ = 0; + forward_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleFwd::~CDOTAUserMsg_ParticleManager_UpdateParticleFwd() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::SharedDtor() { + if (this != default_instance_) { + delete forward_; + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleFwd::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_UpdateParticleFwd_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_UpdateParticleFwd& CDOTAUserMsg_ParticleManager_UpdateParticleFwd::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_UpdateParticleFwd* CDOTAUserMsg_ParticleManager_UpdateParticleFwd::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_UpdateParticleFwd* CDOTAUserMsg_ParticleManager_UpdateParticleFwd::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticleFwd; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + control_point_ = 0; + if (has_forward()) { + if (forward_ != NULL) forward_->::CMsgVector::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleFwd::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 int32 control_point = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &control_point_))); + set_has_control_point(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_forward; + break; + } + + // optional .CMsgVector forward = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_forward: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_forward())); + } 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 CDOTAUserMsg_ParticleManager_UpdateParticleFwd::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 control_point = 1; + if (has_control_point()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->control_point(), output); + } + + // optional .CMsgVector forward = 2; + if (has_forward()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->forward(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleFwd::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 control_point = 1; + if (has_control_point()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->control_point(), target); + } + + // optional .CMsgVector forward = 2; + if (has_forward()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->forward(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_UpdateParticleFwd::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 control_point = 1; + if (has_control_point()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->control_point()); + } + + // optional .CMsgVector forward = 2; + if (has_forward()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->forward()); + } + + } + 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 CDOTAUserMsg_ParticleManager_UpdateParticleFwd::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_UpdateParticleFwd* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleFwd& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_control_point()) { + set_control_point(from.control_point()); + } + if (from.has_forward()) { + mutable_forward()->::CMsgVector::MergeFrom(from.forward()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleFwd& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleFwd::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleFwd* other) { + if (other != this) { + std::swap(control_point_, other->control_point_); + std::swap(forward_, other->forward_); + 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 CDOTAUserMsg_ParticleManager_UpdateParticleFwd::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleFwd_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleFwd_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_UpdateParticleOrient::kControlPointFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleOrient::kForwardFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleOrient::kRightFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleOrient::kUpFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_UpdateParticleOrient::CDOTAUserMsg_ParticleManager_UpdateParticleOrient() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::InitAsDefaultInstance() { + forward_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); + right_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); + up_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleOrient::CDOTAUserMsg_ParticleManager_UpdateParticleOrient(const CDOTAUserMsg_ParticleManager_UpdateParticleOrient& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::SharedCtor() { + _cached_size_ = 0; + control_point_ = 0; + forward_ = NULL; + right_ = NULL; + up_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleOrient::~CDOTAUserMsg_ParticleManager_UpdateParticleOrient() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::SharedDtor() { + if (this != default_instance_) { + delete forward_; + delete right_; + delete up_; + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_UpdateParticleOrient_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_UpdateParticleOrient& CDOTAUserMsg_ParticleManager_UpdateParticleOrient::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_UpdateParticleOrient* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_UpdateParticleOrient* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticleOrient; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + control_point_ = 0; + if (has_forward()) { + if (forward_ != NULL) forward_->::CMsgVector::Clear(); + } + if (has_right()) { + if (right_ != NULL) right_->::CMsgVector::Clear(); + } + if (has_up()) { + if (up_ != NULL) up_->::CMsgVector::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleOrient::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 int32 control_point = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &control_point_))); + set_has_control_point(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_forward; + break; + } + + // optional .CMsgVector forward = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_forward: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_forward())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_right; + break; + } + + // optional .CMsgVector right = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_right: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_right())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_up; + break; + } + + // optional .CMsgVector up = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_up: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_up())); + } 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 CDOTAUserMsg_ParticleManager_UpdateParticleOrient::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 control_point = 1; + if (has_control_point()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->control_point(), output); + } + + // optional .CMsgVector forward = 2; + if (has_forward()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->forward(), output); + } + + // optional .CMsgVector right = 3; + if (has_right()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->right(), output); + } + + // optional .CMsgVector up = 4; + if (has_up()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, this->up(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 control_point = 1; + if (has_control_point()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->control_point(), target); + } + + // optional .CMsgVector forward = 2; + if (has_forward()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->forward(), target); + } + + // optional .CMsgVector right = 3; + if (has_right()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->right(), target); + } + + // optional .CMsgVector up = 4; + if (has_up()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 4, this->up(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_UpdateParticleOrient::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 control_point = 1; + if (has_control_point()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->control_point()); + } + + // optional .CMsgVector forward = 2; + if (has_forward()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->forward()); + } + + // optional .CMsgVector right = 3; + if (has_right()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->right()); + } + + // optional .CMsgVector up = 4; + if (has_up()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->up()); + } + + } + 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 CDOTAUserMsg_ParticleManager_UpdateParticleOrient::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_UpdateParticleOrient* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleOrient& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_control_point()) { + set_control_point(from.control_point()); + } + if (from.has_forward()) { + mutable_forward()->::CMsgVector::MergeFrom(from.forward()); + } + if (from.has_right()) { + mutable_right()->::CMsgVector::MergeFrom(from.right()); + } + if (from.has_up()) { + mutable_up()->::CMsgVector::MergeFrom(from.up()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleOrient& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleOrient::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleOrient* other) { + if (other != this) { + std::swap(control_point_, other->control_point_); + std::swap(forward_, other->forward_); + std::swap(right_, other->right_); + std::swap(up_, other->up_); + 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 CDOTAUserMsg_ParticleManager_UpdateParticleOrient::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleOrient_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleOrient_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_UpdateParticleFallback::kControlPointFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleFallback::kPositionFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_UpdateParticleFallback::CDOTAUserMsg_ParticleManager_UpdateParticleFallback() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::InitAsDefaultInstance() { + position_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleFallback::CDOTAUserMsg_ParticleManager_UpdateParticleFallback(const CDOTAUserMsg_ParticleManager_UpdateParticleFallback& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::SharedCtor() { + _cached_size_ = 0; + control_point_ = 0; + position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleFallback::~CDOTAUserMsg_ParticleManager_UpdateParticleFallback() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::SharedDtor() { + if (this != default_instance_) { + delete position_; + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleFallback::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_UpdateParticleFallback_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_UpdateParticleFallback& CDOTAUserMsg_ParticleManager_UpdateParticleFallback::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_UpdateParticleFallback* CDOTAUserMsg_ParticleManager_UpdateParticleFallback::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_UpdateParticleFallback* CDOTAUserMsg_ParticleManager_UpdateParticleFallback::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticleFallback; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + control_point_ = 0; + if (has_position()) { + if (position_ != NULL) position_->::CMsgVector::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleFallback::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 int32 control_point = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &control_point_))); + set_has_control_point(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_position; + break; + } + + // optional .CMsgVector position = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_position: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_position())); + } 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 CDOTAUserMsg_ParticleManager_UpdateParticleFallback::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 control_point = 1; + if (has_control_point()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->control_point(), output); + } + + // optional .CMsgVector position = 2; + if (has_position()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->position(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleFallback::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 control_point = 1; + if (has_control_point()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->control_point(), target); + } + + // optional .CMsgVector position = 2; + if (has_position()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->position(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_UpdateParticleFallback::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 control_point = 1; + if (has_control_point()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->control_point()); + } + + // optional .CMsgVector position = 2; + if (has_position()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->position()); + } + + } + 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 CDOTAUserMsg_ParticleManager_UpdateParticleFallback::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_UpdateParticleFallback* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleFallback& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_control_point()) { + set_control_point(from.control_point()); + } + if (from.has_position()) { + mutable_position()->::CMsgVector::MergeFrom(from.position()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleFallback& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleFallback::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleFallback* other) { + if (other != this) { + std::swap(control_point_, other->control_point_); + std::swap(position_, other->position_); + 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 CDOTAUserMsg_ParticleManager_UpdateParticleFallback::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleFallback_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleFallback_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_UpdateParticleOffset::kControlPointFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleOffset::kOriginOffsetFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_UpdateParticleOffset::CDOTAUserMsg_ParticleManager_UpdateParticleOffset() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::InitAsDefaultInstance() { + origin_offset_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleOffset::CDOTAUserMsg_ParticleManager_UpdateParticleOffset(const CDOTAUserMsg_ParticleManager_UpdateParticleOffset& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::SharedCtor() { + _cached_size_ = 0; + control_point_ = 0; + origin_offset_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleOffset::~CDOTAUserMsg_ParticleManager_UpdateParticleOffset() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::SharedDtor() { + if (this != default_instance_) { + delete origin_offset_; + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleOffset::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_UpdateParticleOffset_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_UpdateParticleOffset& CDOTAUserMsg_ParticleManager_UpdateParticleOffset::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_UpdateParticleOffset* CDOTAUserMsg_ParticleManager_UpdateParticleOffset::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_UpdateParticleOffset* CDOTAUserMsg_ParticleManager_UpdateParticleOffset::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticleOffset; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + control_point_ = 0; + if (has_origin_offset()) { + if (origin_offset_ != NULL) origin_offset_->::CMsgVector::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleOffset::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 int32 control_point = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &control_point_))); + set_has_control_point(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_origin_offset; + break; + } + + // optional .CMsgVector origin_offset = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_origin_offset: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_origin_offset())); + } 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 CDOTAUserMsg_ParticleManager_UpdateParticleOffset::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 control_point = 1; + if (has_control_point()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->control_point(), output); + } + + // optional .CMsgVector origin_offset = 2; + if (has_origin_offset()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->origin_offset(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleOffset::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 control_point = 1; + if (has_control_point()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->control_point(), target); + } + + // optional .CMsgVector origin_offset = 2; + if (has_origin_offset()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->origin_offset(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_UpdateParticleOffset::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 control_point = 1; + if (has_control_point()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->control_point()); + } + + // optional .CMsgVector origin_offset = 2; + if (has_origin_offset()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->origin_offset()); + } + + } + 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 CDOTAUserMsg_ParticleManager_UpdateParticleOffset::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_UpdateParticleOffset* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleOffset& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_control_point()) { + set_control_point(from.control_point()); + } + if (from.has_origin_offset()) { + mutable_origin_offset()->::CMsgVector::MergeFrom(from.origin_offset()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleOffset& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleOffset::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleOffset* other) { + if (other != this) { + std::swap(control_point_, other->control_point_); + std::swap(origin_offset_, other->origin_offset_); + 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 CDOTAUserMsg_ParticleManager_UpdateParticleOffset::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleOffset_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleOffset_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_UpdateParticleEnt::kControlPointFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleEnt::kEntityHandleFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleEnt::kAttachTypeFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleEnt::kAttachmentFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleEnt::kFallbackPositionFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_UpdateParticleEnt::CDOTAUserMsg_ParticleManager_UpdateParticleEnt() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::InitAsDefaultInstance() { + fallback_position_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleEnt::CDOTAUserMsg_ParticleManager_UpdateParticleEnt(const CDOTAUserMsg_ParticleManager_UpdateParticleEnt& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::SharedCtor() { + _cached_size_ = 0; + control_point_ = 0; + entity_handle_ = 0; + attach_type_ = 0; + attachment_ = 0; + fallback_position_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleEnt::~CDOTAUserMsg_ParticleManager_UpdateParticleEnt() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::SharedDtor() { + if (this != default_instance_) { + delete fallback_position_; + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleEnt::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_UpdateParticleEnt_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_UpdateParticleEnt& CDOTAUserMsg_ParticleManager_UpdateParticleEnt::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_UpdateParticleEnt* CDOTAUserMsg_ParticleManager_UpdateParticleEnt::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_UpdateParticleEnt* CDOTAUserMsg_ParticleManager_UpdateParticleEnt::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticleEnt; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + control_point_ = 0; + entity_handle_ = 0; + attach_type_ = 0; + attachment_ = 0; + if (has_fallback_position()) { + if (fallback_position_ != NULL) fallback_position_->::CMsgVector::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleEnt::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 int32 control_point = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &control_point_))); + set_has_control_point(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_entity_handle; + break; + } + + // optional int32 entity_handle = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entity_handle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_handle_))); + set_has_entity_handle(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_attach_type; + break; + } + + // optional int32 attach_type = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_attach_type: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &attach_type_))); + set_has_attach_type(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_attachment; + break; + } + + // optional int32 attachment = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_attachment: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &attachment_))); + set_has_attachment(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_fallback_position; + break; + } + + // optional .CMsgVector fallback_position = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_fallback_position: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_fallback_position())); + } 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 CDOTAUserMsg_ParticleManager_UpdateParticleEnt::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 control_point = 1; + if (has_control_point()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->control_point(), output); + } + + // optional int32 entity_handle = 2; + if (has_entity_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->entity_handle(), output); + } + + // optional int32 attach_type = 3; + if (has_attach_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->attach_type(), output); + } + + // optional int32 attachment = 4; + if (has_attachment()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->attachment(), output); + } + + // optional .CMsgVector fallback_position = 5; + if (has_fallback_position()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, this->fallback_position(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleEnt::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 control_point = 1; + if (has_control_point()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->control_point(), target); + } + + // optional int32 entity_handle = 2; + if (has_entity_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->entity_handle(), target); + } + + // optional int32 attach_type = 3; + if (has_attach_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->attach_type(), target); + } + + // optional int32 attachment = 4; + if (has_attachment()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->attachment(), target); + } + + // optional .CMsgVector fallback_position = 5; + if (has_fallback_position()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 5, this->fallback_position(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_UpdateParticleEnt::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 control_point = 1; + if (has_control_point()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->control_point()); + } + + // optional int32 entity_handle = 2; + if (has_entity_handle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_handle()); + } + + // optional int32 attach_type = 3; + if (has_attach_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->attach_type()); + } + + // optional int32 attachment = 4; + if (has_attachment()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->attachment()); + } + + // optional .CMsgVector fallback_position = 5; + if (has_fallback_position()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->fallback_position()); + } + + } + 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 CDOTAUserMsg_ParticleManager_UpdateParticleEnt::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_UpdateParticleEnt* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleEnt& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_control_point()) { + set_control_point(from.control_point()); + } + if (from.has_entity_handle()) { + set_entity_handle(from.entity_handle()); + } + if (from.has_attach_type()) { + set_attach_type(from.attach_type()); + } + if (from.has_attachment()) { + set_attachment(from.attachment()); + } + if (from.has_fallback_position()) { + mutable_fallback_position()->::CMsgVector::MergeFrom(from.fallback_position()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleEnt& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleEnt::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleEnt* other) { + if (other != this) { + std::swap(control_point_, other->control_point_); + std::swap(entity_handle_, other->entity_handle_); + std::swap(attach_type_, other->attach_type_); + std::swap(attachment_, other->attachment_); + std::swap(fallback_position_, other->fallback_position_); + 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 CDOTAUserMsg_ParticleManager_UpdateParticleEnt::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleEnt_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleEnt_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_UpdateParticleLatency::kPlayerLatencyFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleLatency::kTickFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_UpdateParticleLatency::CDOTAUserMsg_ParticleManager_UpdateParticleLatency() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ParticleManager_UpdateParticleLatency::CDOTAUserMsg_ParticleManager_UpdateParticleLatency(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SharedCtor() { + _cached_size_ = 0; + player_latency_ = 0; + tick_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleLatency::~CDOTAUserMsg_ParticleManager_UpdateParticleLatency() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleLatency::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_UpdateParticleLatency_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_UpdateParticleLatency* CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_UpdateParticleLatency* CDOTAUserMsg_ParticleManager_UpdateParticleLatency::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticleLatency; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_latency_ = 0; + tick_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::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 int32 player_latency = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_latency_))); + set_has_player_latency(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_tick; + break; + } + + // optional int32 tick = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_tick: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &tick_))); + set_has_tick(); + } 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 CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 player_latency = 1; + if (has_player_latency()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->player_latency(), output); + } + + // optional int32 tick = 2; + if (has_tick()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->tick(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 player_latency = 1; + if (has_player_latency()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->player_latency(), target); + } + + // optional int32 tick = 2; + if (has_tick()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->tick(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_UpdateParticleLatency::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 player_latency = 1; + if (has_player_latency()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player_latency()); + } + + // optional int32 tick = 2; + if (has_tick()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->tick()); + } + + } + 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 CDOTAUserMsg_ParticleManager_UpdateParticleLatency::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_UpdateParticleLatency* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_latency()) { + set_player_latency(from.player_latency()); + } + if (from.has_tick()) { + set_tick(from.tick()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleLatency* other) { + if (other != this) { + std::swap(player_latency_, other->player_latency_); + std::swap(tick_, other->tick_); + 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 CDOTAUserMsg_ParticleManager_UpdateParticleLatency::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleLatency_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleLatency_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::kShouldDrawFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw(const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::SharedCtor() { + _cached_size_ = 0; + should_draw_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::~CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_descriptor_; +} + +const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + should_draw_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::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 bool should_draw = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &should_draw_))); + set_has_should_draw(); + } 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 CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool should_draw = 1; + if (has_should_draw()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->should_draw(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool should_draw = 1; + if (has_should_draw()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->should_draw(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool should_draw = 1; + if (has_should_draw()) { + total_size += 1 + 1; + } + + } + 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 CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_should_draw()) { + set_should_draw(from.should_draw()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* other) { + if (other != this) { + std::swap(should_draw_, other->should_draw_); + 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 CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CDOTAUserMsg_ParticleManager::kTypeFieldNumber; +const int CDOTAUserMsg_ParticleManager::kIndexFieldNumber; +const int CDOTAUserMsg_ParticleManager::kReleaseParticleIndexFieldNumber; +const int CDOTAUserMsg_ParticleManager::kCreateParticleFieldNumber; +const int CDOTAUserMsg_ParticleManager::kDestroyParticleFieldNumber; +const int CDOTAUserMsg_ParticleManager::kDestroyParticleInvolvingFieldNumber; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleFieldNumber; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleFwdFieldNumber; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleOrientFieldNumber; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleFallbackFieldNumber; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleOffsetFieldNumber; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleEntFieldNumber; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleLatencyFieldNumber; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleShouldDrawFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ParticleManager::CDOTAUserMsg_ParticleManager() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ParticleManager::InitAsDefaultInstance() { + release_particle_index_ = const_cast< ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex*>(&::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::default_instance()); + create_particle_ = const_cast< ::CDOTAUserMsg_ParticleManager_CreateParticle*>(&::CDOTAUserMsg_ParticleManager_CreateParticle::default_instance()); + destroy_particle_ = const_cast< ::CDOTAUserMsg_ParticleManager_DestroyParticle*>(&::CDOTAUserMsg_ParticleManager_DestroyParticle::default_instance()); + destroy_particle_involving_ = const_cast< ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving*>(&::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::default_instance()); + update_particle_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticle*>(&::CDOTAUserMsg_ParticleManager_UpdateParticle::default_instance()); + update_particle_fwd_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd*>(&::CDOTAUserMsg_ParticleManager_UpdateParticleFwd::default_instance()); + update_particle_orient_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient*>(&::CDOTAUserMsg_ParticleManager_UpdateParticleOrient::default_instance()); + update_particle_fallback_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback*>(&::CDOTAUserMsg_ParticleManager_UpdateParticleFallback::default_instance()); + update_particle_offset_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset*>(&::CDOTAUserMsg_ParticleManager_UpdateParticleOffset::default_instance()); + update_particle_ent_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt*>(&::CDOTAUserMsg_ParticleManager_UpdateParticleEnt::default_instance()); + update_particle_latency_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency*>(&::CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance()); + update_particle_should_draw_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw*>(&::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance()); +} + +CDOTAUserMsg_ParticleManager::CDOTAUserMsg_ParticleManager(const CDOTAUserMsg_ParticleManager& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager::SharedCtor() { + _cached_size_ = 0; + type_ = 0; + index_ = 0u; + release_particle_index_ = NULL; + create_particle_ = NULL; + destroy_particle_ = NULL; + destroy_particle_involving_ = NULL; + update_particle_ = NULL; + update_particle_fwd_ = NULL; + update_particle_orient_ = NULL; + update_particle_fallback_ = NULL; + update_particle_offset_ = NULL; + update_particle_ent_ = NULL; + update_particle_latency_ = NULL; + update_particle_should_draw_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ParticleManager::~CDOTAUserMsg_ParticleManager() { + SharedDtor(); +} + +void CDOTAUserMsg_ParticleManager::SharedDtor() { + if (this != default_instance_) { + delete release_particle_index_; + delete create_particle_; + delete destroy_particle_; + delete destroy_particle_involving_; + delete update_particle_; + delete update_particle_fwd_; + delete update_particle_orient_; + delete update_particle_fallback_; + delete update_particle_offset_; + delete update_particle_ent_; + delete update_particle_latency_; + delete update_particle_should_draw_; + } +} + +void CDOTAUserMsg_ParticleManager::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ParticleManager_descriptor_; +} + +const CDOTAUserMsg_ParticleManager& CDOTAUserMsg_ParticleManager::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ParticleManager* CDOTAUserMsg_ParticleManager::default_instance_ = NULL; + +CDOTAUserMsg_ParticleManager* CDOTAUserMsg_ParticleManager::New() const { + return new CDOTAUserMsg_ParticleManager; +} + +void CDOTAUserMsg_ParticleManager::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + type_ = 0; + index_ = 0u; + if (has_release_particle_index()) { + if (release_particle_index_ != NULL) release_particle_index_->::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::Clear(); + } + if (has_create_particle()) { + if (create_particle_ != NULL) create_particle_->::CDOTAUserMsg_ParticleManager_CreateParticle::Clear(); + } + if (has_destroy_particle()) { + if (destroy_particle_ != NULL) destroy_particle_->::CDOTAUserMsg_ParticleManager_DestroyParticle::Clear(); + } + if (has_destroy_particle_involving()) { + if (destroy_particle_involving_ != NULL) destroy_particle_involving_->::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::Clear(); + } + if (has_update_particle()) { + if (update_particle_ != NULL) update_particle_->::CDOTAUserMsg_ParticleManager_UpdateParticle::Clear(); + } + if (has_update_particle_fwd()) { + if (update_particle_fwd_ != NULL) update_particle_fwd_->::CDOTAUserMsg_ParticleManager_UpdateParticleFwd::Clear(); + } + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (has_update_particle_orient()) { + if (update_particle_orient_ != NULL) update_particle_orient_->::CDOTAUserMsg_ParticleManager_UpdateParticleOrient::Clear(); + } + if (has_update_particle_fallback()) { + if (update_particle_fallback_ != NULL) update_particle_fallback_->::CDOTAUserMsg_ParticleManager_UpdateParticleFallback::Clear(); + } + if (has_update_particle_offset()) { + if (update_particle_offset_ != NULL) update_particle_offset_->::CDOTAUserMsg_ParticleManager_UpdateParticleOffset::Clear(); + } + if (has_update_particle_ent()) { + if (update_particle_ent_ != NULL) update_particle_ent_->::CDOTAUserMsg_ParticleManager_UpdateParticleEnt::Clear(); + } + if (has_update_particle_latency()) { + if (update_particle_latency_ != NULL) update_particle_latency_->::CDOTAUserMsg_ParticleManager_UpdateParticleLatency::Clear(); + } + if (has_update_particle_should_draw()) { + if (update_particle_should_draw_ != NULL) update_particle_should_draw_->::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ParticleManager::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)) { + // required .DOTA_PARTICLE_MESSAGE type = 1 [default = DOTA_PARTICLE_MANAGER_EVENT_CREATE]; + 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 (DOTA_PARTICLE_MESSAGE_IsValid(value)) { + set_type(static_cast< DOTA_PARTICLE_MESSAGE >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_index; + break; + } + + // required uint32 index = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &index_))); + set_has_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_release_particle_index; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_release_particle_index: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_release_particle_index())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_create_particle; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.CreateParticle create_particle = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_create_particle: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_create_particle())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_destroy_particle; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_destroy_particle: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_destroy_particle())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(50)) goto parse_destroy_particle_involving; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_destroy_particle_involving: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_destroy_particle_involving())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(58)) goto parse_update_particle; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticle update_particle = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(66)) goto parse_update_particle_fwd; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFwd update_particle_fwd = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle_fwd: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle_fwd())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(74)) goto parse_update_particle_orient; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOrient update_particle_orient = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle_orient: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle_orient())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(82)) goto parse_update_particle_fallback; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + case 10: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle_fallback: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle_fallback())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(90)) goto parse_update_particle_offset; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + case 11: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle_offset: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle_offset())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(98)) goto parse_update_particle_ent; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + case 12: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle_ent: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle_ent())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(106)) goto parse_update_particle_latency; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleLatency update_particle_latency = 13; + case 13: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle_latency: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle_latency())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(114)) goto parse_update_particle_should_draw; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; + case 14: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle_should_draw: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle_should_draw())); + } 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 CDOTAUserMsg_ParticleManager::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .DOTA_PARTICLE_MESSAGE type = 1 [default = DOTA_PARTICLE_MANAGER_EVENT_CREATE]; + if (has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->type(), output); + } + + // required uint32 index = 2; + if (has_index()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->index(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + if (has_release_particle_index()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->release_particle_index(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.CreateParticle create_particle = 4; + if (has_create_particle()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, this->create_particle(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + if (has_destroy_particle()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, this->destroy_particle(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + if (has_destroy_particle_involving()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, this->destroy_particle_involving(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticle update_particle = 7; + if (has_update_particle()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, this->update_particle(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFwd update_particle_fwd = 8; + if (has_update_particle_fwd()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, this->update_particle_fwd(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOrient update_particle_orient = 9; + if (has_update_particle_orient()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 9, this->update_particle_orient(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + if (has_update_particle_fallback()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 10, this->update_particle_fallback(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + if (has_update_particle_offset()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 11, this->update_particle_offset(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + if (has_update_particle_ent()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 12, this->update_particle_ent(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleLatency update_particle_latency = 13; + if (has_update_particle_latency()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 13, this->update_particle_latency(), output); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; + if (has_update_particle_should_draw()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 14, this->update_particle_should_draw(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // required .DOTA_PARTICLE_MESSAGE type = 1 [default = DOTA_PARTICLE_MANAGER_EVENT_CREATE]; + if (has_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->type(), target); + } + + // required uint32 index = 2; + if (has_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->index(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + if (has_release_particle_index()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->release_particle_index(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.CreateParticle create_particle = 4; + if (has_create_particle()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 4, this->create_particle(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + if (has_destroy_particle()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 5, this->destroy_particle(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + if (has_destroy_particle_involving()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 6, this->destroy_particle_involving(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticle update_particle = 7; + if (has_update_particle()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 7, this->update_particle(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFwd update_particle_fwd = 8; + if (has_update_particle_fwd()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 8, this->update_particle_fwd(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOrient update_particle_orient = 9; + if (has_update_particle_orient()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 9, this->update_particle_orient(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + if (has_update_particle_fallback()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 10, this->update_particle_fallback(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + if (has_update_particle_offset()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 11, this->update_particle_offset(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + if (has_update_particle_ent()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 12, this->update_particle_ent(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleLatency update_particle_latency = 13; + if (has_update_particle_latency()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 13, this->update_particle_latency(), target); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; + if (has_update_particle_should_draw()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 14, this->update_particle_should_draw(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ParticleManager::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .DOTA_PARTICLE_MESSAGE type = 1 [default = DOTA_PARTICLE_MANAGER_EVENT_CREATE]; + if (has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->type()); + } + + // required uint32 index = 2; + if (has_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->index()); + } + + // optional .CDOTAUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + if (has_release_particle_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->release_particle_index()); + } + + // optional .CDOTAUserMsg_ParticleManager.CreateParticle create_particle = 4; + if (has_create_particle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->create_particle()); + } + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + if (has_destroy_particle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->destroy_particle()); + } + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + if (has_destroy_particle_involving()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->destroy_particle_involving()); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticle update_particle = 7; + if (has_update_particle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle()); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFwd update_particle_fwd = 8; + if (has_update_particle_fwd()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle_fwd()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOrient update_particle_orient = 9; + if (has_update_particle_orient()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle_orient()); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + if (has_update_particle_fallback()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle_fallback()); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + if (has_update_particle_offset()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle_offset()); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + if (has_update_particle_ent()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle_ent()); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleLatency update_particle_latency = 13; + if (has_update_particle_latency()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle_latency()); + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; + if (has_update_particle_should_draw()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle_should_draw()); + } + + } + 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 CDOTAUserMsg_ParticleManager::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ParticleManager* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ParticleManager::MergeFrom(const CDOTAUserMsg_ParticleManager& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_type()) { + set_type(from.type()); + } + if (from.has_index()) { + set_index(from.index()); + } + if (from.has_release_particle_index()) { + mutable_release_particle_index()->::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::MergeFrom(from.release_particle_index()); + } + if (from.has_create_particle()) { + mutable_create_particle()->::CDOTAUserMsg_ParticleManager_CreateParticle::MergeFrom(from.create_particle()); + } + if (from.has_destroy_particle()) { + mutable_destroy_particle()->::CDOTAUserMsg_ParticleManager_DestroyParticle::MergeFrom(from.destroy_particle()); + } + if (from.has_destroy_particle_involving()) { + mutable_destroy_particle_involving()->::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::MergeFrom(from.destroy_particle_involving()); + } + if (from.has_update_particle()) { + mutable_update_particle()->::CDOTAUserMsg_ParticleManager_UpdateParticle::MergeFrom(from.update_particle()); + } + if (from.has_update_particle_fwd()) { + mutable_update_particle_fwd()->::CDOTAUserMsg_ParticleManager_UpdateParticleFwd::MergeFrom(from.update_particle_fwd()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_update_particle_orient()) { + mutable_update_particle_orient()->::CDOTAUserMsg_ParticleManager_UpdateParticleOrient::MergeFrom(from.update_particle_orient()); + } + if (from.has_update_particle_fallback()) { + mutable_update_particle_fallback()->::CDOTAUserMsg_ParticleManager_UpdateParticleFallback::MergeFrom(from.update_particle_fallback()); + } + if (from.has_update_particle_offset()) { + mutable_update_particle_offset()->::CDOTAUserMsg_ParticleManager_UpdateParticleOffset::MergeFrom(from.update_particle_offset()); + } + if (from.has_update_particle_ent()) { + mutable_update_particle_ent()->::CDOTAUserMsg_ParticleManager_UpdateParticleEnt::MergeFrom(from.update_particle_ent()); + } + if (from.has_update_particle_latency()) { + mutable_update_particle_latency()->::CDOTAUserMsg_ParticleManager_UpdateParticleLatency::MergeFrom(from.update_particle_latency()); + } + if (from.has_update_particle_should_draw()) { + mutable_update_particle_should_draw()->::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::MergeFrom(from.update_particle_should_draw()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ParticleManager::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ParticleManager::CopyFrom(const CDOTAUserMsg_ParticleManager& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ParticleManager::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + return true; +} + +void CDOTAUserMsg_ParticleManager::Swap(CDOTAUserMsg_ParticleManager* other) { + if (other != this) { + std::swap(type_, other->type_); + std::swap(index_, other->index_); + std::swap(release_particle_index_, other->release_particle_index_); + std::swap(create_particle_, other->create_particle_); + std::swap(destroy_particle_, other->destroy_particle_); + std::swap(destroy_particle_involving_, other->destroy_particle_involving_); + std::swap(update_particle_, other->update_particle_); + std::swap(update_particle_fwd_, other->update_particle_fwd_); + std::swap(update_particle_orient_, other->update_particle_orient_); + std::swap(update_particle_fallback_, other->update_particle_fallback_); + std::swap(update_particle_offset_, other->update_particle_offset_); + std::swap(update_particle_ent_, other->update_particle_ent_); + std::swap(update_particle_latency_, other->update_particle_latency_); + std::swap(update_particle_should_draw_, other->update_particle_should_draw_); + 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 CDOTAUserMsg_ParticleManager::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ParticleManager_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_OverheadEvent::kMessageTypeFieldNumber; +const int CDOTAUserMsg_OverheadEvent::kValueFieldNumber; +const int CDOTAUserMsg_OverheadEvent::kTargetPlayerEntindexFieldNumber; +const int CDOTAUserMsg_OverheadEvent::kTargetEntindexFieldNumber; +const int CDOTAUserMsg_OverheadEvent::kSourcePlayerEntindexFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_OverheadEvent::CDOTAUserMsg_OverheadEvent() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_OverheadEvent::InitAsDefaultInstance() { +} + +CDOTAUserMsg_OverheadEvent::CDOTAUserMsg_OverheadEvent(const CDOTAUserMsg_OverheadEvent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_OverheadEvent::SharedCtor() { + _cached_size_ = 0; + message_type_ = 0; + value_ = 0; + target_player_entindex_ = 0; + target_entindex_ = 0; + source_player_entindex_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_OverheadEvent::~CDOTAUserMsg_OverheadEvent() { + SharedDtor(); +} + +void CDOTAUserMsg_OverheadEvent::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_OverheadEvent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_OverheadEvent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_OverheadEvent_descriptor_; +} + +const CDOTAUserMsg_OverheadEvent& CDOTAUserMsg_OverheadEvent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_OverheadEvent* CDOTAUserMsg_OverheadEvent::default_instance_ = NULL; + +CDOTAUserMsg_OverheadEvent* CDOTAUserMsg_OverheadEvent::New() const { + return new CDOTAUserMsg_OverheadEvent; +} + +void CDOTAUserMsg_OverheadEvent::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + message_type_ = 0; + value_ = 0; + target_player_entindex_ = 0; + target_entindex_ = 0; + source_player_entindex_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_OverheadEvent::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)) { + // required .DOTA_OVERHEAD_ALERT message_type = 1 [default = OVERHEAD_ALERT_GOLD]; + 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 (DOTA_OVERHEAD_ALERT_IsValid(value)) { + set_message_type(static_cast< DOTA_OVERHEAD_ALERT >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_value; + break; + } + + // optional int32 value = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_value: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &value_))); + set_has_value(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_target_player_entindex; + break; + } + + // optional int32 target_player_entindex = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_target_player_entindex: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &target_player_entindex_))); + set_has_target_player_entindex(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_target_entindex; + break; + } + + // optional int32 target_entindex = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_target_entindex: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &target_entindex_))); + set_has_target_entindex(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_source_player_entindex; + break; + } + + // optional int32 source_player_entindex = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_source_player_entindex: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &source_player_entindex_))); + set_has_source_player_entindex(); + } 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 CDOTAUserMsg_OverheadEvent::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // required .DOTA_OVERHEAD_ALERT message_type = 1 [default = OVERHEAD_ALERT_GOLD]; + if (has_message_type()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->message_type(), output); + } + + // optional int32 value = 2; + if (has_value()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->value(), output); + } + + // optional int32 target_player_entindex = 3; + if (has_target_player_entindex()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->target_player_entindex(), output); + } + + // optional int32 target_entindex = 4; + if (has_target_entindex()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->target_entindex(), output); + } + + // optional int32 source_player_entindex = 5; + if (has_source_player_entindex()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->source_player_entindex(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_OverheadEvent::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // required .DOTA_OVERHEAD_ALERT message_type = 1 [default = OVERHEAD_ALERT_GOLD]; + if (has_message_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->message_type(), target); + } + + // optional int32 value = 2; + if (has_value()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->value(), target); + } + + // optional int32 target_player_entindex = 3; + if (has_target_player_entindex()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->target_player_entindex(), target); + } + + // optional int32 target_entindex = 4; + if (has_target_entindex()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->target_entindex(), target); + } + + // optional int32 source_player_entindex = 5; + if (has_source_player_entindex()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->source_player_entindex(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_OverheadEvent::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .DOTA_OVERHEAD_ALERT message_type = 1 [default = OVERHEAD_ALERT_GOLD]; + if (has_message_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->message_type()); + } + + // optional int32 value = 2; + if (has_value()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->value()); + } + + // optional int32 target_player_entindex = 3; + if (has_target_player_entindex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->target_player_entindex()); + } + + // optional int32 target_entindex = 4; + if (has_target_entindex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->target_entindex()); + } + + // optional int32 source_player_entindex = 5; + if (has_source_player_entindex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->source_player_entindex()); + } + + } + 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 CDOTAUserMsg_OverheadEvent::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_OverheadEvent* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_OverheadEvent::MergeFrom(const CDOTAUserMsg_OverheadEvent& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_message_type()) { + set_message_type(from.message_type()); + } + if (from.has_value()) { + set_value(from.value()); + } + if (from.has_target_player_entindex()) { + set_target_player_entindex(from.target_player_entindex()); + } + if (from.has_target_entindex()) { + set_target_entindex(from.target_entindex()); + } + if (from.has_source_player_entindex()) { + set_source_player_entindex(from.source_player_entindex()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_OverheadEvent::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_OverheadEvent::CopyFrom(const CDOTAUserMsg_OverheadEvent& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_OverheadEvent::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + return true; +} + +void CDOTAUserMsg_OverheadEvent::Swap(CDOTAUserMsg_OverheadEvent* other) { + if (other != this) { + std::swap(message_type_, other->message_type_); + std::swap(value_, other->value_); + std::swap(target_player_entindex_, other->target_player_entindex_); + std::swap(target_entindex_, other->target_entindex_); + std::swap(source_player_entindex_, other->source_player_entindex_); + 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 CDOTAUserMsg_OverheadEvent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_OverheadEvent_descriptor_; + metadata.reflection = CDOTAUserMsg_OverheadEvent_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_TutorialTipInfo::kNameFieldNumber; +const int CDOTAUserMsg_TutorialTipInfo::kProgressFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_TutorialTipInfo::CDOTAUserMsg_TutorialTipInfo() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_TutorialTipInfo::InitAsDefaultInstance() { +} + +CDOTAUserMsg_TutorialTipInfo::CDOTAUserMsg_TutorialTipInfo(const CDOTAUserMsg_TutorialTipInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_TutorialTipInfo::SharedCtor() { + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + progress_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_TutorialTipInfo::~CDOTAUserMsg_TutorialTipInfo() { + SharedDtor(); +} + +void CDOTAUserMsg_TutorialTipInfo::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_TutorialTipInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialTipInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_TutorialTipInfo_descriptor_; +} + +const CDOTAUserMsg_TutorialTipInfo& CDOTAUserMsg_TutorialTipInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_TutorialTipInfo* CDOTAUserMsg_TutorialTipInfo::default_instance_ = NULL; + +CDOTAUserMsg_TutorialTipInfo* CDOTAUserMsg_TutorialTipInfo::New() const { + return new CDOTAUserMsg_TutorialTipInfo; +} + +void CDOTAUserMsg_TutorialTipInfo::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + progress_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_TutorialTipInfo::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 string name = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_progress; + break; + } + + // optional int32 progress = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_progress: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &progress_))); + set_has_progress(); + } 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 CDOTAUserMsg_TutorialTipInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->name(), output); + } + + // optional int32 progress = 2; + if (has_progress()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->progress(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_TutorialTipInfo::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->name(), target); + } + + // optional int32 progress = 2; + if (has_progress()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->progress(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_TutorialTipInfo::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string name = 1; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + // optional int32 progress = 2; + if (has_progress()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->progress()); + } + + } + 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 CDOTAUserMsg_TutorialTipInfo::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_TutorialTipInfo* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_TutorialTipInfo::MergeFrom(const CDOTAUserMsg_TutorialTipInfo& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_name()) { + set_name(from.name()); + } + if (from.has_progress()) { + set_progress(from.progress()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_TutorialTipInfo::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_TutorialTipInfo::CopyFrom(const CDOTAUserMsg_TutorialTipInfo& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_TutorialTipInfo::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_TutorialTipInfo::Swap(CDOTAUserMsg_TutorialTipInfo* other) { + if (other != this) { + std::swap(name_, other->name_); + std::swap(progress_, other->progress_); + 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 CDOTAUserMsg_TutorialTipInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_TutorialTipInfo_descriptor_; + metadata.reflection = CDOTAUserMsg_TutorialTipInfo_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_WorldLine::kPlayerIdFieldNumber; +const int CDOTAUserMsg_WorldLine::kWorldlineFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_WorldLine::CDOTAUserMsg_WorldLine() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_WorldLine::InitAsDefaultInstance() { + worldline_ = const_cast< ::CDOTAMsg_WorldLine*>(&::CDOTAMsg_WorldLine::default_instance()); +} + +CDOTAUserMsg_WorldLine::CDOTAUserMsg_WorldLine(const CDOTAUserMsg_WorldLine& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_WorldLine::SharedCtor() { + _cached_size_ = 0; + player_id_ = 0; + worldline_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_WorldLine::~CDOTAUserMsg_WorldLine() { + SharedDtor(); +} + +void CDOTAUserMsg_WorldLine::SharedDtor() { + if (this != default_instance_) { + delete worldline_; + } +} + +void CDOTAUserMsg_WorldLine::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_WorldLine::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_WorldLine_descriptor_; +} + +const CDOTAUserMsg_WorldLine& CDOTAUserMsg_WorldLine::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_WorldLine* CDOTAUserMsg_WorldLine::default_instance_ = NULL; + +CDOTAUserMsg_WorldLine* CDOTAUserMsg_WorldLine::New() const { + return new CDOTAUserMsg_WorldLine; +} + +void CDOTAUserMsg_WorldLine::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_id_ = 0; + if (has_worldline()) { + if (worldline_ != NULL) worldline_->::CDOTAMsg_WorldLine::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_WorldLine::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 int32 player_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_id_))); + set_has_player_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_worldline; + break; + } + + // optional .CDOTAMsg_WorldLine worldline = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_worldline: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_worldline())); + } 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 CDOTAUserMsg_WorldLine::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 player_id = 1; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->player_id(), output); + } + + // optional .CDOTAMsg_WorldLine worldline = 2; + if (has_worldline()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->worldline(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_WorldLine::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 player_id = 1; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->player_id(), target); + } + + // optional .CDOTAMsg_WorldLine worldline = 2; + if (has_worldline()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->worldline(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_WorldLine::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 player_id = 1; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player_id()); + } + + // optional .CDOTAMsg_WorldLine worldline = 2; + if (has_worldline()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->worldline()); + } + + } + 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 CDOTAUserMsg_WorldLine::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_WorldLine* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_WorldLine::MergeFrom(const CDOTAUserMsg_WorldLine& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + if (from.has_worldline()) { + mutable_worldline()->::CDOTAMsg_WorldLine::MergeFrom(from.worldline()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_WorldLine::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_WorldLine::CopyFrom(const CDOTAUserMsg_WorldLine& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_WorldLine::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_WorldLine::Swap(CDOTAUserMsg_WorldLine* other) { + if (other != this) { + std::swap(player_id_, other->player_id_); + std::swap(worldline_, other->worldline_); + 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 CDOTAUserMsg_WorldLine::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_WorldLine_descriptor_; + metadata.reflection = CDOTAUserMsg_WorldLine_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_TournamentDrop::kWinnerNameFieldNumber; +const int CDOTAUserMsg_TournamentDrop::kEventTypeFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_TournamentDrop::CDOTAUserMsg_TournamentDrop() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_TournamentDrop::InitAsDefaultInstance() { +} + +CDOTAUserMsg_TournamentDrop::CDOTAUserMsg_TournamentDrop(const CDOTAUserMsg_TournamentDrop& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_TournamentDrop::SharedCtor() { + _cached_size_ = 0; + winner_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + event_type_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_TournamentDrop::~CDOTAUserMsg_TournamentDrop() { + SharedDtor(); +} + +void CDOTAUserMsg_TournamentDrop::SharedDtor() { + if (winner_name_ != &::google::protobuf::internal::kEmptyString) { + delete winner_name_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_TournamentDrop::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_TournamentDrop::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_TournamentDrop_descriptor_; +} + +const CDOTAUserMsg_TournamentDrop& CDOTAUserMsg_TournamentDrop::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_TournamentDrop* CDOTAUserMsg_TournamentDrop::default_instance_ = NULL; + +CDOTAUserMsg_TournamentDrop* CDOTAUserMsg_TournamentDrop::New() const { + return new CDOTAUserMsg_TournamentDrop; +} + +void CDOTAUserMsg_TournamentDrop::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_winner_name()) { + if (winner_name_ != &::google::protobuf::internal::kEmptyString) { + winner_name_->clear(); + } + } + event_type_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_TournamentDrop::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 string winner_name = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_winner_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->winner_name().data(), this->winner_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_event_type; + break; + } + + // optional int32 event_type = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_event_type: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &event_type_))); + set_has_event_type(); + } 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 CDOTAUserMsg_TournamentDrop::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string winner_name = 1; + if (has_winner_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->winner_name().data(), this->winner_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->winner_name(), output); + } + + // optional int32 event_type = 2; + if (has_event_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->event_type(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_TournamentDrop::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string winner_name = 1; + if (has_winner_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->winner_name().data(), this->winner_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->winner_name(), target); + } + + // optional int32 event_type = 2; + if (has_event_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->event_type(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_TournamentDrop::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string winner_name = 1; + if (has_winner_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->winner_name()); + } + + // optional int32 event_type = 2; + if (has_event_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->event_type()); + } + + } + 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 CDOTAUserMsg_TournamentDrop::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_TournamentDrop* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_TournamentDrop::MergeFrom(const CDOTAUserMsg_TournamentDrop& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_winner_name()) { + set_winner_name(from.winner_name()); + } + if (from.has_event_type()) { + set_event_type(from.event_type()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_TournamentDrop::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_TournamentDrop::CopyFrom(const CDOTAUserMsg_TournamentDrop& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_TournamentDrop::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_TournamentDrop::Swap(CDOTAUserMsg_TournamentDrop* other) { + if (other != this) { + std::swap(winner_name_, other->winner_name_); + std::swap(event_type_, other->event_type_); + 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 CDOTAUserMsg_TournamentDrop::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_TournamentDrop_descriptor_; + metadata.reflection = CDOTAUserMsg_TournamentDrop_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_ChatWheel::kChatMessageFieldNumber; +const int CDOTAUserMsg_ChatWheel::kPlayerIdFieldNumber; +const int CDOTAUserMsg_ChatWheel::kAccountIdFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ChatWheel::CDOTAUserMsg_ChatWheel() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ChatWheel::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ChatWheel::CDOTAUserMsg_ChatWheel(const CDOTAUserMsg_ChatWheel& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ChatWheel::SharedCtor() { + _cached_size_ = 0; + chat_message_ = 0; + player_id_ = 0u; + account_id_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ChatWheel::~CDOTAUserMsg_ChatWheel() { + SharedDtor(); +} + +void CDOTAUserMsg_ChatWheel::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ChatWheel::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ChatWheel::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ChatWheel_descriptor_; +} + +const CDOTAUserMsg_ChatWheel& CDOTAUserMsg_ChatWheel::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ChatWheel* CDOTAUserMsg_ChatWheel::default_instance_ = NULL; + +CDOTAUserMsg_ChatWheel* CDOTAUserMsg_ChatWheel::New() const { + return new CDOTAUserMsg_ChatWheel; +} + +void CDOTAUserMsg_ChatWheel::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + chat_message_ = 0; + player_id_ = 0u; + account_id_ = 0u; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ChatWheel::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 .EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok]; + 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 (EDOTAChatWheelMessage_IsValid(value)) { + set_chat_message(static_cast< EDOTAChatWheelMessage >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_player_id; + break; + } + + // optional uint32 player_id = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_player_id: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &player_id_))); + set_has_player_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_account_id; + break; + } + + // optional uint32 account_id = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_account_id: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &account_id_))); + set_has_account_id(); + } 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 CDOTAUserMsg_ChatWheel::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok]; + if (has_chat_message()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->chat_message(), output); + } + + // optional uint32 player_id = 2; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->player_id(), output); + } + + // optional uint32 account_id = 3; + if (has_account_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->account_id(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ChatWheel::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok]; + if (has_chat_message()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->chat_message(), target); + } + + // optional uint32 player_id = 2; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->player_id(), target); + } + + // optional uint32 account_id = 3; + if (has_account_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->account_id(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ChatWheel::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok]; + if (has_chat_message()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->chat_message()); + } + + // optional uint32 player_id = 2; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->player_id()); + } + + // optional uint32 account_id = 3; + if (has_account_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->account_id()); + } + + } + 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 CDOTAUserMsg_ChatWheel::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ChatWheel* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ChatWheel::MergeFrom(const CDOTAUserMsg_ChatWheel& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_chat_message()) { + set_chat_message(from.chat_message()); + } + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + if (from.has_account_id()) { + set_account_id(from.account_id()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ChatWheel::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ChatWheel::CopyFrom(const CDOTAUserMsg_ChatWheel& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ChatWheel::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ChatWheel::Swap(CDOTAUserMsg_ChatWheel* other) { + if (other != this) { + std::swap(chat_message_, other->chat_message_); + std::swap(player_id_, other->player_id_); + std::swap(account_id_, other->account_id_); + 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 CDOTAUserMsg_ChatWheel::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ChatWheel_descriptor_; + metadata.reflection = CDOTAUserMsg_ChatWheel_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_ReceivedXmasGift::kPlayerIdFieldNumber; +const int CDOTAUserMsg_ReceivedXmasGift::kItemNameFieldNumber; +const int CDOTAUserMsg_ReceivedXmasGift::kInventorySlotFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ReceivedXmasGift::CDOTAUserMsg_ReceivedXmasGift() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ReceivedXmasGift::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ReceivedXmasGift::CDOTAUserMsg_ReceivedXmasGift(const CDOTAUserMsg_ReceivedXmasGift& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ReceivedXmasGift::SharedCtor() { + _cached_size_ = 0; + player_id_ = 0; + item_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + inventory_slot_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ReceivedXmasGift::~CDOTAUserMsg_ReceivedXmasGift() { + SharedDtor(); +} + +void CDOTAUserMsg_ReceivedXmasGift::SharedDtor() { + if (item_name_ != &::google::protobuf::internal::kEmptyString) { + delete item_name_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ReceivedXmasGift::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ReceivedXmasGift::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ReceivedXmasGift_descriptor_; +} + +const CDOTAUserMsg_ReceivedXmasGift& CDOTAUserMsg_ReceivedXmasGift::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ReceivedXmasGift* CDOTAUserMsg_ReceivedXmasGift::default_instance_ = NULL; + +CDOTAUserMsg_ReceivedXmasGift* CDOTAUserMsg_ReceivedXmasGift::New() const { + return new CDOTAUserMsg_ReceivedXmasGift; +} + +void CDOTAUserMsg_ReceivedXmasGift::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_id_ = 0; + if (has_item_name()) { + if (item_name_ != &::google::protobuf::internal::kEmptyString) { + item_name_->clear(); + } + } + inventory_slot_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ReceivedXmasGift::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 int32 player_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_id_))); + set_has_player_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_item_name; + break; + } + + // optional string item_name = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_item_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_item_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->item_name().data(), this->item_name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_inventory_slot; + break; + } + + // optional int32 inventory_slot = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_inventory_slot: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &inventory_slot_))); + set_has_inventory_slot(); + } 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 CDOTAUserMsg_ReceivedXmasGift::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 player_id = 1; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->player_id(), output); + } + + // optional string item_name = 2; + if (has_item_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->item_name().data(), this->item_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->item_name(), output); + } + + // optional int32 inventory_slot = 3; + if (has_inventory_slot()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->inventory_slot(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ReceivedXmasGift::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 player_id = 1; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->player_id(), target); + } + + // optional string item_name = 2; + if (has_item_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->item_name().data(), this->item_name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->item_name(), target); + } + + // optional int32 inventory_slot = 3; + if (has_inventory_slot()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->inventory_slot(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ReceivedXmasGift::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 player_id = 1; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player_id()); + } + + // optional string item_name = 2; + if (has_item_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->item_name()); + } + + // optional int32 inventory_slot = 3; + if (has_inventory_slot()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->inventory_slot()); + } + + } + 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 CDOTAUserMsg_ReceivedXmasGift::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ReceivedXmasGift* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ReceivedXmasGift::MergeFrom(const CDOTAUserMsg_ReceivedXmasGift& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + if (from.has_item_name()) { + set_item_name(from.item_name()); + } + if (from.has_inventory_slot()) { + set_inventory_slot(from.inventory_slot()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ReceivedXmasGift::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ReceivedXmasGift::CopyFrom(const CDOTAUserMsg_ReceivedXmasGift& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ReceivedXmasGift::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ReceivedXmasGift::Swap(CDOTAUserMsg_ReceivedXmasGift* other) { + if (other != this) { + std::swap(player_id_, other->player_id_); + std::swap(item_name_, other->item_name_); + std::swap(inventory_slot_, other->inventory_slot_); + 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 CDOTAUserMsg_ReceivedXmasGift::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ReceivedXmasGift_descriptor_; + metadata.reflection = CDOTAUserMsg_ReceivedXmasGift_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_ShowSurvey::kSurveyIdFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_ShowSurvey::CDOTAUserMsg_ShowSurvey() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_ShowSurvey::InitAsDefaultInstance() { +} + +CDOTAUserMsg_ShowSurvey::CDOTAUserMsg_ShowSurvey(const CDOTAUserMsg_ShowSurvey& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_ShowSurvey::SharedCtor() { + _cached_size_ = 0; + survey_id_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_ShowSurvey::~CDOTAUserMsg_ShowSurvey() { + SharedDtor(); +} + +void CDOTAUserMsg_ShowSurvey::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_ShowSurvey::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_ShowSurvey::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_ShowSurvey_descriptor_; +} + +const CDOTAUserMsg_ShowSurvey& CDOTAUserMsg_ShowSurvey::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_ShowSurvey* CDOTAUserMsg_ShowSurvey::default_instance_ = NULL; + +CDOTAUserMsg_ShowSurvey* CDOTAUserMsg_ShowSurvey::New() const { + return new CDOTAUserMsg_ShowSurvey; +} + +void CDOTAUserMsg_ShowSurvey::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + survey_id_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_ShowSurvey::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 int32 survey_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &survey_id_))); + set_has_survey_id(); + } 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 CDOTAUserMsg_ShowSurvey::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 survey_id = 1; + if (has_survey_id()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->survey_id(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_ShowSurvey::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 survey_id = 1; + if (has_survey_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->survey_id(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_ShowSurvey::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 survey_id = 1; + if (has_survey_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->survey_id()); + } + + } + 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 CDOTAUserMsg_ShowSurvey::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_ShowSurvey* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_ShowSurvey::MergeFrom(const CDOTAUserMsg_ShowSurvey& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_survey_id()) { + set_survey_id(from.survey_id()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_ShowSurvey::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_ShowSurvey::CopyFrom(const CDOTAUserMsg_ShowSurvey& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_ShowSurvey::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_ShowSurvey::Swap(CDOTAUserMsg_ShowSurvey* other) { + if (other != this) { + std::swap(survey_id_, other->survey_id_); + 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 CDOTAUserMsg_ShowSurvey::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_ShowSurvey_descriptor_; + metadata.reflection = CDOTAUserMsg_ShowSurvey_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_UpdateSharedContent::kSlotTypeFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_UpdateSharedContent::CDOTAUserMsg_UpdateSharedContent() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_UpdateSharedContent::InitAsDefaultInstance() { +} + +CDOTAUserMsg_UpdateSharedContent::CDOTAUserMsg_UpdateSharedContent(const CDOTAUserMsg_UpdateSharedContent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_UpdateSharedContent::SharedCtor() { + _cached_size_ = 0; + slot_type_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_UpdateSharedContent::~CDOTAUserMsg_UpdateSharedContent() { + SharedDtor(); +} + +void CDOTAUserMsg_UpdateSharedContent::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_UpdateSharedContent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_UpdateSharedContent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_UpdateSharedContent_descriptor_; +} + +const CDOTAUserMsg_UpdateSharedContent& CDOTAUserMsg_UpdateSharedContent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_UpdateSharedContent* CDOTAUserMsg_UpdateSharedContent::default_instance_ = NULL; + +CDOTAUserMsg_UpdateSharedContent* CDOTAUserMsg_UpdateSharedContent::New() const { + return new CDOTAUserMsg_UpdateSharedContent; +} + +void CDOTAUserMsg_UpdateSharedContent::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + slot_type_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_UpdateSharedContent::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 int32 slot_type = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &slot_type_))); + set_has_slot_type(); + } 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 CDOTAUserMsg_UpdateSharedContent::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 slot_type = 1; + if (has_slot_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->slot_type(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_UpdateSharedContent::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 slot_type = 1; + if (has_slot_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->slot_type(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_UpdateSharedContent::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 slot_type = 1; + if (has_slot_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->slot_type()); + } + + } + 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 CDOTAUserMsg_UpdateSharedContent::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_UpdateSharedContent* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_UpdateSharedContent::MergeFrom(const CDOTAUserMsg_UpdateSharedContent& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_slot_type()) { + set_slot_type(from.slot_type()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_UpdateSharedContent::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_UpdateSharedContent::CopyFrom(const CDOTAUserMsg_UpdateSharedContent& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_UpdateSharedContent::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_UpdateSharedContent::Swap(CDOTAUserMsg_UpdateSharedContent* other) { + if (other != this) { + std::swap(slot_type_, other->slot_type_); + 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 CDOTAUserMsg_UpdateSharedContent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_UpdateSharedContent_descriptor_; + metadata.reflection = CDOTAUserMsg_UpdateSharedContent_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CDOTAUserMsg_TutorialRequestExp::CDOTAUserMsg_TutorialRequestExp() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_TutorialRequestExp::InitAsDefaultInstance() { +} + +CDOTAUserMsg_TutorialRequestExp::CDOTAUserMsg_TutorialRequestExp(const CDOTAUserMsg_TutorialRequestExp& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_TutorialRequestExp::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_TutorialRequestExp::~CDOTAUserMsg_TutorialRequestExp() { + SharedDtor(); +} + +void CDOTAUserMsg_TutorialRequestExp::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_TutorialRequestExp::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialRequestExp::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_TutorialRequestExp_descriptor_; +} + +const CDOTAUserMsg_TutorialRequestExp& CDOTAUserMsg_TutorialRequestExp::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_TutorialRequestExp* CDOTAUserMsg_TutorialRequestExp::default_instance_ = NULL; + +CDOTAUserMsg_TutorialRequestExp* CDOTAUserMsg_TutorialRequestExp::New() const { + return new CDOTAUserMsg_TutorialRequestExp; +} + +void CDOTAUserMsg_TutorialRequestExp::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_TutorialRequestExp::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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())); + } + return true; +#undef DO_ +} + +void CDOTAUserMsg_TutorialRequestExp::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_TutorialRequestExp::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_TutorialRequestExp::ByteSize() const { + int total_size = 0; + + 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 CDOTAUserMsg_TutorialRequestExp::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_TutorialRequestExp* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_TutorialRequestExp::MergeFrom(const CDOTAUserMsg_TutorialRequestExp& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_TutorialRequestExp::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_TutorialRequestExp::CopyFrom(const CDOTAUserMsg_TutorialRequestExp& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_TutorialRequestExp::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_TutorialRequestExp::Swap(CDOTAUserMsg_TutorialRequestExp* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CDOTAUserMsg_TutorialRequestExp::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_TutorialRequestExp_descriptor_; + metadata.reflection = CDOTAUserMsg_TutorialRequestExp_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_TutorialFade::kTgtAlphaFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_TutorialFade::CDOTAUserMsg_TutorialFade() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_TutorialFade::InitAsDefaultInstance() { +} + +CDOTAUserMsg_TutorialFade::CDOTAUserMsg_TutorialFade(const CDOTAUserMsg_TutorialFade& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_TutorialFade::SharedCtor() { + _cached_size_ = 0; + tgt_alpha_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_TutorialFade::~CDOTAUserMsg_TutorialFade() { + SharedDtor(); +} + +void CDOTAUserMsg_TutorialFade::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_TutorialFade::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialFade::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_TutorialFade_descriptor_; +} + +const CDOTAUserMsg_TutorialFade& CDOTAUserMsg_TutorialFade::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_TutorialFade* CDOTAUserMsg_TutorialFade::default_instance_ = NULL; + +CDOTAUserMsg_TutorialFade* CDOTAUserMsg_TutorialFade::New() const { + return new CDOTAUserMsg_TutorialFade; +} + +void CDOTAUserMsg_TutorialFade::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + tgt_alpha_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_TutorialFade::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 int32 tgt_alpha = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &tgt_alpha_))); + set_has_tgt_alpha(); + } 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 CDOTAUserMsg_TutorialFade::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 tgt_alpha = 1; + if (has_tgt_alpha()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->tgt_alpha(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_TutorialFade::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 tgt_alpha = 1; + if (has_tgt_alpha()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->tgt_alpha(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_TutorialFade::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 tgt_alpha = 1; + if (has_tgt_alpha()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->tgt_alpha()); + } + + } + 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 CDOTAUserMsg_TutorialFade::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_TutorialFade* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_TutorialFade::MergeFrom(const CDOTAUserMsg_TutorialFade& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_tgt_alpha()) { + set_tgt_alpha(from.tgt_alpha()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_TutorialFade::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_TutorialFade::CopyFrom(const CDOTAUserMsg_TutorialFade& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_TutorialFade::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_TutorialFade::Swap(CDOTAUserMsg_TutorialFade* other) { + if (other != this) { + std::swap(tgt_alpha_, other->tgt_alpha_); + 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 CDOTAUserMsg_TutorialFade::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_TutorialFade_descriptor_; + metadata.reflection = CDOTAUserMsg_TutorialFade_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_TutorialPingMinimap::kPlayerIdFieldNumber; +const int CDOTAUserMsg_TutorialPingMinimap::kPosXFieldNumber; +const int CDOTAUserMsg_TutorialPingMinimap::kPosYFieldNumber; +const int CDOTAUserMsg_TutorialPingMinimap::kPosZFieldNumber; +const int CDOTAUserMsg_TutorialPingMinimap::kEntityIndexFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_TutorialPingMinimap::CDOTAUserMsg_TutorialPingMinimap() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_TutorialPingMinimap::InitAsDefaultInstance() { +} + +CDOTAUserMsg_TutorialPingMinimap::CDOTAUserMsg_TutorialPingMinimap(const CDOTAUserMsg_TutorialPingMinimap& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_TutorialPingMinimap::SharedCtor() { + _cached_size_ = 0; + player_id_ = 0u; + pos_x_ = 0; + pos_y_ = 0; + pos_z_ = 0; + entity_index_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_TutorialPingMinimap::~CDOTAUserMsg_TutorialPingMinimap() { + SharedDtor(); +} + +void CDOTAUserMsg_TutorialPingMinimap::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_TutorialPingMinimap::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialPingMinimap::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_TutorialPingMinimap_descriptor_; +} + +const CDOTAUserMsg_TutorialPingMinimap& CDOTAUserMsg_TutorialPingMinimap::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_TutorialPingMinimap* CDOTAUserMsg_TutorialPingMinimap::default_instance_ = NULL; + +CDOTAUserMsg_TutorialPingMinimap* CDOTAUserMsg_TutorialPingMinimap::New() const { + return new CDOTAUserMsg_TutorialPingMinimap; +} + +void CDOTAUserMsg_TutorialPingMinimap::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_id_ = 0u; + pos_x_ = 0; + pos_y_ = 0; + pos_z_ = 0; + entity_index_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_TutorialPingMinimap::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 uint32 player_id = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &player_id_))); + set_has_player_id(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_pos_x; + break; + } + + // optional float pos_x = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_pos_x: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &pos_x_))); + set_has_pos_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_pos_y; + break; + } + + // optional float pos_y = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_pos_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &pos_y_))); + set_has_pos_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(37)) goto parse_pos_z; + break; + } + + // optional float pos_z = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_pos_z: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &pos_z_))); + set_has_pos_z(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_entity_index; + break; + } + + // optional int32 entity_index = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_entity_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &entity_index_))); + set_has_entity_index(); + } 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 CDOTAUserMsg_TutorialPingMinimap::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->player_id(), output); + } + + // optional float pos_x = 2; + if (has_pos_x()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->pos_x(), output); + } + + // optional float pos_y = 3; + if (has_pos_y()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->pos_y(), output); + } + + // optional float pos_z = 4; + if (has_pos_z()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->pos_z(), output); + } + + // optional int32 entity_index = 5; + if (has_entity_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->entity_index(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_TutorialPingMinimap::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 player_id = 1; + if (has_player_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->player_id(), target); + } + + // optional float pos_x = 2; + if (has_pos_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->pos_x(), target); + } + + // optional float pos_y = 3; + if (has_pos_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->pos_y(), target); + } + + // optional float pos_z = 4; + if (has_pos_z()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->pos_z(), target); + } + + // optional int32 entity_index = 5; + if (has_entity_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->entity_index(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_TutorialPingMinimap::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 player_id = 1; + if (has_player_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->player_id()); + } + + // optional float pos_x = 2; + if (has_pos_x()) { + total_size += 1 + 4; + } + + // optional float pos_y = 3; + if (has_pos_y()) { + total_size += 1 + 4; + } + + // optional float pos_z = 4; + if (has_pos_z()) { + total_size += 1 + 4; + } + + // optional int32 entity_index = 5; + if (has_entity_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entity_index()); + } + + } + 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 CDOTAUserMsg_TutorialPingMinimap::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_TutorialPingMinimap* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_TutorialPingMinimap::MergeFrom(const CDOTAUserMsg_TutorialPingMinimap& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_id()) { + set_player_id(from.player_id()); + } + if (from.has_pos_x()) { + set_pos_x(from.pos_x()); + } + if (from.has_pos_y()) { + set_pos_y(from.pos_y()); + } + if (from.has_pos_z()) { + set_pos_z(from.pos_z()); + } + if (from.has_entity_index()) { + set_entity_index(from.entity_index()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_TutorialPingMinimap::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_TutorialPingMinimap::CopyFrom(const CDOTAUserMsg_TutorialPingMinimap& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_TutorialPingMinimap::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_TutorialPingMinimap::Swap(CDOTAUserMsg_TutorialPingMinimap* other) { + if (other != this) { + std::swap(player_id_, other->player_id_); + std::swap(pos_x_, other->pos_x_); + std::swap(pos_y_, other->pos_y_); + std::swap(pos_z_, other->pos_z_); + std::swap(entity_index_, other->entity_index_); + 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 CDOTAUserMsg_TutorialPingMinimap::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_TutorialPingMinimap_descriptor_; + metadata.reflection = CDOTAUserMsg_TutorialPingMinimap_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CDOTA_UM_GamerulesStateChanged::kStateFieldNumber; +#endif // !_MSC_VER + +CDOTA_UM_GamerulesStateChanged::CDOTA_UM_GamerulesStateChanged() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTA_UM_GamerulesStateChanged::InitAsDefaultInstance() { +} + +CDOTA_UM_GamerulesStateChanged::CDOTA_UM_GamerulesStateChanged(const CDOTA_UM_GamerulesStateChanged& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTA_UM_GamerulesStateChanged::SharedCtor() { + _cached_size_ = 0; + state_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTA_UM_GamerulesStateChanged::~CDOTA_UM_GamerulesStateChanged() { + SharedDtor(); +} + +void CDOTA_UM_GamerulesStateChanged::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTA_UM_GamerulesStateChanged::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTA_UM_GamerulesStateChanged::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTA_UM_GamerulesStateChanged_descriptor_; +} + +const CDOTA_UM_GamerulesStateChanged& CDOTA_UM_GamerulesStateChanged::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTA_UM_GamerulesStateChanged* CDOTA_UM_GamerulesStateChanged::default_instance_ = NULL; + +CDOTA_UM_GamerulesStateChanged* CDOTA_UM_GamerulesStateChanged::New() const { + return new CDOTA_UM_GamerulesStateChanged; +} + +void CDOTA_UM_GamerulesStateChanged::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + state_ = 0u; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTA_UM_GamerulesStateChanged::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 uint32 state = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &state_))); + set_has_state(); + } 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 CDOTA_UM_GamerulesStateChanged::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 state = 1; + if (has_state()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->state(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTA_UM_GamerulesStateChanged::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 state = 1; + if (has_state()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->state(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTA_UM_GamerulesStateChanged::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 state = 1; + if (has_state()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->state()); + } + + } + 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 CDOTA_UM_GamerulesStateChanged::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTA_UM_GamerulesStateChanged* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTA_UM_GamerulesStateChanged::MergeFrom(const CDOTA_UM_GamerulesStateChanged& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_state()) { + set_state(from.state()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTA_UM_GamerulesStateChanged::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTA_UM_GamerulesStateChanged::CopyFrom(const CDOTA_UM_GamerulesStateChanged& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTA_UM_GamerulesStateChanged::IsInitialized() const { + + return true; +} + +void CDOTA_UM_GamerulesStateChanged::Swap(CDOTA_UM_GamerulesStateChanged* other) { + if (other != this) { + std::swap(state_, other->state_); + 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 CDOTA_UM_GamerulesStateChanged::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTA_UM_GamerulesStateChanged_descriptor_; + metadata.reflection = CDOTA_UM_GamerulesStateChanged_reflection_; + return metadata; +} + + +// @@protoc_insertion_point(namespace_scope) + +// @@protoc_insertion_point(global_scope) diff --git a/public/game/shared/dota/protobuf/dota_usermessages.pb.h b/public/game/shared/dota/protobuf/dota_usermessages.pb.h new file mode 100644 index 00000000..695f5a4b --- /dev/null +++ b/public/game/shared/dota/protobuf/dota_usermessages.pb.h @@ -0,0 +1,12133 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: dota_usermessages.proto + +#ifndef PROTOBUF_dota_5fusermessages_2eproto__INCLUDED +#define PROTOBUF_dota_5fusermessages_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2004000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include "google/protobuf/descriptor.pb.h" +#include "netmessages.pb.h" +#include "ai_activity.pb.h" +#include "dota_commonmessages.pb.h" +// @@protoc_insertion_point(includes) + +// Internal implementation detail -- do not call these. +void protobuf_AddDesc_dota_5fusermessages_2eproto(); +void protobuf_AssignDesc_dota_5fusermessages_2eproto(); +void protobuf_ShutdownFile_dota_5fusermessages_2eproto(); + +class CDOTAUserMsg_AIDebugLine; +class CDOTAUserMsg_Ping; +class CDOTAUserMsg_SwapVerify; +class CDOTAUserMsg_ChatEvent; +class CDOTAUserMsg_CombatLogData; +class CDOTAUserMsg_CombatLogShowDeath; +class CDOTAUserMsg_BotChat; +class CDOTAUserMsg_CombatHeroPositions; +class CDOTAUserMsg_MiniKillCamInfo; +class CDOTAUserMsg_MiniKillCamInfo_Attacker; +class CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability; +class CDOTAUserMsg_GlobalLightColor; +class CDOTAUserMsg_GlobalLightDirection; +class CDOTAUserMsg_LocationPing; +class CDOTAUserMsg_ItemAlert; +class CDOTAUserMsg_MinimapEvent; +class CDOTAUserMsg_MapLine; +class CDOTAUserMsg_MinimapDebugPoint; +class CDOTAUserMsg_CreateLinearProjectile; +class CDOTAUserMsg_DestroyLinearProjectile; +class CDOTAUserMsg_DodgeTrackingProjectiles; +class CDOTAUserMsg_SpectatorPlayerClick; +class CDOTAUserMsg_NevermoreRequiem; +class CDOTAUserMsg_InvalidCommand; +class CDOTAUserMsg_HudError; +class CDOTAUserMsg_SharedCooldown; +class CDOTAUserMsg_SetNextAutobuyItem; +class CDOTAUserMsg_HalloweenDrops; +class CDOTAResponseQuerySerialized; +class CDOTAResponseQuerySerialized_Fact; +class CDOTASpeechMatchOnClient; +class CDOTAUserMsg_UnitEvent; +class CDOTAUserMsg_UnitEvent_Speech; +class CDOTAUserMsg_UnitEvent_SpeechMute; +class CDOTAUserMsg_UnitEvent_AddGesture; +class CDOTAUserMsg_UnitEvent_RemoveGesture; +class CDOTAUserMsg_UnitEvent_BloodImpact; +class CDOTAUserMsg_UnitEvent_FadeGesture; +class CDOTAUserMsg_ItemPurchased; +class CDOTAUserMsg_ItemFound; +class CDOTAUserMsg_ParticleManager; +class CDOTAUserMsg_ParticleManager_ReleaseParticleIndex; +class CDOTAUserMsg_ParticleManager_CreateParticle; +class CDOTAUserMsg_ParticleManager_DestroyParticle; +class CDOTAUserMsg_ParticleManager_DestroyParticleInvolving; +class CDOTAUserMsg_ParticleManager_UpdateParticle; +class CDOTAUserMsg_ParticleManager_UpdateParticleFwd; +class CDOTAUserMsg_ParticleManager_UpdateParticleOrient; +class CDOTAUserMsg_ParticleManager_UpdateParticleFallback; +class CDOTAUserMsg_ParticleManager_UpdateParticleOffset; +class CDOTAUserMsg_ParticleManager_UpdateParticleEnt; +class CDOTAUserMsg_ParticleManager_UpdateParticleLatency; +class CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw; +class CDOTAUserMsg_OverheadEvent; +class CDOTAUserMsg_TutorialTipInfo; +class CDOTAUserMsg_WorldLine; +class CDOTAUserMsg_TournamentDrop; +class CDOTAUserMsg_ChatWheel; +class CDOTAUserMsg_ReceivedXmasGift; +class CDOTAUserMsg_ShowSurvey; +class CDOTAUserMsg_UpdateSharedContent; +class CDOTAUserMsg_TutorialRequestExp; +class CDOTAUserMsg_TutorialFade; +class CDOTAUserMsg_TutorialPingMinimap; +class CDOTA_UM_GamerulesStateChanged; + +enum CDOTAResponseQuerySerialized_Fact_ValueType { + CDOTAResponseQuerySerialized_Fact_ValueType_NUMERIC = 1, + CDOTAResponseQuerySerialized_Fact_ValueType_STRING = 2 +}; +bool CDOTAResponseQuerySerialized_Fact_ValueType_IsValid(int value); +const CDOTAResponseQuerySerialized_Fact_ValueType CDOTAResponseQuerySerialized_Fact_ValueType_ValueType_MIN = CDOTAResponseQuerySerialized_Fact_ValueType_NUMERIC; +const CDOTAResponseQuerySerialized_Fact_ValueType CDOTAResponseQuerySerialized_Fact_ValueType_ValueType_MAX = CDOTAResponseQuerySerialized_Fact_ValueType_STRING; +const int CDOTAResponseQuerySerialized_Fact_ValueType_ValueType_ARRAYSIZE = CDOTAResponseQuerySerialized_Fact_ValueType_ValueType_MAX + 1; + +const ::google::protobuf::EnumDescriptor* CDOTAResponseQuerySerialized_Fact_ValueType_descriptor(); +inline const ::std::string& CDOTAResponseQuerySerialized_Fact_ValueType_Name(CDOTAResponseQuerySerialized_Fact_ValueType value) { + return ::google::protobuf::internal::NameOfEnum( + CDOTAResponseQuerySerialized_Fact_ValueType_descriptor(), value); +} +inline bool CDOTAResponseQuerySerialized_Fact_ValueType_Parse( + const ::std::string& name, CDOTAResponseQuerySerialized_Fact_ValueType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CDOTAResponseQuerySerialized_Fact_ValueType_descriptor(), name, value); +} +enum EDotaUserMessages { + DOTA_UM_AddUnitToSelection = 64, + DOTA_UM_AIDebugLine = 65, + DOTA_UM_ChatEvent = 66, + DOTA_UM_CombatHeroPositions = 67, + DOTA_UM_CombatLogData = 68, + DOTA_UM_CombatLogShowDeath = 70, + DOTA_UM_CreateLinearProjectile = 71, + DOTA_UM_DestroyLinearProjectile = 72, + DOTA_UM_DodgeTrackingProjectiles = 73, + DOTA_UM_GlobalLightColor = 74, + DOTA_UM_GlobalLightDirection = 75, + DOTA_UM_InvalidCommand = 76, + DOTA_UM_LocationPing = 77, + DOTA_UM_MapLine = 78, + DOTA_UM_MiniKillCamInfo = 79, + DOTA_UM_MinimapDebugPoint = 80, + DOTA_UM_MinimapEvent = 81, + DOTA_UM_NevermoreRequiem = 82, + DOTA_UM_OverheadEvent = 83, + DOTA_UM_SetNextAutobuyItem = 84, + DOTA_UM_SharedCooldown = 85, + DOTA_UM_SpectatorPlayerClick = 86, + DOTA_UM_TutorialTipInfo = 87, + DOTA_UM_UnitEvent = 88, + DOTA_UM_ParticleManager = 89, + DOTA_UM_BotChat = 90, + DOTA_UM_HudError = 91, + DOTA_UM_ItemPurchased = 92, + DOTA_UM_Ping = 93, + DOTA_UM_ItemFound = 94, + DOTA_UM_CharacterSpeakConcept = 95, + DOTA_UM_SwapVerify = 96, + DOTA_UM_WorldLine = 97, + DOTA_UM_TournamentDrop = 98, + DOTA_UM_ItemAlert = 99, + DOTA_UM_HalloweenDrops = 100, + DOTA_UM_ChatWheel = 101, + DOTA_UM_ReceivedXmasGift = 102, + DOTA_UM_UpdateSharedContent = 103, + DOTA_UM_TutorialRequestExp = 104, + DOTA_UM_TutorialPingMinimap = 105, + DOTA_UM_GamerulesStateChanged = 106, + DOTA_UM_ShowSurvey = 107, + DOTA_UM_TutorialFade = 108 +}; +bool EDotaUserMessages_IsValid(int value); +const EDotaUserMessages EDotaUserMessages_MIN = DOTA_UM_AddUnitToSelection; +const EDotaUserMessages EDotaUserMessages_MAX = DOTA_UM_TutorialFade; +const int EDotaUserMessages_ARRAYSIZE = EDotaUserMessages_MAX + 1; + +const ::google::protobuf::EnumDescriptor* EDotaUserMessages_descriptor(); +inline const ::std::string& EDotaUserMessages_Name(EDotaUserMessages value) { + return ::google::protobuf::internal::NameOfEnum( + EDotaUserMessages_descriptor(), value); +} +inline bool EDotaUserMessages_Parse( + const ::std::string& name, EDotaUserMessages* value) { + return ::google::protobuf::internal::ParseNamedEnum( + EDotaUserMessages_descriptor(), name, value); +} +enum DOTA_CHAT_MESSAGE { + CHAT_MESSAGE_INVALID = -1, + CHAT_MESSAGE_HERO_KILL = 0, + CHAT_MESSAGE_HERO_DENY = 1, + CHAT_MESSAGE_BARRACKS_KILL = 2, + CHAT_MESSAGE_TOWER_KILL = 3, + CHAT_MESSAGE_TOWER_DENY = 4, + CHAT_MESSAGE_FIRSTBLOOD = 5, + CHAT_MESSAGE_STREAK_KILL = 6, + CHAT_MESSAGE_BUYBACK = 7, + CHAT_MESSAGE_AEGIS = 8, + CHAT_MESSAGE_ROSHAN_KILL = 9, + CHAT_MESSAGE_COURIER_LOST = 10, + CHAT_MESSAGE_COURIER_RESPAWNED = 11, + CHAT_MESSAGE_GLYPH_USED = 12, + CHAT_MESSAGE_ITEM_PURCHASE = 13, + CHAT_MESSAGE_CONNECT = 14, + CHAT_MESSAGE_DISCONNECT = 15, + CHAT_MESSAGE_DISCONNECT_WAIT_FOR_RECONNECT = 16, + CHAT_MESSAGE_DISCONNECT_TIME_REMAINING = 17, + CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_PLURAL = 18, + CHAT_MESSAGE_RECONNECT = 19, + CHAT_MESSAGE_ABANDON = 20, + CHAT_MESSAGE_SAFE_TO_LEAVE = 21, + CHAT_MESSAGE_RUNE_PICKUP = 22, + CHAT_MESSAGE_RUNE_BOTTLE = 23, + CHAT_MESSAGE_INTHEBAG = 24, + CHAT_MESSAGE_SECRETSHOP = 25, + CHAT_MESSAGE_ITEM_AUTOPURCHASED = 26, + CHAT_MESSAGE_ITEMS_COMBINED = 27, + CHAT_MESSAGE_SUPER_CREEPS = 28, + CHAT_MESSAGE_CANT_USE_ACTION_ITEM = 29, + CHAT_MESSAGE_CHARGES_EXHAUSTED = 30, + CHAT_MESSAGE_CANTPAUSE = 31, + CHAT_MESSAGE_NOPAUSESLEFT = 32, + CHAT_MESSAGE_CANTPAUSEYET = 33, + CHAT_MESSAGE_PAUSED = 34, + CHAT_MESSAGE_UNPAUSE_COUNTDOWN = 35, + CHAT_MESSAGE_UNPAUSED = 36, + CHAT_MESSAGE_AUTO_UNPAUSED = 37, + CHAT_MESSAGE_YOUPAUSED = 38, + CHAT_MESSAGE_CANTUNPAUSETEAM = 39, + CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER = 40, + CHAT_MESSAGE_VOICE_TEXT_BANNED = 41, + CHAT_MESSAGE_SPECTATORS_WATCHING_THIS_GAME = 42, + CHAT_MESSAGE_REPORT_REMINDER = 43, + CHAT_MESSAGE_ECON_ITEM = 44, + CHAT_MESSAGE_TAUNT = 45, + CHAT_MESSAGE_RANDOM = 46, + CHAT_MESSAGE_RD_TURN = 47, + CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_EARLY = 48, + CHAT_MESSAGE_DROP_RATE_BONUS = 49, + CHAT_MESSAGE_NO_BATTLE_POINTS = 50, + CHAT_MESSAGE_DENIED_AEGIS = 51, + CHAT_MESSAGE_INFORMATIONAL = 52, + CHAT_MESSAGE_AEGIS_STOLEN = 53, + CHAT_MESSAGE_ROSHAN_CANDY = 54, + CHAT_MESSAGE_ITEM_GIFTED = 55, + CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL = 56 +}; +bool DOTA_CHAT_MESSAGE_IsValid(int value); +const DOTA_CHAT_MESSAGE DOTA_CHAT_MESSAGE_MIN = CHAT_MESSAGE_INVALID; +const DOTA_CHAT_MESSAGE DOTA_CHAT_MESSAGE_MAX = CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL; +const int DOTA_CHAT_MESSAGE_ARRAYSIZE = DOTA_CHAT_MESSAGE_MAX + 1; + +const ::google::protobuf::EnumDescriptor* DOTA_CHAT_MESSAGE_descriptor(); +inline const ::std::string& DOTA_CHAT_MESSAGE_Name(DOTA_CHAT_MESSAGE value) { + return ::google::protobuf::internal::NameOfEnum( + DOTA_CHAT_MESSAGE_descriptor(), value); +} +inline bool DOTA_CHAT_MESSAGE_Parse( + const ::std::string& name, DOTA_CHAT_MESSAGE* value) { + return ::google::protobuf::internal::ParseNamedEnum( + DOTA_CHAT_MESSAGE_descriptor(), name, value); +} +enum DOTA_NO_BATTLE_POINTS_REASONS { + NO_BATTLE_POINTS_WRONG_LOBBY_TYPE = 1, + NO_BATTLE_POINTS_PRACTICE_BOTS = 2, + NO_BATTLE_POINTS_CHEATS_ENABLED = 3, + NO_BATTLE_POINTS_LOW_PRIORITY = 4 +}; +bool DOTA_NO_BATTLE_POINTS_REASONS_IsValid(int value); +const DOTA_NO_BATTLE_POINTS_REASONS DOTA_NO_BATTLE_POINTS_REASONS_MIN = NO_BATTLE_POINTS_WRONG_LOBBY_TYPE; +const DOTA_NO_BATTLE_POINTS_REASONS DOTA_NO_BATTLE_POINTS_REASONS_MAX = NO_BATTLE_POINTS_LOW_PRIORITY; +const int DOTA_NO_BATTLE_POINTS_REASONS_ARRAYSIZE = DOTA_NO_BATTLE_POINTS_REASONS_MAX + 1; + +const ::google::protobuf::EnumDescriptor* DOTA_NO_BATTLE_POINTS_REASONS_descriptor(); +inline const ::std::string& DOTA_NO_BATTLE_POINTS_REASONS_Name(DOTA_NO_BATTLE_POINTS_REASONS value) { + return ::google::protobuf::internal::NameOfEnum( + DOTA_NO_BATTLE_POINTS_REASONS_descriptor(), value); +} +inline bool DOTA_NO_BATTLE_POINTS_REASONS_Parse( + const ::std::string& name, DOTA_NO_BATTLE_POINTS_REASONS* value) { + return ::google::protobuf::internal::ParseNamedEnum( + DOTA_NO_BATTLE_POINTS_REASONS_descriptor(), name, value); +} +enum DOTA_CHAT_INFORMATIONAL { + COOP_BATTLE_POINTS_RULES = 1 +}; +bool DOTA_CHAT_INFORMATIONAL_IsValid(int value); +const DOTA_CHAT_INFORMATIONAL DOTA_CHAT_INFORMATIONAL_MIN = COOP_BATTLE_POINTS_RULES; +const DOTA_CHAT_INFORMATIONAL DOTA_CHAT_INFORMATIONAL_MAX = COOP_BATTLE_POINTS_RULES; +const int DOTA_CHAT_INFORMATIONAL_ARRAYSIZE = DOTA_CHAT_INFORMATIONAL_MAX + 1; + +const ::google::protobuf::EnumDescriptor* DOTA_CHAT_INFORMATIONAL_descriptor(); +inline const ::std::string& DOTA_CHAT_INFORMATIONAL_Name(DOTA_CHAT_INFORMATIONAL value) { + return ::google::protobuf::internal::NameOfEnum( + DOTA_CHAT_INFORMATIONAL_descriptor(), value); +} +inline bool DOTA_CHAT_INFORMATIONAL_Parse( + const ::std::string& name, DOTA_CHAT_INFORMATIONAL* value) { + return ::google::protobuf::internal::ParseNamedEnum( + DOTA_CHAT_INFORMATIONAL_descriptor(), name, value); +} +enum DOTA_COMBATLOG_TYPES { + DOTA_COMBATLOG_DAMAGE = 0, + DOTA_COMBATLOG_HEAL = 1, + DOTA_COMBATLOG_MODIFIER_ADD = 2, + DOTA_COMBATLOG_MODIFIER_REMOVE = 3, + DOTA_COMBATLOG_DEATH = 4 +}; +bool DOTA_COMBATLOG_TYPES_IsValid(int value); +const DOTA_COMBATLOG_TYPES DOTA_COMBATLOG_TYPES_MIN = DOTA_COMBATLOG_DAMAGE; +const DOTA_COMBATLOG_TYPES DOTA_COMBATLOG_TYPES_MAX = DOTA_COMBATLOG_DEATH; +const int DOTA_COMBATLOG_TYPES_ARRAYSIZE = DOTA_COMBATLOG_TYPES_MAX + 1; + +const ::google::protobuf::EnumDescriptor* DOTA_COMBATLOG_TYPES_descriptor(); +inline const ::std::string& DOTA_COMBATLOG_TYPES_Name(DOTA_COMBATLOG_TYPES value) { + return ::google::protobuf::internal::NameOfEnum( + DOTA_COMBATLOG_TYPES_descriptor(), value); +} +inline bool DOTA_COMBATLOG_TYPES_Parse( + const ::std::string& name, DOTA_COMBATLOG_TYPES* value) { + return ::google::protobuf::internal::ParseNamedEnum( + DOTA_COMBATLOG_TYPES_descriptor(), name, value); +} +enum EDotaEntityMessages { + DOTA_UNIT_SPEECH = 0, + DOTA_UNIT_SPEECH_MUTE = 1, + DOTA_UNIT_ADD_GESTURE = 2, + DOTA_UNIT_REMOVE_GESTURE = 3, + DOTA_UNIT_REMOVE_ALL_GESTURES = 4, + DOTA_UNIT_FADE_GESTURE = 6, + DOTA_UNIT_SPEECH_CLIENTSIDE_RULES = 7 +}; +bool EDotaEntityMessages_IsValid(int value); +const EDotaEntityMessages EDotaEntityMessages_MIN = DOTA_UNIT_SPEECH; +const EDotaEntityMessages EDotaEntityMessages_MAX = DOTA_UNIT_SPEECH_CLIENTSIDE_RULES; +const int EDotaEntityMessages_ARRAYSIZE = EDotaEntityMessages_MAX + 1; + +const ::google::protobuf::EnumDescriptor* EDotaEntityMessages_descriptor(); +inline const ::std::string& EDotaEntityMessages_Name(EDotaEntityMessages value) { + return ::google::protobuf::internal::NameOfEnum( + EDotaEntityMessages_descriptor(), value); +} +inline bool EDotaEntityMessages_Parse( + const ::std::string& name, EDotaEntityMessages* value) { + return ::google::protobuf::internal::ParseNamedEnum( + EDotaEntityMessages_descriptor(), name, value); +} +enum DOTA_PARTICLE_MESSAGE { + DOTA_PARTICLE_MANAGER_EVENT_CREATE = 0, + DOTA_PARTICLE_MANAGER_EVENT_UPDATE = 1, + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2, + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3, + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4, + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5, + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6, + DOTA_PARTICLE_MANAGER_EVENT_DESTROY = 7, + 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 +}; +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 int DOTA_PARTICLE_MESSAGE_ARRAYSIZE = DOTA_PARTICLE_MESSAGE_MAX + 1; + +const ::google::protobuf::EnumDescriptor* DOTA_PARTICLE_MESSAGE_descriptor(); +inline const ::std::string& DOTA_PARTICLE_MESSAGE_Name(DOTA_PARTICLE_MESSAGE value) { + return ::google::protobuf::internal::NameOfEnum( + DOTA_PARTICLE_MESSAGE_descriptor(), value); +} +inline bool DOTA_PARTICLE_MESSAGE_Parse( + const ::std::string& name, DOTA_PARTICLE_MESSAGE* value) { + return ::google::protobuf::internal::ParseNamedEnum( + DOTA_PARTICLE_MESSAGE_descriptor(), name, value); +} +enum DOTA_OVERHEAD_ALERT { + OVERHEAD_ALERT_GOLD = 0, + OVERHEAD_ALERT_DENY = 1, + OVERHEAD_ALERT_CRITICAL = 2, + OVERHEAD_ALERT_XP = 3, + OVERHEAD_ALERT_BONUS_SPELL_DAMAGE = 4, + OVERHEAD_ALERT_MISS = 5, + OVERHEAD_ALERT_DAMAGE = 6, + OVERHEAD_ALERT_EVADE = 7, + OVERHEAD_ALERT_BLOCK = 8, + OVERHEAD_ALERT_BONUS_POISON_DAMAGE = 9, + OVERHEAD_ALERT_HEAL = 10, + OVERHEAD_ALERT_MANA_ADD = 11, + OVERHEAD_ALERT_MANA_LOSS = 12 +}; +bool DOTA_OVERHEAD_ALERT_IsValid(int value); +const DOTA_OVERHEAD_ALERT DOTA_OVERHEAD_ALERT_MIN = OVERHEAD_ALERT_GOLD; +const DOTA_OVERHEAD_ALERT DOTA_OVERHEAD_ALERT_MAX = OVERHEAD_ALERT_MANA_LOSS; +const int DOTA_OVERHEAD_ALERT_ARRAYSIZE = DOTA_OVERHEAD_ALERT_MAX + 1; + +const ::google::protobuf::EnumDescriptor* DOTA_OVERHEAD_ALERT_descriptor(); +inline const ::std::string& DOTA_OVERHEAD_ALERT_Name(DOTA_OVERHEAD_ALERT value) { + return ::google::protobuf::internal::NameOfEnum( + DOTA_OVERHEAD_ALERT_descriptor(), value); +} +inline bool DOTA_OVERHEAD_ALERT_Parse( + const ::std::string& name, DOTA_OVERHEAD_ALERT* value) { + return ::google::protobuf::internal::ParseNamedEnum( + DOTA_OVERHEAD_ALERT_descriptor(), name, value); +} +// =================================================================== + +class CDOTAUserMsg_AIDebugLine : public ::google::protobuf::Message { + public: + CDOTAUserMsg_AIDebugLine(); + virtual ~CDOTAUserMsg_AIDebugLine(); + + CDOTAUserMsg_AIDebugLine(const CDOTAUserMsg_AIDebugLine& from); + + inline CDOTAUserMsg_AIDebugLine& operator=(const CDOTAUserMsg_AIDebugLine& 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_AIDebugLine& default_instance(); + + void Swap(CDOTAUserMsg_AIDebugLine* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_AIDebugLine* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_AIDebugLine& from); + void MergeFrom(const CDOTAUserMsg_AIDebugLine& 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 message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::std::string& message() const; + inline void set_message(const ::std::string& value); + inline void set_message(const char* value); + inline void set_message(const char* value, size_t size); + inline ::std::string* mutable_message(); + inline ::std::string* release_message(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_AIDebugLine) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* message_; + + mutable int _cached_size_; + ::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_AIDebugLine* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_Ping : public ::google::protobuf::Message { + public: + CDOTAUserMsg_Ping(); + virtual ~CDOTAUserMsg_Ping(); + + CDOTAUserMsg_Ping(const CDOTAUserMsg_Ping& from); + + inline CDOTAUserMsg_Ping& operator=(const CDOTAUserMsg_Ping& 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_Ping& default_instance(); + + void Swap(CDOTAUserMsg_Ping* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_Ping* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_Ping& from); + void MergeFrom(const CDOTAUserMsg_Ping& 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 message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::std::string& message() const; + inline void set_message(const ::std::string& value); + inline void set_message(const char* value); + inline void set_message(const char* value, size_t size); + inline ::std::string* mutable_message(); + inline ::std::string* release_message(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_Ping) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* message_; + + mutable int _cached_size_; + ::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_Ping* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_SwapVerify : public ::google::protobuf::Message { + public: + CDOTAUserMsg_SwapVerify(); + virtual ~CDOTAUserMsg_SwapVerify(); + + CDOTAUserMsg_SwapVerify(const CDOTAUserMsg_SwapVerify& from); + + inline CDOTAUserMsg_SwapVerify& operator=(const CDOTAUserMsg_SwapVerify& 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_SwapVerify& default_instance(); + + void Swap(CDOTAUserMsg_SwapVerify* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_SwapVerify* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_SwapVerify& from); + void MergeFrom(const CDOTAUserMsg_SwapVerify& 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 uint32 player_id = 1; + inline bool has_player_id() const; + inline void clear_player_id(); + static const int kPlayerIdFieldNumber = 1; + inline ::google::protobuf::uint32 player_id() const; + inline void set_player_id(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_SwapVerify) + private: + inline void set_has_player_id(); + inline void clear_has_player_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 player_id_; + + mutable int _cached_size_; + ::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_SwapVerify* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ChatEvent : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ChatEvent(); + virtual ~CDOTAUserMsg_ChatEvent(); + + CDOTAUserMsg_ChatEvent(const CDOTAUserMsg_ChatEvent& from); + + inline CDOTAUserMsg_ChatEvent& operator=(const CDOTAUserMsg_ChatEvent& 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_ChatEvent& default_instance(); + + void Swap(CDOTAUserMsg_ChatEvent* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ChatEvent* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ChatEvent& from); + void MergeFrom(const CDOTAUserMsg_ChatEvent& 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 ------------------------------------------------------- + + // required .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID]; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline DOTA_CHAT_MESSAGE type() const; + inline void set_type(DOTA_CHAT_MESSAGE value); + + // optional uint32 value = 2; + inline bool has_value() const; + inline void clear_value(); + static const int kValueFieldNumber = 2; + inline ::google::protobuf::uint32 value() const; + inline void set_value(::google::protobuf::uint32 value); + + // optional sint32 playerid_1 = 3 [default = -1]; + inline bool has_playerid_1() const; + inline void clear_playerid_1(); + static const int kPlayerid1FieldNumber = 3; + inline ::google::protobuf::int32 playerid_1() const; + inline void set_playerid_1(::google::protobuf::int32 value); + + // optional sint32 playerid_2 = 4 [default = -1]; + inline bool has_playerid_2() const; + inline void clear_playerid_2(); + static const int kPlayerid2FieldNumber = 4; + inline ::google::protobuf::int32 playerid_2() const; + inline void set_playerid_2(::google::protobuf::int32 value); + + // optional sint32 playerid_3 = 5 [default = -1]; + inline bool has_playerid_3() const; + inline void clear_playerid_3(); + static const int kPlayerid3FieldNumber = 5; + inline ::google::protobuf::int32 playerid_3() const; + inline void set_playerid_3(::google::protobuf::int32 value); + + // optional sint32 playerid_4 = 6 [default = -1]; + inline bool has_playerid_4() const; + inline void clear_playerid_4(); + static const int kPlayerid4FieldNumber = 6; + inline ::google::protobuf::int32 playerid_4() const; + inline void set_playerid_4(::google::protobuf::int32 value); + + // optional sint32 playerid_5 = 7 [default = -1]; + inline bool has_playerid_5() const; + inline void clear_playerid_5(); + static const int kPlayerid5FieldNumber = 7; + inline ::google::protobuf::int32 playerid_5() const; + inline void set_playerid_5(::google::protobuf::int32 value); + + // optional sint32 playerid_6 = 8 [default = -1]; + inline bool has_playerid_6() const; + inline void clear_playerid_6(); + static const int kPlayerid6FieldNumber = 8; + inline ::google::protobuf::int32 playerid_6() const; + inline void set_playerid_6(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ChatEvent) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_value(); + inline void clear_has_value(); + inline void set_has_playerid_1(); + inline void clear_has_playerid_1(); + inline void set_has_playerid_2(); + inline void clear_has_playerid_2(); + inline void set_has_playerid_3(); + inline void clear_has_playerid_3(); + inline void set_has_playerid_4(); + inline void clear_has_playerid_4(); + inline void set_has_playerid_5(); + inline void clear_has_playerid_5(); + inline void set_has_playerid_6(); + inline void clear_has_playerid_6(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int type_; + ::google::protobuf::uint32 value_; + ::google::protobuf::int32 playerid_1_; + ::google::protobuf::int32 playerid_2_; + ::google::protobuf::int32 playerid_3_; + ::google::protobuf::int32 playerid_4_; + ::google::protobuf::int32 playerid_5_; + ::google::protobuf::int32 playerid_6_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(8 + 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_ChatEvent* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_CombatLogData : public ::google::protobuf::Message { + public: + CDOTAUserMsg_CombatLogData(); + virtual ~CDOTAUserMsg_CombatLogData(); + + CDOTAUserMsg_CombatLogData(const CDOTAUserMsg_CombatLogData& from); + + inline CDOTAUserMsg_CombatLogData& operator=(const CDOTAUserMsg_CombatLogData& 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_CombatLogData& default_instance(); + + void Swap(CDOTAUserMsg_CombatLogData* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_CombatLogData* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_CombatLogData& from); + void MergeFrom(const CDOTAUserMsg_CombatLogData& 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 .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_DAMAGE]; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline DOTA_COMBATLOG_TYPES type() const; + inline void set_type(DOTA_COMBATLOG_TYPES value); + + // optional uint32 target_name = 2; + inline bool has_target_name() const; + inline void clear_target_name(); + static const int kTargetNameFieldNumber = 2; + inline ::google::protobuf::uint32 target_name() const; + inline void set_target_name(::google::protobuf::uint32 value); + + // optional uint32 attacker_name = 3; + inline bool has_attacker_name() const; + inline void clear_attacker_name(); + static const int kAttackerNameFieldNumber = 3; + inline ::google::protobuf::uint32 attacker_name() const; + inline void set_attacker_name(::google::protobuf::uint32 value); + + // optional bool attacker_illusion = 4; + inline bool has_attacker_illusion() const; + inline void clear_attacker_illusion(); + static const int kAttackerIllusionFieldNumber = 4; + inline bool attacker_illusion() const; + inline void set_attacker_illusion(bool value); + + // optional bool target_illusion = 5; + inline bool has_target_illusion() const; + inline void clear_target_illusion(); + static const int kTargetIllusionFieldNumber = 5; + inline bool target_illusion() const; + inline void set_target_illusion(bool value); + + // optional uint32 inflictor_name = 6; + inline bool has_inflictor_name() const; + inline void clear_inflictor_name(); + static const int kInflictorNameFieldNumber = 6; + inline ::google::protobuf::uint32 inflictor_name() const; + inline void set_inflictor_name(::google::protobuf::uint32 value); + + // optional int32 value = 7; + inline bool has_value() const; + inline void clear_value(); + static const int kValueFieldNumber = 7; + inline ::google::protobuf::int32 value() const; + inline void set_value(::google::protobuf::int32 value); + + // optional int32 health = 8; + inline bool has_health() const; + inline void clear_health(); + static const int kHealthFieldNumber = 8; + inline ::google::protobuf::int32 health() const; + inline void set_health(::google::protobuf::int32 value); + + // optional float time = 9; + inline bool has_time() const; + inline void clear_time(); + static const int kTimeFieldNumber = 9; + inline float time() const; + inline void set_time(float value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_CombatLogData) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_target_name(); + inline void clear_has_target_name(); + inline void set_has_attacker_name(); + inline void clear_has_attacker_name(); + inline void set_has_attacker_illusion(); + inline void clear_has_attacker_illusion(); + inline void set_has_target_illusion(); + inline void clear_has_target_illusion(); + inline void set_has_inflictor_name(); + inline void clear_has_inflictor_name(); + inline void set_has_value(); + inline void clear_has_value(); + inline void set_has_health(); + inline void clear_has_health(); + inline void set_has_time(); + inline void clear_has_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int type_; + ::google::protobuf::uint32 target_name_; + ::google::protobuf::uint32 attacker_name_; + bool attacker_illusion_; + bool target_illusion_; + ::google::protobuf::uint32 inflictor_name_; + ::google::protobuf::int32 value_; + ::google::protobuf::int32 health_; + float time_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(9 + 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_CombatLogData* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_CombatLogShowDeath : public ::google::protobuf::Message { + public: + CDOTAUserMsg_CombatLogShowDeath(); + virtual ~CDOTAUserMsg_CombatLogShowDeath(); + + CDOTAUserMsg_CombatLogShowDeath(const CDOTAUserMsg_CombatLogShowDeath& from); + + inline CDOTAUserMsg_CombatLogShowDeath& operator=(const CDOTAUserMsg_CombatLogShowDeath& 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_CombatLogShowDeath& default_instance(); + + void Swap(CDOTAUserMsg_CombatLogShowDeath* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_CombatLogShowDeath* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_CombatLogShowDeath& from); + void MergeFrom(const CDOTAUserMsg_CombatLogShowDeath& 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_CombatLogShowDeath) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[1]; + + 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_CombatLogShowDeath* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_BotChat : public ::google::protobuf::Message { + public: + CDOTAUserMsg_BotChat(); + virtual ~CDOTAUserMsg_BotChat(); + + CDOTAUserMsg_BotChat(const CDOTAUserMsg_BotChat& from); + + inline CDOTAUserMsg_BotChat& operator=(const CDOTAUserMsg_BotChat& 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_BotChat& default_instance(); + + void Swap(CDOTAUserMsg_BotChat* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_BotChat* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_BotChat& from); + void MergeFrom(const CDOTAUserMsg_BotChat& 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 uint32 player_id = 1; + inline bool has_player_id() const; + inline void clear_player_id(); + static const int kPlayerIdFieldNumber = 1; + inline ::google::protobuf::uint32 player_id() const; + inline void set_player_id(::google::protobuf::uint32 value); + + // optional string format = 2; + inline bool has_format() const; + inline void clear_format(); + static const int kFormatFieldNumber = 2; + inline const ::std::string& format() const; + inline void set_format(const ::std::string& value); + inline void set_format(const char* value); + inline void set_format(const char* value, size_t size); + inline ::std::string* mutable_format(); + inline ::std::string* release_format(); + + // optional string message = 3; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 3; + inline const ::std::string& message() const; + inline void set_message(const ::std::string& value); + inline void set_message(const char* value); + inline void set_message(const char* value, size_t size); + inline ::std::string* mutable_message(); + inline ::std::string* release_message(); + + // optional string target = 4; + inline bool has_target() const; + inline void clear_target(); + static const int kTargetFieldNumber = 4; + inline const ::std::string& target() const; + inline void set_target(const ::std::string& value); + inline void set_target(const char* value); + inline void set_target(const char* value, size_t size); + inline ::std::string* mutable_target(); + inline ::std::string* release_target(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_BotChat) + private: + inline void set_has_player_id(); + inline void clear_has_player_id(); + inline void set_has_format(); + inline void clear_has_format(); + inline void set_has_message(); + inline void clear_has_message(); + inline void set_has_target(); + inline void clear_has_target(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* format_; + ::std::string* message_; + ::std::string* target_; + ::google::protobuf::uint32 player_id_; + + 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_BotChat* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_CombatHeroPositions : public ::google::protobuf::Message { + public: + CDOTAUserMsg_CombatHeroPositions(); + virtual ~CDOTAUserMsg_CombatHeroPositions(); + + CDOTAUserMsg_CombatHeroPositions(const CDOTAUserMsg_CombatHeroPositions& from); + + inline CDOTAUserMsg_CombatHeroPositions& operator=(const CDOTAUserMsg_CombatHeroPositions& 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_CombatHeroPositions& default_instance(); + + void Swap(CDOTAUserMsg_CombatHeroPositions* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_CombatHeroPositions* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_CombatHeroPositions& from); + void MergeFrom(const CDOTAUserMsg_CombatHeroPositions& 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 uint32 index = 1; + inline bool has_index() const; + inline void clear_index(); + static const int kIndexFieldNumber = 1; + inline ::google::protobuf::uint32 index() const; + inline void set_index(::google::protobuf::uint32 value); + + // optional int32 time = 2; + inline bool has_time() const; + inline void clear_time(); + static const int kTimeFieldNumber = 2; + inline ::google::protobuf::int32 time() const; + inline void set_time(::google::protobuf::int32 value); + + // optional .CMsgVector2D world_pos = 3; + inline bool has_world_pos() const; + inline void clear_world_pos(); + static const int kWorldPosFieldNumber = 3; + inline const ::CMsgVector2D& world_pos() const; + inline ::CMsgVector2D* mutable_world_pos(); + inline ::CMsgVector2D* release_world_pos(); + + // optional int32 health = 4; + inline bool has_health() const; + inline void clear_health(); + static const int kHealthFieldNumber = 4; + inline ::google::protobuf::int32 health() const; + inline void set_health(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_CombatHeroPositions) + private: + inline void set_has_index(); + inline void clear_has_index(); + inline void set_has_time(); + inline void clear_has_time(); + inline void set_has_world_pos(); + inline void clear_has_world_pos(); + inline void set_has_health(); + inline void clear_has_health(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 index_; + ::google::protobuf::int32 time_; + ::CMsgVector2D* world_pos_; + ::google::protobuf::int32 health_; + + 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_CombatHeroPositions* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability : public ::google::protobuf::Message { + public: + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability(); + virtual ~CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability(); + + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability(const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& from); + + inline CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& operator=(const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& 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_MiniKillCamInfo_Attacker_Ability& default_instance(); + + void Swap(CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& from); + void MergeFrom(const CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& 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 uint32 ability = 1; + inline bool has_ability() const; + inline void clear_ability(); + static const int kAbilityFieldNumber = 1; + inline ::google::protobuf::uint32 ability() const; + inline void set_ability(::google::protobuf::uint32 value); + + // optional int32 damage = 2; + inline bool has_damage() const; + inline void clear_damage(); + static const int kDamageFieldNumber = 2; + inline ::google::protobuf::int32 damage() const; + inline void set_damage(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability) + private: + inline void set_has_ability(); + inline void clear_has_ability(); + inline void set_has_damage(); + inline void clear_has_damage(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 ability_; + ::google::protobuf::int32 damage_; + + 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_MiniKillCamInfo_Attacker_Ability* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_MiniKillCamInfo_Attacker : public ::google::protobuf::Message { + public: + CDOTAUserMsg_MiniKillCamInfo_Attacker(); + virtual ~CDOTAUserMsg_MiniKillCamInfo_Attacker(); + + CDOTAUserMsg_MiniKillCamInfo_Attacker(const CDOTAUserMsg_MiniKillCamInfo_Attacker& from); + + inline CDOTAUserMsg_MiniKillCamInfo_Attacker& operator=(const CDOTAUserMsg_MiniKillCamInfo_Attacker& 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_MiniKillCamInfo_Attacker& default_instance(); + + void Swap(CDOTAUserMsg_MiniKillCamInfo_Attacker* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_MiniKillCamInfo_Attacker* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_MiniKillCamInfo_Attacker& from); + void MergeFrom(const CDOTAUserMsg_MiniKillCamInfo_Attacker& 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 ---------------------------------------------------- + + typedef CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability Ability; + + // accessors ------------------------------------------------------- + + // optional uint32 attacker = 1; + inline bool has_attacker() const; + inline void clear_attacker(); + static const int kAttackerFieldNumber = 1; + inline ::google::protobuf::uint32 attacker() const; + inline void set_attacker(::google::protobuf::uint32 value); + + // optional int32 total_damage = 2; + inline bool has_total_damage() const; + inline void clear_total_damage(); + static const int kTotalDamageFieldNumber = 2; + inline ::google::protobuf::int32 total_damage() const; + inline void set_total_damage(::google::protobuf::int32 value); + + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3; + inline int abilities_size() const; + inline void clear_abilities(); + static const int kAbilitiesFieldNumber = 3; + inline const ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& abilities(int index) const; + inline ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* mutable_abilities(int index); + inline ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* add_abilities(); + inline const ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability >& + abilities() const; + inline ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability >* + mutable_abilities(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_MiniKillCamInfo.Attacker) + private: + inline void set_has_attacker(); + inline void clear_has_attacker(); + inline void set_has_total_damage(); + inline void clear_has_total_damage(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 attacker_; + ::google::protobuf::int32 total_damage_; + ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability > abilities_; + + 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_MiniKillCamInfo_Attacker* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_MiniKillCamInfo : public ::google::protobuf::Message { + public: + CDOTAUserMsg_MiniKillCamInfo(); + virtual ~CDOTAUserMsg_MiniKillCamInfo(); + + CDOTAUserMsg_MiniKillCamInfo(const CDOTAUserMsg_MiniKillCamInfo& from); + + inline CDOTAUserMsg_MiniKillCamInfo& operator=(const CDOTAUserMsg_MiniKillCamInfo& 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_MiniKillCamInfo& default_instance(); + + void Swap(CDOTAUserMsg_MiniKillCamInfo* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_MiniKillCamInfo* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_MiniKillCamInfo& from); + void MergeFrom(const CDOTAUserMsg_MiniKillCamInfo& 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 ---------------------------------------------------- + + typedef CDOTAUserMsg_MiniKillCamInfo_Attacker Attacker; + + // accessors ------------------------------------------------------- + + // repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1; + inline int attackers_size() const; + inline void clear_attackers(); + static const int kAttackersFieldNumber = 1; + inline const ::CDOTAUserMsg_MiniKillCamInfo_Attacker& attackers(int index) const; + inline ::CDOTAUserMsg_MiniKillCamInfo_Attacker* mutable_attackers(int index); + inline ::CDOTAUserMsg_MiniKillCamInfo_Attacker* add_attackers(); + inline const ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker >& + attackers() const; + inline ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker >* + mutable_attackers(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_MiniKillCamInfo) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker > attackers_; + + mutable int _cached_size_; + ::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_MiniKillCamInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_GlobalLightColor : public ::google::protobuf::Message { + public: + CDOTAUserMsg_GlobalLightColor(); + virtual ~CDOTAUserMsg_GlobalLightColor(); + + CDOTAUserMsg_GlobalLightColor(const CDOTAUserMsg_GlobalLightColor& from); + + inline CDOTAUserMsg_GlobalLightColor& operator=(const CDOTAUserMsg_GlobalLightColor& 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_GlobalLightColor& default_instance(); + + void Swap(CDOTAUserMsg_GlobalLightColor* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_GlobalLightColor* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_GlobalLightColor& from); + void MergeFrom(const CDOTAUserMsg_GlobalLightColor& 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 uint32 color = 1; + inline bool has_color() const; + inline void clear_color(); + static const int kColorFieldNumber = 1; + inline ::google::protobuf::uint32 color() const; + inline void set_color(::google::protobuf::uint32 value); + + // optional float duration = 2; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 2; + inline float duration() const; + inline void set_duration(float value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_GlobalLightColor) + private: + inline void set_has_color(); + inline void clear_has_color(); + inline void set_has_duration(); + inline void clear_has_duration(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 color_; + float duration_; + + 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_GlobalLightColor* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_GlobalLightDirection : public ::google::protobuf::Message { + public: + CDOTAUserMsg_GlobalLightDirection(); + virtual ~CDOTAUserMsg_GlobalLightDirection(); + + CDOTAUserMsg_GlobalLightDirection(const CDOTAUserMsg_GlobalLightDirection& from); + + inline CDOTAUserMsg_GlobalLightDirection& operator=(const CDOTAUserMsg_GlobalLightDirection& 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_GlobalLightDirection& default_instance(); + + void Swap(CDOTAUserMsg_GlobalLightDirection* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_GlobalLightDirection* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_GlobalLightDirection& from); + void MergeFrom(const CDOTAUserMsg_GlobalLightDirection& 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 .CMsgVector direction = 1; + inline bool has_direction() const; + inline void clear_direction(); + static const int kDirectionFieldNumber = 1; + inline const ::CMsgVector& direction() const; + inline ::CMsgVector* mutable_direction(); + inline ::CMsgVector* release_direction(); + + // optional float duration = 2; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 2; + inline float duration() const; + inline void set_duration(float value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_GlobalLightDirection) + private: + inline void set_has_direction(); + inline void clear_has_direction(); + inline void set_has_duration(); + inline void clear_has_duration(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* direction_; + float duration_; + + 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_GlobalLightDirection* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_LocationPing : public ::google::protobuf::Message { + public: + CDOTAUserMsg_LocationPing(); + virtual ~CDOTAUserMsg_LocationPing(); + + CDOTAUserMsg_LocationPing(const CDOTAUserMsg_LocationPing& from); + + inline CDOTAUserMsg_LocationPing& operator=(const CDOTAUserMsg_LocationPing& 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_LocationPing& default_instance(); + + void Swap(CDOTAUserMsg_LocationPing* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_LocationPing* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_LocationPing& from); + void MergeFrom(const CDOTAUserMsg_LocationPing& 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 uint32 player_id = 1; + inline bool has_player_id() const; + inline void clear_player_id(); + static const int kPlayerIdFieldNumber = 1; + inline ::google::protobuf::uint32 player_id() const; + inline void set_player_id(::google::protobuf::uint32 value); + + // optional .CDOTAMsg_LocationPing location_ping = 2; + inline bool has_location_ping() const; + inline void clear_location_ping(); + static const int kLocationPingFieldNumber = 2; + inline const ::CDOTAMsg_LocationPing& location_ping() const; + inline ::CDOTAMsg_LocationPing* mutable_location_ping(); + inline ::CDOTAMsg_LocationPing* release_location_ping(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_LocationPing) + private: + inline void set_has_player_id(); + inline void clear_has_player_id(); + inline void set_has_location_ping(); + inline void clear_has_location_ping(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CDOTAMsg_LocationPing* location_ping_; + ::google::protobuf::uint32 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_LocationPing* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ItemAlert : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ItemAlert(); + virtual ~CDOTAUserMsg_ItemAlert(); + + CDOTAUserMsg_ItemAlert(const CDOTAUserMsg_ItemAlert& from); + + inline CDOTAUserMsg_ItemAlert& operator=(const CDOTAUserMsg_ItemAlert& 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_ItemAlert& default_instance(); + + void Swap(CDOTAUserMsg_ItemAlert* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ItemAlert* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ItemAlert& from); + void MergeFrom(const CDOTAUserMsg_ItemAlert& 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 uint32 player_id = 1; + inline bool has_player_id() const; + inline void clear_player_id(); + static const int kPlayerIdFieldNumber = 1; + inline ::google::protobuf::uint32 player_id() const; + inline void set_player_id(::google::protobuf::uint32 value); + + // optional .CDOTAMsg_ItemAlert item_alert = 2; + inline bool has_item_alert() const; + inline void clear_item_alert(); + static const int kItemAlertFieldNumber = 2; + inline const ::CDOTAMsg_ItemAlert& item_alert() const; + inline ::CDOTAMsg_ItemAlert* mutable_item_alert(); + inline ::CDOTAMsg_ItemAlert* release_item_alert(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ItemAlert) + private: + inline void set_has_player_id(); + inline void clear_has_player_id(); + inline void set_has_item_alert(); + inline void clear_has_item_alert(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CDOTAMsg_ItemAlert* item_alert_; + ::google::protobuf::uint32 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_ItemAlert* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_MinimapEvent : public ::google::protobuf::Message { + public: + CDOTAUserMsg_MinimapEvent(); + virtual ~CDOTAUserMsg_MinimapEvent(); + + CDOTAUserMsg_MinimapEvent(const CDOTAUserMsg_MinimapEvent& from); + + inline CDOTAUserMsg_MinimapEvent& operator=(const CDOTAUserMsg_MinimapEvent& 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_MinimapEvent& default_instance(); + + void Swap(CDOTAUserMsg_MinimapEvent* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_MinimapEvent* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_MinimapEvent& from); + void MergeFrom(const CDOTAUserMsg_MinimapEvent& 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 event_type = 1; + inline bool has_event_type() const; + inline void clear_event_type(); + static const int kEventTypeFieldNumber = 1; + inline ::google::protobuf::int32 event_type() const; + inline void set_event_type(::google::protobuf::int32 value); + + // optional int32 entity_handle = 2; + inline bool has_entity_handle() const; + inline void clear_entity_handle(); + static const int kEntityHandleFieldNumber = 2; + inline ::google::protobuf::int32 entity_handle() const; + inline void set_entity_handle(::google::protobuf::int32 value); + + // optional int32 x = 3; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 3; + inline ::google::protobuf::int32 x() const; + inline void set_x(::google::protobuf::int32 value); + + // optional int32 y = 4; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 4; + inline ::google::protobuf::int32 y() const; + inline void set_y(::google::protobuf::int32 value); + + // optional int32 duration = 5; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 5; + inline ::google::protobuf::int32 duration() const; + inline void set_duration(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_MinimapEvent) + private: + inline void set_has_event_type(); + inline void clear_has_event_type(); + inline void set_has_entity_handle(); + inline void clear_has_entity_handle(); + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + inline void set_has_duration(); + inline void clear_has_duration(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 event_type_; + ::google::protobuf::int32 entity_handle_; + ::google::protobuf::int32 x_; + ::google::protobuf::int32 y_; + ::google::protobuf::int32 duration_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 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_MinimapEvent* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_MapLine : public ::google::protobuf::Message { + public: + CDOTAUserMsg_MapLine(); + virtual ~CDOTAUserMsg_MapLine(); + + CDOTAUserMsg_MapLine(const CDOTAUserMsg_MapLine& from); + + inline CDOTAUserMsg_MapLine& operator=(const CDOTAUserMsg_MapLine& 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_MapLine& default_instance(); + + void Swap(CDOTAUserMsg_MapLine* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_MapLine* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_MapLine& from); + void MergeFrom(const CDOTAUserMsg_MapLine& 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_MapLine mapline = 2; + inline bool has_mapline() const; + inline void clear_mapline(); + static const int kMaplineFieldNumber = 2; + inline const ::CDOTAMsg_MapLine& mapline() const; + inline ::CDOTAMsg_MapLine* mutable_mapline(); + inline ::CDOTAMsg_MapLine* release_mapline(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_MapLine) + private: + inline void set_has_player_id(); + inline void clear_has_player_id(); + inline void set_has_mapline(); + inline void clear_has_mapline(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CDOTAMsg_MapLine* mapline_; + ::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_MapLine* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_MinimapDebugPoint : public ::google::protobuf::Message { + public: + CDOTAUserMsg_MinimapDebugPoint(); + virtual ~CDOTAUserMsg_MinimapDebugPoint(); + + CDOTAUserMsg_MinimapDebugPoint(const CDOTAUserMsg_MinimapDebugPoint& from); + + inline CDOTAUserMsg_MinimapDebugPoint& operator=(const CDOTAUserMsg_MinimapDebugPoint& 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_MinimapDebugPoint& default_instance(); + + void Swap(CDOTAUserMsg_MinimapDebugPoint* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_MinimapDebugPoint* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_MinimapDebugPoint& from); + void MergeFrom(const CDOTAUserMsg_MinimapDebugPoint& 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 .CMsgVector location = 1; + inline bool has_location() const; + inline void clear_location(); + static const int kLocationFieldNumber = 1; + inline const ::CMsgVector& location() const; + inline ::CMsgVector* mutable_location(); + inline ::CMsgVector* release_location(); + + // optional uint32 color = 2; + inline bool has_color() const; + inline void clear_color(); + static const int kColorFieldNumber = 2; + inline ::google::protobuf::uint32 color() const; + inline void set_color(::google::protobuf::uint32 value); + + // optional int32 size = 3; + inline bool has_size() const; + inline void clear_size(); + static const int kSizeFieldNumber = 3; + inline ::google::protobuf::int32 size() const; + inline void set_size(::google::protobuf::int32 value); + + // optional float duration = 4; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 4; + inline float duration() const; + inline void set_duration(float value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_MinimapDebugPoint) + private: + inline void set_has_location(); + inline void clear_has_location(); + inline void set_has_color(); + inline void clear_has_color(); + inline void set_has_size(); + inline void clear_has_size(); + inline void set_has_duration(); + inline void clear_has_duration(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* location_; + ::google::protobuf::uint32 color_; + ::google::protobuf::int32 size_; + float duration_; + + 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_MinimapDebugPoint* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_CreateLinearProjectile : public ::google::protobuf::Message { + public: + CDOTAUserMsg_CreateLinearProjectile(); + virtual ~CDOTAUserMsg_CreateLinearProjectile(); + + CDOTAUserMsg_CreateLinearProjectile(const CDOTAUserMsg_CreateLinearProjectile& from); + + inline CDOTAUserMsg_CreateLinearProjectile& operator=(const CDOTAUserMsg_CreateLinearProjectile& 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_CreateLinearProjectile& default_instance(); + + void Swap(CDOTAUserMsg_CreateLinearProjectile* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_CreateLinearProjectile* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_CreateLinearProjectile& from); + void MergeFrom(const CDOTAUserMsg_CreateLinearProjectile& 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 .CMsgVector origin = 1; + inline bool has_origin() const; + inline void clear_origin(); + static const int kOriginFieldNumber = 1; + inline const ::CMsgVector& origin() const; + inline ::CMsgVector* mutable_origin(); + inline ::CMsgVector* release_origin(); + + // optional .CMsgVector2D velocity = 2; + inline bool has_velocity() const; + inline void clear_velocity(); + static const int kVelocityFieldNumber = 2; + inline const ::CMsgVector2D& velocity() const; + inline ::CMsgVector2D* mutable_velocity(); + inline ::CMsgVector2D* release_velocity(); + + // optional int32 latency = 3; + inline bool has_latency() const; + inline void clear_latency(); + static const int kLatencyFieldNumber = 3; + inline ::google::protobuf::int32 latency() const; + inline void set_latency(::google::protobuf::int32 value); + + // optional int32 entindex = 4; + inline bool has_entindex() const; + inline void clear_entindex(); + static const int kEntindexFieldNumber = 4; + inline ::google::protobuf::int32 entindex() const; + inline void set_entindex(::google::protobuf::int32 value); + + // optional int32 particle_index = 5; + inline bool has_particle_index() const; + inline void clear_particle_index(); + static const int kParticleIndexFieldNumber = 5; + inline ::google::protobuf::int32 particle_index() const; + inline void set_particle_index(::google::protobuf::int32 value); + + // optional int32 handle = 6; + inline bool has_handle() const; + inline void clear_handle(); + static const int kHandleFieldNumber = 6; + inline ::google::protobuf::int32 handle() const; + inline void set_handle(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_CreateLinearProjectile) + private: + inline void set_has_origin(); + inline void clear_has_origin(); + inline void set_has_velocity(); + inline void clear_has_velocity(); + inline void set_has_latency(); + inline void clear_has_latency(); + inline void set_has_entindex(); + inline void clear_has_entindex(); + inline void set_has_particle_index(); + inline void clear_has_particle_index(); + inline void set_has_handle(); + inline void clear_has_handle(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* origin_; + ::CMsgVector2D* velocity_; + ::google::protobuf::int32 latency_; + ::google::protobuf::int32 entindex_; + ::google::protobuf::int32 particle_index_; + ::google::protobuf::int32 handle_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(6 + 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_CreateLinearProjectile* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_DestroyLinearProjectile : public ::google::protobuf::Message { + public: + CDOTAUserMsg_DestroyLinearProjectile(); + virtual ~CDOTAUserMsg_DestroyLinearProjectile(); + + CDOTAUserMsg_DestroyLinearProjectile(const CDOTAUserMsg_DestroyLinearProjectile& from); + + inline CDOTAUserMsg_DestroyLinearProjectile& operator=(const CDOTAUserMsg_DestroyLinearProjectile& 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_DestroyLinearProjectile& default_instance(); + + void Swap(CDOTAUserMsg_DestroyLinearProjectile* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_DestroyLinearProjectile* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_DestroyLinearProjectile& from); + void MergeFrom(const CDOTAUserMsg_DestroyLinearProjectile& 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 handle = 1; + inline bool has_handle() const; + inline void clear_handle(); + static const int kHandleFieldNumber = 1; + inline ::google::protobuf::int32 handle() const; + inline void set_handle(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_DestroyLinearProjectile) + private: + inline void set_has_handle(); + inline void clear_has_handle(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 handle_; + + mutable int _cached_size_; + ::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_DestroyLinearProjectile* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_DodgeTrackingProjectiles : public ::google::protobuf::Message { + public: + CDOTAUserMsg_DodgeTrackingProjectiles(); + virtual ~CDOTAUserMsg_DodgeTrackingProjectiles(); + + CDOTAUserMsg_DodgeTrackingProjectiles(const CDOTAUserMsg_DodgeTrackingProjectiles& from); + + inline CDOTAUserMsg_DodgeTrackingProjectiles& operator=(const CDOTAUserMsg_DodgeTrackingProjectiles& 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_DodgeTrackingProjectiles& default_instance(); + + void Swap(CDOTAUserMsg_DodgeTrackingProjectiles* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_DodgeTrackingProjectiles* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_DodgeTrackingProjectiles& from); + void MergeFrom(const CDOTAUserMsg_DodgeTrackingProjectiles& 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 ------------------------------------------------------- + + // required int32 entindex = 1; + inline bool has_entindex() const; + inline void clear_entindex(); + static const int kEntindexFieldNumber = 1; + inline ::google::protobuf::int32 entindex() const; + inline void set_entindex(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_DodgeTrackingProjectiles) + private: + inline void set_has_entindex(); + inline void clear_has_entindex(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 entindex_; + + mutable int _cached_size_; + ::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_DodgeTrackingProjectiles* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_SpectatorPlayerClick : public ::google::protobuf::Message { + public: + CDOTAUserMsg_SpectatorPlayerClick(); + virtual ~CDOTAUserMsg_SpectatorPlayerClick(); + + CDOTAUserMsg_SpectatorPlayerClick(const CDOTAUserMsg_SpectatorPlayerClick& from); + + inline CDOTAUserMsg_SpectatorPlayerClick& operator=(const CDOTAUserMsg_SpectatorPlayerClick& 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_SpectatorPlayerClick& default_instance(); + + void Swap(CDOTAUserMsg_SpectatorPlayerClick* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_SpectatorPlayerClick* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_SpectatorPlayerClick& from); + void MergeFrom(const CDOTAUserMsg_SpectatorPlayerClick& 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 ------------------------------------------------------- + + // required int32 entindex = 1; + inline bool has_entindex() const; + inline void clear_entindex(); + static const int kEntindexFieldNumber = 1; + inline ::google::protobuf::int32 entindex() const; + inline void set_entindex(::google::protobuf::int32 value); + + // optional int32 order_type = 2; + inline bool has_order_type() const; + inline void clear_order_type(); + static const int kOrderTypeFieldNumber = 2; + inline ::google::protobuf::int32 order_type() const; + inline void set_order_type(::google::protobuf::int32 value); + + // optional int32 target_index = 3; + inline bool has_target_index() const; + inline void clear_target_index(); + static const int kTargetIndexFieldNumber = 3; + inline ::google::protobuf::int32 target_index() const; + inline void set_target_index(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_SpectatorPlayerClick) + private: + inline void set_has_entindex(); + inline void clear_has_entindex(); + inline void set_has_order_type(); + inline void clear_has_order_type(); + inline void set_has_target_index(); + inline void clear_has_target_index(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 entindex_; + ::google::protobuf::int32 order_type_; + ::google::protobuf::int32 target_index_; + + 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_SpectatorPlayerClick* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_NevermoreRequiem : public ::google::protobuf::Message { + public: + CDOTAUserMsg_NevermoreRequiem(); + virtual ~CDOTAUserMsg_NevermoreRequiem(); + + CDOTAUserMsg_NevermoreRequiem(const CDOTAUserMsg_NevermoreRequiem& from); + + inline CDOTAUserMsg_NevermoreRequiem& operator=(const CDOTAUserMsg_NevermoreRequiem& 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_NevermoreRequiem& default_instance(); + + void Swap(CDOTAUserMsg_NevermoreRequiem* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_NevermoreRequiem* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_NevermoreRequiem& from); + void MergeFrom(const CDOTAUserMsg_NevermoreRequiem& 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 entity_handle = 1; + inline bool has_entity_handle() const; + inline void clear_entity_handle(); + static const int kEntityHandleFieldNumber = 1; + inline ::google::protobuf::int32 entity_handle() const; + inline void set_entity_handle(::google::protobuf::int32 value); + + // optional int32 lines = 2; + inline bool has_lines() const; + inline void clear_lines(); + static const int kLinesFieldNumber = 2; + inline ::google::protobuf::int32 lines() const; + inline void set_lines(::google::protobuf::int32 value); + + // optional .CMsgVector origin = 3; + inline bool has_origin() const; + inline void clear_origin(); + static const int kOriginFieldNumber = 3; + inline const ::CMsgVector& origin() const; + inline ::CMsgVector* mutable_origin(); + inline ::CMsgVector* release_origin(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_NevermoreRequiem) + private: + inline void set_has_entity_handle(); + inline void clear_has_entity_handle(); + inline void set_has_lines(); + inline void clear_has_lines(); + inline void set_has_origin(); + inline void clear_has_origin(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 entity_handle_; + ::google::protobuf::int32 lines_; + ::CMsgVector* origin_; + + 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_NevermoreRequiem* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_InvalidCommand : public ::google::protobuf::Message { + public: + CDOTAUserMsg_InvalidCommand(); + virtual ~CDOTAUserMsg_InvalidCommand(); + + CDOTAUserMsg_InvalidCommand(const CDOTAUserMsg_InvalidCommand& from); + + inline CDOTAUserMsg_InvalidCommand& operator=(const CDOTAUserMsg_InvalidCommand& 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_InvalidCommand& default_instance(); + + void Swap(CDOTAUserMsg_InvalidCommand* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_InvalidCommand* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_InvalidCommand& from); + void MergeFrom(const CDOTAUserMsg_InvalidCommand& 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 message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::std::string& message() const; + inline void set_message(const ::std::string& value); + inline void set_message(const char* value); + inline void set_message(const char* value, size_t size); + inline ::std::string* mutable_message(); + inline ::std::string* release_message(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_InvalidCommand) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* message_; + + mutable int _cached_size_; + ::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_InvalidCommand* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_HudError : public ::google::protobuf::Message { + public: + CDOTAUserMsg_HudError(); + virtual ~CDOTAUserMsg_HudError(); + + CDOTAUserMsg_HudError(const CDOTAUserMsg_HudError& from); + + inline CDOTAUserMsg_HudError& operator=(const CDOTAUserMsg_HudError& 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_HudError& default_instance(); + + void Swap(CDOTAUserMsg_HudError* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_HudError* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_HudError& from); + void MergeFrom(const CDOTAUserMsg_HudError& 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 order_id = 1; + inline bool has_order_id() const; + inline void clear_order_id(); + static const int kOrderIdFieldNumber = 1; + inline ::google::protobuf::int32 order_id() const; + inline void set_order_id(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_HudError) + private: + inline void set_has_order_id(); + inline void clear_has_order_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 order_id_; + + mutable int _cached_size_; + ::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_HudError* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_SharedCooldown : public ::google::protobuf::Message { + public: + CDOTAUserMsg_SharedCooldown(); + virtual ~CDOTAUserMsg_SharedCooldown(); + + CDOTAUserMsg_SharedCooldown(const CDOTAUserMsg_SharedCooldown& from); + + inline CDOTAUserMsg_SharedCooldown& operator=(const CDOTAUserMsg_SharedCooldown& 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_SharedCooldown& default_instance(); + + void Swap(CDOTAUserMsg_SharedCooldown* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_SharedCooldown* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_SharedCooldown& from); + void MergeFrom(const CDOTAUserMsg_SharedCooldown& 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 entindex = 1; + inline bool has_entindex() const; + inline void clear_entindex(); + static const int kEntindexFieldNumber = 1; + inline ::google::protobuf::int32 entindex() const; + inline void set_entindex(::google::protobuf::int32 value); + + // optional string name = 2; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 2; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // optional float cooldown = 3; + inline bool has_cooldown() const; + inline void clear_cooldown(); + static const int kCooldownFieldNumber = 3; + inline float cooldown() const; + inline void set_cooldown(float value); + + // optional int32 name_index = 4; + inline bool has_name_index() const; + inline void clear_name_index(); + static const int kNameIndexFieldNumber = 4; + inline ::google::protobuf::int32 name_index() const; + inline void set_name_index(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_SharedCooldown) + private: + inline void set_has_entindex(); + inline void clear_has_entindex(); + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_cooldown(); + inline void clear_has_cooldown(); + inline void set_has_name_index(); + inline void clear_has_name_index(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + ::google::protobuf::int32 entindex_; + float cooldown_; + ::google::protobuf::int32 name_index_; + + 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_SharedCooldown* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_SetNextAutobuyItem : public ::google::protobuf::Message { + public: + CDOTAUserMsg_SetNextAutobuyItem(); + virtual ~CDOTAUserMsg_SetNextAutobuyItem(); + + CDOTAUserMsg_SetNextAutobuyItem(const CDOTAUserMsg_SetNextAutobuyItem& from); + + inline CDOTAUserMsg_SetNextAutobuyItem& operator=(const CDOTAUserMsg_SetNextAutobuyItem& 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_SetNextAutobuyItem& default_instance(); + + void Swap(CDOTAUserMsg_SetNextAutobuyItem* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_SetNextAutobuyItem* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_SetNextAutobuyItem& from); + void MergeFrom(const CDOTAUserMsg_SetNextAutobuyItem& 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 name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_SetNextAutobuyItem) + private: + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + + mutable int _cached_size_; + ::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_SetNextAutobuyItem* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_HalloweenDrops : public ::google::protobuf::Message { + public: + CDOTAUserMsg_HalloweenDrops(); + virtual ~CDOTAUserMsg_HalloweenDrops(); + + CDOTAUserMsg_HalloweenDrops(const CDOTAUserMsg_HalloweenDrops& from); + + inline CDOTAUserMsg_HalloweenDrops& operator=(const CDOTAUserMsg_HalloweenDrops& 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_HalloweenDrops& default_instance(); + + void Swap(CDOTAUserMsg_HalloweenDrops* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_HalloweenDrops* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_HalloweenDrops& from); + void MergeFrom(const CDOTAUserMsg_HalloweenDrops& 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 ------------------------------------------------------- + + // repeated uint32 item_defs = 1; + inline int item_defs_size() const; + inline void clear_item_defs(); + static const int kItemDefsFieldNumber = 1; + inline ::google::protobuf::uint32 item_defs(int index) const; + inline void set_item_defs(int index, ::google::protobuf::uint32 value); + inline void add_item_defs(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + item_defs() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_item_defs(); + + // repeated uint32 player_ids = 2; + inline int player_ids_size() const; + inline void clear_player_ids(); + static const int kPlayerIdsFieldNumber = 2; + inline ::google::protobuf::uint32 player_ids(int index) const; + inline void set_player_ids(int index, ::google::protobuf::uint32 value); + inline void add_player_ids(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + player_ids() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_player_ids(); + + // optional uint32 prize_list = 3; + inline bool has_prize_list() const; + inline void clear_prize_list(); + static const int kPrizeListFieldNumber = 3; + inline ::google::protobuf::uint32 prize_list() const; + inline void set_prize_list(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_HalloweenDrops) + private: + inline void set_has_prize_list(); + inline void clear_has_prize_list(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > item_defs_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > player_ids_; + ::google::protobuf::uint32 prize_list_; + + 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_HalloweenDrops* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAResponseQuerySerialized_Fact : public ::google::protobuf::Message { + public: + CDOTAResponseQuerySerialized_Fact(); + virtual ~CDOTAResponseQuerySerialized_Fact(); + + CDOTAResponseQuerySerialized_Fact(const CDOTAResponseQuerySerialized_Fact& from); + + inline CDOTAResponseQuerySerialized_Fact& operator=(const CDOTAResponseQuerySerialized_Fact& 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 CDOTAResponseQuerySerialized_Fact& default_instance(); + + void Swap(CDOTAResponseQuerySerialized_Fact* other); + + // implements Message ---------------------------------------------- + + CDOTAResponseQuerySerialized_Fact* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAResponseQuerySerialized_Fact& from); + void MergeFrom(const CDOTAResponseQuerySerialized_Fact& 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 ---------------------------------------------------- + + typedef CDOTAResponseQuerySerialized_Fact_ValueType ValueType; + static const ValueType NUMERIC = CDOTAResponseQuerySerialized_Fact_ValueType_NUMERIC; + static const ValueType STRING = CDOTAResponseQuerySerialized_Fact_ValueType_STRING; + static inline bool ValueType_IsValid(int value) { + return CDOTAResponseQuerySerialized_Fact_ValueType_IsValid(value); + } + static const ValueType ValueType_MIN = + CDOTAResponseQuerySerialized_Fact_ValueType_ValueType_MIN; + static const ValueType ValueType_MAX = + CDOTAResponseQuerySerialized_Fact_ValueType_ValueType_MAX; + static const int ValueType_ARRAYSIZE = + CDOTAResponseQuerySerialized_Fact_ValueType_ValueType_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + ValueType_descriptor() { + return CDOTAResponseQuerySerialized_Fact_ValueType_descriptor(); + } + static inline const ::std::string& ValueType_Name(ValueType value) { + return CDOTAResponseQuerySerialized_Fact_ValueType_Name(value); + } + static inline bool ValueType_Parse(const ::std::string& name, + ValueType* value) { + return CDOTAResponseQuerySerialized_Fact_ValueType_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // required int32 key = 1; + inline bool has_key() const; + inline void clear_key(); + static const int kKeyFieldNumber = 1; + inline ::google::protobuf::int32 key() const; + inline void set_key(::google::protobuf::int32 value); + + // required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC]; + inline bool has_valtype() const; + inline void clear_valtype(); + static const int kValtypeFieldNumber = 2; + inline ::CDOTAResponseQuerySerialized_Fact_ValueType valtype() const; + inline void set_valtype(::CDOTAResponseQuerySerialized_Fact_ValueType value); + + // optional float val_numeric = 3; + inline bool has_val_numeric() const; + inline void clear_val_numeric(); + static const int kValNumericFieldNumber = 3; + inline float val_numeric() const; + inline void set_val_numeric(float value); + + // optional string val_string = 4; + inline bool has_val_string() const; + inline void clear_val_string(); + static const int kValStringFieldNumber = 4; + inline const ::std::string& val_string() const; + inline void set_val_string(const ::std::string& value); + inline void set_val_string(const char* value); + inline void set_val_string(const char* value, size_t size); + inline ::std::string* mutable_val_string(); + inline ::std::string* release_val_string(); + + // @@protoc_insertion_point(class_scope:CDOTAResponseQuerySerialized.Fact) + private: + inline void set_has_key(); + inline void clear_has_key(); + inline void set_has_valtype(); + inline void clear_has_valtype(); + inline void set_has_val_numeric(); + inline void clear_has_val_numeric(); + inline void set_has_val_string(); + inline void clear_has_val_string(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 key_; + int valtype_; + ::std::string* val_string_; + float val_numeric_; + + 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 CDOTAResponseQuerySerialized_Fact* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAResponseQuerySerialized : public ::google::protobuf::Message { + public: + CDOTAResponseQuerySerialized(); + virtual ~CDOTAResponseQuerySerialized(); + + CDOTAResponseQuerySerialized(const CDOTAResponseQuerySerialized& from); + + inline CDOTAResponseQuerySerialized& operator=(const CDOTAResponseQuerySerialized& 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 CDOTAResponseQuerySerialized& default_instance(); + + void Swap(CDOTAResponseQuerySerialized* other); + + // implements Message ---------------------------------------------- + + CDOTAResponseQuerySerialized* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAResponseQuerySerialized& from); + void MergeFrom(const CDOTAResponseQuerySerialized& 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 ---------------------------------------------------- + + typedef CDOTAResponseQuerySerialized_Fact Fact; + + // accessors ------------------------------------------------------- + + // repeated .CDOTAResponseQuerySerialized.Fact facts = 1; + inline int facts_size() const; + inline void clear_facts(); + static const int kFactsFieldNumber = 1; + inline const ::CDOTAResponseQuerySerialized_Fact& facts(int index) const; + inline ::CDOTAResponseQuerySerialized_Fact* mutable_facts(int index); + inline ::CDOTAResponseQuerySerialized_Fact* add_facts(); + inline const ::google::protobuf::RepeatedPtrField< ::CDOTAResponseQuerySerialized_Fact >& + facts() const; + inline ::google::protobuf::RepeatedPtrField< ::CDOTAResponseQuerySerialized_Fact >* + mutable_facts(); + + // @@protoc_insertion_point(class_scope:CDOTAResponseQuerySerialized) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::CDOTAResponseQuerySerialized_Fact > facts_; + + mutable int _cached_size_; + ::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 CDOTAResponseQuerySerialized* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTASpeechMatchOnClient : public ::google::protobuf::Message { + public: + CDOTASpeechMatchOnClient(); + virtual ~CDOTASpeechMatchOnClient(); + + CDOTASpeechMatchOnClient(const CDOTASpeechMatchOnClient& from); + + inline CDOTASpeechMatchOnClient& operator=(const CDOTASpeechMatchOnClient& 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 CDOTASpeechMatchOnClient& default_instance(); + + void Swap(CDOTASpeechMatchOnClient* other); + + // implements Message ---------------------------------------------- + + CDOTASpeechMatchOnClient* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTASpeechMatchOnClient& from); + void MergeFrom(const CDOTASpeechMatchOnClient& 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 concept = 1; + inline bool has_concept() const; + inline void clear_concept(); + static const int kConceptFieldNumber = 1; + inline ::google::protobuf::int32 concept() const; + inline void set_concept(::google::protobuf::int32 value); + + // optional int32 recipient_type = 2; + inline bool has_recipient_type() const; + inline void clear_recipient_type(); + static const int kRecipientTypeFieldNumber = 2; + inline ::google::protobuf::int32 recipient_type() const; + inline void set_recipient_type(::google::protobuf::int32 value); + + // optional .CDOTAResponseQuerySerialized responsequery = 3; + inline bool has_responsequery() const; + inline void clear_responsequery(); + static const int kResponsequeryFieldNumber = 3; + inline const ::CDOTAResponseQuerySerialized& responsequery() const; + inline ::CDOTAResponseQuerySerialized* mutable_responsequery(); + inline ::CDOTAResponseQuerySerialized* release_responsequery(); + + // optional sfixed32 randomseed = 4 [default = 0]; + inline bool has_randomseed() const; + inline void clear_randomseed(); + static const int kRandomseedFieldNumber = 4; + inline ::google::protobuf::int32 randomseed() const; + inline void set_randomseed(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTASpeechMatchOnClient) + private: + inline void set_has_concept(); + inline void clear_has_concept(); + inline void set_has_recipient_type(); + inline void clear_has_recipient_type(); + inline void set_has_responsequery(); + inline void clear_has_responsequery(); + inline void set_has_randomseed(); + inline void clear_has_randomseed(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 concept_; + ::google::protobuf::int32 recipient_type_; + ::CDOTAResponseQuerySerialized* responsequery_; + ::google::protobuf::int32 randomseed_; + + 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 CDOTASpeechMatchOnClient* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_UnitEvent_Speech : public ::google::protobuf::Message { + public: + CDOTAUserMsg_UnitEvent_Speech(); + virtual ~CDOTAUserMsg_UnitEvent_Speech(); + + CDOTAUserMsg_UnitEvent_Speech(const CDOTAUserMsg_UnitEvent_Speech& from); + + inline CDOTAUserMsg_UnitEvent_Speech& operator=(const CDOTAUserMsg_UnitEvent_Speech& 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_UnitEvent_Speech& default_instance(); + + void Swap(CDOTAUserMsg_UnitEvent_Speech* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_UnitEvent_Speech* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_UnitEvent_Speech& from); + void MergeFrom(const CDOTAUserMsg_UnitEvent_Speech& 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 concept = 1; + inline bool has_concept() const; + inline void clear_concept(); + static const int kConceptFieldNumber = 1; + inline ::google::protobuf::int32 concept() const; + inline void set_concept(::google::protobuf::int32 value); + + // optional string response = 2; + inline bool has_response() const; + inline void clear_response(); + static const int kResponseFieldNumber = 2; + inline const ::std::string& response() const; + inline void set_response(const ::std::string& value); + inline void set_response(const char* value); + inline void set_response(const char* value, size_t size); + inline ::std::string* mutable_response(); + inline ::std::string* release_response(); + + // optional int32 recipient_type = 3; + inline bool has_recipient_type() const; + inline void clear_recipient_type(); + static const int kRecipientTypeFieldNumber = 3; + inline ::google::protobuf::int32 recipient_type() const; + inline void set_recipient_type(::google::protobuf::int32 value); + + // optional int32 level = 4; + inline bool has_level() const; + inline void clear_level(); + static const int kLevelFieldNumber = 4; + inline ::google::protobuf::int32 level() const; + inline void set_level(::google::protobuf::int32 value); + + // optional bool muteable = 5 [default = false]; + inline bool has_muteable() const; + inline void clear_muteable(); + static const int kMuteableFieldNumber = 5; + inline bool muteable() const; + inline void set_muteable(bool value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.Speech) + private: + inline void set_has_concept(); + inline void clear_has_concept(); + inline void set_has_response(); + inline void clear_has_response(); + inline void set_has_recipient_type(); + inline void clear_has_recipient_type(); + inline void set_has_level(); + inline void clear_has_level(); + inline void set_has_muteable(); + inline void clear_has_muteable(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* response_; + ::google::protobuf::int32 concept_; + ::google::protobuf::int32 recipient_type_; + ::google::protobuf::int32 level_; + bool muteable_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 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_UnitEvent_Speech* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_UnitEvent_SpeechMute : public ::google::protobuf::Message { + public: + CDOTAUserMsg_UnitEvent_SpeechMute(); + virtual ~CDOTAUserMsg_UnitEvent_SpeechMute(); + + CDOTAUserMsg_UnitEvent_SpeechMute(const CDOTAUserMsg_UnitEvent_SpeechMute& from); + + inline CDOTAUserMsg_UnitEvent_SpeechMute& operator=(const CDOTAUserMsg_UnitEvent_SpeechMute& 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_UnitEvent_SpeechMute& default_instance(); + + void Swap(CDOTAUserMsg_UnitEvent_SpeechMute* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_UnitEvent_SpeechMute* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_UnitEvent_SpeechMute& from); + void MergeFrom(const CDOTAUserMsg_UnitEvent_SpeechMute& 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 float delay = 1 [default = 0.5]; + inline bool has_delay() const; + inline void clear_delay(); + static const int kDelayFieldNumber = 1; + inline float delay() const; + inline void set_delay(float value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.SpeechMute) + private: + inline void set_has_delay(); + inline void clear_has_delay(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + float delay_; + + mutable int _cached_size_; + ::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_UnitEvent_SpeechMute* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_UnitEvent_AddGesture : public ::google::protobuf::Message { + public: + CDOTAUserMsg_UnitEvent_AddGesture(); + virtual ~CDOTAUserMsg_UnitEvent_AddGesture(); + + CDOTAUserMsg_UnitEvent_AddGesture(const CDOTAUserMsg_UnitEvent_AddGesture& from); + + inline CDOTAUserMsg_UnitEvent_AddGesture& operator=(const CDOTAUserMsg_UnitEvent_AddGesture& 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_UnitEvent_AddGesture& default_instance(); + + void Swap(CDOTAUserMsg_UnitEvent_AddGesture* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_UnitEvent_AddGesture* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_UnitEvent_AddGesture& from); + void MergeFrom(const CDOTAUserMsg_UnitEvent_AddGesture& 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 .Activity activity = 1 [default = ACT_INVALID]; + inline bool has_activity() const; + inline void clear_activity(); + static const int kActivityFieldNumber = 1; + inline Activity activity() const; + inline void set_activity(Activity value); + + // optional int32 slot = 2; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 2; + inline ::google::protobuf::int32 slot() const; + inline void set_slot(::google::protobuf::int32 value); + + // optional float fade_in = 3 [default = 0]; + inline bool has_fade_in() const; + inline void clear_fade_in(); + static const int kFadeInFieldNumber = 3; + inline float fade_in() const; + inline void set_fade_in(float value); + + // optional float fade_out = 4 [default = 0.1]; + inline bool has_fade_out() const; + inline void clear_fade_out(); + static const int kFadeOutFieldNumber = 4; + inline float fade_out() const; + inline void set_fade_out(float value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.AddGesture) + private: + inline void set_has_activity(); + inline void clear_has_activity(); + inline void set_has_slot(); + inline void clear_has_slot(); + inline void set_has_fade_in(); + inline void clear_has_fade_in(); + inline void set_has_fade_out(); + inline void clear_has_fade_out(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int activity_; + ::google::protobuf::int32 slot_; + float fade_in_; + float fade_out_; + + 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_UnitEvent_AddGesture* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_UnitEvent_RemoveGesture : public ::google::protobuf::Message { + public: + CDOTAUserMsg_UnitEvent_RemoveGesture(); + virtual ~CDOTAUserMsg_UnitEvent_RemoveGesture(); + + CDOTAUserMsg_UnitEvent_RemoveGesture(const CDOTAUserMsg_UnitEvent_RemoveGesture& from); + + inline CDOTAUserMsg_UnitEvent_RemoveGesture& operator=(const CDOTAUserMsg_UnitEvent_RemoveGesture& 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_UnitEvent_RemoveGesture& default_instance(); + + void Swap(CDOTAUserMsg_UnitEvent_RemoveGesture* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_UnitEvent_RemoveGesture* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_UnitEvent_RemoveGesture& from); + void MergeFrom(const CDOTAUserMsg_UnitEvent_RemoveGesture& 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 .Activity activity = 1 [default = ACT_INVALID]; + inline bool has_activity() const; + inline void clear_activity(); + static const int kActivityFieldNumber = 1; + inline Activity activity() const; + inline void set_activity(Activity value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.RemoveGesture) + private: + inline void set_has_activity(); + inline void clear_has_activity(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int activity_; + + mutable int _cached_size_; + ::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_UnitEvent_RemoveGesture* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_UnitEvent_BloodImpact : public ::google::protobuf::Message { + public: + CDOTAUserMsg_UnitEvent_BloodImpact(); + virtual ~CDOTAUserMsg_UnitEvent_BloodImpact(); + + CDOTAUserMsg_UnitEvent_BloodImpact(const CDOTAUserMsg_UnitEvent_BloodImpact& from); + + inline CDOTAUserMsg_UnitEvent_BloodImpact& operator=(const CDOTAUserMsg_UnitEvent_BloodImpact& 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_UnitEvent_BloodImpact& default_instance(); + + void Swap(CDOTAUserMsg_UnitEvent_BloodImpact* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_UnitEvent_BloodImpact* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_UnitEvent_BloodImpact& from); + void MergeFrom(const CDOTAUserMsg_UnitEvent_BloodImpact& 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 scale = 1; + inline bool has_scale() const; + inline void clear_scale(); + static const int kScaleFieldNumber = 1; + inline ::google::protobuf::int32 scale() const; + inline void set_scale(::google::protobuf::int32 value); + + // optional int32 x_normal = 2; + inline bool has_x_normal() const; + inline void clear_x_normal(); + static const int kXNormalFieldNumber = 2; + inline ::google::protobuf::int32 x_normal() const; + inline void set_x_normal(::google::protobuf::int32 value); + + // optional int32 y_normal = 3; + inline bool has_y_normal() const; + inline void clear_y_normal(); + static const int kYNormalFieldNumber = 3; + inline ::google::protobuf::int32 y_normal() const; + inline void set_y_normal(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.BloodImpact) + private: + inline void set_has_scale(); + inline void clear_has_scale(); + inline void set_has_x_normal(); + inline void clear_has_x_normal(); + inline void set_has_y_normal(); + inline void clear_has_y_normal(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 scale_; + ::google::protobuf::int32 x_normal_; + ::google::protobuf::int32 y_normal_; + + 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_UnitEvent_BloodImpact* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_UnitEvent_FadeGesture : public ::google::protobuf::Message { + public: + CDOTAUserMsg_UnitEvent_FadeGesture(); + virtual ~CDOTAUserMsg_UnitEvent_FadeGesture(); + + CDOTAUserMsg_UnitEvent_FadeGesture(const CDOTAUserMsg_UnitEvent_FadeGesture& from); + + inline CDOTAUserMsg_UnitEvent_FadeGesture& operator=(const CDOTAUserMsg_UnitEvent_FadeGesture& 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_UnitEvent_FadeGesture& default_instance(); + + void Swap(CDOTAUserMsg_UnitEvent_FadeGesture* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_UnitEvent_FadeGesture* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_UnitEvent_FadeGesture& from); + void MergeFrom(const CDOTAUserMsg_UnitEvent_FadeGesture& 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 .Activity activity = 1 [default = ACT_INVALID]; + inline bool has_activity() const; + inline void clear_activity(); + static const int kActivityFieldNumber = 1; + inline Activity activity() const; + inline void set_activity(Activity value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.FadeGesture) + private: + inline void set_has_activity(); + inline void clear_has_activity(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int activity_; + + mutable int _cached_size_; + ::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_UnitEvent_FadeGesture* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_UnitEvent : public ::google::protobuf::Message { + public: + CDOTAUserMsg_UnitEvent(); + virtual ~CDOTAUserMsg_UnitEvent(); + + CDOTAUserMsg_UnitEvent(const CDOTAUserMsg_UnitEvent& from); + + inline CDOTAUserMsg_UnitEvent& operator=(const CDOTAUserMsg_UnitEvent& 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_UnitEvent& default_instance(); + + void Swap(CDOTAUserMsg_UnitEvent* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_UnitEvent* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_UnitEvent& from); + void MergeFrom(const CDOTAUserMsg_UnitEvent& 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 ---------------------------------------------------- + + typedef CDOTAUserMsg_UnitEvent_Speech Speech; + typedef CDOTAUserMsg_UnitEvent_SpeechMute SpeechMute; + typedef CDOTAUserMsg_UnitEvent_AddGesture AddGesture; + typedef CDOTAUserMsg_UnitEvent_RemoveGesture RemoveGesture; + typedef CDOTAUserMsg_UnitEvent_BloodImpact BloodImpact; + typedef CDOTAUserMsg_UnitEvent_FadeGesture FadeGesture; + + // accessors ------------------------------------------------------- + + // required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH]; + inline bool has_msg_type() const; + inline void clear_msg_type(); + static const int kMsgTypeFieldNumber = 1; + inline EDotaEntityMessages msg_type() const; + inline void set_msg_type(EDotaEntityMessages value); + + // required int32 entity_index = 2; + inline bool has_entity_index() const; + inline void clear_entity_index(); + static const int kEntityIndexFieldNumber = 2; + inline ::google::protobuf::int32 entity_index() const; + inline void set_entity_index(::google::protobuf::int32 value); + + // optional .CDOTAUserMsg_UnitEvent.Speech speech = 3; + inline bool has_speech() const; + inline void clear_speech(); + static const int kSpeechFieldNumber = 3; + inline const ::CDOTAUserMsg_UnitEvent_Speech& speech() const; + inline ::CDOTAUserMsg_UnitEvent_Speech* mutable_speech(); + inline ::CDOTAUserMsg_UnitEvent_Speech* release_speech(); + + // optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4; + inline bool has_speech_mute() const; + inline void clear_speech_mute(); + static const int kSpeechMuteFieldNumber = 4; + inline const ::CDOTAUserMsg_UnitEvent_SpeechMute& speech_mute() const; + inline ::CDOTAUserMsg_UnitEvent_SpeechMute* mutable_speech_mute(); + inline ::CDOTAUserMsg_UnitEvent_SpeechMute* release_speech_mute(); + + // optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5; + inline bool has_add_gesture() const; + inline void clear_add_gesture(); + static const int kAddGestureFieldNumber = 5; + inline const ::CDOTAUserMsg_UnitEvent_AddGesture& add_gesture() const; + inline ::CDOTAUserMsg_UnitEvent_AddGesture* mutable_add_gesture(); + inline ::CDOTAUserMsg_UnitEvent_AddGesture* release_add_gesture(); + + // optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6; + inline bool has_remove_gesture() const; + inline void clear_remove_gesture(); + static const int kRemoveGestureFieldNumber = 6; + inline const ::CDOTAUserMsg_UnitEvent_RemoveGesture& remove_gesture() const; + inline ::CDOTAUserMsg_UnitEvent_RemoveGesture* mutable_remove_gesture(); + inline ::CDOTAUserMsg_UnitEvent_RemoveGesture* release_remove_gesture(); + + // optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7; + inline bool has_blood_impact() const; + inline void clear_blood_impact(); + static const int kBloodImpactFieldNumber = 7; + inline const ::CDOTAUserMsg_UnitEvent_BloodImpact& blood_impact() const; + inline ::CDOTAUserMsg_UnitEvent_BloodImpact* mutable_blood_impact(); + inline ::CDOTAUserMsg_UnitEvent_BloodImpact* release_blood_impact(); + + // optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8; + inline bool has_fade_gesture() const; + inline void clear_fade_gesture(); + static const int kFadeGestureFieldNumber = 8; + inline const ::CDOTAUserMsg_UnitEvent_FadeGesture& fade_gesture() const; + inline ::CDOTAUserMsg_UnitEvent_FadeGesture* mutable_fade_gesture(); + inline ::CDOTAUserMsg_UnitEvent_FadeGesture* release_fade_gesture(); + + // optional .CDOTASpeechMatchOnClient speech_match_on_client = 9; + inline bool has_speech_match_on_client() const; + inline void clear_speech_match_on_client(); + static const int kSpeechMatchOnClientFieldNumber = 9; + inline const ::CDOTASpeechMatchOnClient& speech_match_on_client() const; + inline ::CDOTASpeechMatchOnClient* mutable_speech_match_on_client(); + inline ::CDOTASpeechMatchOnClient* release_speech_match_on_client(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent) + private: + inline void set_has_msg_type(); + inline void clear_has_msg_type(); + inline void set_has_entity_index(); + inline void clear_has_entity_index(); + inline void set_has_speech(); + inline void clear_has_speech(); + inline void set_has_speech_mute(); + inline void clear_has_speech_mute(); + inline void set_has_add_gesture(); + inline void clear_has_add_gesture(); + inline void set_has_remove_gesture(); + inline void clear_has_remove_gesture(); + inline void set_has_blood_impact(); + inline void clear_has_blood_impact(); + inline void set_has_fade_gesture(); + inline void clear_has_fade_gesture(); + inline void set_has_speech_match_on_client(); + inline void clear_has_speech_match_on_client(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int msg_type_; + ::google::protobuf::int32 entity_index_; + ::CDOTAUserMsg_UnitEvent_Speech* speech_; + ::CDOTAUserMsg_UnitEvent_SpeechMute* speech_mute_; + ::CDOTAUserMsg_UnitEvent_AddGesture* add_gesture_; + ::CDOTAUserMsg_UnitEvent_RemoveGesture* remove_gesture_; + ::CDOTAUserMsg_UnitEvent_BloodImpact* blood_impact_; + ::CDOTAUserMsg_UnitEvent_FadeGesture* fade_gesture_; + ::CDOTASpeechMatchOnClient* speech_match_on_client_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(9 + 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_UnitEvent* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ItemPurchased : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ItemPurchased(); + virtual ~CDOTAUserMsg_ItemPurchased(); + + CDOTAUserMsg_ItemPurchased(const CDOTAUserMsg_ItemPurchased& from); + + inline CDOTAUserMsg_ItemPurchased& operator=(const CDOTAUserMsg_ItemPurchased& 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_ItemPurchased& default_instance(); + + void Swap(CDOTAUserMsg_ItemPurchased* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ItemPurchased* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ItemPurchased& from); + void MergeFrom(const CDOTAUserMsg_ItemPurchased& 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 item_index = 1; + inline bool has_item_index() const; + inline void clear_item_index(); + static const int kItemIndexFieldNumber = 1; + inline ::google::protobuf::int32 item_index() const; + inline void set_item_index(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ItemPurchased) + private: + inline void set_has_item_index(); + inline void clear_has_item_index(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 item_index_; + + mutable int _cached_size_; + ::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_ItemPurchased* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ItemFound : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ItemFound(); + virtual ~CDOTAUserMsg_ItemFound(); + + CDOTAUserMsg_ItemFound(const CDOTAUserMsg_ItemFound& from); + + inline CDOTAUserMsg_ItemFound& operator=(const CDOTAUserMsg_ItemFound& 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_ItemFound& default_instance(); + + void Swap(CDOTAUserMsg_ItemFound* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ItemFound* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ItemFound& from); + void MergeFrom(const CDOTAUserMsg_ItemFound& 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 = 1; + inline bool has_player() const; + inline void clear_player(); + static const int kPlayerFieldNumber = 1; + inline ::google::protobuf::int32 player() const; + inline void set_player(::google::protobuf::int32 value); + + // optional int32 quality = 2; + inline bool has_quality() const; + inline void clear_quality(); + static const int kQualityFieldNumber = 2; + inline ::google::protobuf::int32 quality() const; + inline void set_quality(::google::protobuf::int32 value); + + // optional int32 rarity = 3; + inline bool has_rarity() const; + inline void clear_rarity(); + static const int kRarityFieldNumber = 3; + inline ::google::protobuf::int32 rarity() const; + inline void set_rarity(::google::protobuf::int32 value); + + // optional int32 method = 4; + inline bool has_method() const; + inline void clear_method(); + static const int kMethodFieldNumber = 4; + inline ::google::protobuf::int32 method() const; + inline void set_method(::google::protobuf::int32 value); + + // optional int32 itemdef = 5; + inline bool has_itemdef() const; + inline void clear_itemdef(); + static const int kItemdefFieldNumber = 5; + inline ::google::protobuf::int32 itemdef() const; + inline void set_itemdef(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ItemFound) + private: + inline void set_has_player(); + inline void clear_has_player(); + inline void set_has_quality(); + inline void clear_has_quality(); + inline void set_has_rarity(); + inline void clear_has_rarity(); + inline void set_has_method(); + inline void clear_has_method(); + inline void set_has_itemdef(); + inline void clear_has_itemdef(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 player_; + ::google::protobuf::int32 quality_; + ::google::protobuf::int32 rarity_; + ::google::protobuf::int32 method_; + ::google::protobuf::int32 itemdef_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 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_ItemFound* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_ReleaseParticleIndex : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex(); + virtual ~CDOTAUserMsg_ParticleManager_ReleaseParticleIndex(); + + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex(const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& from); + + inline CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& operator=(const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& 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_ParticleManager_ReleaseParticleIndex& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.ReleaseParticleIndex) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[1]; + + 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_ReleaseParticleIndex* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_CreateParticle : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_CreateParticle(); + virtual ~CDOTAUserMsg_ParticleManager_CreateParticle(); + + CDOTAUserMsg_ParticleManager_CreateParticle(const CDOTAUserMsg_ParticleManager_CreateParticle& from); + + inline CDOTAUserMsg_ParticleManager_CreateParticle& operator=(const CDOTAUserMsg_ParticleManager_CreateParticle& 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_ParticleManager_CreateParticle& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_CreateParticle* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_CreateParticle* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_CreateParticle& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_CreateParticle& 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 particle_name_index = 1; + inline bool has_particle_name_index() const; + inline void clear_particle_name_index(); + static const int kParticleNameIndexFieldNumber = 1; + inline ::google::protobuf::int32 particle_name_index() const; + inline void set_particle_name_index(::google::protobuf::int32 value); + + // optional int32 attach_type = 2; + inline bool has_attach_type() const; + inline void clear_attach_type(); + static const int kAttachTypeFieldNumber = 2; + inline ::google::protobuf::int32 attach_type() const; + inline void set_attach_type(::google::protobuf::int32 value); + + // optional int32 entity_handle = 3; + inline bool has_entity_handle() const; + inline void clear_entity_handle(); + static const int kEntityHandleFieldNumber = 3; + inline ::google::protobuf::int32 entity_handle() const; + inline void set_entity_handle(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.CreateParticle) + private: + inline void set_has_particle_name_index(); + inline void clear_has_particle_name_index(); + inline void set_has_attach_type(); + inline void clear_has_attach_type(); + inline void set_has_entity_handle(); + inline void clear_has_entity_handle(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 particle_name_index_; + ::google::protobuf::int32 attach_type_; + ::google::protobuf::int32 entity_handle_; + + 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_ParticleManager_CreateParticle* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_DestroyParticle : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_DestroyParticle(); + virtual ~CDOTAUserMsg_ParticleManager_DestroyParticle(); + + CDOTAUserMsg_ParticleManager_DestroyParticle(const CDOTAUserMsg_ParticleManager_DestroyParticle& from); + + inline CDOTAUserMsg_ParticleManager_DestroyParticle& operator=(const CDOTAUserMsg_ParticleManager_DestroyParticle& 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_ParticleManager_DestroyParticle& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_DestroyParticle* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_DestroyParticle* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_DestroyParticle& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_DestroyParticle& 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 destroy_immediately = 1; + inline bool has_destroy_immediately() const; + inline void clear_destroy_immediately(); + static const int kDestroyImmediatelyFieldNumber = 1; + inline bool destroy_immediately() const; + inline void set_destroy_immediately(bool value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.DestroyParticle) + private: + inline void set_has_destroy_immediately(); + inline void clear_has_destroy_immediately(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + bool destroy_immediately_; + + mutable int _cached_size_; + ::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_DestroyParticle* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_DestroyParticleInvolving : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving(); + virtual ~CDOTAUserMsg_ParticleManager_DestroyParticleInvolving(); + + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving(const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& from); + + inline CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& operator=(const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& 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_ParticleManager_DestroyParticleInvolving& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& 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 destroy_immediately = 1; + inline bool has_destroy_immediately() const; + inline void clear_destroy_immediately(); + static const int kDestroyImmediatelyFieldNumber = 1; + inline bool destroy_immediately() const; + inline void set_destroy_immediately(bool value); + + // optional int32 entity_handle = 3; + inline bool has_entity_handle() const; + inline void clear_entity_handle(); + static const int kEntityHandleFieldNumber = 3; + inline ::google::protobuf::int32 entity_handle() const; + inline void set_entity_handle(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.DestroyParticleInvolving) + private: + inline void set_has_destroy_immediately(); + inline void clear_has_destroy_immediately(); + inline void set_has_entity_handle(); + inline void clear_has_entity_handle(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + bool destroy_immediately_; + ::google::protobuf::int32 entity_handle_; + + 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_ParticleManager_DestroyParticleInvolving* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_UpdateParticle : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_UpdateParticle(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticle(); + + CDOTAUserMsg_ParticleManager_UpdateParticle(const CDOTAUserMsg_ParticleManager_UpdateParticle& from); + + inline CDOTAUserMsg_ParticleManager_UpdateParticle& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticle& 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_ParticleManager_UpdateParticle& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticle* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_UpdateParticle* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticle& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticle& 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 control_point = 1; + inline bool has_control_point() const; + inline void clear_control_point(); + static const int kControlPointFieldNumber = 1; + inline ::google::protobuf::int32 control_point() const; + inline void set_control_point(::google::protobuf::int32 value); + + // optional .CMsgVector position = 2; + inline bool has_position() const; + inline void clear_position(); + static const int kPositionFieldNumber = 2; + inline const ::CMsgVector& position() const; + inline ::CMsgVector* mutable_position(); + inline ::CMsgVector* release_position(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticle) + private: + inline void set_has_control_point(); + inline void clear_has_control_point(); + inline void set_has_position(); + inline void clear_has_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* position_; + ::google::protobuf::int32 control_point_; + + 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_ParticleManager_UpdateParticle* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_UpdateParticleFwd : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_UpdateParticleFwd(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleFwd(); + + CDOTAUserMsg_ParticleManager_UpdateParticleFwd(const CDOTAUserMsg_ParticleManager_UpdateParticleFwd& from); + + inline CDOTAUserMsg_ParticleManager_UpdateParticleFwd& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleFwd& 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_ParticleManager_UpdateParticleFwd& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleFwd* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_UpdateParticleFwd* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleFwd& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleFwd& 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 control_point = 1; + inline bool has_control_point() const; + inline void clear_control_point(); + static const int kControlPointFieldNumber = 1; + inline ::google::protobuf::int32 control_point() const; + inline void set_control_point(::google::protobuf::int32 value); + + // optional .CMsgVector forward = 2; + inline bool has_forward() const; + inline void clear_forward(); + static const int kForwardFieldNumber = 2; + inline const ::CMsgVector& forward() const; + inline ::CMsgVector* mutable_forward(); + inline ::CMsgVector* release_forward(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleFwd) + private: + inline void set_has_control_point(); + inline void clear_has_control_point(); + inline void set_has_forward(); + inline void clear_has_forward(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* forward_; + ::google::protobuf::int32 control_point_; + + 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_ParticleManager_UpdateParticleFwd* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_UpdateParticleOrient : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_UpdateParticleOrient(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleOrient(); + + CDOTAUserMsg_ParticleManager_UpdateParticleOrient(const CDOTAUserMsg_ParticleManager_UpdateParticleOrient& from); + + inline CDOTAUserMsg_ParticleManager_UpdateParticleOrient& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleOrient& 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_ParticleManager_UpdateParticleOrient& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleOrient* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_UpdateParticleOrient* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleOrient& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleOrient& 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 control_point = 1; + inline bool has_control_point() const; + inline void clear_control_point(); + static const int kControlPointFieldNumber = 1; + inline ::google::protobuf::int32 control_point() const; + inline void set_control_point(::google::protobuf::int32 value); + + // optional .CMsgVector forward = 2; + inline bool has_forward() const; + inline void clear_forward(); + static const int kForwardFieldNumber = 2; + inline const ::CMsgVector& forward() const; + inline ::CMsgVector* mutable_forward(); + inline ::CMsgVector* release_forward(); + + // optional .CMsgVector right = 3; + inline bool has_right() const; + inline void clear_right(); + static const int kRightFieldNumber = 3; + inline const ::CMsgVector& right() const; + inline ::CMsgVector* mutable_right(); + inline ::CMsgVector* release_right(); + + // optional .CMsgVector up = 4; + inline bool has_up() const; + inline void clear_up(); + static const int kUpFieldNumber = 4; + inline const ::CMsgVector& up() const; + inline ::CMsgVector* mutable_up(); + inline ::CMsgVector* release_up(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleOrient) + private: + inline void set_has_control_point(); + inline void clear_has_control_point(); + inline void set_has_forward(); + inline void clear_has_forward(); + inline void set_has_right(); + inline void clear_has_right(); + inline void set_has_up(); + inline void clear_has_up(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* forward_; + ::CMsgVector* right_; + ::CMsgVector* up_; + ::google::protobuf::int32 control_point_; + + 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_ParticleManager_UpdateParticleOrient* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_UpdateParticleFallback : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_UpdateParticleFallback(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleFallback(); + + CDOTAUserMsg_ParticleManager_UpdateParticleFallback(const CDOTAUserMsg_ParticleManager_UpdateParticleFallback& from); + + inline CDOTAUserMsg_ParticleManager_UpdateParticleFallback& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleFallback& 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_ParticleManager_UpdateParticleFallback& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleFallback* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_UpdateParticleFallback* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleFallback& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleFallback& 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 control_point = 1; + inline bool has_control_point() const; + inline void clear_control_point(); + static const int kControlPointFieldNumber = 1; + inline ::google::protobuf::int32 control_point() const; + inline void set_control_point(::google::protobuf::int32 value); + + // optional .CMsgVector position = 2; + inline bool has_position() const; + inline void clear_position(); + static const int kPositionFieldNumber = 2; + inline const ::CMsgVector& position() const; + inline ::CMsgVector* mutable_position(); + inline ::CMsgVector* release_position(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleFallback) + private: + inline void set_has_control_point(); + inline void clear_has_control_point(); + inline void set_has_position(); + inline void clear_has_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* position_; + ::google::protobuf::int32 control_point_; + + 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_ParticleManager_UpdateParticleFallback* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_UpdateParticleOffset : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_UpdateParticleOffset(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleOffset(); + + CDOTAUserMsg_ParticleManager_UpdateParticleOffset(const CDOTAUserMsg_ParticleManager_UpdateParticleOffset& from); + + inline CDOTAUserMsg_ParticleManager_UpdateParticleOffset& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleOffset& 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_ParticleManager_UpdateParticleOffset& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleOffset* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_UpdateParticleOffset* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleOffset& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleOffset& 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 control_point = 1; + inline bool has_control_point() const; + inline void clear_control_point(); + static const int kControlPointFieldNumber = 1; + inline ::google::protobuf::int32 control_point() const; + inline void set_control_point(::google::protobuf::int32 value); + + // optional .CMsgVector origin_offset = 2; + inline bool has_origin_offset() const; + inline void clear_origin_offset(); + static const int kOriginOffsetFieldNumber = 2; + inline const ::CMsgVector& origin_offset() const; + inline ::CMsgVector* mutable_origin_offset(); + inline ::CMsgVector* release_origin_offset(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleOffset) + private: + inline void set_has_control_point(); + inline void clear_has_control_point(); + inline void set_has_origin_offset(); + inline void clear_has_origin_offset(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CMsgVector* origin_offset_; + ::google::protobuf::int32 control_point_; + + 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_ParticleManager_UpdateParticleOffset* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_UpdateParticleEnt : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_UpdateParticleEnt(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleEnt(); + + CDOTAUserMsg_ParticleManager_UpdateParticleEnt(const CDOTAUserMsg_ParticleManager_UpdateParticleEnt& from); + + inline CDOTAUserMsg_ParticleManager_UpdateParticleEnt& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleEnt& 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_ParticleManager_UpdateParticleEnt& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleEnt* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_UpdateParticleEnt* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleEnt& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleEnt& 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 control_point = 1; + inline bool has_control_point() const; + inline void clear_control_point(); + static const int kControlPointFieldNumber = 1; + inline ::google::protobuf::int32 control_point() const; + inline void set_control_point(::google::protobuf::int32 value); + + // optional int32 entity_handle = 2; + inline bool has_entity_handle() const; + inline void clear_entity_handle(); + static const int kEntityHandleFieldNumber = 2; + inline ::google::protobuf::int32 entity_handle() const; + inline void set_entity_handle(::google::protobuf::int32 value); + + // optional int32 attach_type = 3; + inline bool has_attach_type() const; + inline void clear_attach_type(); + static const int kAttachTypeFieldNumber = 3; + inline ::google::protobuf::int32 attach_type() const; + inline void set_attach_type(::google::protobuf::int32 value); + + // optional int32 attachment = 4; + inline bool has_attachment() const; + inline void clear_attachment(); + static const int kAttachmentFieldNumber = 4; + inline ::google::protobuf::int32 attachment() const; + inline void set_attachment(::google::protobuf::int32 value); + + // optional .CMsgVector fallback_position = 5; + inline bool has_fallback_position() const; + inline void clear_fallback_position(); + static const int kFallbackPositionFieldNumber = 5; + inline const ::CMsgVector& fallback_position() const; + inline ::CMsgVector* mutable_fallback_position(); + inline ::CMsgVector* release_fallback_position(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleEnt) + private: + inline void set_has_control_point(); + inline void clear_has_control_point(); + inline void set_has_entity_handle(); + inline void clear_has_entity_handle(); + inline void set_has_attach_type(); + inline void clear_has_attach_type(); + inline void set_has_attachment(); + inline void clear_has_attachment(); + inline void set_has_fallback_position(); + inline void clear_has_fallback_position(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 control_point_; + ::google::protobuf::int32 entity_handle_; + ::google::protobuf::int32 attach_type_; + ::google::protobuf::int32 attachment_; + ::CMsgVector* fallback_position_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 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_UpdateParticleEnt* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_UpdateParticleLatency : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_UpdateParticleLatency(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleLatency(); + + CDOTAUserMsg_ParticleManager_UpdateParticleLatency(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from); + + inline CDOTAUserMsg_ParticleManager_UpdateParticleLatency& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& 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_ParticleManager_UpdateParticleLatency& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleLatency* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_UpdateParticleLatency* 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 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_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 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) + private: + inline void set_has_player_latency(); + inline void clear_has_player_latency(); + inline void set_has_tick(); + inline void clear_has_tick(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 player_latency_; + ::google::protobuf::int32 tick_; + + 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_ParticleManager_UpdateParticleLatency* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw(); + + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw(const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& from); + + inline CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& 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_ParticleManager_UpdateParticleShouldDraw& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& 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 should_draw = 1; + inline bool has_should_draw() const; + inline void clear_should_draw(); + static const int kShouldDrawFieldNumber = 1; + inline bool should_draw() const; + inline void set_should_draw(bool value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw) + private: + inline void set_has_should_draw(); + inline void clear_has_should_draw(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + bool should_draw_; + + mutable int _cached_size_; + ::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_UpdateParticleShouldDraw* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ParticleManager(); + virtual ~CDOTAUserMsg_ParticleManager(); + + CDOTAUserMsg_ParticleManager(const CDOTAUserMsg_ParticleManager& from); + + inline CDOTAUserMsg_ParticleManager& operator=(const CDOTAUserMsg_ParticleManager& 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_ParticleManager& default_instance(); + + void Swap(CDOTAUserMsg_ParticleManager* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ParticleManager* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager& 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 ---------------------------------------------------- + + typedef CDOTAUserMsg_ParticleManager_ReleaseParticleIndex ReleaseParticleIndex; + typedef CDOTAUserMsg_ParticleManager_CreateParticle CreateParticle; + typedef CDOTAUserMsg_ParticleManager_DestroyParticle DestroyParticle; + typedef CDOTAUserMsg_ParticleManager_DestroyParticleInvolving DestroyParticleInvolving; + typedef CDOTAUserMsg_ParticleManager_UpdateParticle UpdateParticle; + typedef CDOTAUserMsg_ParticleManager_UpdateParticleFwd UpdateParticleFwd; + typedef CDOTAUserMsg_ParticleManager_UpdateParticleOrient UpdateParticleOrient; + typedef CDOTAUserMsg_ParticleManager_UpdateParticleFallback UpdateParticleFallback; + typedef CDOTAUserMsg_ParticleManager_UpdateParticleOffset UpdateParticleOffset; + typedef CDOTAUserMsg_ParticleManager_UpdateParticleEnt UpdateParticleEnt; + typedef CDOTAUserMsg_ParticleManager_UpdateParticleLatency UpdateParticleLatency; + typedef CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw UpdateParticleShouldDraw; + + // accessors ------------------------------------------------------- + + // required .DOTA_PARTICLE_MESSAGE type = 1 [default = DOTA_PARTICLE_MANAGER_EVENT_CREATE]; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 1; + inline DOTA_PARTICLE_MESSAGE type() const; + inline void set_type(DOTA_PARTICLE_MESSAGE value); + + // required uint32 index = 2; + inline bool has_index() const; + inline void clear_index(); + static const int kIndexFieldNumber = 2; + inline ::google::protobuf::uint32 index() const; + inline void set_index(::google::protobuf::uint32 value); + + // optional .CDOTAUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; + inline bool has_release_particle_index() const; + inline void clear_release_particle_index(); + static const int kReleaseParticleIndexFieldNumber = 3; + inline const ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& release_particle_index() const; + inline ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* mutable_release_particle_index(); + inline ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* release_release_particle_index(); + + // optional .CDOTAUserMsg_ParticleManager.CreateParticle create_particle = 4; + inline bool has_create_particle() const; + inline void clear_create_particle(); + static const int kCreateParticleFieldNumber = 4; + inline const ::CDOTAUserMsg_ParticleManager_CreateParticle& create_particle() const; + inline ::CDOTAUserMsg_ParticleManager_CreateParticle* mutable_create_particle(); + inline ::CDOTAUserMsg_ParticleManager_CreateParticle* release_create_particle(); + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; + inline bool has_destroy_particle() const; + inline void clear_destroy_particle(); + static const int kDestroyParticleFieldNumber = 5; + inline const ::CDOTAUserMsg_ParticleManager_DestroyParticle& destroy_particle() const; + inline ::CDOTAUserMsg_ParticleManager_DestroyParticle* mutable_destroy_particle(); + inline ::CDOTAUserMsg_ParticleManager_DestroyParticle* release_destroy_particle(); + + // optional .CDOTAUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; + inline bool has_destroy_particle_involving() const; + inline void clear_destroy_particle_involving(); + static const int kDestroyParticleInvolvingFieldNumber = 6; + inline const ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& destroy_particle_involving() const; + inline ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* mutable_destroy_particle_involving(); + inline ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* release_destroy_particle_involving(); + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticle update_particle = 7; + inline bool has_update_particle() const; + inline void clear_update_particle(); + static const int kUpdateParticleFieldNumber = 7; + inline const ::CDOTAUserMsg_ParticleManager_UpdateParticle& update_particle() const; + inline ::CDOTAUserMsg_ParticleManager_UpdateParticle* mutable_update_particle(); + inline ::CDOTAUserMsg_ParticleManager_UpdateParticle* release_update_particle(); + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFwd update_particle_fwd = 8; + inline bool has_update_particle_fwd() const; + inline void clear_update_particle_fwd(); + static const int kUpdateParticleFwdFieldNumber = 8; + inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd& update_particle_fwd() const; + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd* mutable_update_particle_fwd(); + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd* release_update_particle_fwd(); + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOrient update_particle_orient = 9; + inline bool has_update_particle_orient() const; + inline void clear_update_particle_orient(); + static const int kUpdateParticleOrientFieldNumber = 9; + inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient& update_particle_orient() const; + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient* mutable_update_particle_orient(); + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient* release_update_particle_orient(); + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; + inline bool has_update_particle_fallback() const; + inline void clear_update_particle_fallback(); + static const int kUpdateParticleFallbackFieldNumber = 10; + inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback& update_particle_fallback() const; + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback* mutable_update_particle_fallback(); + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback* release_update_particle_fallback(); + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; + inline bool has_update_particle_offset() const; + inline void clear_update_particle_offset(); + static const int kUpdateParticleOffsetFieldNumber = 11; + inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset& update_particle_offset() const; + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset* mutable_update_particle_offset(); + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset* release_update_particle_offset(); + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; + inline bool has_update_particle_ent() const; + inline void clear_update_particle_ent(); + static const int kUpdateParticleEntFieldNumber = 12; + inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt& update_particle_ent() const; + 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(); + static const int kUpdateParticleShouldDrawFieldNumber = 14; + inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& update_particle_should_draw() const; + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* mutable_update_particle_should_draw(); + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* release_update_particle_should_draw(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager) + private: + inline void set_has_type(); + inline void clear_has_type(); + inline void set_has_index(); + inline void clear_has_index(); + inline void set_has_release_particle_index(); + inline void clear_has_release_particle_index(); + inline void set_has_create_particle(); + inline void clear_has_create_particle(); + inline void set_has_destroy_particle(); + inline void clear_has_destroy_particle(); + inline void set_has_destroy_particle_involving(); + inline void clear_has_destroy_particle_involving(); + inline void set_has_update_particle(); + inline void clear_has_update_particle(); + inline void set_has_update_particle_fwd(); + inline void clear_has_update_particle_fwd(); + inline void set_has_update_particle_orient(); + inline void clear_has_update_particle_orient(); + inline void set_has_update_particle_fallback(); + inline void clear_has_update_particle_fallback(); + inline void set_has_update_particle_offset(); + 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(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int type_; + ::google::protobuf::uint32 index_; + ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* release_particle_index_; + ::CDOTAUserMsg_ParticleManager_CreateParticle* create_particle_; + ::CDOTAUserMsg_ParticleManager_DestroyParticle* destroy_particle_; + ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* destroy_particle_involving_; + ::CDOTAUserMsg_ParticleManager_UpdateParticle* update_particle_; + ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd* update_particle_fwd_; + ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient* update_particle_orient_; + ::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_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(14 + 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* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_OverheadEvent : public ::google::protobuf::Message { + public: + CDOTAUserMsg_OverheadEvent(); + virtual ~CDOTAUserMsg_OverheadEvent(); + + CDOTAUserMsg_OverheadEvent(const CDOTAUserMsg_OverheadEvent& from); + + inline CDOTAUserMsg_OverheadEvent& operator=(const CDOTAUserMsg_OverheadEvent& 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_OverheadEvent& default_instance(); + + void Swap(CDOTAUserMsg_OverheadEvent* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_OverheadEvent* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_OverheadEvent& from); + void MergeFrom(const CDOTAUserMsg_OverheadEvent& 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 ------------------------------------------------------- + + // required .DOTA_OVERHEAD_ALERT message_type = 1 [default = OVERHEAD_ALERT_GOLD]; + inline bool has_message_type() const; + inline void clear_message_type(); + static const int kMessageTypeFieldNumber = 1; + inline DOTA_OVERHEAD_ALERT message_type() const; + inline void set_message_type(DOTA_OVERHEAD_ALERT value); + + // optional int32 value = 2; + inline bool has_value() const; + inline void clear_value(); + static const int kValueFieldNumber = 2; + inline ::google::protobuf::int32 value() const; + inline void set_value(::google::protobuf::int32 value); + + // optional int32 target_player_entindex = 3; + inline bool has_target_player_entindex() const; + inline void clear_target_player_entindex(); + static const int kTargetPlayerEntindexFieldNumber = 3; + inline ::google::protobuf::int32 target_player_entindex() const; + inline void set_target_player_entindex(::google::protobuf::int32 value); + + // optional int32 target_entindex = 4; + inline bool has_target_entindex() const; + inline void clear_target_entindex(); + static const int kTargetEntindexFieldNumber = 4; + inline ::google::protobuf::int32 target_entindex() const; + inline void set_target_entindex(::google::protobuf::int32 value); + + // optional int32 source_player_entindex = 5; + inline bool has_source_player_entindex() const; + inline void clear_source_player_entindex(); + static const int kSourcePlayerEntindexFieldNumber = 5; + inline ::google::protobuf::int32 source_player_entindex() const; + inline void set_source_player_entindex(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_OverheadEvent) + private: + inline void set_has_message_type(); + inline void clear_has_message_type(); + inline void set_has_value(); + inline void clear_has_value(); + inline void set_has_target_player_entindex(); + inline void clear_has_target_player_entindex(); + inline void set_has_target_entindex(); + inline void clear_has_target_entindex(); + inline void set_has_source_player_entindex(); + inline void clear_has_source_player_entindex(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int message_type_; + ::google::protobuf::int32 value_; + ::google::protobuf::int32 target_player_entindex_; + ::google::protobuf::int32 target_entindex_; + ::google::protobuf::int32 source_player_entindex_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 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_OverheadEvent* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_TutorialTipInfo : public ::google::protobuf::Message { + public: + CDOTAUserMsg_TutorialTipInfo(); + virtual ~CDOTAUserMsg_TutorialTipInfo(); + + CDOTAUserMsg_TutorialTipInfo(const CDOTAUserMsg_TutorialTipInfo& from); + + inline CDOTAUserMsg_TutorialTipInfo& operator=(const CDOTAUserMsg_TutorialTipInfo& 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_TutorialTipInfo& default_instance(); + + void Swap(CDOTAUserMsg_TutorialTipInfo* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_TutorialTipInfo* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_TutorialTipInfo& from); + void MergeFrom(const CDOTAUserMsg_TutorialTipInfo& 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 name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // optional int32 progress = 2; + inline bool has_progress() const; + inline void clear_progress(); + static const int kProgressFieldNumber = 2; + inline ::google::protobuf::int32 progress() const; + inline void set_progress(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_TutorialTipInfo) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_progress(); + inline void clear_has_progress(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + ::google::protobuf::int32 progress_; + + 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_TutorialTipInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_WorldLine : public ::google::protobuf::Message { + public: + CDOTAUserMsg_WorldLine(); + virtual ~CDOTAUserMsg_WorldLine(); + + CDOTAUserMsg_WorldLine(const CDOTAUserMsg_WorldLine& from); + + inline CDOTAUserMsg_WorldLine& operator=(const CDOTAUserMsg_WorldLine& 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_WorldLine& default_instance(); + + void Swap(CDOTAUserMsg_WorldLine* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_WorldLine* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_WorldLine& from); + void MergeFrom(const CDOTAUserMsg_WorldLine& 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_WorldLine worldline = 2; + inline bool has_worldline() const; + inline void clear_worldline(); + static const int kWorldlineFieldNumber = 2; + inline const ::CDOTAMsg_WorldLine& worldline() const; + inline ::CDOTAMsg_WorldLine* mutable_worldline(); + inline ::CDOTAMsg_WorldLine* release_worldline(); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_WorldLine) + private: + inline void set_has_player_id(); + inline void clear_has_player_id(); + inline void set_has_worldline(); + inline void clear_has_worldline(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CDOTAMsg_WorldLine* worldline_; + ::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_WorldLine* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_TournamentDrop : public ::google::protobuf::Message { + public: + CDOTAUserMsg_TournamentDrop(); + virtual ~CDOTAUserMsg_TournamentDrop(); + + CDOTAUserMsg_TournamentDrop(const CDOTAUserMsg_TournamentDrop& from); + + inline CDOTAUserMsg_TournamentDrop& operator=(const CDOTAUserMsg_TournamentDrop& 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_TournamentDrop& default_instance(); + + void Swap(CDOTAUserMsg_TournamentDrop* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_TournamentDrop* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_TournamentDrop& from); + void MergeFrom(const CDOTAUserMsg_TournamentDrop& 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 winner_name = 1; + inline bool has_winner_name() const; + inline void clear_winner_name(); + static const int kWinnerNameFieldNumber = 1; + inline const ::std::string& winner_name() const; + inline void set_winner_name(const ::std::string& value); + inline void set_winner_name(const char* value); + inline void set_winner_name(const char* value, size_t size); + inline ::std::string* mutable_winner_name(); + inline ::std::string* release_winner_name(); + + // optional int32 event_type = 2; + inline bool has_event_type() const; + inline void clear_event_type(); + static const int kEventTypeFieldNumber = 2; + inline ::google::protobuf::int32 event_type() const; + inline void set_event_type(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_TournamentDrop) + private: + inline void set_has_winner_name(); + inline void clear_has_winner_name(); + inline void set_has_event_type(); + inline void clear_has_event_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* winner_name_; + ::google::protobuf::int32 event_type_; + + 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_TournamentDrop* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ChatWheel : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ChatWheel(); + virtual ~CDOTAUserMsg_ChatWheel(); + + CDOTAUserMsg_ChatWheel(const CDOTAUserMsg_ChatWheel& from); + + inline CDOTAUserMsg_ChatWheel& operator=(const CDOTAUserMsg_ChatWheel& 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_ChatWheel& default_instance(); + + void Swap(CDOTAUserMsg_ChatWheel* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ChatWheel* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ChatWheel& from); + void MergeFrom(const CDOTAUserMsg_ChatWheel& 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 .EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok]; + inline bool has_chat_message() const; + inline void clear_chat_message(); + static const int kChatMessageFieldNumber = 1; + inline EDOTAChatWheelMessage chat_message() const; + inline void set_chat_message(EDOTAChatWheelMessage value); + + // optional uint32 player_id = 2; + inline bool has_player_id() const; + inline void clear_player_id(); + static const int kPlayerIdFieldNumber = 2; + inline ::google::protobuf::uint32 player_id() const; + inline void set_player_id(::google::protobuf::uint32 value); + + // optional uint32 account_id = 3; + inline bool has_account_id() const; + inline void clear_account_id(); + static const int kAccountIdFieldNumber = 3; + inline ::google::protobuf::uint32 account_id() const; + inline void set_account_id(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ChatWheel) + private: + inline void set_has_chat_message(); + inline void clear_has_chat_message(); + inline void set_has_player_id(); + inline void clear_has_player_id(); + inline void set_has_account_id(); + inline void clear_has_account_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + int chat_message_; + ::google::protobuf::uint32 player_id_; + ::google::protobuf::uint32 account_id_; + + 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_ChatWheel* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ReceivedXmasGift : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ReceivedXmasGift(); + virtual ~CDOTAUserMsg_ReceivedXmasGift(); + + CDOTAUserMsg_ReceivedXmasGift(const CDOTAUserMsg_ReceivedXmasGift& from); + + inline CDOTAUserMsg_ReceivedXmasGift& operator=(const CDOTAUserMsg_ReceivedXmasGift& 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_ReceivedXmasGift& default_instance(); + + void Swap(CDOTAUserMsg_ReceivedXmasGift* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ReceivedXmasGift* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ReceivedXmasGift& from); + void MergeFrom(const CDOTAUserMsg_ReceivedXmasGift& 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 string item_name = 2; + inline bool has_item_name() const; + inline void clear_item_name(); + static const int kItemNameFieldNumber = 2; + inline const ::std::string& item_name() const; + inline void set_item_name(const ::std::string& value); + inline void set_item_name(const char* value); + inline void set_item_name(const char* value, size_t size); + inline ::std::string* mutable_item_name(); + inline ::std::string* release_item_name(); + + // optional int32 inventory_slot = 3; + inline bool has_inventory_slot() const; + inline void clear_inventory_slot(); + static const int kInventorySlotFieldNumber = 3; + inline ::google::protobuf::int32 inventory_slot() const; + inline void set_inventory_slot(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ReceivedXmasGift) + private: + inline void set_has_player_id(); + inline void clear_has_player_id(); + inline void set_has_item_name(); + inline void clear_has_item_name(); + inline void set_has_inventory_slot(); + inline void clear_has_inventory_slot(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* item_name_; + ::google::protobuf::int32 player_id_; + ::google::protobuf::int32 inventory_slot_; + + 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_ReceivedXmasGift* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_ShowSurvey : public ::google::protobuf::Message { + public: + CDOTAUserMsg_ShowSurvey(); + virtual ~CDOTAUserMsg_ShowSurvey(); + + CDOTAUserMsg_ShowSurvey(const CDOTAUserMsg_ShowSurvey& from); + + inline CDOTAUserMsg_ShowSurvey& operator=(const CDOTAUserMsg_ShowSurvey& 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_ShowSurvey& default_instance(); + + void Swap(CDOTAUserMsg_ShowSurvey* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_ShowSurvey* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_ShowSurvey& from); + void MergeFrom(const CDOTAUserMsg_ShowSurvey& 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 survey_id = 1; + inline bool has_survey_id() const; + inline void clear_survey_id(); + static const int kSurveyIdFieldNumber = 1; + inline ::google::protobuf::int32 survey_id() const; + inline void set_survey_id(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ShowSurvey) + private: + inline void set_has_survey_id(); + inline void clear_has_survey_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 survey_id_; + + mutable int _cached_size_; + ::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_ShowSurvey* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_UpdateSharedContent : public ::google::protobuf::Message { + public: + CDOTAUserMsg_UpdateSharedContent(); + virtual ~CDOTAUserMsg_UpdateSharedContent(); + + CDOTAUserMsg_UpdateSharedContent(const CDOTAUserMsg_UpdateSharedContent& from); + + inline CDOTAUserMsg_UpdateSharedContent& operator=(const CDOTAUserMsg_UpdateSharedContent& 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_UpdateSharedContent& default_instance(); + + void Swap(CDOTAUserMsg_UpdateSharedContent* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_UpdateSharedContent* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_UpdateSharedContent& from); + void MergeFrom(const CDOTAUserMsg_UpdateSharedContent& 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 slot_type = 1; + inline bool has_slot_type() const; + inline void clear_slot_type(); + static const int kSlotTypeFieldNumber = 1; + inline ::google::protobuf::int32 slot_type() const; + inline void set_slot_type(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_UpdateSharedContent) + private: + inline void set_has_slot_type(); + inline void clear_has_slot_type(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 slot_type_; + + mutable int _cached_size_; + ::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_UpdateSharedContent* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_TutorialRequestExp : public ::google::protobuf::Message { + public: + CDOTAUserMsg_TutorialRequestExp(); + virtual ~CDOTAUserMsg_TutorialRequestExp(); + + CDOTAUserMsg_TutorialRequestExp(const CDOTAUserMsg_TutorialRequestExp& from); + + inline CDOTAUserMsg_TutorialRequestExp& operator=(const CDOTAUserMsg_TutorialRequestExp& 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_TutorialRequestExp& default_instance(); + + void Swap(CDOTAUserMsg_TutorialRequestExp* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_TutorialRequestExp* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_TutorialRequestExp& from); + void MergeFrom(const CDOTAUserMsg_TutorialRequestExp& 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_TutorialRequestExp) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[1]; + + 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_TutorialRequestExp* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_TutorialFade : public ::google::protobuf::Message { + public: + CDOTAUserMsg_TutorialFade(); + virtual ~CDOTAUserMsg_TutorialFade(); + + CDOTAUserMsg_TutorialFade(const CDOTAUserMsg_TutorialFade& from); + + inline CDOTAUserMsg_TutorialFade& operator=(const CDOTAUserMsg_TutorialFade& 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_TutorialFade& default_instance(); + + void Swap(CDOTAUserMsg_TutorialFade* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_TutorialFade* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_TutorialFade& from); + void MergeFrom(const CDOTAUserMsg_TutorialFade& 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 tgt_alpha = 1; + inline bool has_tgt_alpha() const; + inline void clear_tgt_alpha(); + static const int kTgtAlphaFieldNumber = 1; + inline ::google::protobuf::int32 tgt_alpha() const; + inline void set_tgt_alpha(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_TutorialFade) + private: + inline void set_has_tgt_alpha(); + inline void clear_has_tgt_alpha(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 tgt_alpha_; + + mutable int _cached_size_; + ::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_TutorialFade* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_TutorialPingMinimap : public ::google::protobuf::Message { + public: + CDOTAUserMsg_TutorialPingMinimap(); + virtual ~CDOTAUserMsg_TutorialPingMinimap(); + + CDOTAUserMsg_TutorialPingMinimap(const CDOTAUserMsg_TutorialPingMinimap& from); + + inline CDOTAUserMsg_TutorialPingMinimap& operator=(const CDOTAUserMsg_TutorialPingMinimap& 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_TutorialPingMinimap& default_instance(); + + void Swap(CDOTAUserMsg_TutorialPingMinimap* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_TutorialPingMinimap* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_TutorialPingMinimap& from); + void MergeFrom(const CDOTAUserMsg_TutorialPingMinimap& 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 uint32 player_id = 1; + inline bool has_player_id() const; + inline void clear_player_id(); + static const int kPlayerIdFieldNumber = 1; + inline ::google::protobuf::uint32 player_id() const; + inline void set_player_id(::google::protobuf::uint32 value); + + // optional float pos_x = 2; + inline bool has_pos_x() const; + inline void clear_pos_x(); + static const int kPosXFieldNumber = 2; + inline float pos_x() const; + inline void set_pos_x(float value); + + // optional float pos_y = 3; + inline bool has_pos_y() const; + inline void clear_pos_y(); + static const int kPosYFieldNumber = 3; + inline float pos_y() const; + inline void set_pos_y(float value); + + // optional float pos_z = 4; + inline bool has_pos_z() const; + inline void clear_pos_z(); + static const int kPosZFieldNumber = 4; + inline float pos_z() const; + inline void set_pos_z(float value); + + // optional int32 entity_index = 5; + inline bool has_entity_index() const; + inline void clear_entity_index(); + static const int kEntityIndexFieldNumber = 5; + inline ::google::protobuf::int32 entity_index() const; + inline void set_entity_index(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_TutorialPingMinimap) + private: + inline void set_has_player_id(); + inline void clear_has_player_id(); + inline void set_has_pos_x(); + inline void clear_has_pos_x(); + inline void set_has_pos_y(); + inline void clear_has_pos_y(); + inline void set_has_pos_z(); + inline void clear_has_pos_z(); + inline void set_has_entity_index(); + inline void clear_has_entity_index(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 player_id_; + float pos_x_; + float pos_y_; + float pos_z_; + ::google::protobuf::int32 entity_index_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 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_TutorialPingMinimap* default_instance_; +}; +// ------------------------------------------------------------------- + +class CDOTA_UM_GamerulesStateChanged : public ::google::protobuf::Message { + public: + CDOTA_UM_GamerulesStateChanged(); + virtual ~CDOTA_UM_GamerulesStateChanged(); + + CDOTA_UM_GamerulesStateChanged(const CDOTA_UM_GamerulesStateChanged& from); + + inline CDOTA_UM_GamerulesStateChanged& operator=(const CDOTA_UM_GamerulesStateChanged& 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 CDOTA_UM_GamerulesStateChanged& default_instance(); + + void Swap(CDOTA_UM_GamerulesStateChanged* other); + + // implements Message ---------------------------------------------- + + CDOTA_UM_GamerulesStateChanged* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTA_UM_GamerulesStateChanged& from); + void MergeFrom(const CDOTA_UM_GamerulesStateChanged& 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 uint32 state = 1; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 1; + inline ::google::protobuf::uint32 state() const; + inline void set_state(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CDOTA_UM_GamerulesStateChanged) + private: + inline void set_has_state(); + inline void clear_has_state(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 state_; + + mutable int _cached_size_; + ::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 CDOTA_UM_GamerulesStateChanged* default_instance_; +}; +// =================================================================== + + +// =================================================================== + +// CDOTAUserMsg_AIDebugLine + +// optional string message = 1; +inline bool CDOTAUserMsg_AIDebugLine::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_AIDebugLine::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_AIDebugLine::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_AIDebugLine::clear_message() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + clear_has_message(); +} +inline const ::std::string& CDOTAUserMsg_AIDebugLine::message() const { + return *message_; +} +inline void CDOTAUserMsg_AIDebugLine::set_message(const ::std::string& value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CDOTAUserMsg_AIDebugLine::set_message(const char* value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CDOTAUserMsg_AIDebugLine::set_message(const char* value, size_t size) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_AIDebugLine::mutable_message() { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + return message_; +} +inline ::std::string* CDOTAUserMsg_AIDebugLine::release_message() { + clear_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = message_; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_Ping + +// optional string message = 1; +inline bool CDOTAUserMsg_Ping::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_Ping::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_Ping::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_Ping::clear_message() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + clear_has_message(); +} +inline const ::std::string& CDOTAUserMsg_Ping::message() const { + return *message_; +} +inline void CDOTAUserMsg_Ping::set_message(const ::std::string& value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CDOTAUserMsg_Ping::set_message(const char* value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CDOTAUserMsg_Ping::set_message(const char* value, size_t size) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_Ping::mutable_message() { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + return message_; +} +inline ::std::string* CDOTAUserMsg_Ping::release_message() { + clear_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = message_; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_SwapVerify + +// optional uint32 player_id = 1; +inline bool CDOTAUserMsg_SwapVerify::has_player_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_SwapVerify::set_has_player_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_SwapVerify::clear_has_player_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_SwapVerify::clear_player_id() { + player_id_ = 0u; + clear_has_player_id(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_SwapVerify::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_SwapVerify::set_player_id(::google::protobuf::uint32 value) { + set_has_player_id(); + player_id_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ChatEvent + +// required .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID]; +inline bool CDOTAUserMsg_ChatEvent::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ChatEvent::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ChatEvent::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ChatEvent::clear_type() { + type_ = -1; + clear_has_type(); +} +inline DOTA_CHAT_MESSAGE CDOTAUserMsg_ChatEvent::type() const { + return static_cast< DOTA_CHAT_MESSAGE >(type_); +} +inline void CDOTAUserMsg_ChatEvent::set_type(DOTA_CHAT_MESSAGE value) { + GOOGLE_DCHECK(DOTA_CHAT_MESSAGE_IsValid(value)); + set_has_type(); + type_ = value; +} + +// optional uint32 value = 2; +inline bool CDOTAUserMsg_ChatEvent::has_value() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ChatEvent::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ChatEvent::clear_has_value() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ChatEvent::clear_value() { + value_ = 0u; + clear_has_value(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_ChatEvent::value() const { + return value_; +} +inline void CDOTAUserMsg_ChatEvent::set_value(::google::protobuf::uint32 value) { + set_has_value(); + value_ = value; +} + +// optional sint32 playerid_1 = 3 [default = -1]; +inline bool CDOTAUserMsg_ChatEvent::has_playerid_1() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_ChatEvent::set_has_playerid_1() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_ChatEvent::clear_has_playerid_1() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_ChatEvent::clear_playerid_1() { + playerid_1_ = -1; + clear_has_playerid_1(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ChatEvent::playerid_1() const { + return playerid_1_; +} +inline void CDOTAUserMsg_ChatEvent::set_playerid_1(::google::protobuf::int32 value) { + set_has_playerid_1(); + playerid_1_ = value; +} + +// optional sint32 playerid_2 = 4 [default = -1]; +inline bool CDOTAUserMsg_ChatEvent::has_playerid_2() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_ChatEvent::set_has_playerid_2() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_ChatEvent::clear_has_playerid_2() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_ChatEvent::clear_playerid_2() { + playerid_2_ = -1; + clear_has_playerid_2(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ChatEvent::playerid_2() const { + return playerid_2_; +} +inline void CDOTAUserMsg_ChatEvent::set_playerid_2(::google::protobuf::int32 value) { + set_has_playerid_2(); + playerid_2_ = value; +} + +// optional sint32 playerid_3 = 5 [default = -1]; +inline bool CDOTAUserMsg_ChatEvent::has_playerid_3() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_ChatEvent::set_has_playerid_3() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_ChatEvent::clear_has_playerid_3() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_ChatEvent::clear_playerid_3() { + playerid_3_ = -1; + clear_has_playerid_3(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ChatEvent::playerid_3() const { + return playerid_3_; +} +inline void CDOTAUserMsg_ChatEvent::set_playerid_3(::google::protobuf::int32 value) { + set_has_playerid_3(); + playerid_3_ = value; +} + +// optional sint32 playerid_4 = 6 [default = -1]; +inline bool CDOTAUserMsg_ChatEvent::has_playerid_4() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CDOTAUserMsg_ChatEvent::set_has_playerid_4() { + _has_bits_[0] |= 0x00000020u; +} +inline void CDOTAUserMsg_ChatEvent::clear_has_playerid_4() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CDOTAUserMsg_ChatEvent::clear_playerid_4() { + playerid_4_ = -1; + clear_has_playerid_4(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ChatEvent::playerid_4() const { + return playerid_4_; +} +inline void CDOTAUserMsg_ChatEvent::set_playerid_4(::google::protobuf::int32 value) { + set_has_playerid_4(); + playerid_4_ = value; +} + +// optional sint32 playerid_5 = 7 [default = -1]; +inline bool CDOTAUserMsg_ChatEvent::has_playerid_5() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CDOTAUserMsg_ChatEvent::set_has_playerid_5() { + _has_bits_[0] |= 0x00000040u; +} +inline void CDOTAUserMsg_ChatEvent::clear_has_playerid_5() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CDOTAUserMsg_ChatEvent::clear_playerid_5() { + playerid_5_ = -1; + clear_has_playerid_5(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ChatEvent::playerid_5() const { + return playerid_5_; +} +inline void CDOTAUserMsg_ChatEvent::set_playerid_5(::google::protobuf::int32 value) { + set_has_playerid_5(); + playerid_5_ = value; +} + +// optional sint32 playerid_6 = 8 [default = -1]; +inline bool CDOTAUserMsg_ChatEvent::has_playerid_6() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CDOTAUserMsg_ChatEvent::set_has_playerid_6() { + _has_bits_[0] |= 0x00000080u; +} +inline void CDOTAUserMsg_ChatEvent::clear_has_playerid_6() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CDOTAUserMsg_ChatEvent::clear_playerid_6() { + playerid_6_ = -1; + clear_has_playerid_6(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ChatEvent::playerid_6() const { + return playerid_6_; +} +inline void CDOTAUserMsg_ChatEvent::set_playerid_6(::google::protobuf::int32 value) { + set_has_playerid_6(); + playerid_6_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_CombatLogData + +// optional .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_DAMAGE]; +inline bool CDOTAUserMsg_CombatLogData::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_CombatLogData::clear_type() { + type_ = 0; + clear_has_type(); +} +inline DOTA_COMBATLOG_TYPES CDOTAUserMsg_CombatLogData::type() const { + return static_cast< DOTA_COMBATLOG_TYPES >(type_); +} +inline void CDOTAUserMsg_CombatLogData::set_type(DOTA_COMBATLOG_TYPES value) { + GOOGLE_DCHECK(DOTA_COMBATLOG_TYPES_IsValid(value)); + set_has_type(); + type_ = value; +} + +// optional uint32 target_name = 2; +inline bool CDOTAUserMsg_CombatLogData::has_target_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_target_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_target_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_CombatLogData::clear_target_name() { + target_name_ = 0u; + clear_has_target_name(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_CombatLogData::target_name() const { + return target_name_; +} +inline void CDOTAUserMsg_CombatLogData::set_target_name(::google::protobuf::uint32 value) { + set_has_target_name(); + target_name_ = value; +} + +// optional uint32 attacker_name = 3; +inline bool CDOTAUserMsg_CombatLogData::has_attacker_name() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_attacker_name() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_attacker_name() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_CombatLogData::clear_attacker_name() { + attacker_name_ = 0u; + clear_has_attacker_name(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_CombatLogData::attacker_name() const { + return attacker_name_; +} +inline void CDOTAUserMsg_CombatLogData::set_attacker_name(::google::protobuf::uint32 value) { + set_has_attacker_name(); + attacker_name_ = value; +} + +// optional bool attacker_illusion = 4; +inline bool CDOTAUserMsg_CombatLogData::has_attacker_illusion() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_attacker_illusion() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_attacker_illusion() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_CombatLogData::clear_attacker_illusion() { + attacker_illusion_ = false; + clear_has_attacker_illusion(); +} +inline bool CDOTAUserMsg_CombatLogData::attacker_illusion() const { + return attacker_illusion_; +} +inline void CDOTAUserMsg_CombatLogData::set_attacker_illusion(bool value) { + set_has_attacker_illusion(); + attacker_illusion_ = value; +} + +// optional bool target_illusion = 5; +inline bool CDOTAUserMsg_CombatLogData::has_target_illusion() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_target_illusion() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_target_illusion() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_CombatLogData::clear_target_illusion() { + target_illusion_ = false; + clear_has_target_illusion(); +} +inline bool CDOTAUserMsg_CombatLogData::target_illusion() const { + return target_illusion_; +} +inline void CDOTAUserMsg_CombatLogData::set_target_illusion(bool value) { + set_has_target_illusion(); + target_illusion_ = value; +} + +// optional uint32 inflictor_name = 6; +inline bool CDOTAUserMsg_CombatLogData::has_inflictor_name() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_inflictor_name() { + _has_bits_[0] |= 0x00000020u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_inflictor_name() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CDOTAUserMsg_CombatLogData::clear_inflictor_name() { + inflictor_name_ = 0u; + clear_has_inflictor_name(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_CombatLogData::inflictor_name() const { + return inflictor_name_; +} +inline void CDOTAUserMsg_CombatLogData::set_inflictor_name(::google::protobuf::uint32 value) { + set_has_inflictor_name(); + inflictor_name_ = value; +} + +// optional int32 value = 7; +inline bool CDOTAUserMsg_CombatLogData::has_value() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_value() { + _has_bits_[0] |= 0x00000040u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_value() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CDOTAUserMsg_CombatLogData::clear_value() { + value_ = 0; + clear_has_value(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_CombatLogData::value() const { + return value_; +} +inline void CDOTAUserMsg_CombatLogData::set_value(::google::protobuf::int32 value) { + set_has_value(); + value_ = value; +} + +// optional int32 health = 8; +inline bool CDOTAUserMsg_CombatLogData::has_health() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_health() { + _has_bits_[0] |= 0x00000080u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_health() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CDOTAUserMsg_CombatLogData::clear_health() { + health_ = 0; + clear_has_health(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_CombatLogData::health() const { + return health_; +} +inline void CDOTAUserMsg_CombatLogData::set_health(::google::protobuf::int32 value) { + set_has_health(); + health_ = value; +} + +// optional float time = 9; +inline bool CDOTAUserMsg_CombatLogData::has_time() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CDOTAUserMsg_CombatLogData::set_has_time() { + _has_bits_[0] |= 0x00000100u; +} +inline void CDOTAUserMsg_CombatLogData::clear_has_time() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CDOTAUserMsg_CombatLogData::clear_time() { + time_ = 0; + clear_has_time(); +} +inline float CDOTAUserMsg_CombatLogData::time() const { + return time_; +} +inline void CDOTAUserMsg_CombatLogData::set_time(float value) { + set_has_time(); + time_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_CombatLogShowDeath + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_BotChat + +// optional uint32 player_id = 1; +inline bool CDOTAUserMsg_BotChat::has_player_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_BotChat::set_has_player_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_BotChat::clear_has_player_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_BotChat::clear_player_id() { + player_id_ = 0u; + clear_has_player_id(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_BotChat::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_BotChat::set_player_id(::google::protobuf::uint32 value) { + set_has_player_id(); + player_id_ = value; +} + +// optional string format = 2; +inline bool CDOTAUserMsg_BotChat::has_format() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_BotChat::set_has_format() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_BotChat::clear_has_format() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_BotChat::clear_format() { + if (format_ != &::google::protobuf::internal::kEmptyString) { + format_->clear(); + } + clear_has_format(); +} +inline const ::std::string& CDOTAUserMsg_BotChat::format() const { + return *format_; +} +inline void CDOTAUserMsg_BotChat::set_format(const ::std::string& value) { + set_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + format_ = new ::std::string; + } + format_->assign(value); +} +inline void CDOTAUserMsg_BotChat::set_format(const char* value) { + set_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + format_ = new ::std::string; + } + format_->assign(value); +} +inline void CDOTAUserMsg_BotChat::set_format(const char* value, size_t size) { + set_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + format_ = new ::std::string; + } + format_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_BotChat::mutable_format() { + set_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + format_ = new ::std::string; + } + return format_; +} +inline ::std::string* CDOTAUserMsg_BotChat::release_format() { + clear_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = format_; + format_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string message = 3; +inline bool CDOTAUserMsg_BotChat::has_message() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_BotChat::set_has_message() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_BotChat::clear_has_message() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_BotChat::clear_message() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + clear_has_message(); +} +inline const ::std::string& CDOTAUserMsg_BotChat::message() const { + return *message_; +} +inline void CDOTAUserMsg_BotChat::set_message(const ::std::string& value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CDOTAUserMsg_BotChat::set_message(const char* value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CDOTAUserMsg_BotChat::set_message(const char* value, size_t size) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_BotChat::mutable_message() { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + return message_; +} +inline ::std::string* CDOTAUserMsg_BotChat::release_message() { + clear_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = message_; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string target = 4; +inline bool CDOTAUserMsg_BotChat::has_target() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_BotChat::set_has_target() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_BotChat::clear_has_target() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_BotChat::clear_target() { + if (target_ != &::google::protobuf::internal::kEmptyString) { + target_->clear(); + } + clear_has_target(); +} +inline const ::std::string& CDOTAUserMsg_BotChat::target() const { + return *target_; +} +inline void CDOTAUserMsg_BotChat::set_target(const ::std::string& value) { + set_has_target(); + if (target_ == &::google::protobuf::internal::kEmptyString) { + target_ = new ::std::string; + } + target_->assign(value); +} +inline void CDOTAUserMsg_BotChat::set_target(const char* value) { + set_has_target(); + if (target_ == &::google::protobuf::internal::kEmptyString) { + target_ = new ::std::string; + } + target_->assign(value); +} +inline void CDOTAUserMsg_BotChat::set_target(const char* value, size_t size) { + set_has_target(); + if (target_ == &::google::protobuf::internal::kEmptyString) { + target_ = new ::std::string; + } + target_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_BotChat::mutable_target() { + set_has_target(); + if (target_ == &::google::protobuf::internal::kEmptyString) { + target_ = new ::std::string; + } + return target_; +} +inline ::std::string* CDOTAUserMsg_BotChat::release_target() { + clear_has_target(); + if (target_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = target_; + target_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_CombatHeroPositions + +// optional uint32 index = 1; +inline bool CDOTAUserMsg_CombatHeroPositions::has_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_CombatHeroPositions::set_has_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_CombatHeroPositions::clear_has_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_CombatHeroPositions::clear_index() { + index_ = 0u; + clear_has_index(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_CombatHeroPositions::index() const { + return index_; +} +inline void CDOTAUserMsg_CombatHeroPositions::set_index(::google::protobuf::uint32 value) { + set_has_index(); + index_ = value; +} + +// optional int32 time = 2; +inline bool CDOTAUserMsg_CombatHeroPositions::has_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_CombatHeroPositions::set_has_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_CombatHeroPositions::clear_has_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_CombatHeroPositions::clear_time() { + time_ = 0; + clear_has_time(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_CombatHeroPositions::time() const { + return time_; +} +inline void CDOTAUserMsg_CombatHeroPositions::set_time(::google::protobuf::int32 value) { + set_has_time(); + time_ = value; +} + +// optional .CMsgVector2D world_pos = 3; +inline bool CDOTAUserMsg_CombatHeroPositions::has_world_pos() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_CombatHeroPositions::set_has_world_pos() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_CombatHeroPositions::clear_has_world_pos() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_CombatHeroPositions::clear_world_pos() { + if (world_pos_ != NULL) world_pos_->::CMsgVector2D::Clear(); + clear_has_world_pos(); +} +inline const ::CMsgVector2D& CDOTAUserMsg_CombatHeroPositions::world_pos() const { + return world_pos_ != NULL ? *world_pos_ : *default_instance_->world_pos_; +} +inline ::CMsgVector2D* CDOTAUserMsg_CombatHeroPositions::mutable_world_pos() { + set_has_world_pos(); + if (world_pos_ == NULL) world_pos_ = new ::CMsgVector2D; + return world_pos_; +} +inline ::CMsgVector2D* CDOTAUserMsg_CombatHeroPositions::release_world_pos() { + clear_has_world_pos(); + ::CMsgVector2D* temp = world_pos_; + world_pos_ = NULL; + return temp; +} + +// optional int32 health = 4; +inline bool CDOTAUserMsg_CombatHeroPositions::has_health() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_CombatHeroPositions::set_has_health() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_CombatHeroPositions::clear_has_health() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_CombatHeroPositions::clear_health() { + health_ = 0; + clear_has_health(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_CombatHeroPositions::health() const { + return health_; +} +inline void CDOTAUserMsg_CombatHeroPositions::set_health(::google::protobuf::int32 value) { + set_has_health(); + health_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability + +// optional uint32 ability = 1; +inline bool CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::has_ability() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::set_has_ability() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::clear_has_ability() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::clear_ability() { + ability_ = 0u; + clear_has_ability(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::ability() const { + return ability_; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::set_ability(::google::protobuf::uint32 value) { + set_has_ability(); + ability_ = value; +} + +// optional int32 damage = 2; +inline bool CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::has_damage() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::set_has_damage() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::clear_has_damage() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::clear_damage() { + damage_ = 0; + clear_has_damage(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::damage() const { + return damage_; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability::set_damage(::google::protobuf::int32 value) { + set_has_damage(); + damage_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_MiniKillCamInfo_Attacker + +// optional uint32 attacker = 1; +inline bool CDOTAUserMsg_MiniKillCamInfo_Attacker::has_attacker() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::set_has_attacker() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::clear_has_attacker() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::clear_attacker() { + attacker_ = 0u; + clear_has_attacker(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_MiniKillCamInfo_Attacker::attacker() const { + return attacker_; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::set_attacker(::google::protobuf::uint32 value) { + set_has_attacker(); + attacker_ = value; +} + +// optional int32 total_damage = 2; +inline bool CDOTAUserMsg_MiniKillCamInfo_Attacker::has_total_damage() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::set_has_total_damage() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::clear_has_total_damage() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::clear_total_damage() { + total_damage_ = 0; + clear_has_total_damage(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MiniKillCamInfo_Attacker::total_damage() const { + return total_damage_; +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::set_total_damage(::google::protobuf::int32 value) { + set_has_total_damage(); + total_damage_ = value; +} + +// repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3; +inline int CDOTAUserMsg_MiniKillCamInfo_Attacker::abilities_size() const { + return abilities_.size(); +} +inline void CDOTAUserMsg_MiniKillCamInfo_Attacker::clear_abilities() { + abilities_.Clear(); +} +inline const ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability& CDOTAUserMsg_MiniKillCamInfo_Attacker::abilities(int index) const { + return abilities_.Get(index); +} +inline ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* CDOTAUserMsg_MiniKillCamInfo_Attacker::mutable_abilities(int index) { + return abilities_.Mutable(index); +} +inline ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability* CDOTAUserMsg_MiniKillCamInfo_Attacker::add_abilities() { + return abilities_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability >& +CDOTAUserMsg_MiniKillCamInfo_Attacker::abilities() const { + return abilities_; +} +inline ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability >* +CDOTAUserMsg_MiniKillCamInfo_Attacker::mutable_abilities() { + return &abilities_; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_MiniKillCamInfo + +// repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1; +inline int CDOTAUserMsg_MiniKillCamInfo::attackers_size() const { + return attackers_.size(); +} +inline void CDOTAUserMsg_MiniKillCamInfo::clear_attackers() { + attackers_.Clear(); +} +inline const ::CDOTAUserMsg_MiniKillCamInfo_Attacker& CDOTAUserMsg_MiniKillCamInfo::attackers(int index) const { + return attackers_.Get(index); +} +inline ::CDOTAUserMsg_MiniKillCamInfo_Attacker* CDOTAUserMsg_MiniKillCamInfo::mutable_attackers(int index) { + return attackers_.Mutable(index); +} +inline ::CDOTAUserMsg_MiniKillCamInfo_Attacker* CDOTAUserMsg_MiniKillCamInfo::add_attackers() { + return attackers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker >& +CDOTAUserMsg_MiniKillCamInfo::attackers() const { + return attackers_; +} +inline ::google::protobuf::RepeatedPtrField< ::CDOTAUserMsg_MiniKillCamInfo_Attacker >* +CDOTAUserMsg_MiniKillCamInfo::mutable_attackers() { + return &attackers_; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_GlobalLightColor + +// optional uint32 color = 1; +inline bool CDOTAUserMsg_GlobalLightColor::has_color() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_GlobalLightColor::set_has_color() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_GlobalLightColor::clear_has_color() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_GlobalLightColor::clear_color() { + color_ = 0u; + clear_has_color(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_GlobalLightColor::color() const { + return color_; +} +inline void CDOTAUserMsg_GlobalLightColor::set_color(::google::protobuf::uint32 value) { + set_has_color(); + color_ = value; +} + +// optional float duration = 2; +inline bool CDOTAUserMsg_GlobalLightColor::has_duration() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_GlobalLightColor::set_has_duration() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_GlobalLightColor::clear_has_duration() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_GlobalLightColor::clear_duration() { + duration_ = 0; + clear_has_duration(); +} +inline float CDOTAUserMsg_GlobalLightColor::duration() const { + return duration_; +} +inline void CDOTAUserMsg_GlobalLightColor::set_duration(float value) { + set_has_duration(); + duration_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_GlobalLightDirection + +// optional .CMsgVector direction = 1; +inline bool CDOTAUserMsg_GlobalLightDirection::has_direction() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_GlobalLightDirection::set_has_direction() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_GlobalLightDirection::clear_has_direction() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_GlobalLightDirection::clear_direction() { + if (direction_ != NULL) direction_->::CMsgVector::Clear(); + clear_has_direction(); +} +inline const ::CMsgVector& CDOTAUserMsg_GlobalLightDirection::direction() const { + return direction_ != NULL ? *direction_ : *default_instance_->direction_; +} +inline ::CMsgVector* CDOTAUserMsg_GlobalLightDirection::mutable_direction() { + set_has_direction(); + if (direction_ == NULL) direction_ = new ::CMsgVector; + return direction_; +} +inline ::CMsgVector* CDOTAUserMsg_GlobalLightDirection::release_direction() { + clear_has_direction(); + ::CMsgVector* temp = direction_; + direction_ = NULL; + return temp; +} + +// optional float duration = 2; +inline bool CDOTAUserMsg_GlobalLightDirection::has_duration() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_GlobalLightDirection::set_has_duration() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_GlobalLightDirection::clear_has_duration() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_GlobalLightDirection::clear_duration() { + duration_ = 0; + clear_has_duration(); +} +inline float CDOTAUserMsg_GlobalLightDirection::duration() const { + return duration_; +} +inline void CDOTAUserMsg_GlobalLightDirection::set_duration(float value) { + set_has_duration(); + duration_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_LocationPing + +// optional uint32 player_id = 1; +inline bool CDOTAUserMsg_LocationPing::has_player_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_LocationPing::set_has_player_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_LocationPing::clear_has_player_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_LocationPing::clear_player_id() { + player_id_ = 0u; + clear_has_player_id(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_LocationPing::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_LocationPing::set_player_id(::google::protobuf::uint32 value) { + set_has_player_id(); + player_id_ = value; +} + +// optional .CDOTAMsg_LocationPing location_ping = 2; +inline bool CDOTAUserMsg_LocationPing::has_location_ping() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_LocationPing::set_has_location_ping() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_LocationPing::clear_has_location_ping() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_LocationPing::clear_location_ping() { + if (location_ping_ != NULL) location_ping_->::CDOTAMsg_LocationPing::Clear(); + clear_has_location_ping(); +} +inline const ::CDOTAMsg_LocationPing& CDOTAUserMsg_LocationPing::location_ping() const { + return location_ping_ != NULL ? *location_ping_ : *default_instance_->location_ping_; +} +inline ::CDOTAMsg_LocationPing* CDOTAUserMsg_LocationPing::mutable_location_ping() { + set_has_location_ping(); + if (location_ping_ == NULL) location_ping_ = new ::CDOTAMsg_LocationPing; + return location_ping_; +} +inline ::CDOTAMsg_LocationPing* CDOTAUserMsg_LocationPing::release_location_ping() { + clear_has_location_ping(); + ::CDOTAMsg_LocationPing* temp = location_ping_; + location_ping_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ItemAlert + +// optional uint32 player_id = 1; +inline bool CDOTAUserMsg_ItemAlert::has_player_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ItemAlert::set_has_player_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ItemAlert::clear_has_player_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ItemAlert::clear_player_id() { + player_id_ = 0u; + clear_has_player_id(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_ItemAlert::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_ItemAlert::set_player_id(::google::protobuf::uint32 value) { + set_has_player_id(); + player_id_ = value; +} + +// optional .CDOTAMsg_ItemAlert item_alert = 2; +inline bool CDOTAUserMsg_ItemAlert::has_item_alert() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ItemAlert::set_has_item_alert() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ItemAlert::clear_has_item_alert() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ItemAlert::clear_item_alert() { + if (item_alert_ != NULL) item_alert_->::CDOTAMsg_ItemAlert::Clear(); + clear_has_item_alert(); +} +inline const ::CDOTAMsg_ItemAlert& CDOTAUserMsg_ItemAlert::item_alert() const { + return item_alert_ != NULL ? *item_alert_ : *default_instance_->item_alert_; +} +inline ::CDOTAMsg_ItemAlert* CDOTAUserMsg_ItemAlert::mutable_item_alert() { + set_has_item_alert(); + if (item_alert_ == NULL) item_alert_ = new ::CDOTAMsg_ItemAlert; + return item_alert_; +} +inline ::CDOTAMsg_ItemAlert* CDOTAUserMsg_ItemAlert::release_item_alert() { + clear_has_item_alert(); + ::CDOTAMsg_ItemAlert* temp = item_alert_; + item_alert_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_MinimapEvent + +// optional int32 event_type = 1; +inline bool CDOTAUserMsg_MinimapEvent::has_event_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_MinimapEvent::set_has_event_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_has_event_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_event_type() { + event_type_ = 0; + clear_has_event_type(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MinimapEvent::event_type() const { + return event_type_; +} +inline void CDOTAUserMsg_MinimapEvent::set_event_type(::google::protobuf::int32 value) { + set_has_event_type(); + event_type_ = value; +} + +// optional int32 entity_handle = 2; +inline bool CDOTAUserMsg_MinimapEvent::has_entity_handle() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_MinimapEvent::set_has_entity_handle() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_has_entity_handle() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_entity_handle() { + entity_handle_ = 0; + clear_has_entity_handle(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MinimapEvent::entity_handle() const { + return entity_handle_; +} +inline void CDOTAUserMsg_MinimapEvent::set_entity_handle(::google::protobuf::int32 value) { + set_has_entity_handle(); + entity_handle_ = value; +} + +// optional int32 x = 3; +inline bool CDOTAUserMsg_MinimapEvent::has_x() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_MinimapEvent::set_has_x() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_has_x() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_x() { + x_ = 0; + clear_has_x(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MinimapEvent::x() const { + return x_; +} +inline void CDOTAUserMsg_MinimapEvent::set_x(::google::protobuf::int32 value) { + set_has_x(); + x_ = value; +} + +// optional int32 y = 4; +inline bool CDOTAUserMsg_MinimapEvent::has_y() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_MinimapEvent::set_has_y() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_has_y() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_y() { + y_ = 0; + clear_has_y(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MinimapEvent::y() const { + return y_; +} +inline void CDOTAUserMsg_MinimapEvent::set_y(::google::protobuf::int32 value) { + set_has_y(); + y_ = value; +} + +// optional int32 duration = 5; +inline bool CDOTAUserMsg_MinimapEvent::has_duration() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_MinimapEvent::set_has_duration() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_has_duration() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_MinimapEvent::clear_duration() { + duration_ = 0; + clear_has_duration(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MinimapEvent::duration() const { + return duration_; +} +inline void CDOTAUserMsg_MinimapEvent::set_duration(::google::protobuf::int32 value) { + set_has_duration(); + duration_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_MapLine + +// optional int32 player_id = 1; +inline bool CDOTAUserMsg_MapLine::has_player_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_MapLine::set_has_player_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_MapLine::clear_has_player_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_MapLine::clear_player_id() { + player_id_ = 0; + clear_has_player_id(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MapLine::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_MapLine::set_player_id(::google::protobuf::int32 value) { + set_has_player_id(); + player_id_ = value; +} + +// optional .CDOTAMsg_MapLine mapline = 2; +inline bool CDOTAUserMsg_MapLine::has_mapline() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_MapLine::set_has_mapline() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_MapLine::clear_has_mapline() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_MapLine::clear_mapline() { + if (mapline_ != NULL) mapline_->::CDOTAMsg_MapLine::Clear(); + clear_has_mapline(); +} +inline const ::CDOTAMsg_MapLine& CDOTAUserMsg_MapLine::mapline() const { + return mapline_ != NULL ? *mapline_ : *default_instance_->mapline_; +} +inline ::CDOTAMsg_MapLine* CDOTAUserMsg_MapLine::mutable_mapline() { + set_has_mapline(); + if (mapline_ == NULL) mapline_ = new ::CDOTAMsg_MapLine; + return mapline_; +} +inline ::CDOTAMsg_MapLine* CDOTAUserMsg_MapLine::release_mapline() { + clear_has_mapline(); + ::CDOTAMsg_MapLine* temp = mapline_; + mapline_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_MinimapDebugPoint + +// optional .CMsgVector location = 1; +inline bool CDOTAUserMsg_MinimapDebugPoint::has_location() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_MinimapDebugPoint::set_has_location() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_MinimapDebugPoint::clear_has_location() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_MinimapDebugPoint::clear_location() { + if (location_ != NULL) location_->::CMsgVector::Clear(); + clear_has_location(); +} +inline const ::CMsgVector& CDOTAUserMsg_MinimapDebugPoint::location() const { + return location_ != NULL ? *location_ : *default_instance_->location_; +} +inline ::CMsgVector* CDOTAUserMsg_MinimapDebugPoint::mutable_location() { + set_has_location(); + if (location_ == NULL) location_ = new ::CMsgVector; + return location_; +} +inline ::CMsgVector* CDOTAUserMsg_MinimapDebugPoint::release_location() { + clear_has_location(); + ::CMsgVector* temp = location_; + location_ = NULL; + return temp; +} + +// optional uint32 color = 2; +inline bool CDOTAUserMsg_MinimapDebugPoint::has_color() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_MinimapDebugPoint::set_has_color() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_MinimapDebugPoint::clear_has_color() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_MinimapDebugPoint::clear_color() { + color_ = 0u; + clear_has_color(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_MinimapDebugPoint::color() const { + return color_; +} +inline void CDOTAUserMsg_MinimapDebugPoint::set_color(::google::protobuf::uint32 value) { + set_has_color(); + color_ = value; +} + +// optional int32 size = 3; +inline bool CDOTAUserMsg_MinimapDebugPoint::has_size() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_MinimapDebugPoint::set_has_size() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_MinimapDebugPoint::clear_has_size() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_MinimapDebugPoint::clear_size() { + size_ = 0; + clear_has_size(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_MinimapDebugPoint::size() const { + return size_; +} +inline void CDOTAUserMsg_MinimapDebugPoint::set_size(::google::protobuf::int32 value) { + set_has_size(); + size_ = value; +} + +// optional float duration = 4; +inline bool CDOTAUserMsg_MinimapDebugPoint::has_duration() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_MinimapDebugPoint::set_has_duration() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_MinimapDebugPoint::clear_has_duration() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_MinimapDebugPoint::clear_duration() { + duration_ = 0; + clear_has_duration(); +} +inline float CDOTAUserMsg_MinimapDebugPoint::duration() const { + return duration_; +} +inline void CDOTAUserMsg_MinimapDebugPoint::set_duration(float value) { + set_has_duration(); + duration_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_CreateLinearProjectile + +// optional .CMsgVector origin = 1; +inline bool CDOTAUserMsg_CreateLinearProjectile::has_origin() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_has_origin() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_has_origin() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_origin() { + if (origin_ != NULL) origin_->::CMsgVector::Clear(); + clear_has_origin(); +} +inline const ::CMsgVector& CDOTAUserMsg_CreateLinearProjectile::origin() const { + return origin_ != NULL ? *origin_ : *default_instance_->origin_; +} +inline ::CMsgVector* CDOTAUserMsg_CreateLinearProjectile::mutable_origin() { + set_has_origin(); + if (origin_ == NULL) origin_ = new ::CMsgVector; + return origin_; +} +inline ::CMsgVector* CDOTAUserMsg_CreateLinearProjectile::release_origin() { + clear_has_origin(); + ::CMsgVector* temp = origin_; + origin_ = NULL; + return temp; +} + +// optional .CMsgVector2D velocity = 2; +inline bool CDOTAUserMsg_CreateLinearProjectile::has_velocity() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_has_velocity() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_has_velocity() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_velocity() { + if (velocity_ != NULL) velocity_->::CMsgVector2D::Clear(); + clear_has_velocity(); +} +inline const ::CMsgVector2D& CDOTAUserMsg_CreateLinearProjectile::velocity() const { + return velocity_ != NULL ? *velocity_ : *default_instance_->velocity_; +} +inline ::CMsgVector2D* CDOTAUserMsg_CreateLinearProjectile::mutable_velocity() { + set_has_velocity(); + if (velocity_ == NULL) velocity_ = new ::CMsgVector2D; + return velocity_; +} +inline ::CMsgVector2D* CDOTAUserMsg_CreateLinearProjectile::release_velocity() { + clear_has_velocity(); + ::CMsgVector2D* temp = velocity_; + velocity_ = NULL; + return temp; +} + +// optional int32 latency = 3; +inline bool CDOTAUserMsg_CreateLinearProjectile::has_latency() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_has_latency() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_has_latency() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_latency() { + latency_ = 0; + clear_has_latency(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_CreateLinearProjectile::latency() const { + return latency_; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_latency(::google::protobuf::int32 value) { + set_has_latency(); + latency_ = value; +} + +// optional int32 entindex = 4; +inline bool CDOTAUserMsg_CreateLinearProjectile::has_entindex() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_has_entindex() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_has_entindex() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_entindex() { + entindex_ = 0; + clear_has_entindex(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_CreateLinearProjectile::entindex() const { + return entindex_; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_entindex(::google::protobuf::int32 value) { + set_has_entindex(); + entindex_ = value; +} + +// optional int32 particle_index = 5; +inline bool CDOTAUserMsg_CreateLinearProjectile::has_particle_index() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_has_particle_index() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_has_particle_index() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_particle_index() { + particle_index_ = 0; + clear_has_particle_index(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_CreateLinearProjectile::particle_index() const { + return particle_index_; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_particle_index(::google::protobuf::int32 value) { + set_has_particle_index(); + particle_index_ = value; +} + +// optional int32 handle = 6; +inline bool CDOTAUserMsg_CreateLinearProjectile::has_handle() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_has_handle() { + _has_bits_[0] |= 0x00000020u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_has_handle() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CDOTAUserMsg_CreateLinearProjectile::clear_handle() { + handle_ = 0; + clear_has_handle(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_CreateLinearProjectile::handle() const { + return handle_; +} +inline void CDOTAUserMsg_CreateLinearProjectile::set_handle(::google::protobuf::int32 value) { + set_has_handle(); + handle_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_DestroyLinearProjectile + +// optional int32 handle = 1; +inline bool CDOTAUserMsg_DestroyLinearProjectile::has_handle() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_DestroyLinearProjectile::set_has_handle() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_DestroyLinearProjectile::clear_has_handle() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_DestroyLinearProjectile::clear_handle() { + handle_ = 0; + clear_has_handle(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_DestroyLinearProjectile::handle() const { + return handle_; +} +inline void CDOTAUserMsg_DestroyLinearProjectile::set_handle(::google::protobuf::int32 value) { + set_has_handle(); + handle_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_DodgeTrackingProjectiles + +// required int32 entindex = 1; +inline bool CDOTAUserMsg_DodgeTrackingProjectiles::has_entindex() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_DodgeTrackingProjectiles::set_has_entindex() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_DodgeTrackingProjectiles::clear_has_entindex() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_DodgeTrackingProjectiles::clear_entindex() { + entindex_ = 0; + clear_has_entindex(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_DodgeTrackingProjectiles::entindex() const { + return entindex_; +} +inline void CDOTAUserMsg_DodgeTrackingProjectiles::set_entindex(::google::protobuf::int32 value) { + set_has_entindex(); + entindex_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_SpectatorPlayerClick + +// required int32 entindex = 1; +inline bool CDOTAUserMsg_SpectatorPlayerClick::has_entindex() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::set_has_entindex() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::clear_has_entindex() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::clear_entindex() { + entindex_ = 0; + clear_has_entindex(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_SpectatorPlayerClick::entindex() const { + return entindex_; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::set_entindex(::google::protobuf::int32 value) { + set_has_entindex(); + entindex_ = value; +} + +// optional int32 order_type = 2; +inline bool CDOTAUserMsg_SpectatorPlayerClick::has_order_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::set_has_order_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::clear_has_order_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::clear_order_type() { + order_type_ = 0; + clear_has_order_type(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_SpectatorPlayerClick::order_type() const { + return order_type_; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::set_order_type(::google::protobuf::int32 value) { + set_has_order_type(); + order_type_ = value; +} + +// optional int32 target_index = 3; +inline bool CDOTAUserMsg_SpectatorPlayerClick::has_target_index() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::set_has_target_index() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::clear_has_target_index() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::clear_target_index() { + target_index_ = 0; + clear_has_target_index(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_SpectatorPlayerClick::target_index() const { + return target_index_; +} +inline void CDOTAUserMsg_SpectatorPlayerClick::set_target_index(::google::protobuf::int32 value) { + set_has_target_index(); + target_index_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_NevermoreRequiem + +// optional int32 entity_handle = 1; +inline bool CDOTAUserMsg_NevermoreRequiem::has_entity_handle() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_NevermoreRequiem::set_has_entity_handle() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_NevermoreRequiem::clear_has_entity_handle() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_NevermoreRequiem::clear_entity_handle() { + entity_handle_ = 0; + clear_has_entity_handle(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_NevermoreRequiem::entity_handle() const { + return entity_handle_; +} +inline void CDOTAUserMsg_NevermoreRequiem::set_entity_handle(::google::protobuf::int32 value) { + set_has_entity_handle(); + entity_handle_ = value; +} + +// optional int32 lines = 2; +inline bool CDOTAUserMsg_NevermoreRequiem::has_lines() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_NevermoreRequiem::set_has_lines() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_NevermoreRequiem::clear_has_lines() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_NevermoreRequiem::clear_lines() { + lines_ = 0; + clear_has_lines(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_NevermoreRequiem::lines() const { + return lines_; +} +inline void CDOTAUserMsg_NevermoreRequiem::set_lines(::google::protobuf::int32 value) { + set_has_lines(); + lines_ = value; +} + +// optional .CMsgVector origin = 3; +inline bool CDOTAUserMsg_NevermoreRequiem::has_origin() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_NevermoreRequiem::set_has_origin() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_NevermoreRequiem::clear_has_origin() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_NevermoreRequiem::clear_origin() { + if (origin_ != NULL) origin_->::CMsgVector::Clear(); + clear_has_origin(); +} +inline const ::CMsgVector& CDOTAUserMsg_NevermoreRequiem::origin() const { + return origin_ != NULL ? *origin_ : *default_instance_->origin_; +} +inline ::CMsgVector* CDOTAUserMsg_NevermoreRequiem::mutable_origin() { + set_has_origin(); + if (origin_ == NULL) origin_ = new ::CMsgVector; + return origin_; +} +inline ::CMsgVector* CDOTAUserMsg_NevermoreRequiem::release_origin() { + clear_has_origin(); + ::CMsgVector* temp = origin_; + origin_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_InvalidCommand + +// optional string message = 1; +inline bool CDOTAUserMsg_InvalidCommand::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_InvalidCommand::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_InvalidCommand::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_InvalidCommand::clear_message() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + clear_has_message(); +} +inline const ::std::string& CDOTAUserMsg_InvalidCommand::message() const { + return *message_; +} +inline void CDOTAUserMsg_InvalidCommand::set_message(const ::std::string& value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CDOTAUserMsg_InvalidCommand::set_message(const char* value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CDOTAUserMsg_InvalidCommand::set_message(const char* value, size_t size) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_InvalidCommand::mutable_message() { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + return message_; +} +inline ::std::string* CDOTAUserMsg_InvalidCommand::release_message() { + clear_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = message_; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_HudError + +// optional int32 order_id = 1; +inline bool CDOTAUserMsg_HudError::has_order_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_HudError::set_has_order_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_HudError::clear_has_order_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_HudError::clear_order_id() { + order_id_ = 0; + clear_has_order_id(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_HudError::order_id() const { + return order_id_; +} +inline void CDOTAUserMsg_HudError::set_order_id(::google::protobuf::int32 value) { + set_has_order_id(); + order_id_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_SharedCooldown + +// optional int32 entindex = 1; +inline bool CDOTAUserMsg_SharedCooldown::has_entindex() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_SharedCooldown::set_has_entindex() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_SharedCooldown::clear_has_entindex() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_SharedCooldown::clear_entindex() { + entindex_ = 0; + clear_has_entindex(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_SharedCooldown::entindex() const { + return entindex_; +} +inline void CDOTAUserMsg_SharedCooldown::set_entindex(::google::protobuf::int32 value) { + set_has_entindex(); + entindex_ = value; +} + +// optional string name = 2; +inline bool CDOTAUserMsg_SharedCooldown::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_SharedCooldown::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_SharedCooldown::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_SharedCooldown::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CDOTAUserMsg_SharedCooldown::name() const { + return *name_; +} +inline void CDOTAUserMsg_SharedCooldown::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CDOTAUserMsg_SharedCooldown::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CDOTAUserMsg_SharedCooldown::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_SharedCooldown::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CDOTAUserMsg_SharedCooldown::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional float cooldown = 3; +inline bool CDOTAUserMsg_SharedCooldown::has_cooldown() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_SharedCooldown::set_has_cooldown() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_SharedCooldown::clear_has_cooldown() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_SharedCooldown::clear_cooldown() { + cooldown_ = 0; + clear_has_cooldown(); +} +inline float CDOTAUserMsg_SharedCooldown::cooldown() const { + return cooldown_; +} +inline void CDOTAUserMsg_SharedCooldown::set_cooldown(float value) { + set_has_cooldown(); + cooldown_ = value; +} + +// optional int32 name_index = 4; +inline bool CDOTAUserMsg_SharedCooldown::has_name_index() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_SharedCooldown::set_has_name_index() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_SharedCooldown::clear_has_name_index() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_SharedCooldown::clear_name_index() { + name_index_ = 0; + clear_has_name_index(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_SharedCooldown::name_index() const { + return name_index_; +} +inline void CDOTAUserMsg_SharedCooldown::set_name_index(::google::protobuf::int32 value) { + set_has_name_index(); + name_index_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_SetNextAutobuyItem + +// optional string name = 1; +inline bool CDOTAUserMsg_SetNextAutobuyItem::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_SetNextAutobuyItem::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_SetNextAutobuyItem::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_SetNextAutobuyItem::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CDOTAUserMsg_SetNextAutobuyItem::name() const { + return *name_; +} +inline void CDOTAUserMsg_SetNextAutobuyItem::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CDOTAUserMsg_SetNextAutobuyItem::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CDOTAUserMsg_SetNextAutobuyItem::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_SetNextAutobuyItem::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CDOTAUserMsg_SetNextAutobuyItem::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_HalloweenDrops + +// repeated uint32 item_defs = 1; +inline int CDOTAUserMsg_HalloweenDrops::item_defs_size() const { + return item_defs_.size(); +} +inline void CDOTAUserMsg_HalloweenDrops::clear_item_defs() { + item_defs_.Clear(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_HalloweenDrops::item_defs(int index) const { + return item_defs_.Get(index); +} +inline void CDOTAUserMsg_HalloweenDrops::set_item_defs(int index, ::google::protobuf::uint32 value) { + item_defs_.Set(index, value); +} +inline void CDOTAUserMsg_HalloweenDrops::add_item_defs(::google::protobuf::uint32 value) { + item_defs_.Add(value); +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +CDOTAUserMsg_HalloweenDrops::item_defs() const { + return item_defs_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +CDOTAUserMsg_HalloweenDrops::mutable_item_defs() { + return &item_defs_; +} + +// repeated uint32 player_ids = 2; +inline int CDOTAUserMsg_HalloweenDrops::player_ids_size() const { + return player_ids_.size(); +} +inline void CDOTAUserMsg_HalloweenDrops::clear_player_ids() { + player_ids_.Clear(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_HalloweenDrops::player_ids(int index) const { + return player_ids_.Get(index); +} +inline void CDOTAUserMsg_HalloweenDrops::set_player_ids(int index, ::google::protobuf::uint32 value) { + player_ids_.Set(index, value); +} +inline void CDOTAUserMsg_HalloweenDrops::add_player_ids(::google::protobuf::uint32 value) { + player_ids_.Add(value); +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +CDOTAUserMsg_HalloweenDrops::player_ids() const { + return player_ids_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +CDOTAUserMsg_HalloweenDrops::mutable_player_ids() { + return &player_ids_; +} + +// optional uint32 prize_list = 3; +inline bool CDOTAUserMsg_HalloweenDrops::has_prize_list() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_HalloweenDrops::set_has_prize_list() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_HalloweenDrops::clear_has_prize_list() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_HalloweenDrops::clear_prize_list() { + prize_list_ = 0u; + clear_has_prize_list(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_HalloweenDrops::prize_list() const { + return prize_list_; +} +inline void CDOTAUserMsg_HalloweenDrops::set_prize_list(::google::protobuf::uint32 value) { + set_has_prize_list(); + prize_list_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAResponseQuerySerialized_Fact + +// required int32 key = 1; +inline bool CDOTAResponseQuerySerialized_Fact::has_key() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAResponseQuerySerialized_Fact::set_has_key() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAResponseQuerySerialized_Fact::clear_has_key() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAResponseQuerySerialized_Fact::clear_key() { + key_ = 0; + clear_has_key(); +} +inline ::google::protobuf::int32 CDOTAResponseQuerySerialized_Fact::key() const { + return key_; +} +inline void CDOTAResponseQuerySerialized_Fact::set_key(::google::protobuf::int32 value) { + set_has_key(); + key_ = value; +} + +// required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC]; +inline bool CDOTAResponseQuerySerialized_Fact::has_valtype() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAResponseQuerySerialized_Fact::set_has_valtype() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAResponseQuerySerialized_Fact::clear_has_valtype() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAResponseQuerySerialized_Fact::clear_valtype() { + valtype_ = 1; + clear_has_valtype(); +} +inline ::CDOTAResponseQuerySerialized_Fact_ValueType CDOTAResponseQuerySerialized_Fact::valtype() const { + return static_cast< ::CDOTAResponseQuerySerialized_Fact_ValueType >(valtype_); +} +inline void CDOTAResponseQuerySerialized_Fact::set_valtype(::CDOTAResponseQuerySerialized_Fact_ValueType value) { + GOOGLE_DCHECK(::CDOTAResponseQuerySerialized_Fact_ValueType_IsValid(value)); + set_has_valtype(); + valtype_ = value; +} + +// optional float val_numeric = 3; +inline bool CDOTAResponseQuerySerialized_Fact::has_val_numeric() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAResponseQuerySerialized_Fact::set_has_val_numeric() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAResponseQuerySerialized_Fact::clear_has_val_numeric() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAResponseQuerySerialized_Fact::clear_val_numeric() { + val_numeric_ = 0; + clear_has_val_numeric(); +} +inline float CDOTAResponseQuerySerialized_Fact::val_numeric() const { + return val_numeric_; +} +inline void CDOTAResponseQuerySerialized_Fact::set_val_numeric(float value) { + set_has_val_numeric(); + val_numeric_ = value; +} + +// optional string val_string = 4; +inline bool CDOTAResponseQuerySerialized_Fact::has_val_string() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAResponseQuerySerialized_Fact::set_has_val_string() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAResponseQuerySerialized_Fact::clear_has_val_string() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAResponseQuerySerialized_Fact::clear_val_string() { + if (val_string_ != &::google::protobuf::internal::kEmptyString) { + val_string_->clear(); + } + clear_has_val_string(); +} +inline const ::std::string& CDOTAResponseQuerySerialized_Fact::val_string() const { + return *val_string_; +} +inline void CDOTAResponseQuerySerialized_Fact::set_val_string(const ::std::string& value) { + set_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + val_string_ = new ::std::string; + } + val_string_->assign(value); +} +inline void CDOTAResponseQuerySerialized_Fact::set_val_string(const char* value) { + set_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + val_string_ = new ::std::string; + } + val_string_->assign(value); +} +inline void CDOTAResponseQuerySerialized_Fact::set_val_string(const char* value, size_t size) { + set_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + val_string_ = new ::std::string; + } + val_string_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAResponseQuerySerialized_Fact::mutable_val_string() { + set_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + val_string_ = new ::std::string; + } + return val_string_; +} +inline ::std::string* CDOTAResponseQuerySerialized_Fact::release_val_string() { + clear_has_val_string(); + if (val_string_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = val_string_; + val_string_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CDOTAResponseQuerySerialized + +// repeated .CDOTAResponseQuerySerialized.Fact facts = 1; +inline int CDOTAResponseQuerySerialized::facts_size() const { + return facts_.size(); +} +inline void CDOTAResponseQuerySerialized::clear_facts() { + facts_.Clear(); +} +inline const ::CDOTAResponseQuerySerialized_Fact& CDOTAResponseQuerySerialized::facts(int index) const { + return facts_.Get(index); +} +inline ::CDOTAResponseQuerySerialized_Fact* CDOTAResponseQuerySerialized::mutable_facts(int index) { + return facts_.Mutable(index); +} +inline ::CDOTAResponseQuerySerialized_Fact* CDOTAResponseQuerySerialized::add_facts() { + return facts_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CDOTAResponseQuerySerialized_Fact >& +CDOTAResponseQuerySerialized::facts() const { + return facts_; +} +inline ::google::protobuf::RepeatedPtrField< ::CDOTAResponseQuerySerialized_Fact >* +CDOTAResponseQuerySerialized::mutable_facts() { + return &facts_; +} + +// ------------------------------------------------------------------- + +// CDOTASpeechMatchOnClient + +// optional int32 concept = 1; +inline bool CDOTASpeechMatchOnClient::has_concept() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTASpeechMatchOnClient::set_has_concept() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTASpeechMatchOnClient::clear_has_concept() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTASpeechMatchOnClient::clear_concept() { + concept_ = 0; + clear_has_concept(); +} +inline ::google::protobuf::int32 CDOTASpeechMatchOnClient::concept() const { + return concept_; +} +inline void CDOTASpeechMatchOnClient::set_concept(::google::protobuf::int32 value) { + set_has_concept(); + concept_ = value; +} + +// optional int32 recipient_type = 2; +inline bool CDOTASpeechMatchOnClient::has_recipient_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTASpeechMatchOnClient::set_has_recipient_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTASpeechMatchOnClient::clear_has_recipient_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTASpeechMatchOnClient::clear_recipient_type() { + recipient_type_ = 0; + clear_has_recipient_type(); +} +inline ::google::protobuf::int32 CDOTASpeechMatchOnClient::recipient_type() const { + return recipient_type_; +} +inline void CDOTASpeechMatchOnClient::set_recipient_type(::google::protobuf::int32 value) { + set_has_recipient_type(); + recipient_type_ = value; +} + +// optional .CDOTAResponseQuerySerialized responsequery = 3; +inline bool CDOTASpeechMatchOnClient::has_responsequery() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTASpeechMatchOnClient::set_has_responsequery() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTASpeechMatchOnClient::clear_has_responsequery() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTASpeechMatchOnClient::clear_responsequery() { + if (responsequery_ != NULL) responsequery_->::CDOTAResponseQuerySerialized::Clear(); + clear_has_responsequery(); +} +inline const ::CDOTAResponseQuerySerialized& CDOTASpeechMatchOnClient::responsequery() const { + return responsequery_ != NULL ? *responsequery_ : *default_instance_->responsequery_; +} +inline ::CDOTAResponseQuerySerialized* CDOTASpeechMatchOnClient::mutable_responsequery() { + set_has_responsequery(); + if (responsequery_ == NULL) responsequery_ = new ::CDOTAResponseQuerySerialized; + return responsequery_; +} +inline ::CDOTAResponseQuerySerialized* CDOTASpeechMatchOnClient::release_responsequery() { + clear_has_responsequery(); + ::CDOTAResponseQuerySerialized* temp = responsequery_; + responsequery_ = NULL; + return temp; +} + +// optional sfixed32 randomseed = 4 [default = 0]; +inline bool CDOTASpeechMatchOnClient::has_randomseed() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTASpeechMatchOnClient::set_has_randomseed() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTASpeechMatchOnClient::clear_has_randomseed() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTASpeechMatchOnClient::clear_randomseed() { + randomseed_ = 0; + clear_has_randomseed(); +} +inline ::google::protobuf::int32 CDOTASpeechMatchOnClient::randomseed() const { + return randomseed_; +} +inline void CDOTASpeechMatchOnClient::set_randomseed(::google::protobuf::int32 value) { + set_has_randomseed(); + randomseed_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_UnitEvent_Speech + +// optional int32 concept = 1; +inline bool CDOTAUserMsg_UnitEvent_Speech::has_concept() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_has_concept() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_has_concept() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_concept() { + concept_ = 0; + clear_has_concept(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UnitEvent_Speech::concept() const { + return concept_; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_concept(::google::protobuf::int32 value) { + set_has_concept(); + concept_ = value; +} + +// optional string response = 2; +inline bool CDOTAUserMsg_UnitEvent_Speech::has_response() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_has_response() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_has_response() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_response() { + if (response_ != &::google::protobuf::internal::kEmptyString) { + response_->clear(); + } + clear_has_response(); +} +inline const ::std::string& CDOTAUserMsg_UnitEvent_Speech::response() const { + return *response_; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_response(const ::std::string& value) { + set_has_response(); + if (response_ == &::google::protobuf::internal::kEmptyString) { + response_ = new ::std::string; + } + response_->assign(value); +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_response(const char* value) { + set_has_response(); + if (response_ == &::google::protobuf::internal::kEmptyString) { + response_ = new ::std::string; + } + response_->assign(value); +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_response(const char* value, size_t size) { + set_has_response(); + if (response_ == &::google::protobuf::internal::kEmptyString) { + response_ = new ::std::string; + } + response_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_UnitEvent_Speech::mutable_response() { + set_has_response(); + if (response_ == &::google::protobuf::internal::kEmptyString) { + response_ = new ::std::string; + } + return response_; +} +inline ::std::string* CDOTAUserMsg_UnitEvent_Speech::release_response() { + clear_has_response(); + if (response_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = response_; + response_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 recipient_type = 3; +inline bool CDOTAUserMsg_UnitEvent_Speech::has_recipient_type() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_has_recipient_type() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_has_recipient_type() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_recipient_type() { + recipient_type_ = 0; + clear_has_recipient_type(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UnitEvent_Speech::recipient_type() const { + return recipient_type_; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_recipient_type(::google::protobuf::int32 value) { + set_has_recipient_type(); + recipient_type_ = value; +} + +// optional int32 level = 4; +inline bool CDOTAUserMsg_UnitEvent_Speech::has_level() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_has_level() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_has_level() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_level() { + level_ = 0; + clear_has_level(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UnitEvent_Speech::level() const { + return level_; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_level(::google::protobuf::int32 value) { + set_has_level(); + level_ = value; +} + +// optional bool muteable = 5 [default = false]; +inline bool CDOTAUserMsg_UnitEvent_Speech::has_muteable() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_has_muteable() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_has_muteable() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_UnitEvent_Speech::clear_muteable() { + muteable_ = false; + clear_has_muteable(); +} +inline bool CDOTAUserMsg_UnitEvent_Speech::muteable() const { + return muteable_; +} +inline void CDOTAUserMsg_UnitEvent_Speech::set_muteable(bool value) { + set_has_muteable(); + muteable_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_UnitEvent_SpeechMute + +// optional float delay = 1 [default = 0.5]; +inline bool CDOTAUserMsg_UnitEvent_SpeechMute::has_delay() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_SpeechMute::set_has_delay() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_SpeechMute::clear_has_delay() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_SpeechMute::clear_delay() { + delay_ = 0.5f; + clear_has_delay(); +} +inline float CDOTAUserMsg_UnitEvent_SpeechMute::delay() const { + return delay_; +} +inline void CDOTAUserMsg_UnitEvent_SpeechMute::set_delay(float value) { + set_has_delay(); + delay_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_UnitEvent_AddGesture + +// optional .Activity activity = 1 [default = ACT_INVALID]; +inline bool CDOTAUserMsg_UnitEvent_AddGesture::has_activity() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::set_has_activity() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::clear_has_activity() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::clear_activity() { + activity_ = -1; + clear_has_activity(); +} +inline Activity CDOTAUserMsg_UnitEvent_AddGesture::activity() const { + return static_cast< Activity >(activity_); +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::set_activity(Activity value) { + GOOGLE_DCHECK(Activity_IsValid(value)); + set_has_activity(); + activity_ = value; +} + +// optional int32 slot = 2; +inline bool CDOTAUserMsg_UnitEvent_AddGesture::has_slot() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::set_has_slot() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::clear_has_slot() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::clear_slot() { + slot_ = 0; + clear_has_slot(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UnitEvent_AddGesture::slot() const { + return slot_; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::set_slot(::google::protobuf::int32 value) { + set_has_slot(); + slot_ = value; +} + +// optional float fade_in = 3 [default = 0]; +inline bool CDOTAUserMsg_UnitEvent_AddGesture::has_fade_in() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::set_has_fade_in() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::clear_has_fade_in() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::clear_fade_in() { + fade_in_ = 0; + clear_has_fade_in(); +} +inline float CDOTAUserMsg_UnitEvent_AddGesture::fade_in() const { + return fade_in_; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::set_fade_in(float value) { + set_has_fade_in(); + fade_in_ = value; +} + +// optional float fade_out = 4 [default = 0.1]; +inline bool CDOTAUserMsg_UnitEvent_AddGesture::has_fade_out() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::set_has_fade_out() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::clear_has_fade_out() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::clear_fade_out() { + fade_out_ = 0.1f; + clear_has_fade_out(); +} +inline float CDOTAUserMsg_UnitEvent_AddGesture::fade_out() const { + return fade_out_; +} +inline void CDOTAUserMsg_UnitEvent_AddGesture::set_fade_out(float value) { + set_has_fade_out(); + fade_out_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_UnitEvent_RemoveGesture + +// optional .Activity activity = 1 [default = ACT_INVALID]; +inline bool CDOTAUserMsg_UnitEvent_RemoveGesture::has_activity() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_RemoveGesture::set_has_activity() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_RemoveGesture::clear_has_activity() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_RemoveGesture::clear_activity() { + activity_ = -1; + clear_has_activity(); +} +inline Activity CDOTAUserMsg_UnitEvent_RemoveGesture::activity() const { + return static_cast< Activity >(activity_); +} +inline void CDOTAUserMsg_UnitEvent_RemoveGesture::set_activity(Activity value) { + GOOGLE_DCHECK(Activity_IsValid(value)); + set_has_activity(); + activity_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_UnitEvent_BloodImpact + +// optional int32 scale = 1; +inline bool CDOTAUserMsg_UnitEvent_BloodImpact::has_scale() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::set_has_scale() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::clear_has_scale() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::clear_scale() { + scale_ = 0; + clear_has_scale(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UnitEvent_BloodImpact::scale() const { + return scale_; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::set_scale(::google::protobuf::int32 value) { + set_has_scale(); + scale_ = value; +} + +// optional int32 x_normal = 2; +inline bool CDOTAUserMsg_UnitEvent_BloodImpact::has_x_normal() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::set_has_x_normal() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::clear_has_x_normal() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::clear_x_normal() { + x_normal_ = 0; + clear_has_x_normal(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UnitEvent_BloodImpact::x_normal() const { + return x_normal_; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::set_x_normal(::google::protobuf::int32 value) { + set_has_x_normal(); + x_normal_ = value; +} + +// optional int32 y_normal = 3; +inline bool CDOTAUserMsg_UnitEvent_BloodImpact::has_y_normal() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::set_has_y_normal() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::clear_has_y_normal() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::clear_y_normal() { + y_normal_ = 0; + clear_has_y_normal(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UnitEvent_BloodImpact::y_normal() const { + return y_normal_; +} +inline void CDOTAUserMsg_UnitEvent_BloodImpact::set_y_normal(::google::protobuf::int32 value) { + set_has_y_normal(); + y_normal_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_UnitEvent_FadeGesture + +// optional .Activity activity = 1 [default = ACT_INVALID]; +inline bool CDOTAUserMsg_UnitEvent_FadeGesture::has_activity() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_UnitEvent_FadeGesture::set_has_activity() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_FadeGesture::clear_has_activity() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent_FadeGesture::clear_activity() { + activity_ = -1; + clear_has_activity(); +} +inline Activity CDOTAUserMsg_UnitEvent_FadeGesture::activity() const { + return static_cast< Activity >(activity_); +} +inline void CDOTAUserMsg_UnitEvent_FadeGesture::set_activity(Activity value) { + GOOGLE_DCHECK(Activity_IsValid(value)); + set_has_activity(); + activity_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_UnitEvent + +// required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH]; +inline bool CDOTAUserMsg_UnitEvent::has_msg_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_msg_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_msg_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_UnitEvent::clear_msg_type() { + msg_type_ = 0; + clear_has_msg_type(); +} +inline EDotaEntityMessages CDOTAUserMsg_UnitEvent::msg_type() const { + return static_cast< EDotaEntityMessages >(msg_type_); +} +inline void CDOTAUserMsg_UnitEvent::set_msg_type(EDotaEntityMessages value) { + GOOGLE_DCHECK(EDotaEntityMessages_IsValid(value)); + set_has_msg_type(); + msg_type_ = value; +} + +// required int32 entity_index = 2; +inline bool CDOTAUserMsg_UnitEvent::has_entity_index() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_entity_index() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_entity_index() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_UnitEvent::clear_entity_index() { + entity_index_ = 0; + clear_has_entity_index(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UnitEvent::entity_index() const { + return entity_index_; +} +inline void CDOTAUserMsg_UnitEvent::set_entity_index(::google::protobuf::int32 value) { + set_has_entity_index(); + entity_index_ = value; +} + +// optional .CDOTAUserMsg_UnitEvent.Speech speech = 3; +inline bool CDOTAUserMsg_UnitEvent::has_speech() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_speech() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_speech() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_UnitEvent::clear_speech() { + if (speech_ != NULL) speech_->::CDOTAUserMsg_UnitEvent_Speech::Clear(); + clear_has_speech(); +} +inline const ::CDOTAUserMsg_UnitEvent_Speech& CDOTAUserMsg_UnitEvent::speech() const { + return speech_ != NULL ? *speech_ : *default_instance_->speech_; +} +inline ::CDOTAUserMsg_UnitEvent_Speech* CDOTAUserMsg_UnitEvent::mutable_speech() { + set_has_speech(); + if (speech_ == NULL) speech_ = new ::CDOTAUserMsg_UnitEvent_Speech; + return speech_; +} +inline ::CDOTAUserMsg_UnitEvent_Speech* CDOTAUserMsg_UnitEvent::release_speech() { + clear_has_speech(); + ::CDOTAUserMsg_UnitEvent_Speech* temp = speech_; + speech_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4; +inline bool CDOTAUserMsg_UnitEvent::has_speech_mute() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_speech_mute() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_speech_mute() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_UnitEvent::clear_speech_mute() { + if (speech_mute_ != NULL) speech_mute_->::CDOTAUserMsg_UnitEvent_SpeechMute::Clear(); + clear_has_speech_mute(); +} +inline const ::CDOTAUserMsg_UnitEvent_SpeechMute& CDOTAUserMsg_UnitEvent::speech_mute() const { + return speech_mute_ != NULL ? *speech_mute_ : *default_instance_->speech_mute_; +} +inline ::CDOTAUserMsg_UnitEvent_SpeechMute* CDOTAUserMsg_UnitEvent::mutable_speech_mute() { + set_has_speech_mute(); + if (speech_mute_ == NULL) speech_mute_ = new ::CDOTAUserMsg_UnitEvent_SpeechMute; + return speech_mute_; +} +inline ::CDOTAUserMsg_UnitEvent_SpeechMute* CDOTAUserMsg_UnitEvent::release_speech_mute() { + clear_has_speech_mute(); + ::CDOTAUserMsg_UnitEvent_SpeechMute* temp = speech_mute_; + speech_mute_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5; +inline bool CDOTAUserMsg_UnitEvent::has_add_gesture() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_add_gesture() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_add_gesture() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_UnitEvent::clear_add_gesture() { + if (add_gesture_ != NULL) add_gesture_->::CDOTAUserMsg_UnitEvent_AddGesture::Clear(); + clear_has_add_gesture(); +} +inline const ::CDOTAUserMsg_UnitEvent_AddGesture& CDOTAUserMsg_UnitEvent::add_gesture() const { + return add_gesture_ != NULL ? *add_gesture_ : *default_instance_->add_gesture_; +} +inline ::CDOTAUserMsg_UnitEvent_AddGesture* CDOTAUserMsg_UnitEvent::mutable_add_gesture() { + set_has_add_gesture(); + if (add_gesture_ == NULL) add_gesture_ = new ::CDOTAUserMsg_UnitEvent_AddGesture; + return add_gesture_; +} +inline ::CDOTAUserMsg_UnitEvent_AddGesture* CDOTAUserMsg_UnitEvent::release_add_gesture() { + clear_has_add_gesture(); + ::CDOTAUserMsg_UnitEvent_AddGesture* temp = add_gesture_; + add_gesture_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6; +inline bool CDOTAUserMsg_UnitEvent::has_remove_gesture() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_remove_gesture() { + _has_bits_[0] |= 0x00000020u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_remove_gesture() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CDOTAUserMsg_UnitEvent::clear_remove_gesture() { + if (remove_gesture_ != NULL) remove_gesture_->::CDOTAUserMsg_UnitEvent_RemoveGesture::Clear(); + clear_has_remove_gesture(); +} +inline const ::CDOTAUserMsg_UnitEvent_RemoveGesture& CDOTAUserMsg_UnitEvent::remove_gesture() const { + return remove_gesture_ != NULL ? *remove_gesture_ : *default_instance_->remove_gesture_; +} +inline ::CDOTAUserMsg_UnitEvent_RemoveGesture* CDOTAUserMsg_UnitEvent::mutable_remove_gesture() { + set_has_remove_gesture(); + if (remove_gesture_ == NULL) remove_gesture_ = new ::CDOTAUserMsg_UnitEvent_RemoveGesture; + return remove_gesture_; +} +inline ::CDOTAUserMsg_UnitEvent_RemoveGesture* CDOTAUserMsg_UnitEvent::release_remove_gesture() { + clear_has_remove_gesture(); + ::CDOTAUserMsg_UnitEvent_RemoveGesture* temp = remove_gesture_; + remove_gesture_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7; +inline bool CDOTAUserMsg_UnitEvent::has_blood_impact() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_blood_impact() { + _has_bits_[0] |= 0x00000040u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_blood_impact() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CDOTAUserMsg_UnitEvent::clear_blood_impact() { + if (blood_impact_ != NULL) blood_impact_->::CDOTAUserMsg_UnitEvent_BloodImpact::Clear(); + clear_has_blood_impact(); +} +inline const ::CDOTAUserMsg_UnitEvent_BloodImpact& CDOTAUserMsg_UnitEvent::blood_impact() const { + return blood_impact_ != NULL ? *blood_impact_ : *default_instance_->blood_impact_; +} +inline ::CDOTAUserMsg_UnitEvent_BloodImpact* CDOTAUserMsg_UnitEvent::mutable_blood_impact() { + set_has_blood_impact(); + if (blood_impact_ == NULL) blood_impact_ = new ::CDOTAUserMsg_UnitEvent_BloodImpact; + return blood_impact_; +} +inline ::CDOTAUserMsg_UnitEvent_BloodImpact* CDOTAUserMsg_UnitEvent::release_blood_impact() { + clear_has_blood_impact(); + ::CDOTAUserMsg_UnitEvent_BloodImpact* temp = blood_impact_; + blood_impact_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8; +inline bool CDOTAUserMsg_UnitEvent::has_fade_gesture() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_fade_gesture() { + _has_bits_[0] |= 0x00000080u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_fade_gesture() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CDOTAUserMsg_UnitEvent::clear_fade_gesture() { + if (fade_gesture_ != NULL) fade_gesture_->::CDOTAUserMsg_UnitEvent_FadeGesture::Clear(); + clear_has_fade_gesture(); +} +inline const ::CDOTAUserMsg_UnitEvent_FadeGesture& CDOTAUserMsg_UnitEvent::fade_gesture() const { + return fade_gesture_ != NULL ? *fade_gesture_ : *default_instance_->fade_gesture_; +} +inline ::CDOTAUserMsg_UnitEvent_FadeGesture* CDOTAUserMsg_UnitEvent::mutable_fade_gesture() { + set_has_fade_gesture(); + if (fade_gesture_ == NULL) fade_gesture_ = new ::CDOTAUserMsg_UnitEvent_FadeGesture; + return fade_gesture_; +} +inline ::CDOTAUserMsg_UnitEvent_FadeGesture* CDOTAUserMsg_UnitEvent::release_fade_gesture() { + clear_has_fade_gesture(); + ::CDOTAUserMsg_UnitEvent_FadeGesture* temp = fade_gesture_; + fade_gesture_ = NULL; + return temp; +} + +// optional .CDOTASpeechMatchOnClient speech_match_on_client = 9; +inline bool CDOTAUserMsg_UnitEvent::has_speech_match_on_client() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CDOTAUserMsg_UnitEvent::set_has_speech_match_on_client() { + _has_bits_[0] |= 0x00000100u; +} +inline void CDOTAUserMsg_UnitEvent::clear_has_speech_match_on_client() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CDOTAUserMsg_UnitEvent::clear_speech_match_on_client() { + if (speech_match_on_client_ != NULL) speech_match_on_client_->::CDOTASpeechMatchOnClient::Clear(); + clear_has_speech_match_on_client(); +} +inline const ::CDOTASpeechMatchOnClient& CDOTAUserMsg_UnitEvent::speech_match_on_client() const { + return speech_match_on_client_ != NULL ? *speech_match_on_client_ : *default_instance_->speech_match_on_client_; +} +inline ::CDOTASpeechMatchOnClient* CDOTAUserMsg_UnitEvent::mutable_speech_match_on_client() { + set_has_speech_match_on_client(); + if (speech_match_on_client_ == NULL) speech_match_on_client_ = new ::CDOTASpeechMatchOnClient; + return speech_match_on_client_; +} +inline ::CDOTASpeechMatchOnClient* CDOTAUserMsg_UnitEvent::release_speech_match_on_client() { + clear_has_speech_match_on_client(); + ::CDOTASpeechMatchOnClient* temp = speech_match_on_client_; + speech_match_on_client_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ItemPurchased + +// optional int32 item_index = 1; +inline bool CDOTAUserMsg_ItemPurchased::has_item_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ItemPurchased::set_has_item_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ItemPurchased::clear_has_item_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ItemPurchased::clear_item_index() { + item_index_ = 0; + clear_has_item_index(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ItemPurchased::item_index() const { + return item_index_; +} +inline void CDOTAUserMsg_ItemPurchased::set_item_index(::google::protobuf::int32 value) { + set_has_item_index(); + item_index_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ItemFound + +// optional int32 player = 1; +inline bool CDOTAUserMsg_ItemFound::has_player() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ItemFound::set_has_player() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ItemFound::clear_has_player() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ItemFound::clear_player() { + player_ = 0; + clear_has_player(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ItemFound::player() const { + return player_; +} +inline void CDOTAUserMsg_ItemFound::set_player(::google::protobuf::int32 value) { + set_has_player(); + player_ = value; +} + +// optional int32 quality = 2; +inline bool CDOTAUserMsg_ItemFound::has_quality() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ItemFound::set_has_quality() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ItemFound::clear_has_quality() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ItemFound::clear_quality() { + quality_ = 0; + clear_has_quality(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ItemFound::quality() const { + return quality_; +} +inline void CDOTAUserMsg_ItemFound::set_quality(::google::protobuf::int32 value) { + set_has_quality(); + quality_ = value; +} + +// optional int32 rarity = 3; +inline bool CDOTAUserMsg_ItemFound::has_rarity() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_ItemFound::set_has_rarity() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_ItemFound::clear_has_rarity() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_ItemFound::clear_rarity() { + rarity_ = 0; + clear_has_rarity(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ItemFound::rarity() const { + return rarity_; +} +inline void CDOTAUserMsg_ItemFound::set_rarity(::google::protobuf::int32 value) { + set_has_rarity(); + rarity_ = value; +} + +// optional int32 method = 4; +inline bool CDOTAUserMsg_ItemFound::has_method() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_ItemFound::set_has_method() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_ItemFound::clear_has_method() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_ItemFound::clear_method() { + method_ = 0; + clear_has_method(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ItemFound::method() const { + return method_; +} +inline void CDOTAUserMsg_ItemFound::set_method(::google::protobuf::int32 value) { + set_has_method(); + method_ = value; +} + +// optional int32 itemdef = 5; +inline bool CDOTAUserMsg_ItemFound::has_itemdef() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_ItemFound::set_has_itemdef() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_ItemFound::clear_has_itemdef() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_ItemFound::clear_itemdef() { + itemdef_ = 0; + clear_has_itemdef(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ItemFound::itemdef() const { + return itemdef_; +} +inline void CDOTAUserMsg_ItemFound::set_itemdef(::google::protobuf::int32 value) { + set_has_itemdef(); + itemdef_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_ReleaseParticleIndex + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_CreateParticle + +// optional int32 particle_name_index = 1; +inline bool CDOTAUserMsg_ParticleManager_CreateParticle::has_particle_name_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::set_has_particle_name_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::clear_has_particle_name_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::clear_particle_name_index() { + particle_name_index_ = 0; + clear_has_particle_name_index(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_CreateParticle::particle_name_index() const { + return particle_name_index_; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::set_particle_name_index(::google::protobuf::int32 value) { + set_has_particle_name_index(); + particle_name_index_ = value; +} + +// optional int32 attach_type = 2; +inline bool CDOTAUserMsg_ParticleManager_CreateParticle::has_attach_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::set_has_attach_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::clear_has_attach_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::clear_attach_type() { + attach_type_ = 0; + clear_has_attach_type(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_CreateParticle::attach_type() const { + return attach_type_; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::set_attach_type(::google::protobuf::int32 value) { + set_has_attach_type(); + attach_type_ = value; +} + +// optional int32 entity_handle = 3; +inline bool CDOTAUserMsg_ParticleManager_CreateParticle::has_entity_handle() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::set_has_entity_handle() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::clear_has_entity_handle() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::clear_entity_handle() { + entity_handle_ = 0; + clear_has_entity_handle(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_CreateParticle::entity_handle() const { + return entity_handle_; +} +inline void CDOTAUserMsg_ParticleManager_CreateParticle::set_entity_handle(::google::protobuf::int32 value) { + set_has_entity_handle(); + entity_handle_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_DestroyParticle + +// optional bool destroy_immediately = 1; +inline bool CDOTAUserMsg_ParticleManager_DestroyParticle::has_destroy_immediately() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticle::set_has_destroy_immediately() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticle::clear_has_destroy_immediately() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticle::clear_destroy_immediately() { + destroy_immediately_ = false; + clear_has_destroy_immediately(); +} +inline bool CDOTAUserMsg_ParticleManager_DestroyParticle::destroy_immediately() const { + return destroy_immediately_; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticle::set_destroy_immediately(bool value) { + set_has_destroy_immediately(); + destroy_immediately_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_DestroyParticleInvolving + +// optional bool destroy_immediately = 1; +inline bool CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::has_destroy_immediately() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::set_has_destroy_immediately() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::clear_has_destroy_immediately() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::clear_destroy_immediately() { + destroy_immediately_ = false; + clear_has_destroy_immediately(); +} +inline bool CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::destroy_immediately() const { + return destroy_immediately_; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::set_destroy_immediately(bool value) { + set_has_destroy_immediately(); + destroy_immediately_ = value; +} + +// optional int32 entity_handle = 3; +inline bool CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::has_entity_handle() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::set_has_entity_handle() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::clear_has_entity_handle() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::clear_entity_handle() { + entity_handle_ = 0; + clear_has_entity_handle(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::entity_handle() const { + return entity_handle_; +} +inline void CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::set_entity_handle(::google::protobuf::int32 value) { + set_has_entity_handle(); + entity_handle_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_UpdateParticle + +// optional int32 control_point = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticle::has_control_point() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticle::set_has_control_point() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticle::clear_has_control_point() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticle::clear_control_point() { + control_point_ = 0; + clear_has_control_point(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticle::control_point() const { + return control_point_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticle::set_control_point(::google::protobuf::int32 value) { + set_has_control_point(); + control_point_ = value; +} + +// optional .CMsgVector position = 2; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticle::has_position() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticle::set_has_position() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticle::clear_has_position() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticle::clear_position() { + if (position_ != NULL) position_->::CMsgVector::Clear(); + clear_has_position(); +} +inline const ::CMsgVector& CDOTAUserMsg_ParticleManager_UpdateParticle::position() const { + return position_ != NULL ? *position_ : *default_instance_->position_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticle::mutable_position() { + set_has_position(); + if (position_ == NULL) position_ = new ::CMsgVector; + return position_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticle::release_position() { + clear_has_position(); + ::CMsgVector* temp = position_; + position_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_UpdateParticleFwd + +// optional int32 control_point = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleFwd::has_control_point() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::set_has_control_point() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::clear_has_control_point() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::clear_control_point() { + control_point_ = 0; + clear_has_control_point(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleFwd::control_point() const { + return control_point_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::set_control_point(::google::protobuf::int32 value) { + set_has_control_point(); + control_point_ = value; +} + +// optional .CMsgVector forward = 2; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleFwd::has_forward() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::set_has_forward() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::clear_has_forward() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFwd::clear_forward() { + if (forward_ != NULL) forward_->::CMsgVector::Clear(); + clear_has_forward(); +} +inline const ::CMsgVector& CDOTAUserMsg_ParticleManager_UpdateParticleFwd::forward() const { + return forward_ != NULL ? *forward_ : *default_instance_->forward_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleFwd::mutable_forward() { + set_has_forward(); + if (forward_ == NULL) forward_ = new ::CMsgVector; + return forward_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleFwd::release_forward() { + clear_has_forward(); + ::CMsgVector* temp = forward_; + forward_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_UpdateParticleOrient + +// optional int32 control_point = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleOrient::has_control_point() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::set_has_control_point() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::clear_has_control_point() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::clear_control_point() { + control_point_ = 0; + clear_has_control_point(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleOrient::control_point() const { + return control_point_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::set_control_point(::google::protobuf::int32 value) { + set_has_control_point(); + control_point_ = value; +} + +// optional .CMsgVector forward = 2; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleOrient::has_forward() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::set_has_forward() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::clear_has_forward() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::clear_forward() { + if (forward_ != NULL) forward_->::CMsgVector::Clear(); + clear_has_forward(); +} +inline const ::CMsgVector& CDOTAUserMsg_ParticleManager_UpdateParticleOrient::forward() const { + return forward_ != NULL ? *forward_ : *default_instance_->forward_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::mutable_forward() { + set_has_forward(); + if (forward_ == NULL) forward_ = new ::CMsgVector; + return forward_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::release_forward() { + clear_has_forward(); + ::CMsgVector* temp = forward_; + forward_ = NULL; + return temp; +} + +// optional .CMsgVector right = 3; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleOrient::has_right() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::set_has_right() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::clear_has_right() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::clear_right() { + if (right_ != NULL) right_->::CMsgVector::Clear(); + clear_has_right(); +} +inline const ::CMsgVector& CDOTAUserMsg_ParticleManager_UpdateParticleOrient::right() const { + return right_ != NULL ? *right_ : *default_instance_->right_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::mutable_right() { + set_has_right(); + if (right_ == NULL) right_ = new ::CMsgVector; + return right_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::release_right() { + clear_has_right(); + ::CMsgVector* temp = right_; + right_ = NULL; + return temp; +} + +// optional .CMsgVector up = 4; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleOrient::has_up() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::set_has_up() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::clear_has_up() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOrient::clear_up() { + if (up_ != NULL) up_->::CMsgVector::Clear(); + clear_has_up(); +} +inline const ::CMsgVector& CDOTAUserMsg_ParticleManager_UpdateParticleOrient::up() const { + return up_ != NULL ? *up_ : *default_instance_->up_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::mutable_up() { + set_has_up(); + if (up_ == NULL) up_ = new ::CMsgVector; + return up_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleOrient::release_up() { + clear_has_up(); + ::CMsgVector* temp = up_; + up_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_UpdateParticleFallback + +// optional int32 control_point = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleFallback::has_control_point() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::set_has_control_point() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::clear_has_control_point() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::clear_control_point() { + control_point_ = 0; + clear_has_control_point(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleFallback::control_point() const { + return control_point_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::set_control_point(::google::protobuf::int32 value) { + set_has_control_point(); + control_point_ = value; +} + +// optional .CMsgVector position = 2; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleFallback::has_position() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::set_has_position() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::clear_has_position() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleFallback::clear_position() { + if (position_ != NULL) position_->::CMsgVector::Clear(); + clear_has_position(); +} +inline const ::CMsgVector& CDOTAUserMsg_ParticleManager_UpdateParticleFallback::position() const { + return position_ != NULL ? *position_ : *default_instance_->position_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleFallback::mutable_position() { + set_has_position(); + if (position_ == NULL) position_ = new ::CMsgVector; + return position_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleFallback::release_position() { + clear_has_position(); + ::CMsgVector* temp = position_; + position_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_UpdateParticleOffset + +// optional int32 control_point = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleOffset::has_control_point() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::set_has_control_point() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::clear_has_control_point() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::clear_control_point() { + control_point_ = 0; + clear_has_control_point(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleOffset::control_point() const { + return control_point_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::set_control_point(::google::protobuf::int32 value) { + set_has_control_point(); + control_point_ = value; +} + +// optional .CMsgVector origin_offset = 2; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleOffset::has_origin_offset() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::set_has_origin_offset() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::clear_has_origin_offset() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleOffset::clear_origin_offset() { + if (origin_offset_ != NULL) origin_offset_->::CMsgVector::Clear(); + clear_has_origin_offset(); +} +inline const ::CMsgVector& CDOTAUserMsg_ParticleManager_UpdateParticleOffset::origin_offset() const { + return origin_offset_ != NULL ? *origin_offset_ : *default_instance_->origin_offset_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleOffset::mutable_origin_offset() { + set_has_origin_offset(); + if (origin_offset_ == NULL) origin_offset_ = new ::CMsgVector; + return origin_offset_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleOffset::release_origin_offset() { + clear_has_origin_offset(); + ::CMsgVector* temp = origin_offset_; + origin_offset_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_UpdateParticleEnt + +// optional int32 control_point = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleEnt::has_control_point() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_has_control_point() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_has_control_point() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_control_point() { + control_point_ = 0; + clear_has_control_point(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleEnt::control_point() const { + return control_point_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_control_point(::google::protobuf::int32 value) { + set_has_control_point(); + control_point_ = value; +} + +// optional int32 entity_handle = 2; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleEnt::has_entity_handle() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_has_entity_handle() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_has_entity_handle() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_entity_handle() { + entity_handle_ = 0; + clear_has_entity_handle(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleEnt::entity_handle() const { + return entity_handle_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_entity_handle(::google::protobuf::int32 value) { + set_has_entity_handle(); + entity_handle_ = value; +} + +// optional int32 attach_type = 3; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleEnt::has_attach_type() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_has_attach_type() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_has_attach_type() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_attach_type() { + attach_type_ = 0; + clear_has_attach_type(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleEnt::attach_type() const { + return attach_type_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_attach_type(::google::protobuf::int32 value) { + set_has_attach_type(); + attach_type_ = value; +} + +// optional int32 attachment = 4; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleEnt::has_attachment() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_has_attachment() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_has_attachment() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_attachment() { + attachment_ = 0; + clear_has_attachment(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleEnt::attachment() const { + return attachment_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_attachment(::google::protobuf::int32 value) { + set_has_attachment(); + attachment_ = value; +} + +// optional .CMsgVector fallback_position = 5; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleEnt::has_fallback_position() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::set_has_fallback_position() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_has_fallback_position() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::clear_fallback_position() { + if (fallback_position_ != NULL) fallback_position_->::CMsgVector::Clear(); + clear_has_fallback_position(); +} +inline const ::CMsgVector& CDOTAUserMsg_ParticleManager_UpdateParticleEnt::fallback_position() const { + return fallback_position_ != NULL ? *fallback_position_ : *default_instance_->fallback_position_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleEnt::mutable_fallback_position() { + set_has_fallback_position(); + if (fallback_position_ == NULL) fallback_position_ = new ::CMsgVector; + return fallback_position_; +} +inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleEnt::release_fallback_position() { + clear_has_fallback_position(); + ::CMsgVector* temp = fallback_position_; + fallback_position_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_UpdateParticleLatency + +// optional int32 player_latency = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::has_player_latency() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_has_player_latency() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_has_player_latency() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_player_latency() { + player_latency_ = 0; + clear_has_player_latency(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleLatency::player_latency() const { + return player_latency_; +} +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; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw + +// optional bool should_draw = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::has_should_draw() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::set_has_should_draw() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::clear_has_should_draw() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::clear_should_draw() { + should_draw_ = false; + clear_has_should_draw(); +} +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::should_draw() const { + return should_draw_; +} +inline void CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::set_should_draw(bool value) { + set_has_should_draw(); + should_draw_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ParticleManager + +// required .DOTA_PARTICLE_MESSAGE type = 1 [default = DOTA_PARTICLE_MANAGER_EVENT_CREATE]; +inline bool CDOTAUserMsg_ParticleManager::has_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ParticleManager::clear_type() { + type_ = 0; + clear_has_type(); +} +inline DOTA_PARTICLE_MESSAGE CDOTAUserMsg_ParticleManager::type() const { + return static_cast< DOTA_PARTICLE_MESSAGE >(type_); +} +inline void CDOTAUserMsg_ParticleManager::set_type(DOTA_PARTICLE_MESSAGE value) { + GOOGLE_DCHECK(DOTA_PARTICLE_MESSAGE_IsValid(value)); + set_has_type(); + type_ = value; +} + +// required uint32 index = 2; +inline bool CDOTAUserMsg_ParticleManager::has_index() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_index() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_index() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ParticleManager::clear_index() { + index_ = 0u; + clear_has_index(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_ParticleManager::index() const { + return index_; +} +inline void CDOTAUserMsg_ParticleManager::set_index(::google::protobuf::uint32 value) { + set_has_index(); + index_ = value; +} + +// optional .CDOTAUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3; +inline bool CDOTAUserMsg_ParticleManager::has_release_particle_index() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_release_particle_index() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_release_particle_index() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_ParticleManager::clear_release_particle_index() { + if (release_particle_index_ != NULL) release_particle_index_->::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex::Clear(); + clear_has_release_particle_index(); +} +inline const ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex& CDOTAUserMsg_ParticleManager::release_particle_index() const { + return release_particle_index_ != NULL ? *release_particle_index_ : *default_instance_->release_particle_index_; +} +inline ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* CDOTAUserMsg_ParticleManager::mutable_release_particle_index() { + set_has_release_particle_index(); + if (release_particle_index_ == NULL) release_particle_index_ = new ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex; + return release_particle_index_; +} +inline ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* CDOTAUserMsg_ParticleManager::release_release_particle_index() { + clear_has_release_particle_index(); + ::CDOTAUserMsg_ParticleManager_ReleaseParticleIndex* temp = release_particle_index_; + release_particle_index_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.CreateParticle create_particle = 4; +inline bool CDOTAUserMsg_ParticleManager::has_create_particle() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_create_particle() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_create_particle() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_ParticleManager::clear_create_particle() { + if (create_particle_ != NULL) create_particle_->::CDOTAUserMsg_ParticleManager_CreateParticle::Clear(); + clear_has_create_particle(); +} +inline const ::CDOTAUserMsg_ParticleManager_CreateParticle& CDOTAUserMsg_ParticleManager::create_particle() const { + return create_particle_ != NULL ? *create_particle_ : *default_instance_->create_particle_; +} +inline ::CDOTAUserMsg_ParticleManager_CreateParticle* CDOTAUserMsg_ParticleManager::mutable_create_particle() { + set_has_create_particle(); + if (create_particle_ == NULL) create_particle_ = new ::CDOTAUserMsg_ParticleManager_CreateParticle; + return create_particle_; +} +inline ::CDOTAUserMsg_ParticleManager_CreateParticle* CDOTAUserMsg_ParticleManager::release_create_particle() { + clear_has_create_particle(); + ::CDOTAUserMsg_ParticleManager_CreateParticle* temp = create_particle_; + create_particle_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.DestroyParticle destroy_particle = 5; +inline bool CDOTAUserMsg_ParticleManager::has_destroy_particle() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_destroy_particle() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_destroy_particle() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_ParticleManager::clear_destroy_particle() { + if (destroy_particle_ != NULL) destroy_particle_->::CDOTAUserMsg_ParticleManager_DestroyParticle::Clear(); + clear_has_destroy_particle(); +} +inline const ::CDOTAUserMsg_ParticleManager_DestroyParticle& CDOTAUserMsg_ParticleManager::destroy_particle() const { + return destroy_particle_ != NULL ? *destroy_particle_ : *default_instance_->destroy_particle_; +} +inline ::CDOTAUserMsg_ParticleManager_DestroyParticle* CDOTAUserMsg_ParticleManager::mutable_destroy_particle() { + set_has_destroy_particle(); + if (destroy_particle_ == NULL) destroy_particle_ = new ::CDOTAUserMsg_ParticleManager_DestroyParticle; + return destroy_particle_; +} +inline ::CDOTAUserMsg_ParticleManager_DestroyParticle* CDOTAUserMsg_ParticleManager::release_destroy_particle() { + clear_has_destroy_particle(); + ::CDOTAUserMsg_ParticleManager_DestroyParticle* temp = destroy_particle_; + destroy_particle_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6; +inline bool CDOTAUserMsg_ParticleManager::has_destroy_particle_involving() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_destroy_particle_involving() { + _has_bits_[0] |= 0x00000020u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_destroy_particle_involving() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CDOTAUserMsg_ParticleManager::clear_destroy_particle_involving() { + if (destroy_particle_involving_ != NULL) destroy_particle_involving_->::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving::Clear(); + clear_has_destroy_particle_involving(); +} +inline const ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving& CDOTAUserMsg_ParticleManager::destroy_particle_involving() const { + return destroy_particle_involving_ != NULL ? *destroy_particle_involving_ : *default_instance_->destroy_particle_involving_; +} +inline ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* CDOTAUserMsg_ParticleManager::mutable_destroy_particle_involving() { + set_has_destroy_particle_involving(); + if (destroy_particle_involving_ == NULL) destroy_particle_involving_ = new ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving; + return destroy_particle_involving_; +} +inline ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* CDOTAUserMsg_ParticleManager::release_destroy_particle_involving() { + clear_has_destroy_particle_involving(); + ::CDOTAUserMsg_ParticleManager_DestroyParticleInvolving* temp = destroy_particle_involving_; + destroy_particle_involving_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.UpdateParticle update_particle = 7; +inline bool CDOTAUserMsg_ParticleManager::has_update_particle() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_update_particle() { + _has_bits_[0] |= 0x00000040u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CDOTAUserMsg_ParticleManager::clear_update_particle() { + if (update_particle_ != NULL) update_particle_->::CDOTAUserMsg_ParticleManager_UpdateParticle::Clear(); + clear_has_update_particle(); +} +inline const ::CDOTAUserMsg_ParticleManager_UpdateParticle& CDOTAUserMsg_ParticleManager::update_particle() const { + return update_particle_ != NULL ? *update_particle_ : *default_instance_->update_particle_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticle* CDOTAUserMsg_ParticleManager::mutable_update_particle() { + set_has_update_particle(); + if (update_particle_ == NULL) update_particle_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticle; + return update_particle_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticle* CDOTAUserMsg_ParticleManager::release_update_particle() { + clear_has_update_particle(); + ::CDOTAUserMsg_ParticleManager_UpdateParticle* temp = update_particle_; + update_particle_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.UpdateParticleFwd update_particle_fwd = 8; +inline bool CDOTAUserMsg_ParticleManager::has_update_particle_fwd() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_fwd() { + _has_bits_[0] |= 0x00000080u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_fwd() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CDOTAUserMsg_ParticleManager::clear_update_particle_fwd() { + if (update_particle_fwd_ != NULL) update_particle_fwd_->::CDOTAUserMsg_ParticleManager_UpdateParticleFwd::Clear(); + clear_has_update_particle_fwd(); +} +inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd& CDOTAUserMsg_ParticleManager::update_particle_fwd() const { + return update_particle_fwd_ != NULL ? *update_particle_fwd_ : *default_instance_->update_particle_fwd_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd* CDOTAUserMsg_ParticleManager::mutable_update_particle_fwd() { + set_has_update_particle_fwd(); + if (update_particle_fwd_ == NULL) update_particle_fwd_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd; + return update_particle_fwd_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd* CDOTAUserMsg_ParticleManager::release_update_particle_fwd() { + clear_has_update_particle_fwd(); + ::CDOTAUserMsg_ParticleManager_UpdateParticleFwd* temp = update_particle_fwd_; + update_particle_fwd_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.UpdateParticleOrient update_particle_orient = 9; +inline bool CDOTAUserMsg_ParticleManager::has_update_particle_orient() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_orient() { + _has_bits_[0] |= 0x00000100u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_orient() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CDOTAUserMsg_ParticleManager::clear_update_particle_orient() { + if (update_particle_orient_ != NULL) update_particle_orient_->::CDOTAUserMsg_ParticleManager_UpdateParticleOrient::Clear(); + clear_has_update_particle_orient(); +} +inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient& CDOTAUserMsg_ParticleManager::update_particle_orient() const { + return update_particle_orient_ != NULL ? *update_particle_orient_ : *default_instance_->update_particle_orient_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient* CDOTAUserMsg_ParticleManager::mutable_update_particle_orient() { + set_has_update_particle_orient(); + if (update_particle_orient_ == NULL) update_particle_orient_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient; + return update_particle_orient_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient* CDOTAUserMsg_ParticleManager::release_update_particle_orient() { + clear_has_update_particle_orient(); + ::CDOTAUserMsg_ParticleManager_UpdateParticleOrient* temp = update_particle_orient_; + update_particle_orient_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10; +inline bool CDOTAUserMsg_ParticleManager::has_update_particle_fallback() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_fallback() { + _has_bits_[0] |= 0x00000200u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_fallback() { + _has_bits_[0] &= ~0x00000200u; +} +inline void CDOTAUserMsg_ParticleManager::clear_update_particle_fallback() { + if (update_particle_fallback_ != NULL) update_particle_fallback_->::CDOTAUserMsg_ParticleManager_UpdateParticleFallback::Clear(); + clear_has_update_particle_fallback(); +} +inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback& CDOTAUserMsg_ParticleManager::update_particle_fallback() const { + return update_particle_fallback_ != NULL ? *update_particle_fallback_ : *default_instance_->update_particle_fallback_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback* CDOTAUserMsg_ParticleManager::mutable_update_particle_fallback() { + set_has_update_particle_fallback(); + if (update_particle_fallback_ == NULL) update_particle_fallback_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback; + return update_particle_fallback_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback* CDOTAUserMsg_ParticleManager::release_update_particle_fallback() { + clear_has_update_particle_fallback(); + ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback* temp = update_particle_fallback_; + update_particle_fallback_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11; +inline bool CDOTAUserMsg_ParticleManager::has_update_particle_offset() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_offset() { + _has_bits_[0] |= 0x00000400u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_offset() { + _has_bits_[0] &= ~0x00000400u; +} +inline void CDOTAUserMsg_ParticleManager::clear_update_particle_offset() { + if (update_particle_offset_ != NULL) update_particle_offset_->::CDOTAUserMsg_ParticleManager_UpdateParticleOffset::Clear(); + clear_has_update_particle_offset(); +} +inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset& CDOTAUserMsg_ParticleManager::update_particle_offset() const { + return update_particle_offset_ != NULL ? *update_particle_offset_ : *default_instance_->update_particle_offset_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset* CDOTAUserMsg_ParticleManager::mutable_update_particle_offset() { + set_has_update_particle_offset(); + if (update_particle_offset_ == NULL) update_particle_offset_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset; + return update_particle_offset_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset* CDOTAUserMsg_ParticleManager::release_update_particle_offset() { + clear_has_update_particle_offset(); + ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset* temp = update_particle_offset_; + update_particle_offset_ = NULL; + return temp; +} + +// optional .CDOTAUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12; +inline bool CDOTAUserMsg_ParticleManager::has_update_particle_ent() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_ent() { + _has_bits_[0] |= 0x00000800u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_ent() { + _has_bits_[0] &= ~0x00000800u; +} +inline void CDOTAUserMsg_ParticleManager::clear_update_particle_ent() { + if (update_particle_ent_ != NULL) update_particle_ent_->::CDOTAUserMsg_ParticleManager_UpdateParticleEnt::Clear(); + clear_has_update_particle_ent(); +} +inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt& CDOTAUserMsg_ParticleManager::update_particle_ent() const { + return update_particle_ent_ != NULL ? *update_particle_ent_ : *default_instance_->update_particle_ent_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* CDOTAUserMsg_ParticleManager::mutable_update_particle_ent() { + set_has_update_particle_ent(); + if (update_particle_ent_ == NULL) update_particle_ent_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt; + return update_particle_ent_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* CDOTAUserMsg_ParticleManager::release_update_particle_ent() { + clear_has_update_particle_ent(); + ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* temp = update_particle_ent_; + update_particle_ent_ = NULL; + 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; +} +inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_should_draw() { + _has_bits_[0] |= 0x00002000u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_should_draw() { + _has_bits_[0] &= ~0x00002000u; +} +inline void CDOTAUserMsg_ParticleManager::clear_update_particle_should_draw() { + if (update_particle_should_draw_ != NULL) update_particle_should_draw_->::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::Clear(); + clear_has_update_particle_should_draw(); +} +inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw& CDOTAUserMsg_ParticleManager::update_particle_should_draw() const { + return update_particle_should_draw_ != NULL ? *update_particle_should_draw_ : *default_instance_->update_particle_should_draw_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* CDOTAUserMsg_ParticleManager::mutable_update_particle_should_draw() { + set_has_update_particle_should_draw(); + if (update_particle_should_draw_ == NULL) update_particle_should_draw_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw; + return update_particle_should_draw_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* CDOTAUserMsg_ParticleManager::release_update_particle_should_draw() { + clear_has_update_particle_should_draw(); + ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* temp = update_particle_should_draw_; + update_particle_should_draw_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_OverheadEvent + +// required .DOTA_OVERHEAD_ALERT message_type = 1 [default = OVERHEAD_ALERT_GOLD]; +inline bool CDOTAUserMsg_OverheadEvent::has_message_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_OverheadEvent::set_has_message_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_has_message_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_message_type() { + message_type_ = 0; + clear_has_message_type(); +} +inline DOTA_OVERHEAD_ALERT CDOTAUserMsg_OverheadEvent::message_type() const { + return static_cast< DOTA_OVERHEAD_ALERT >(message_type_); +} +inline void CDOTAUserMsg_OverheadEvent::set_message_type(DOTA_OVERHEAD_ALERT value) { + GOOGLE_DCHECK(DOTA_OVERHEAD_ALERT_IsValid(value)); + set_has_message_type(); + message_type_ = value; +} + +// optional int32 value = 2; +inline bool CDOTAUserMsg_OverheadEvent::has_value() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_OverheadEvent::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_has_value() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_value() { + value_ = 0; + clear_has_value(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_OverheadEvent::value() const { + return value_; +} +inline void CDOTAUserMsg_OverheadEvent::set_value(::google::protobuf::int32 value) { + set_has_value(); + value_ = value; +} + +// optional int32 target_player_entindex = 3; +inline bool CDOTAUserMsg_OverheadEvent::has_target_player_entindex() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_OverheadEvent::set_has_target_player_entindex() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_has_target_player_entindex() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_target_player_entindex() { + target_player_entindex_ = 0; + clear_has_target_player_entindex(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_OverheadEvent::target_player_entindex() const { + return target_player_entindex_; +} +inline void CDOTAUserMsg_OverheadEvent::set_target_player_entindex(::google::protobuf::int32 value) { + set_has_target_player_entindex(); + target_player_entindex_ = value; +} + +// optional int32 target_entindex = 4; +inline bool CDOTAUserMsg_OverheadEvent::has_target_entindex() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_OverheadEvent::set_has_target_entindex() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_has_target_entindex() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_target_entindex() { + target_entindex_ = 0; + clear_has_target_entindex(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_OverheadEvent::target_entindex() const { + return target_entindex_; +} +inline void CDOTAUserMsg_OverheadEvent::set_target_entindex(::google::protobuf::int32 value) { + set_has_target_entindex(); + target_entindex_ = value; +} + +// optional int32 source_player_entindex = 5; +inline bool CDOTAUserMsg_OverheadEvent::has_source_player_entindex() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_OverheadEvent::set_has_source_player_entindex() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_has_source_player_entindex() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_OverheadEvent::clear_source_player_entindex() { + source_player_entindex_ = 0; + clear_has_source_player_entindex(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_OverheadEvent::source_player_entindex() const { + return source_player_entindex_; +} +inline void CDOTAUserMsg_OverheadEvent::set_source_player_entindex(::google::protobuf::int32 value) { + set_has_source_player_entindex(); + source_player_entindex_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_TutorialTipInfo + +// optional string name = 1; +inline bool CDOTAUserMsg_TutorialTipInfo::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_TutorialTipInfo::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_TutorialTipInfo::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_TutorialTipInfo::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CDOTAUserMsg_TutorialTipInfo::name() const { + return *name_; +} +inline void CDOTAUserMsg_TutorialTipInfo::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CDOTAUserMsg_TutorialTipInfo::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CDOTAUserMsg_TutorialTipInfo::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_TutorialTipInfo::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CDOTAUserMsg_TutorialTipInfo::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 progress = 2; +inline bool CDOTAUserMsg_TutorialTipInfo::has_progress() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_TutorialTipInfo::set_has_progress() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_TutorialTipInfo::clear_has_progress() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_TutorialTipInfo::clear_progress() { + progress_ = 0; + clear_has_progress(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_TutorialTipInfo::progress() const { + return progress_; +} +inline void CDOTAUserMsg_TutorialTipInfo::set_progress(::google::protobuf::int32 value) { + set_has_progress(); + progress_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_WorldLine + +// optional int32 player_id = 1; +inline bool CDOTAUserMsg_WorldLine::has_player_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_WorldLine::set_has_player_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_WorldLine::clear_has_player_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_WorldLine::clear_player_id() { + player_id_ = 0; + clear_has_player_id(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_WorldLine::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_WorldLine::set_player_id(::google::protobuf::int32 value) { + set_has_player_id(); + player_id_ = value; +} + +// optional .CDOTAMsg_WorldLine worldline = 2; +inline bool CDOTAUserMsg_WorldLine::has_worldline() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_WorldLine::set_has_worldline() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_WorldLine::clear_has_worldline() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_WorldLine::clear_worldline() { + if (worldline_ != NULL) worldline_->::CDOTAMsg_WorldLine::Clear(); + clear_has_worldline(); +} +inline const ::CDOTAMsg_WorldLine& CDOTAUserMsg_WorldLine::worldline() const { + return worldline_ != NULL ? *worldline_ : *default_instance_->worldline_; +} +inline ::CDOTAMsg_WorldLine* CDOTAUserMsg_WorldLine::mutable_worldline() { + set_has_worldline(); + if (worldline_ == NULL) worldline_ = new ::CDOTAMsg_WorldLine; + return worldline_; +} +inline ::CDOTAMsg_WorldLine* CDOTAUserMsg_WorldLine::release_worldline() { + clear_has_worldline(); + ::CDOTAMsg_WorldLine* temp = worldline_; + worldline_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_TournamentDrop + +// optional string winner_name = 1; +inline bool CDOTAUserMsg_TournamentDrop::has_winner_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_TournamentDrop::set_has_winner_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_TournamentDrop::clear_has_winner_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_TournamentDrop::clear_winner_name() { + if (winner_name_ != &::google::protobuf::internal::kEmptyString) { + winner_name_->clear(); + } + clear_has_winner_name(); +} +inline const ::std::string& CDOTAUserMsg_TournamentDrop::winner_name() const { + return *winner_name_; +} +inline void CDOTAUserMsg_TournamentDrop::set_winner_name(const ::std::string& value) { + set_has_winner_name(); + if (winner_name_ == &::google::protobuf::internal::kEmptyString) { + winner_name_ = new ::std::string; + } + winner_name_->assign(value); +} +inline void CDOTAUserMsg_TournamentDrop::set_winner_name(const char* value) { + set_has_winner_name(); + if (winner_name_ == &::google::protobuf::internal::kEmptyString) { + winner_name_ = new ::std::string; + } + winner_name_->assign(value); +} +inline void CDOTAUserMsg_TournamentDrop::set_winner_name(const char* value, size_t size) { + set_has_winner_name(); + if (winner_name_ == &::google::protobuf::internal::kEmptyString) { + winner_name_ = new ::std::string; + } + winner_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_TournamentDrop::mutable_winner_name() { + set_has_winner_name(); + if (winner_name_ == &::google::protobuf::internal::kEmptyString) { + winner_name_ = new ::std::string; + } + return winner_name_; +} +inline ::std::string* CDOTAUserMsg_TournamentDrop::release_winner_name() { + clear_has_winner_name(); + if (winner_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = winner_name_; + winner_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 event_type = 2; +inline bool CDOTAUserMsg_TournamentDrop::has_event_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_TournamentDrop::set_has_event_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_TournamentDrop::clear_has_event_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_TournamentDrop::clear_event_type() { + event_type_ = 0; + clear_has_event_type(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_TournamentDrop::event_type() const { + return event_type_; +} +inline void CDOTAUserMsg_TournamentDrop::set_event_type(::google::protobuf::int32 value) { + set_has_event_type(); + event_type_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ChatWheel + +// optional .EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok]; +inline bool CDOTAUserMsg_ChatWheel::has_chat_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ChatWheel::set_has_chat_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ChatWheel::clear_has_chat_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ChatWheel::clear_chat_message() { + chat_message_ = 0; + clear_has_chat_message(); +} +inline EDOTAChatWheelMessage CDOTAUserMsg_ChatWheel::chat_message() const { + return static_cast< EDOTAChatWheelMessage >(chat_message_); +} +inline void CDOTAUserMsg_ChatWheel::set_chat_message(EDOTAChatWheelMessage value) { + GOOGLE_DCHECK(EDOTAChatWheelMessage_IsValid(value)); + set_has_chat_message(); + chat_message_ = value; +} + +// optional uint32 player_id = 2; +inline bool CDOTAUserMsg_ChatWheel::has_player_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ChatWheel::set_has_player_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ChatWheel::clear_has_player_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ChatWheel::clear_player_id() { + player_id_ = 0u; + clear_has_player_id(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_ChatWheel::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_ChatWheel::set_player_id(::google::protobuf::uint32 value) { + set_has_player_id(); + player_id_ = value; +} + +// optional uint32 account_id = 3; +inline bool CDOTAUserMsg_ChatWheel::has_account_id() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_ChatWheel::set_has_account_id() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_ChatWheel::clear_has_account_id() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_ChatWheel::clear_account_id() { + account_id_ = 0u; + clear_has_account_id(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_ChatWheel::account_id() const { + return account_id_; +} +inline void CDOTAUserMsg_ChatWheel::set_account_id(::google::protobuf::uint32 value) { + set_has_account_id(); + account_id_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ReceivedXmasGift + +// optional int32 player_id = 1; +inline bool CDOTAUserMsg_ReceivedXmasGift::has_player_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ReceivedXmasGift::set_has_player_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ReceivedXmasGift::clear_has_player_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ReceivedXmasGift::clear_player_id() { + player_id_ = 0; + clear_has_player_id(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ReceivedXmasGift::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_ReceivedXmasGift::set_player_id(::google::protobuf::int32 value) { + set_has_player_id(); + player_id_ = value; +} + +// optional string item_name = 2; +inline bool CDOTAUserMsg_ReceivedXmasGift::has_item_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_ReceivedXmasGift::set_has_item_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_ReceivedXmasGift::clear_has_item_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_ReceivedXmasGift::clear_item_name() { + if (item_name_ != &::google::protobuf::internal::kEmptyString) { + item_name_->clear(); + } + clear_has_item_name(); +} +inline const ::std::string& CDOTAUserMsg_ReceivedXmasGift::item_name() const { + return *item_name_; +} +inline void CDOTAUserMsg_ReceivedXmasGift::set_item_name(const ::std::string& value) { + set_has_item_name(); + if (item_name_ == &::google::protobuf::internal::kEmptyString) { + item_name_ = new ::std::string; + } + item_name_->assign(value); +} +inline void CDOTAUserMsg_ReceivedXmasGift::set_item_name(const char* value) { + set_has_item_name(); + if (item_name_ == &::google::protobuf::internal::kEmptyString) { + item_name_ = new ::std::string; + } + item_name_->assign(value); +} +inline void CDOTAUserMsg_ReceivedXmasGift::set_item_name(const char* value, size_t size) { + set_has_item_name(); + if (item_name_ == &::google::protobuf::internal::kEmptyString) { + item_name_ = new ::std::string; + } + item_name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_ReceivedXmasGift::mutable_item_name() { + set_has_item_name(); + if (item_name_ == &::google::protobuf::internal::kEmptyString) { + item_name_ = new ::std::string; + } + return item_name_; +} +inline ::std::string* CDOTAUserMsg_ReceivedXmasGift::release_item_name() { + clear_has_item_name(); + if (item_name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = item_name_; + item_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 inventory_slot = 3; +inline bool CDOTAUserMsg_ReceivedXmasGift::has_inventory_slot() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_ReceivedXmasGift::set_has_inventory_slot() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_ReceivedXmasGift::clear_has_inventory_slot() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_ReceivedXmasGift::clear_inventory_slot() { + inventory_slot_ = 0; + clear_has_inventory_slot(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ReceivedXmasGift::inventory_slot() const { + return inventory_slot_; +} +inline void CDOTAUserMsg_ReceivedXmasGift::set_inventory_slot(::google::protobuf::int32 value) { + set_has_inventory_slot(); + inventory_slot_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_ShowSurvey + +// optional int32 survey_id = 1; +inline bool CDOTAUserMsg_ShowSurvey::has_survey_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_ShowSurvey::set_has_survey_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_ShowSurvey::clear_has_survey_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_ShowSurvey::clear_survey_id() { + survey_id_ = 0; + clear_has_survey_id(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_ShowSurvey::survey_id() const { + return survey_id_; +} +inline void CDOTAUserMsg_ShowSurvey::set_survey_id(::google::protobuf::int32 value) { + set_has_survey_id(); + survey_id_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_UpdateSharedContent + +// optional int32 slot_type = 1; +inline bool CDOTAUserMsg_UpdateSharedContent::has_slot_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_UpdateSharedContent::set_has_slot_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_UpdateSharedContent::clear_has_slot_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_UpdateSharedContent::clear_slot_type() { + slot_type_ = 0; + clear_has_slot_type(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_UpdateSharedContent::slot_type() const { + return slot_type_; +} +inline void CDOTAUserMsg_UpdateSharedContent::set_slot_type(::google::protobuf::int32 value) { + set_has_slot_type(); + slot_type_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_TutorialRequestExp + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_TutorialFade + +// optional int32 tgt_alpha = 1; +inline bool CDOTAUserMsg_TutorialFade::has_tgt_alpha() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_TutorialFade::set_has_tgt_alpha() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_TutorialFade::clear_has_tgt_alpha() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_TutorialFade::clear_tgt_alpha() { + tgt_alpha_ = 0; + clear_has_tgt_alpha(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_TutorialFade::tgt_alpha() const { + return tgt_alpha_; +} +inline void CDOTAUserMsg_TutorialFade::set_tgt_alpha(::google::protobuf::int32 value) { + set_has_tgt_alpha(); + tgt_alpha_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_TutorialPingMinimap + +// optional uint32 player_id = 1; +inline bool CDOTAUserMsg_TutorialPingMinimap::has_player_id() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_has_player_id() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_has_player_id() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_player_id() { + player_id_ = 0u; + clear_has_player_id(); +} +inline ::google::protobuf::uint32 CDOTAUserMsg_TutorialPingMinimap::player_id() const { + return player_id_; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_player_id(::google::protobuf::uint32 value) { + set_has_player_id(); + player_id_ = value; +} + +// optional float pos_x = 2; +inline bool CDOTAUserMsg_TutorialPingMinimap::has_pos_x() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_has_pos_x() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_has_pos_x() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_pos_x() { + pos_x_ = 0; + clear_has_pos_x(); +} +inline float CDOTAUserMsg_TutorialPingMinimap::pos_x() const { + return pos_x_; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_pos_x(float value) { + set_has_pos_x(); + pos_x_ = value; +} + +// optional float pos_y = 3; +inline bool CDOTAUserMsg_TutorialPingMinimap::has_pos_y() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_has_pos_y() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_has_pos_y() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_pos_y() { + pos_y_ = 0; + clear_has_pos_y(); +} +inline float CDOTAUserMsg_TutorialPingMinimap::pos_y() const { + return pos_y_; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_pos_y(float value) { + set_has_pos_y(); + pos_y_ = value; +} + +// optional float pos_z = 4; +inline bool CDOTAUserMsg_TutorialPingMinimap::has_pos_z() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_has_pos_z() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_has_pos_z() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_pos_z() { + pos_z_ = 0; + clear_has_pos_z(); +} +inline float CDOTAUserMsg_TutorialPingMinimap::pos_z() const { + return pos_z_; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_pos_z(float value) { + set_has_pos_z(); + pos_z_ = value; +} + +// optional int32 entity_index = 5; +inline bool CDOTAUserMsg_TutorialPingMinimap::has_entity_index() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_has_entity_index() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_has_entity_index() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAUserMsg_TutorialPingMinimap::clear_entity_index() { + entity_index_ = 0; + clear_has_entity_index(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_TutorialPingMinimap::entity_index() const { + return entity_index_; +} +inline void CDOTAUserMsg_TutorialPingMinimap::set_entity_index(::google::protobuf::int32 value) { + set_has_entity_index(); + entity_index_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTA_UM_GamerulesStateChanged + +// optional uint32 state = 1; +inline bool CDOTA_UM_GamerulesStateChanged::has_state() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTA_UM_GamerulesStateChanged::set_has_state() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTA_UM_GamerulesStateChanged::clear_has_state() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTA_UM_GamerulesStateChanged::clear_state() { + state_ = 0u; + clear_has_state(); +} +inline ::google::protobuf::uint32 CDOTA_UM_GamerulesStateChanged::state() const { + return state_; +} +inline void CDOTA_UM_GamerulesStateChanged::set_state(::google::protobuf::uint32 value) { + set_has_state(); + state_ = value; +} + + +// @@protoc_insertion_point(namespace_scope) + +#ifndef SWIG +namespace google { +namespace protobuf { + +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CDOTAResponseQuerySerialized_Fact_ValueType>() { + return ::CDOTAResponseQuerySerialized_Fact_ValueType_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< EDotaUserMessages>() { + return EDotaUserMessages_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< DOTA_CHAT_MESSAGE>() { + return DOTA_CHAT_MESSAGE_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< DOTA_NO_BATTLE_POINTS_REASONS>() { + return DOTA_NO_BATTLE_POINTS_REASONS_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< DOTA_CHAT_INFORMATIONAL>() { + return DOTA_CHAT_INFORMATIONAL_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< DOTA_COMBATLOG_TYPES>() { + return DOTA_COMBATLOG_TYPES_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< EDotaEntityMessages>() { + return EDotaEntityMessages_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< DOTA_PARTICLE_MESSAGE>() { + return DOTA_PARTICLE_MESSAGE_descriptor(); +} +template <> +inline const EnumDescriptor* GetEnumDescriptor< DOTA_OVERHEAD_ALERT>() { + return DOTA_OVERHEAD_ALERT_descriptor(); +} + +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_dota_5fusermessages_2eproto__INCLUDED diff --git a/public/game/shared/dota/protobuf/dota_usermessages.proto b/public/game/shared/dota/protobuf/dota_usermessages.proto new file mode 100644 index 00000000..dfcf6e63 --- /dev/null +++ b/public/game/shared/dota/protobuf/dota_usermessages.proto @@ -0,0 +1,700 @@ +//====== 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. +// +//============================================================================= + +// We care more about speed than code size +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"; + +// for CMsgVector, etc. +import "netmessages.proto"; + +// for Activity +import "ai_activity.proto"; + +// for structures shared between user and client messages +import "dota_commonmessages.proto"; + +//============================================================================= +// Dota User Messages +//============================================================================= + +enum EDotaUserMessages +{ + DOTA_UM_AddUnitToSelection = 64; + DOTA_UM_AIDebugLine = 65; + DOTA_UM_ChatEvent = 66; + DOTA_UM_CombatHeroPositions = 67; + DOTA_UM_CombatLogData = 68; + DOTA_UM_CombatLogShowDeath = 70; + DOTA_UM_CreateLinearProjectile = 71; + DOTA_UM_DestroyLinearProjectile = 72; + DOTA_UM_DodgeTrackingProjectiles = 73; + DOTA_UM_GlobalLightColor = 74; + DOTA_UM_GlobalLightDirection = 75; + DOTA_UM_InvalidCommand = 76; + DOTA_UM_LocationPing = 77; + DOTA_UM_MapLine = 78; + DOTA_UM_MiniKillCamInfo = 79; + DOTA_UM_MinimapDebugPoint = 80; + DOTA_UM_MinimapEvent = 81; + DOTA_UM_NevermoreRequiem = 82; + DOTA_UM_OverheadEvent = 83; + DOTA_UM_SetNextAutobuyItem = 84; + DOTA_UM_SharedCooldown = 85; + DOTA_UM_SpectatorPlayerClick = 86; + DOTA_UM_TutorialTipInfo = 87; + DOTA_UM_UnitEvent = 88; + DOTA_UM_ParticleManager = 89; + DOTA_UM_BotChat = 90; + DOTA_UM_HudError = 91; + DOTA_UM_ItemPurchased = 92; + DOTA_UM_Ping = 93; + DOTA_UM_ItemFound = 94; + DOTA_UM_CharacterSpeakConcept = 95; + DOTA_UM_SwapVerify = 96; + DOTA_UM_WorldLine = 97; + DOTA_UM_TournamentDrop = 98; + DOTA_UM_ItemAlert = 99; + DOTA_UM_HalloweenDrops = 100; + DOTA_UM_ChatWheel = 101; + DOTA_UM_ReceivedXmasGift = 102; + DOTA_UM_UpdateSharedContent = 103; + DOTA_UM_TutorialRequestExp = 104; + DOTA_UM_TutorialPingMinimap = 105; + DOTA_UM_GamerulesStateChanged = 106; + DOTA_UM_ShowSurvey = 107; + DOTA_UM_TutorialFade = 108; +} + +//============================================================================= + +message CDOTAUserMsg_AIDebugLine +{ + optional string message = 1; +} + +message CDOTAUserMsg_Ping +{ + optional string message = 1; +} + +enum DOTA_CHAT_MESSAGE +{ + CHAT_MESSAGE_INVALID = -1; + + CHAT_MESSAGE_HERO_KILL = 0; + CHAT_MESSAGE_HERO_DENY = 1; + CHAT_MESSAGE_BARRACKS_KILL = 2; + CHAT_MESSAGE_TOWER_KILL = 3; + CHAT_MESSAGE_TOWER_DENY = 4; + CHAT_MESSAGE_FIRSTBLOOD = 5; + CHAT_MESSAGE_STREAK_KILL = 6; + CHAT_MESSAGE_BUYBACK = 7; + CHAT_MESSAGE_AEGIS = 8; + CHAT_MESSAGE_ROSHAN_KILL = 9; + CHAT_MESSAGE_COURIER_LOST = 10; + CHAT_MESSAGE_COURIER_RESPAWNED = 11; + CHAT_MESSAGE_GLYPH_USED = 12; + CHAT_MESSAGE_ITEM_PURCHASE = 13; + CHAT_MESSAGE_CONNECT = 14; + CHAT_MESSAGE_DISCONNECT = 15; + CHAT_MESSAGE_DISCONNECT_WAIT_FOR_RECONNECT = 16; + CHAT_MESSAGE_DISCONNECT_TIME_REMAINING = 17; + CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_PLURAL = 18; + CHAT_MESSAGE_RECONNECT = 19; + CHAT_MESSAGE_ABANDON = 20; + CHAT_MESSAGE_SAFE_TO_LEAVE = 21; + CHAT_MESSAGE_RUNE_PICKUP = 22; + CHAT_MESSAGE_RUNE_BOTTLE = 23; + CHAT_MESSAGE_INTHEBAG = 24; + CHAT_MESSAGE_SECRETSHOP = 25; + CHAT_MESSAGE_ITEM_AUTOPURCHASED = 26; + CHAT_MESSAGE_ITEMS_COMBINED = 27; + CHAT_MESSAGE_SUPER_CREEPS = 28; + CHAT_MESSAGE_CANT_USE_ACTION_ITEM = 29; + CHAT_MESSAGE_CHARGES_EXHAUSTED = 30; + CHAT_MESSAGE_CANTPAUSE = 31; + CHAT_MESSAGE_NOPAUSESLEFT = 32; + CHAT_MESSAGE_CANTPAUSEYET = 33; + CHAT_MESSAGE_PAUSED = 34; + CHAT_MESSAGE_UNPAUSE_COUNTDOWN = 35; + CHAT_MESSAGE_UNPAUSED = 36; + CHAT_MESSAGE_AUTO_UNPAUSED = 37; + CHAT_MESSAGE_YOUPAUSED = 38; + CHAT_MESSAGE_CANTUNPAUSETEAM = 39; + CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER = 40; + CHAT_MESSAGE_VOICE_TEXT_BANNED = 41; + CHAT_MESSAGE_SPECTATORS_WATCHING_THIS_GAME = 42; + CHAT_MESSAGE_REPORT_REMINDER = 43; + CHAT_MESSAGE_ECON_ITEM = 44; + CHAT_MESSAGE_TAUNT = 45; + CHAT_MESSAGE_RANDOM = 46; + CHAT_MESSAGE_RD_TURN = 47; + CHAT_MESSAGE_SAFE_TO_LEAVE_ABANDONER_EARLY = 48; + CHAT_MESSAGE_DROP_RATE_BONUS = 49; + CHAT_MESSAGE_NO_BATTLE_POINTS = 50; + CHAT_MESSAGE_DENIED_AEGIS = 51; + CHAT_MESSAGE_INFORMATIONAL = 52; + CHAT_MESSAGE_AEGIS_STOLEN = 53; + CHAT_MESSAGE_ROSHAN_CANDY = 54; + CHAT_MESSAGE_ITEM_GIFTED = 55; + CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL = 56; +} + +enum DOTA_NO_BATTLE_POINTS_REASONS +{ + NO_BATTLE_POINTS_WRONG_LOBBY_TYPE = 1; + NO_BATTLE_POINTS_PRACTICE_BOTS = 2; + NO_BATTLE_POINTS_CHEATS_ENABLED = 3; + NO_BATTLE_POINTS_LOW_PRIORITY = 4; +} + +enum DOTA_CHAT_INFORMATIONAL +{ + COOP_BATTLE_POINTS_RULES = 1; +} + +message CDOTAUserMsg_SwapVerify +{ + optional uint32 player_id = 1; +} + +message CDOTAUserMsg_ChatEvent +{ + required DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID]; + + optional uint32 value = 2; + + // ugh + optional sint32 playerid_1 = 3 [ default = -1 ]; + optional sint32 playerid_2 = 4 [ default = -1 ]; + optional sint32 playerid_3 = 5 [ default = -1 ]; + optional sint32 playerid_4 = 6 [ default = -1 ]; + optional sint32 playerid_5 = 7 [ default = -1 ]; + optional sint32 playerid_6 = 8 [ default = -1 ]; +} + +enum DOTA_COMBATLOG_TYPES +{ + DOTA_COMBATLOG_DAMAGE = 0; + DOTA_COMBATLOG_HEAL = 1; + DOTA_COMBATLOG_MODIFIER_ADD = 2; + DOTA_COMBATLOG_MODIFIER_REMOVE = 3; + DOTA_COMBATLOG_DEATH = 4; +} + +message CDOTAUserMsg_CombatLogData +{ + optional DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_DAMAGE]; + optional uint32 target_name = 2; + optional uint32 attacker_name = 3; + optional bool attacker_illusion = 4; + optional bool target_illusion = 5; + optional uint32 inflictor_name = 6; + optional int32 value = 7; + optional int32 health = 8; + optional float time = 9; +} + +message CDOTAUserMsg_CombatLogShowDeath +{ +} + +message CDOTAUserMsg_BotChat +{ + optional uint32 player_id = 1; + optional string format = 2; + optional string message = 3; + optional string target = 4; +} + +message CDOTAUserMsg_CombatHeroPositions +{ + optional uint32 index = 1; + optional int32 time = 2; + optional CMsgVector2D world_pos = 3; + optional int32 health = 4; +} + +message CDOTAUserMsg_MiniKillCamInfo +{ + message Attacker + { + optional uint32 attacker = 1; + optional int32 total_damage = 2; + + message Ability + { + optional uint32 ability = 1; + optional int32 damage = 2; + } + repeated Ability abilities = 3; + } + repeated Attacker attackers = 1; +} + +message CDOTAUserMsg_GlobalLightColor +{ + optional uint32 color = 1; + optional float duration = 2; +} + +message CDOTAUserMsg_GlobalLightDirection +{ + optional CMsgVector direction = 1; + optional float duration = 2; +} + +message CDOTAUserMsg_LocationPing +{ + optional uint32 player_id = 1; + optional CDOTAMsg_LocationPing location_ping = 2; +} + +message CDOTAUserMsg_ItemAlert +{ + optional uint32 player_id = 1; + optional CDOTAMsg_ItemAlert item_alert = 2; +} + +message CDOTAUserMsg_MinimapEvent +{ + optional int32 event_type = 1; + optional int32 entity_handle = 2; + optional int32 x = 3; + optional int32 y = 4; + optional int32 duration = 5; +} + +message CDOTAUserMsg_MapLine +{ + optional int32 player_id = 1; + optional CDOTAMsg_MapLine mapline = 2; +} + +message CDOTAUserMsg_MinimapDebugPoint +{ + optional CMsgVector location = 1; + optional uint32 color = 2; + optional int32 size = 3; + optional float duration = 4; +} + +message CDOTAUserMsg_CreateLinearProjectile +{ + optional CMsgVector origin = 1; + optional CMsgVector2D velocity = 2; + optional int32 latency = 3; + optional int32 entindex = 4; + optional int32 particle_index = 5; + optional int32 handle = 6; +} + +message CDOTAUserMsg_DestroyLinearProjectile +{ + optional int32 handle = 1; +} + +message CDOTAUserMsg_DodgeTrackingProjectiles +{ + required int32 entindex = 1; +} + +message CDOTAUserMsg_SpectatorPlayerClick +{ + required int32 entindex = 1; + optional int32 order_type = 2; + optional int32 target_index = 3; +} + +message CDOTAUserMsg_NevermoreRequiem +{ + optional int32 entity_handle = 1; + optional int32 lines = 2; + optional CMsgVector origin = 3; +} + +message CDOTAUserMsg_InvalidCommand +{ + optional string message = 1; +} + +message CDOTAUserMsg_HudError +{ + optional int32 order_id = 1; +} + +message CDOTAUserMsg_SharedCooldown +{ + optional int32 entindex = 1; + optional string name = 2; + optional float cooldown = 3; + optional int32 name_index = 4; +} + +message CDOTAUserMsg_SetNextAutobuyItem +{ + optional string name = 1; +} + +message CDOTAUserMsg_HalloweenDrops +{ + repeated uint32 item_defs = 1; + repeated uint32 player_ids = 2; + optional uint32 prize_list = 3; +} + +enum EDotaEntityMessages +{ + DOTA_UNIT_SPEECH = 0; + DOTA_UNIT_SPEECH_MUTE = 1; + DOTA_UNIT_ADD_GESTURE = 2; + DOTA_UNIT_REMOVE_GESTURE = 3; + DOTA_UNIT_REMOVE_ALL_GESTURES = 4; + DOTA_UNIT_FADE_GESTURE = 6; + DOTA_UNIT_SPEECH_CLIENTSIDE_RULES = 7; +} + +message CDOTAResponseQuerySerialized +{ + message Fact + { + enum ValueType + { + NUMERIC = 1; + STRING = 2; + } + + required int32 key = 1; + required ValueType valtype = 2 [default = NUMERIC]; + optional float val_numeric = 3; + optional string val_string = 4; + } + + repeated Fact facts = 1; +} + +message CDOTASpeechMatchOnClient +{ + optional int32 concept = 1; + optional int32 recipient_type = 2; + optional CDOTAResponseQuerySerialized responsequery = 3; + optional sfixed32 randomseed = 4 [default = 0]; +} + +message CDOTAUserMsg_UnitEvent +{ + required EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH]; + required int32 entity_index = 2; + + message Speech + { + optional int32 concept = 1; + optional string response = 2; + optional int32 recipient_type = 3; + optional int32 level = 4; + optional bool muteable = 5 [default = false]; + } + + optional Speech speech = 3; + + message SpeechMute + { + optional float delay = 1 [default = 0.5]; + } + + optional SpeechMute speech_mute = 4; + + message AddGesture + { + optional Activity activity = 1 [default = ACT_INVALID]; + optional int32 slot = 2; + optional float fade_in = 3 [default = 0]; + optional float fade_out = 4 [default = 0.1]; + } + + optional AddGesture add_gesture = 5; + + message RemoveGesture + { + optional Activity activity = 1 [default = ACT_INVALID]; + } + + optional RemoveGesture remove_gesture = 6; + + message BloodImpact + { + optional int32 scale = 1; + optional int32 x_normal = 2; + optional int32 y_normal = 3; + } + + optional BloodImpact blood_impact = 7; + + message FadeGesture + { + optional Activity activity = 1 [default = ACT_INVALID]; + } + + optional FadeGesture fade_gesture = 8; + optional CDOTASpeechMatchOnClient speech_match_on_client = 9; +} + +message CDOTAUserMsg_ItemPurchased +{ + optional int32 item_index = 1; +} + +message CDOTAUserMsg_ItemFound +{ + optional int32 player = 1; + optional int32 quality = 2; + optional int32 rarity = 3; + optional int32 method = 4; + optional int32 itemdef = 5; +} + +enum DOTA_PARTICLE_MESSAGE +{ + DOTA_PARTICLE_MANAGER_EVENT_CREATE = 0; + DOTA_PARTICLE_MANAGER_EVENT_UPDATE = 1; + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2; + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3; + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4; + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5; + DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6; + DOTA_PARTICLE_MANAGER_EVENT_DESTROY = 7; + 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; +}; + +message CDOTAUserMsg_ParticleManager +{ + message ReleaseParticleIndex + { + } + message CreateParticle + { + optional int32 particle_name_index = 1; + optional int32 attach_type = 2; + optional int32 entity_handle = 3; + } + message DestroyParticle + { + optional bool destroy_immediately = 1; + } + message DestroyParticleInvolving + { + optional bool destroy_immediately = 1; + optional int32 entity_handle = 3; + } + message UpdateParticle + { + optional int32 control_point = 1; + optional CMsgVector position = 2; + } + message UpdateParticleFwd + { + optional int32 control_point = 1; + optional CMsgVector forward = 2; + } + message UpdateParticleOrient + { + optional int32 control_point = 1; + optional CMsgVector forward = 2; + optional CMsgVector right = 3; + optional CMsgVector up = 4; + } + message UpdateParticleFallback + { + optional int32 control_point = 1; + optional CMsgVector position = 2; + } + message UpdateParticleOffset + { + optional int32 control_point = 1; + optional CMsgVector origin_offset = 2; + } + message UpdateParticleEnt + { + optional int32 control_point = 1; + optional int32 entity_handle = 2; + optional int32 attach_type = 3; + optional int32 attachment = 4; + optional CMsgVector fallback_position = 5; + } + message UpdateParticleLatency + { + optional int32 player_latency = 1; + optional int32 tick = 2; + } + + message UpdateParticleShouldDraw + { + optional bool should_draw = 1; + } + + required DOTA_PARTICLE_MESSAGE type = 1 [default = DOTA_PARTICLE_MANAGER_EVENT_CREATE]; + required uint32 index = 2; + + optional ReleaseParticleIndex release_particle_index = 3; // DOTA_PARTICLE_MANAGER_EVENT_RELEASE + optional CreateParticle create_particle = 4; // DOTA_PARTICLE_MANAGER_EVENT_CREATE + optional DestroyParticle destroy_particle = 5; // DOTA_PARTICLE_MANAGER_EVENT_DESTROY + optional DestroyParticleInvolving destroy_particle_involving = 6; // DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING + optional UpdateParticle update_particle = 7; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE + optional UpdateParticleFwd update_particle_fwd = 8; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD + optional UpdateParticleOrient update_particle_orient = 9; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION + 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 +} + +// If you modify this, make sure you update g_OverheadMessageType! +enum DOTA_OVERHEAD_ALERT +{ + OVERHEAD_ALERT_GOLD = 0; + OVERHEAD_ALERT_DENY = 1; + OVERHEAD_ALERT_CRITICAL = 2; + OVERHEAD_ALERT_XP = 3; + OVERHEAD_ALERT_BONUS_SPELL_DAMAGE = 4; + OVERHEAD_ALERT_MISS = 5; + OVERHEAD_ALERT_DAMAGE = 6; + OVERHEAD_ALERT_EVADE = 7; + OVERHEAD_ALERT_BLOCK = 8; + OVERHEAD_ALERT_BONUS_POISON_DAMAGE = 9; + OVERHEAD_ALERT_HEAL = 10; + OVERHEAD_ALERT_MANA_ADD = 11; + OVERHEAD_ALERT_MANA_LOSS = 12; +}; + +message CDOTAUserMsg_OverheadEvent +{ + required DOTA_OVERHEAD_ALERT message_type = 1 [default = OVERHEAD_ALERT_GOLD]; + optional int32 value = 2; + optional int32 target_player_entindex = 3; + optional int32 target_entindex = 4; + optional int32 source_player_entindex = 5; +} + +message CDOTAUserMsg_TutorialTipInfo +{ + optional string name = 1; + optional int32 progress = 2; +} + +message CDOTAUserMsg_WorldLine +{ + optional int32 player_id = 1; + optional CDOTAMsg_WorldLine worldline = 2; +} + +message CDOTAUserMsg_TournamentDrop +{ + optional string winner_name = 1; + optional int32 event_type = 2; +} + +message CDOTAUserMsg_ChatWheel +{ + optional EDOTAChatWheelMessage chat_message = 1 [default = k_EDOTA_CW_Ok]; + optional uint32 player_id = 2; + optional uint32 account_id = 3; +} + +message CDOTAUserMsg_ReceivedXmasGift +{ + optional int32 player_id = 1; + optional string item_name = 2; + optional int32 inventory_slot = 3; +} + +message CDOTAUserMsg_ShowSurvey +{ + optional int32 survey_id = 1; +} + +message CDOTAUserMsg_UpdateSharedContent +{ + optional int32 slot_type = 1; +} + +message CDOTAUserMsg_TutorialRequestExp +{ +} + +message CDOTAUserMsg_TutorialFade +{ + optional int32 tgt_alpha = 1; +} + +message CDOTAUserMsg_TutorialPingMinimap +{ + optional uint32 player_id = 1; + optional float pos_x = 2; + optional float pos_y = 3; + optional float pos_z = 4; + optional int32 entity_index = 5; +} + +message CDOTA_UM_GamerulesStateChanged +{ + optional uint32 state = 1; +} + diff --git a/public/game/shared/protobuf/usermessages.pb.cc b/public/game/shared/protobuf/usermessages.pb.cc new file mode 100644 index 00000000..acefc24d --- /dev/null +++ b/public/game/shared/protobuf/usermessages.pb.cc @@ -0,0 +1,9054 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "usermessages.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) + +namespace { + +const ::google::protobuf::Descriptor* CUserMsg_AchievementEvent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_AchievementEvent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_CloseCaption_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_CloseCaption_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_CurrentTimescale_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_CurrentTimescale_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_DesiredTimescale_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_DesiredTimescale_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_Fade_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_Fade_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_Shake_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_Shake_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_ShakeDir_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_ShakeDir_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_Tilt_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_Tilt_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_SayText_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_SayText_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_SayText2_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_SayText2_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_HudMsg_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_HudMsg_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_HudText_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_HudText_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_TextMsg_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_TextMsg_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_GameTitle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_GameTitle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_ResetHUD_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_ResetHUD_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_SendAudio_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_SendAudio_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_VoiceMask_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_VoiceMask_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_RequestState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_RequestState_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_HintText_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_HintText_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_KeyHintText_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_KeyHintText_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_StatsCrawlMsg_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_StatsCrawlMsg_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_StatsSkipState_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_StatsSkipState_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_VoiceSubtitle_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_VoiceSubtitle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_VGUIMenu_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_VGUIMenu_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_VGUIMenu_Keys_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_VGUIMenu_Keys_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_Geiger_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_Geiger_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_Rumble_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_Rumble_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_Train_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_Train_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_SayTextChannel_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_SayTextChannel_reflection_ = NULL; +const ::google::protobuf::Descriptor* CUserMsg_MessageText_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CUserMsg_MessageText_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* EBaseUserMessages_descriptor_ = NULL; + +} // namespace + + +void protobuf_AssignDesc_usermessages_2eproto() { + protobuf_AddDesc_usermessages_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "usermessages.proto"); + GOOGLE_CHECK(file != NULL); + CUserMsg_AchievementEvent_descriptor_ = file->message_type(0); + static const int CUserMsg_AchievementEvent_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_AchievementEvent, achievement_), + }; + CUserMsg_AchievementEvent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_AchievementEvent_descriptor_, + CUserMsg_AchievementEvent::default_instance_, + CUserMsg_AchievementEvent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_AchievementEvent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_AchievementEvent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_AchievementEvent)); + CUserMsg_CloseCaption_descriptor_ = file->message_type(1); + static const int CUserMsg_CloseCaption_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_CloseCaption, hash_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_CloseCaption, duration_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_CloseCaption, from_player_), + }; + CUserMsg_CloseCaption_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_CloseCaption_descriptor_, + CUserMsg_CloseCaption::default_instance_, + CUserMsg_CloseCaption_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_CloseCaption, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_CloseCaption, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_CloseCaption)); + CUserMsg_CurrentTimescale_descriptor_ = file->message_type(2); + static const int CUserMsg_CurrentTimescale_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_CurrentTimescale, current_), + }; + CUserMsg_CurrentTimescale_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_CurrentTimescale_descriptor_, + CUserMsg_CurrentTimescale::default_instance_, + CUserMsg_CurrentTimescale_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_CurrentTimescale, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_CurrentTimescale, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_CurrentTimescale)); + CUserMsg_DesiredTimescale_descriptor_ = file->message_type(3); + static const int CUserMsg_DesiredTimescale_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_DesiredTimescale, desired_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_DesiredTimescale, duration_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_DesiredTimescale, interpolator_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_DesiredTimescale, start_blend_time_), + }; + CUserMsg_DesiredTimescale_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_DesiredTimescale_descriptor_, + CUserMsg_DesiredTimescale::default_instance_, + CUserMsg_DesiredTimescale_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_DesiredTimescale, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_DesiredTimescale, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_DesiredTimescale)); + CUserMsg_Fade_descriptor_ = file->message_type(4); + static const int CUserMsg_Fade_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Fade, duration_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Fade, hold_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Fade, flags_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Fade, color_), + }; + CUserMsg_Fade_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_Fade_descriptor_, + CUserMsg_Fade::default_instance_, + CUserMsg_Fade_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Fade, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Fade, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_Fade)); + CUserMsg_Shake_descriptor_ = file->message_type(5); + static const int CUserMsg_Shake_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Shake, command_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Shake, amplitude_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Shake, frequency_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Shake, duration_), + }; + CUserMsg_Shake_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_Shake_descriptor_, + CUserMsg_Shake::default_instance_, + CUserMsg_Shake_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Shake, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Shake, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_Shake)); + CUserMsg_ShakeDir_descriptor_ = file->message_type(6); + static const int CUserMsg_ShakeDir_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_ShakeDir, shake_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_ShakeDir, direction_), + }; + CUserMsg_ShakeDir_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_ShakeDir_descriptor_, + CUserMsg_ShakeDir::default_instance_, + CUserMsg_ShakeDir_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_ShakeDir, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_ShakeDir, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_ShakeDir)); + CUserMsg_Tilt_descriptor_ = file->message_type(7); + static const int CUserMsg_Tilt_offsets_[5] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Tilt, command_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Tilt, ease_in_out_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Tilt, angle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Tilt, duration_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Tilt, time_), + }; + CUserMsg_Tilt_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_Tilt_descriptor_, + CUserMsg_Tilt::default_instance_, + CUserMsg_Tilt_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Tilt, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Tilt, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_Tilt)); + CUserMsg_SayText_descriptor_ = file->message_type(8); + static const int CUserMsg_SayText_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText, client_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText, text_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText, chat_), + }; + CUserMsg_SayText_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_SayText_descriptor_, + CUserMsg_SayText::default_instance_, + CUserMsg_SayText_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_SayText)); + CUserMsg_SayText2_descriptor_ = file->message_type(9); + static const int CUserMsg_SayText2_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText2, client_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText2, chat_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText2, format_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText2, prefix_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText2, text_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText2, location_), + }; + CUserMsg_SayText2_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_SayText2_descriptor_, + CUserMsg_SayText2::default_instance_, + CUserMsg_SayText2_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText2, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayText2, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_SayText2)); + CUserMsg_HudMsg_descriptor_ = file->message_type(10); + static const int CUserMsg_HudMsg_offsets_[11] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, channel_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, x_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, y_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, color1_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, color2_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, effect_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, fade_in_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, fade_out_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, hold_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, fx_time_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, message_), + }; + CUserMsg_HudMsg_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_HudMsg_descriptor_, + CUserMsg_HudMsg::default_instance_, + CUserMsg_HudMsg_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudMsg, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_HudMsg)); + CUserMsg_HudText_descriptor_ = file->message_type(11); + static const int CUserMsg_HudText_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudText, message_), + }; + CUserMsg_HudText_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_HudText_descriptor_, + CUserMsg_HudText::default_instance_, + CUserMsg_HudText_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudText, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HudText, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_HudText)); + CUserMsg_TextMsg_descriptor_ = file->message_type(12); + static const int CUserMsg_TextMsg_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_TextMsg, dest_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_TextMsg, param_), + }; + CUserMsg_TextMsg_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_TextMsg_descriptor_, + CUserMsg_TextMsg::default_instance_, + CUserMsg_TextMsg_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_TextMsg, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_TextMsg, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_TextMsg)); + CUserMsg_GameTitle_descriptor_ = file->message_type(13); + static const int CUserMsg_GameTitle_offsets_[1] = { + }; + CUserMsg_GameTitle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_GameTitle_descriptor_, + CUserMsg_GameTitle::default_instance_, + CUserMsg_GameTitle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_GameTitle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_GameTitle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_GameTitle)); + CUserMsg_ResetHUD_descriptor_ = file->message_type(14); + static const int CUserMsg_ResetHUD_offsets_[1] = { + }; + CUserMsg_ResetHUD_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_ResetHUD_descriptor_, + CUserMsg_ResetHUD::default_instance_, + CUserMsg_ResetHUD_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_ResetHUD, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_ResetHUD, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_ResetHUD)); + CUserMsg_SendAudio_descriptor_ = file->message_type(15); + static const int CUserMsg_SendAudio_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SendAudio, stop_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SendAudio, name_), + }; + CUserMsg_SendAudio_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_SendAudio_descriptor_, + CUserMsg_SendAudio::default_instance_, + CUserMsg_SendAudio_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SendAudio, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SendAudio, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_SendAudio)); + CUserMsg_VoiceMask_descriptor_ = file->message_type(16); + static const int CUserMsg_VoiceMask_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceMask, audible_players_mask_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceMask, player_mod_enabled_), + }; + CUserMsg_VoiceMask_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_VoiceMask_descriptor_, + CUserMsg_VoiceMask::default_instance_, + CUserMsg_VoiceMask_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceMask, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceMask, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_VoiceMask)); + CUserMsg_RequestState_descriptor_ = file->message_type(17); + static const int CUserMsg_RequestState_offsets_[1] = { + }; + CUserMsg_RequestState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_RequestState_descriptor_, + CUserMsg_RequestState::default_instance_, + CUserMsg_RequestState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_RequestState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_RequestState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_RequestState)); + CUserMsg_HintText_descriptor_ = file->message_type(18); + static const int CUserMsg_HintText_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HintText, message_), + }; + CUserMsg_HintText_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_HintText_descriptor_, + CUserMsg_HintText::default_instance_, + CUserMsg_HintText_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HintText, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_HintText, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_HintText)); + CUserMsg_KeyHintText_descriptor_ = file->message_type(19); + static const int CUserMsg_KeyHintText_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_KeyHintText, messages_), + }; + CUserMsg_KeyHintText_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_KeyHintText_descriptor_, + CUserMsg_KeyHintText::default_instance_, + CUserMsg_KeyHintText_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_KeyHintText, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_KeyHintText, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_KeyHintText)); + CUserMsg_StatsCrawlMsg_descriptor_ = file->message_type(20); + static const int CUserMsg_StatsCrawlMsg_offsets_[1] = { + }; + CUserMsg_StatsCrawlMsg_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_StatsCrawlMsg_descriptor_, + CUserMsg_StatsCrawlMsg::default_instance_, + CUserMsg_StatsCrawlMsg_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_StatsCrawlMsg, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_StatsCrawlMsg, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_StatsCrawlMsg)); + CUserMsg_StatsSkipState_descriptor_ = file->message_type(21); + static const int CUserMsg_StatsSkipState_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_StatsSkipState, num_skips_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_StatsSkipState, num_players_), + }; + CUserMsg_StatsSkipState_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_StatsSkipState_descriptor_, + CUserMsg_StatsSkipState::default_instance_, + CUserMsg_StatsSkipState_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_StatsSkipState, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_StatsSkipState, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_StatsSkipState)); + CUserMsg_VoiceSubtitle_descriptor_ = file->message_type(22); + static const int CUserMsg_VoiceSubtitle_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceSubtitle, ent_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceSubtitle, menu_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceSubtitle, item_), + }; + CUserMsg_VoiceSubtitle_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_VoiceSubtitle_descriptor_, + CUserMsg_VoiceSubtitle::default_instance_, + CUserMsg_VoiceSubtitle_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceSubtitle, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VoiceSubtitle, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_VoiceSubtitle)); + CUserMsg_VGUIMenu_descriptor_ = file->message_type(23); + static const int CUserMsg_VGUIMenu_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu, show_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu, keys_), + }; + CUserMsg_VGUIMenu_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_VGUIMenu_descriptor_, + CUserMsg_VGUIMenu::default_instance_, + CUserMsg_VGUIMenu_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_VGUIMenu)); + CUserMsg_VGUIMenu_Keys_descriptor_ = CUserMsg_VGUIMenu_descriptor_->nested_type(0); + static const int CUserMsg_VGUIMenu_Keys_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu_Keys, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu_Keys, value_), + }; + CUserMsg_VGUIMenu_Keys_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_VGUIMenu_Keys_descriptor_, + CUserMsg_VGUIMenu_Keys::default_instance_, + CUserMsg_VGUIMenu_Keys_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu_Keys, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_VGUIMenu_Keys, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_VGUIMenu_Keys)); + CUserMsg_Geiger_descriptor_ = file->message_type(24); + static const int CUserMsg_Geiger_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Geiger, range_), + }; + CUserMsg_Geiger_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_Geiger_descriptor_, + CUserMsg_Geiger::default_instance_, + CUserMsg_Geiger_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Geiger, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Geiger, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_Geiger)); + CUserMsg_Rumble_descriptor_ = file->message_type(25); + static const int CUserMsg_Rumble_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Rumble, index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Rumble, data_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Rumble, flags_), + }; + CUserMsg_Rumble_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_Rumble_descriptor_, + CUserMsg_Rumble::default_instance_, + CUserMsg_Rumble_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Rumble, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Rumble, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_Rumble)); + CUserMsg_Train_descriptor_ = file->message_type(26); + static const int CUserMsg_Train_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Train, train_), + }; + CUserMsg_Train_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_Train_descriptor_, + CUserMsg_Train::default_instance_, + CUserMsg_Train_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Train, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_Train, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_Train)); + CUserMsg_SayTextChannel_descriptor_ = file->message_type(27); + static const int CUserMsg_SayTextChannel_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayTextChannel, player_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayTextChannel, channel_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayTextChannel, text_), + }; + CUserMsg_SayTextChannel_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_SayTextChannel_descriptor_, + CUserMsg_SayTextChannel::default_instance_, + CUserMsg_SayTextChannel_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayTextChannel, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_SayTextChannel, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_SayTextChannel)); + CUserMsg_MessageText_descriptor_ = file->message_type(28); + static const int CUserMsg_MessageText_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_MessageText, color_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_MessageText, text_), + }; + CUserMsg_MessageText_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CUserMsg_MessageText_descriptor_, + CUserMsg_MessageText::default_instance_, + CUserMsg_MessageText_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_MessageText, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CUserMsg_MessageText, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CUserMsg_MessageText)); + EBaseUserMessages_descriptor_ = file->enum_type(0); +} + +namespace { + +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); +inline void protobuf_AssignDescriptorsOnce() { + ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, + &protobuf_AssignDesc_usermessages_2eproto); +} + +void protobuf_RegisterTypes(const ::std::string&) { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_AchievementEvent_descriptor_, &CUserMsg_AchievementEvent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_CloseCaption_descriptor_, &CUserMsg_CloseCaption::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_CurrentTimescale_descriptor_, &CUserMsg_CurrentTimescale::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_DesiredTimescale_descriptor_, &CUserMsg_DesiredTimescale::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_Fade_descriptor_, &CUserMsg_Fade::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_Shake_descriptor_, &CUserMsg_Shake::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_ShakeDir_descriptor_, &CUserMsg_ShakeDir::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_Tilt_descriptor_, &CUserMsg_Tilt::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_SayText_descriptor_, &CUserMsg_SayText::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_SayText2_descriptor_, &CUserMsg_SayText2::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_HudMsg_descriptor_, &CUserMsg_HudMsg::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_HudText_descriptor_, &CUserMsg_HudText::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_TextMsg_descriptor_, &CUserMsg_TextMsg::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_GameTitle_descriptor_, &CUserMsg_GameTitle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_ResetHUD_descriptor_, &CUserMsg_ResetHUD::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_SendAudio_descriptor_, &CUserMsg_SendAudio::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_VoiceMask_descriptor_, &CUserMsg_VoiceMask::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_RequestState_descriptor_, &CUserMsg_RequestState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_HintText_descriptor_, &CUserMsg_HintText::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_KeyHintText_descriptor_, &CUserMsg_KeyHintText::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_StatsCrawlMsg_descriptor_, &CUserMsg_StatsCrawlMsg::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_StatsSkipState_descriptor_, &CUserMsg_StatsSkipState::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_VoiceSubtitle_descriptor_, &CUserMsg_VoiceSubtitle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_VGUIMenu_descriptor_, &CUserMsg_VGUIMenu::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_VGUIMenu_Keys_descriptor_, &CUserMsg_VGUIMenu_Keys::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_Geiger_descriptor_, &CUserMsg_Geiger::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_Rumble_descriptor_, &CUserMsg_Rumble::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_Train_descriptor_, &CUserMsg_Train::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_SayTextChannel_descriptor_, &CUserMsg_SayTextChannel::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CUserMsg_MessageText_descriptor_, &CUserMsg_MessageText::default_instance()); +} + +} // namespace + +void protobuf_ShutdownFile_usermessages_2eproto() { + delete CUserMsg_AchievementEvent::default_instance_; + delete CUserMsg_AchievementEvent_reflection_; + delete CUserMsg_CloseCaption::default_instance_; + delete CUserMsg_CloseCaption_reflection_; + delete CUserMsg_CurrentTimescale::default_instance_; + delete CUserMsg_CurrentTimescale_reflection_; + delete CUserMsg_DesiredTimescale::default_instance_; + delete CUserMsg_DesiredTimescale_reflection_; + delete CUserMsg_Fade::default_instance_; + delete CUserMsg_Fade_reflection_; + delete CUserMsg_Shake::default_instance_; + delete CUserMsg_Shake_reflection_; + delete CUserMsg_ShakeDir::default_instance_; + delete CUserMsg_ShakeDir_reflection_; + delete CUserMsg_Tilt::default_instance_; + delete CUserMsg_Tilt_reflection_; + delete CUserMsg_SayText::default_instance_; + delete CUserMsg_SayText_reflection_; + delete CUserMsg_SayText2::default_instance_; + delete CUserMsg_SayText2_reflection_; + delete CUserMsg_HudMsg::default_instance_; + delete CUserMsg_HudMsg_reflection_; + delete CUserMsg_HudText::default_instance_; + delete CUserMsg_HudText_reflection_; + delete CUserMsg_TextMsg::default_instance_; + delete CUserMsg_TextMsg_reflection_; + delete CUserMsg_GameTitle::default_instance_; + delete CUserMsg_GameTitle_reflection_; + delete CUserMsg_ResetHUD::default_instance_; + delete CUserMsg_ResetHUD_reflection_; + delete CUserMsg_SendAudio::default_instance_; + delete CUserMsg_SendAudio_reflection_; + delete CUserMsg_VoiceMask::default_instance_; + delete CUserMsg_VoiceMask_reflection_; + delete CUserMsg_RequestState::default_instance_; + delete CUserMsg_RequestState_reflection_; + delete CUserMsg_HintText::default_instance_; + delete CUserMsg_HintText_reflection_; + delete CUserMsg_KeyHintText::default_instance_; + delete CUserMsg_KeyHintText_reflection_; + delete CUserMsg_StatsCrawlMsg::default_instance_; + delete CUserMsg_StatsCrawlMsg_reflection_; + delete CUserMsg_StatsSkipState::default_instance_; + delete CUserMsg_StatsSkipState_reflection_; + delete CUserMsg_VoiceSubtitle::default_instance_; + delete CUserMsg_VoiceSubtitle_reflection_; + delete CUserMsg_VGUIMenu::default_instance_; + delete CUserMsg_VGUIMenu_reflection_; + delete CUserMsg_VGUIMenu_Keys::default_instance_; + delete CUserMsg_VGUIMenu_Keys_reflection_; + delete CUserMsg_Geiger::default_instance_; + delete CUserMsg_Geiger_reflection_; + delete CUserMsg_Rumble::default_instance_; + delete CUserMsg_Rumble_reflection_; + delete CUserMsg_Train::default_instance_; + delete CUserMsg_Train_reflection_; + delete CUserMsg_SayTextChannel::default_instance_; + delete CUserMsg_SayTextChannel_reflection_; + delete CUserMsg_MessageText::default_instance_; + delete CUserMsg_MessageText_reflection_; +} + +void protobuf_AddDesc_usermessages_2eproto() { + static bool already_here = false; + if (already_here) return; + already_here = true; + GOOGLE_PROTOBUF_VERIFY_VERSION; + + ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); + ::protobuf_AddDesc_netmessages_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); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "usermessages.proto", &protobuf_RegisterTypes); + CUserMsg_AchievementEvent::default_instance_ = new CUserMsg_AchievementEvent(); + CUserMsg_CloseCaption::default_instance_ = new CUserMsg_CloseCaption(); + CUserMsg_CurrentTimescale::default_instance_ = new CUserMsg_CurrentTimescale(); + CUserMsg_DesiredTimescale::default_instance_ = new CUserMsg_DesiredTimescale(); + CUserMsg_Fade::default_instance_ = new CUserMsg_Fade(); + CUserMsg_Shake::default_instance_ = new CUserMsg_Shake(); + CUserMsg_ShakeDir::default_instance_ = new CUserMsg_ShakeDir(); + CUserMsg_Tilt::default_instance_ = new CUserMsg_Tilt(); + CUserMsg_SayText::default_instance_ = new CUserMsg_SayText(); + CUserMsg_SayText2::default_instance_ = new CUserMsg_SayText2(); + CUserMsg_HudMsg::default_instance_ = new CUserMsg_HudMsg(); + CUserMsg_HudText::default_instance_ = new CUserMsg_HudText(); + CUserMsg_TextMsg::default_instance_ = new CUserMsg_TextMsg(); + CUserMsg_GameTitle::default_instance_ = new CUserMsg_GameTitle(); + CUserMsg_ResetHUD::default_instance_ = new CUserMsg_ResetHUD(); + CUserMsg_SendAudio::default_instance_ = new CUserMsg_SendAudio(); + CUserMsg_VoiceMask::default_instance_ = new CUserMsg_VoiceMask(); + CUserMsg_RequestState::default_instance_ = new CUserMsg_RequestState(); + CUserMsg_HintText::default_instance_ = new CUserMsg_HintText(); + CUserMsg_KeyHintText::default_instance_ = new CUserMsg_KeyHintText(); + CUserMsg_StatsCrawlMsg::default_instance_ = new CUserMsg_StatsCrawlMsg(); + CUserMsg_StatsSkipState::default_instance_ = new CUserMsg_StatsSkipState(); + CUserMsg_VoiceSubtitle::default_instance_ = new CUserMsg_VoiceSubtitle(); + CUserMsg_VGUIMenu::default_instance_ = new CUserMsg_VGUIMenu(); + CUserMsg_VGUIMenu_Keys::default_instance_ = new CUserMsg_VGUIMenu_Keys(); + CUserMsg_Geiger::default_instance_ = new CUserMsg_Geiger(); + CUserMsg_Rumble::default_instance_ = new CUserMsg_Rumble(); + CUserMsg_Train::default_instance_ = new CUserMsg_Train(); + CUserMsg_SayTextChannel::default_instance_ = new CUserMsg_SayTextChannel(); + CUserMsg_MessageText::default_instance_ = new CUserMsg_MessageText(); + CUserMsg_AchievementEvent::default_instance_->InitAsDefaultInstance(); + CUserMsg_CloseCaption::default_instance_->InitAsDefaultInstance(); + CUserMsg_CurrentTimescale::default_instance_->InitAsDefaultInstance(); + CUserMsg_DesiredTimescale::default_instance_->InitAsDefaultInstance(); + CUserMsg_Fade::default_instance_->InitAsDefaultInstance(); + CUserMsg_Shake::default_instance_->InitAsDefaultInstance(); + CUserMsg_ShakeDir::default_instance_->InitAsDefaultInstance(); + CUserMsg_Tilt::default_instance_->InitAsDefaultInstance(); + CUserMsg_SayText::default_instance_->InitAsDefaultInstance(); + CUserMsg_SayText2::default_instance_->InitAsDefaultInstance(); + CUserMsg_HudMsg::default_instance_->InitAsDefaultInstance(); + CUserMsg_HudText::default_instance_->InitAsDefaultInstance(); + CUserMsg_TextMsg::default_instance_->InitAsDefaultInstance(); + CUserMsg_GameTitle::default_instance_->InitAsDefaultInstance(); + CUserMsg_ResetHUD::default_instance_->InitAsDefaultInstance(); + CUserMsg_SendAudio::default_instance_->InitAsDefaultInstance(); + CUserMsg_VoiceMask::default_instance_->InitAsDefaultInstance(); + CUserMsg_RequestState::default_instance_->InitAsDefaultInstance(); + CUserMsg_HintText::default_instance_->InitAsDefaultInstance(); + CUserMsg_KeyHintText::default_instance_->InitAsDefaultInstance(); + CUserMsg_StatsCrawlMsg::default_instance_->InitAsDefaultInstance(); + CUserMsg_StatsSkipState::default_instance_->InitAsDefaultInstance(); + CUserMsg_VoiceSubtitle::default_instance_->InitAsDefaultInstance(); + CUserMsg_VGUIMenu::default_instance_->InitAsDefaultInstance(); + CUserMsg_VGUIMenu_Keys::default_instance_->InitAsDefaultInstance(); + CUserMsg_Geiger::default_instance_->InitAsDefaultInstance(); + CUserMsg_Rumble::default_instance_->InitAsDefaultInstance(); + CUserMsg_Train::default_instance_->InitAsDefaultInstance(); + CUserMsg_SayTextChannel::default_instance_->InitAsDefaultInstance(); + CUserMsg_MessageText::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_usermessages_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_usermessages_2eproto { + StaticDescriptorInitializer_usermessages_2eproto() { + protobuf_AddDesc_usermessages_2eproto(); + } +} static_descriptor_initializer_usermessages_2eproto_; + +const ::google::protobuf::EnumDescriptor* EBaseUserMessages_descriptor() { + protobuf_AssignDescriptorsOnce(); + return EBaseUserMessages_descriptor_; +} +bool EBaseUserMessages_IsValid(int value) { + switch(value) { + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 63: + return true; + default: + return false; + } +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_AchievementEvent::kAchievementFieldNumber; +#endif // !_MSC_VER + +CUserMsg_AchievementEvent::CUserMsg_AchievementEvent() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_AchievementEvent::InitAsDefaultInstance() { +} + +CUserMsg_AchievementEvent::CUserMsg_AchievementEvent(const CUserMsg_AchievementEvent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_AchievementEvent::SharedCtor() { + _cached_size_ = 0; + achievement_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_AchievementEvent::~CUserMsg_AchievementEvent() { + SharedDtor(); +} + +void CUserMsg_AchievementEvent::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_AchievementEvent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_AchievementEvent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_AchievementEvent_descriptor_; +} + +const CUserMsg_AchievementEvent& CUserMsg_AchievementEvent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_AchievementEvent* CUserMsg_AchievementEvent::default_instance_ = NULL; + +CUserMsg_AchievementEvent* CUserMsg_AchievementEvent::New() const { + return new CUserMsg_AchievementEvent; +} + +void CUserMsg_AchievementEvent::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + achievement_ = 0u; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_AchievementEvent::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 uint32 achievement = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &achievement_))); + set_has_achievement(); + } 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 CUserMsg_AchievementEvent::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 achievement = 1; + if (has_achievement()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->achievement(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_AchievementEvent::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 achievement = 1; + if (has_achievement()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->achievement(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_AchievementEvent::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 achievement = 1; + if (has_achievement()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->achievement()); + } + + } + 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 CUserMsg_AchievementEvent::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_AchievementEvent* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_AchievementEvent::MergeFrom(const CUserMsg_AchievementEvent& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_achievement()) { + set_achievement(from.achievement()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_AchievementEvent::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_AchievementEvent::CopyFrom(const CUserMsg_AchievementEvent& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_AchievementEvent::IsInitialized() const { + + return true; +} + +void CUserMsg_AchievementEvent::Swap(CUserMsg_AchievementEvent* other) { + if (other != this) { + std::swap(achievement_, other->achievement_); + 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 CUserMsg_AchievementEvent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_AchievementEvent_descriptor_; + metadata.reflection = CUserMsg_AchievementEvent_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_CloseCaption::kHashFieldNumber; +const int CUserMsg_CloseCaption::kDurationFieldNumber; +const int CUserMsg_CloseCaption::kFromPlayerFieldNumber; +#endif // !_MSC_VER + +CUserMsg_CloseCaption::CUserMsg_CloseCaption() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_CloseCaption::InitAsDefaultInstance() { +} + +CUserMsg_CloseCaption::CUserMsg_CloseCaption(const CUserMsg_CloseCaption& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_CloseCaption::SharedCtor() { + _cached_size_ = 0; + hash_ = 0u; + duration_ = 0; + from_player_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_CloseCaption::~CUserMsg_CloseCaption() { + SharedDtor(); +} + +void CUserMsg_CloseCaption::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_CloseCaption::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_CloseCaption::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_CloseCaption_descriptor_; +} + +const CUserMsg_CloseCaption& CUserMsg_CloseCaption::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_CloseCaption* CUserMsg_CloseCaption::default_instance_ = NULL; + +CUserMsg_CloseCaption* CUserMsg_CloseCaption::New() const { + return new CUserMsg_CloseCaption; +} + +void CUserMsg_CloseCaption::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + hash_ = 0u; + duration_ = 0; + from_player_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_CloseCaption::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 fixed32 hash = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &hash_))); + set_has_hash(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_duration; + break; + } + + // optional float duration = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_duration: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &duration_))); + set_has_duration(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_from_player; + break; + } + + // optional bool from_player = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_from_player: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &from_player_))); + set_has_from_player(); + } 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 CUserMsg_CloseCaption::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional fixed32 hash = 1; + if (has_hash()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(1, this->hash(), output); + } + + // optional float duration = 2; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->duration(), output); + } + + // optional bool from_player = 3; + if (has_from_player()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->from_player(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_CloseCaption::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional fixed32 hash = 1; + if (has_hash()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(1, this->hash(), target); + } + + // optional float duration = 2; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->duration(), target); + } + + // optional bool from_player = 3; + if (has_from_player()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->from_player(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_CloseCaption::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional fixed32 hash = 1; + if (has_hash()) { + total_size += 1 + 4; + } + + // optional float duration = 2; + if (has_duration()) { + total_size += 1 + 4; + } + + // optional bool from_player = 3; + if (has_from_player()) { + total_size += 1 + 1; + } + + } + 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 CUserMsg_CloseCaption::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_CloseCaption* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_CloseCaption::MergeFrom(const CUserMsg_CloseCaption& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_hash()) { + set_hash(from.hash()); + } + if (from.has_duration()) { + set_duration(from.duration()); + } + if (from.has_from_player()) { + set_from_player(from.from_player()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_CloseCaption::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_CloseCaption::CopyFrom(const CUserMsg_CloseCaption& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_CloseCaption::IsInitialized() const { + + return true; +} + +void CUserMsg_CloseCaption::Swap(CUserMsg_CloseCaption* other) { + if (other != this) { + std::swap(hash_, other->hash_); + std::swap(duration_, other->duration_); + std::swap(from_player_, other->from_player_); + 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 CUserMsg_CloseCaption::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_CloseCaption_descriptor_; + metadata.reflection = CUserMsg_CloseCaption_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_CurrentTimescale::kCurrentFieldNumber; +#endif // !_MSC_VER + +CUserMsg_CurrentTimescale::CUserMsg_CurrentTimescale() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_CurrentTimescale::InitAsDefaultInstance() { +} + +CUserMsg_CurrentTimescale::CUserMsg_CurrentTimescale(const CUserMsg_CurrentTimescale& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_CurrentTimescale::SharedCtor() { + _cached_size_ = 0; + current_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_CurrentTimescale::~CUserMsg_CurrentTimescale() { + SharedDtor(); +} + +void CUserMsg_CurrentTimescale::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_CurrentTimescale::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_CurrentTimescale::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_CurrentTimescale_descriptor_; +} + +const CUserMsg_CurrentTimescale& CUserMsg_CurrentTimescale::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_CurrentTimescale* CUserMsg_CurrentTimescale::default_instance_ = NULL; + +CUserMsg_CurrentTimescale* CUserMsg_CurrentTimescale::New() const { + return new CUserMsg_CurrentTimescale; +} + +void CUserMsg_CurrentTimescale::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + current_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_CurrentTimescale::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 float current = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, ¤t_))); + set_has_current(); + } 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 CUserMsg_CurrentTimescale::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional float current = 1; + if (has_current()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->current(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_CurrentTimescale::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional float current = 1; + if (has_current()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->current(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_CurrentTimescale::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional float current = 1; + if (has_current()) { + total_size += 1 + 4; + } + + } + 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 CUserMsg_CurrentTimescale::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_CurrentTimescale* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_CurrentTimescale::MergeFrom(const CUserMsg_CurrentTimescale& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_current()) { + set_current(from.current()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_CurrentTimescale::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_CurrentTimescale::CopyFrom(const CUserMsg_CurrentTimescale& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_CurrentTimescale::IsInitialized() const { + + return true; +} + +void CUserMsg_CurrentTimescale::Swap(CUserMsg_CurrentTimescale* other) { + if (other != this) { + std::swap(current_, other->current_); + 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 CUserMsg_CurrentTimescale::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_CurrentTimescale_descriptor_; + metadata.reflection = CUserMsg_CurrentTimescale_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_DesiredTimescale::kDesiredFieldNumber; +const int CUserMsg_DesiredTimescale::kDurationFieldNumber; +const int CUserMsg_DesiredTimescale::kInterpolatorFieldNumber; +const int CUserMsg_DesiredTimescale::kStartBlendTimeFieldNumber; +#endif // !_MSC_VER + +CUserMsg_DesiredTimescale::CUserMsg_DesiredTimescale() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_DesiredTimescale::InitAsDefaultInstance() { +} + +CUserMsg_DesiredTimescale::CUserMsg_DesiredTimescale(const CUserMsg_DesiredTimescale& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_DesiredTimescale::SharedCtor() { + _cached_size_ = 0; + desired_ = 0; + duration_ = 0; + interpolator_ = 0u; + start_blend_time_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_DesiredTimescale::~CUserMsg_DesiredTimescale() { + SharedDtor(); +} + +void CUserMsg_DesiredTimescale::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_DesiredTimescale::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_DesiredTimescale::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_DesiredTimescale_descriptor_; +} + +const CUserMsg_DesiredTimescale& CUserMsg_DesiredTimescale::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_DesiredTimescale* CUserMsg_DesiredTimescale::default_instance_ = NULL; + +CUserMsg_DesiredTimescale* CUserMsg_DesiredTimescale::New() const { + return new CUserMsg_DesiredTimescale; +} + +void CUserMsg_DesiredTimescale::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + desired_ = 0; + duration_ = 0; + interpolator_ = 0u; + start_blend_time_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_DesiredTimescale::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 float desired = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &desired_))); + set_has_desired(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_duration; + break; + } + + // optional float duration = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_duration: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &duration_))); + set_has_duration(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_interpolator; + break; + } + + // optional uint32 interpolator = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_interpolator: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &interpolator_))); + set_has_interpolator(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(37)) goto parse_start_blend_time; + break; + } + + // optional float start_blend_time = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_start_blend_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &start_blend_time_))); + set_has_start_blend_time(); + } 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 CUserMsg_DesiredTimescale::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional float desired = 1; + if (has_desired()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(1, this->desired(), output); + } + + // optional float duration = 2; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->duration(), output); + } + + // optional uint32 interpolator = 3; + if (has_interpolator()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->interpolator(), output); + } + + // optional float start_blend_time = 4; + if (has_start_blend_time()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->start_blend_time(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_DesiredTimescale::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional float desired = 1; + if (has_desired()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(1, this->desired(), target); + } + + // optional float duration = 2; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->duration(), target); + } + + // optional uint32 interpolator = 3; + if (has_interpolator()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->interpolator(), target); + } + + // optional float start_blend_time = 4; + if (has_start_blend_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->start_blend_time(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_DesiredTimescale::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional float desired = 1; + if (has_desired()) { + total_size += 1 + 4; + } + + // optional float duration = 2; + if (has_duration()) { + total_size += 1 + 4; + } + + // optional uint32 interpolator = 3; + if (has_interpolator()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->interpolator()); + } + + // optional float start_blend_time = 4; + if (has_start_blend_time()) { + total_size += 1 + 4; + } + + } + 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 CUserMsg_DesiredTimescale::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_DesiredTimescale* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_DesiredTimescale::MergeFrom(const CUserMsg_DesiredTimescale& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_desired()) { + set_desired(from.desired()); + } + if (from.has_duration()) { + set_duration(from.duration()); + } + if (from.has_interpolator()) { + set_interpolator(from.interpolator()); + } + if (from.has_start_blend_time()) { + set_start_blend_time(from.start_blend_time()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_DesiredTimescale::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_DesiredTimescale::CopyFrom(const CUserMsg_DesiredTimescale& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_DesiredTimescale::IsInitialized() const { + + return true; +} + +void CUserMsg_DesiredTimescale::Swap(CUserMsg_DesiredTimescale* other) { + if (other != this) { + std::swap(desired_, other->desired_); + std::swap(duration_, other->duration_); + std::swap(interpolator_, other->interpolator_); + std::swap(start_blend_time_, other->start_blend_time_); + 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 CUserMsg_DesiredTimescale::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_DesiredTimescale_descriptor_; + metadata.reflection = CUserMsg_DesiredTimescale_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_Fade::kDurationFieldNumber; +const int CUserMsg_Fade::kHoldTimeFieldNumber; +const int CUserMsg_Fade::kFlagsFieldNumber; +const int CUserMsg_Fade::kColorFieldNumber; +#endif // !_MSC_VER + +CUserMsg_Fade::CUserMsg_Fade() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_Fade::InitAsDefaultInstance() { +} + +CUserMsg_Fade::CUserMsg_Fade(const CUserMsg_Fade& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_Fade::SharedCtor() { + _cached_size_ = 0; + duration_ = 0u; + hold_time_ = 0u; + flags_ = 0u; + color_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_Fade::~CUserMsg_Fade() { + SharedDtor(); +} + +void CUserMsg_Fade::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_Fade::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_Fade::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_Fade_descriptor_; +} + +const CUserMsg_Fade& CUserMsg_Fade::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_Fade* CUserMsg_Fade::default_instance_ = NULL; + +CUserMsg_Fade* CUserMsg_Fade::New() const { + return new CUserMsg_Fade; +} + +void CUserMsg_Fade::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + duration_ = 0u; + hold_time_ = 0u; + flags_ = 0u; + color_ = 0u; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_Fade::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 uint32 duration = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &duration_))); + set_has_duration(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_hold_time; + break; + } + + // optional uint32 hold_time = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_hold_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &hold_time_))); + set_has_hold_time(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_flags; + break; + } + + // optional uint32 flags = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_flags: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &flags_))); + set_has_flags(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(37)) goto parse_color; + break; + } + + // optional fixed32 color = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_color: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &color_))); + set_has_color(); + } 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 CUserMsg_Fade::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 duration = 1; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->duration(), output); + } + + // optional uint32 hold_time = 2; + if (has_hold_time()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->hold_time(), output); + } + + // optional uint32 flags = 3; + if (has_flags()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->flags(), output); + } + + // optional fixed32 color = 4; + if (has_color()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(4, this->color(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_Fade::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 duration = 1; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->duration(), target); + } + + // optional uint32 hold_time = 2; + if (has_hold_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->hold_time(), target); + } + + // optional uint32 flags = 3; + if (has_flags()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->flags(), target); + } + + // optional fixed32 color = 4; + if (has_color()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(4, this->color(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_Fade::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 duration = 1; + if (has_duration()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->duration()); + } + + // optional uint32 hold_time = 2; + if (has_hold_time()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->hold_time()); + } + + // optional uint32 flags = 3; + if (has_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->flags()); + } + + // optional fixed32 color = 4; + if (has_color()) { + total_size += 1 + 4; + } + + } + 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 CUserMsg_Fade::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_Fade* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_Fade::MergeFrom(const CUserMsg_Fade& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_duration()) { + set_duration(from.duration()); + } + if (from.has_hold_time()) { + set_hold_time(from.hold_time()); + } + if (from.has_flags()) { + set_flags(from.flags()); + } + if (from.has_color()) { + set_color(from.color()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_Fade::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_Fade::CopyFrom(const CUserMsg_Fade& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_Fade::IsInitialized() const { + + return true; +} + +void CUserMsg_Fade::Swap(CUserMsg_Fade* other) { + if (other != this) { + std::swap(duration_, other->duration_); + std::swap(hold_time_, other->hold_time_); + std::swap(flags_, other->flags_); + std::swap(color_, other->color_); + 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 CUserMsg_Fade::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_Fade_descriptor_; + metadata.reflection = CUserMsg_Fade_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_Shake::kCommandFieldNumber; +const int CUserMsg_Shake::kAmplitudeFieldNumber; +const int CUserMsg_Shake::kFrequencyFieldNumber; +const int CUserMsg_Shake::kDurationFieldNumber; +#endif // !_MSC_VER + +CUserMsg_Shake::CUserMsg_Shake() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_Shake::InitAsDefaultInstance() { +} + +CUserMsg_Shake::CUserMsg_Shake(const CUserMsg_Shake& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_Shake::SharedCtor() { + _cached_size_ = 0; + command_ = 0u; + amplitude_ = 0; + frequency_ = 0; + duration_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_Shake::~CUserMsg_Shake() { + SharedDtor(); +} + +void CUserMsg_Shake::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_Shake::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_Shake::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_Shake_descriptor_; +} + +const CUserMsg_Shake& CUserMsg_Shake::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_Shake* CUserMsg_Shake::default_instance_ = NULL; + +CUserMsg_Shake* CUserMsg_Shake::New() const { + return new CUserMsg_Shake; +} + +void CUserMsg_Shake::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + command_ = 0u; + amplitude_ = 0; + frequency_ = 0; + duration_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_Shake::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 uint32 command = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &command_))); + set_has_command(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_amplitude; + break; + } + + // optional float amplitude = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_amplitude: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &litude_))); + set_has_amplitude(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_frequency; + break; + } + + // optional float frequency = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_frequency: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &frequency_))); + set_has_frequency(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(37)) goto parse_duration; + break; + } + + // optional float duration = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_duration: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &duration_))); + set_has_duration(); + } 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 CUserMsg_Shake::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 command = 1; + if (has_command()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->command(), output); + } + + // optional float amplitude = 2; + if (has_amplitude()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->amplitude(), output); + } + + // optional float frequency = 3; + if (has_frequency()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->frequency(), output); + } + + // optional float duration = 4; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->duration(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_Shake::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 command = 1; + if (has_command()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->command(), target); + } + + // optional float amplitude = 2; + if (has_amplitude()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->amplitude(), target); + } + + // optional float frequency = 3; + if (has_frequency()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->frequency(), target); + } + + // optional float duration = 4; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->duration(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_Shake::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 command = 1; + if (has_command()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->command()); + } + + // optional float amplitude = 2; + if (has_amplitude()) { + total_size += 1 + 4; + } + + // optional float frequency = 3; + if (has_frequency()) { + total_size += 1 + 4; + } + + // optional float duration = 4; + if (has_duration()) { + total_size += 1 + 4; + } + + } + 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 CUserMsg_Shake::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_Shake* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_Shake::MergeFrom(const CUserMsg_Shake& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_command()) { + set_command(from.command()); + } + if (from.has_amplitude()) { + set_amplitude(from.amplitude()); + } + if (from.has_frequency()) { + set_frequency(from.frequency()); + } + if (from.has_duration()) { + set_duration(from.duration()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_Shake::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_Shake::CopyFrom(const CUserMsg_Shake& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_Shake::IsInitialized() const { + + return true; +} + +void CUserMsg_Shake::Swap(CUserMsg_Shake* other) { + if (other != this) { + std::swap(command_, other->command_); + std::swap(amplitude_, other->amplitude_); + std::swap(frequency_, other->frequency_); + std::swap(duration_, other->duration_); + 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 CUserMsg_Shake::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_Shake_descriptor_; + metadata.reflection = CUserMsg_Shake_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_ShakeDir::kShakeFieldNumber; +const int CUserMsg_ShakeDir::kDirectionFieldNumber; +#endif // !_MSC_VER + +CUserMsg_ShakeDir::CUserMsg_ShakeDir() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_ShakeDir::InitAsDefaultInstance() { + shake_ = const_cast< ::CUserMsg_Shake*>(&::CUserMsg_Shake::default_instance()); + direction_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CUserMsg_ShakeDir::CUserMsg_ShakeDir(const CUserMsg_ShakeDir& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_ShakeDir::SharedCtor() { + _cached_size_ = 0; + shake_ = NULL; + direction_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_ShakeDir::~CUserMsg_ShakeDir() { + SharedDtor(); +} + +void CUserMsg_ShakeDir::SharedDtor() { + if (this != default_instance_) { + delete shake_; + delete direction_; + } +} + +void CUserMsg_ShakeDir::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_ShakeDir::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_ShakeDir_descriptor_; +} + +const CUserMsg_ShakeDir& CUserMsg_ShakeDir::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_ShakeDir* CUserMsg_ShakeDir::default_instance_ = NULL; + +CUserMsg_ShakeDir* CUserMsg_ShakeDir::New() const { + return new CUserMsg_ShakeDir; +} + +void CUserMsg_ShakeDir::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_shake()) { + if (shake_ != NULL) shake_->::CUserMsg_Shake::Clear(); + } + if (has_direction()) { + if (direction_ != NULL) direction_->::CMsgVector::Clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_ShakeDir::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 .CUserMsg_Shake shake = 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_shake())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_direction; + break; + } + + // optional .CMsgVector direction = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_direction: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_direction())); + } 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 CUserMsg_ShakeDir::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional .CUserMsg_Shake shake = 1; + if (has_shake()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->shake(), output); + } + + // optional .CMsgVector direction = 2; + if (has_direction()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->direction(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_ShakeDir::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional .CUserMsg_Shake shake = 1; + if (has_shake()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->shake(), target); + } + + // optional .CMsgVector direction = 2; + if (has_direction()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->direction(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_ShakeDir::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .CUserMsg_Shake shake = 1; + if (has_shake()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->shake()); + } + + // optional .CMsgVector direction = 2; + if (has_direction()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->direction()); + } + + } + 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 CUserMsg_ShakeDir::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_ShakeDir* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_ShakeDir::MergeFrom(const CUserMsg_ShakeDir& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_shake()) { + mutable_shake()->::CUserMsg_Shake::MergeFrom(from.shake()); + } + if (from.has_direction()) { + mutable_direction()->::CMsgVector::MergeFrom(from.direction()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_ShakeDir::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_ShakeDir::CopyFrom(const CUserMsg_ShakeDir& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ShakeDir::IsInitialized() const { + + return true; +} + +void CUserMsg_ShakeDir::Swap(CUserMsg_ShakeDir* other) { + if (other != this) { + std::swap(shake_, other->shake_); + std::swap(direction_, other->direction_); + 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 CUserMsg_ShakeDir::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_ShakeDir_descriptor_; + metadata.reflection = CUserMsg_ShakeDir_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_Tilt::kCommandFieldNumber; +const int CUserMsg_Tilt::kEaseInOutFieldNumber; +const int CUserMsg_Tilt::kAngleFieldNumber; +const int CUserMsg_Tilt::kDurationFieldNumber; +const int CUserMsg_Tilt::kTimeFieldNumber; +#endif // !_MSC_VER + +CUserMsg_Tilt::CUserMsg_Tilt() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_Tilt::InitAsDefaultInstance() { + angle_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); +} + +CUserMsg_Tilt::CUserMsg_Tilt(const CUserMsg_Tilt& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_Tilt::SharedCtor() { + _cached_size_ = 0; + command_ = 0u; + ease_in_out_ = false; + angle_ = NULL; + duration_ = 0; + time_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_Tilt::~CUserMsg_Tilt() { + SharedDtor(); +} + +void CUserMsg_Tilt::SharedDtor() { + if (this != default_instance_) { + delete angle_; + } +} + +void CUserMsg_Tilt::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_Tilt::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_Tilt_descriptor_; +} + +const CUserMsg_Tilt& CUserMsg_Tilt::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_Tilt* CUserMsg_Tilt::default_instance_ = NULL; + +CUserMsg_Tilt* CUserMsg_Tilt::New() const { + return new CUserMsg_Tilt; +} + +void CUserMsg_Tilt::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + command_ = 0u; + ease_in_out_ = false; + if (has_angle()) { + if (angle_ != NULL) angle_->::CMsgVector::Clear(); + } + duration_ = 0; + time_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_Tilt::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 uint32 command = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &command_))); + set_has_command(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_ease_in_out; + break; + } + + // optional bool ease_in_out = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_ease_in_out: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &ease_in_out_))); + set_has_ease_in_out(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_angle; + break; + } + + // optional .CMsgVector angle = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_angle: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_angle())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(37)) goto parse_duration; + break; + } + + // optional float duration = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_duration: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &duration_))); + set_has_duration(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(45)) goto parse_time; + break; + } + + // optional float time = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &time_))); + set_has_time(); + } 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 CUserMsg_Tilt::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 command = 1; + if (has_command()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->command(), output); + } + + // optional bool ease_in_out = 2; + if (has_ease_in_out()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->ease_in_out(), output); + } + + // optional .CMsgVector angle = 3; + if (has_angle()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->angle(), output); + } + + // optional float duration = 4; + if (has_duration()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->duration(), output); + } + + // optional float time = 5; + if (has_time()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->time(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_Tilt::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 command = 1; + if (has_command()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->command(), target); + } + + // optional bool ease_in_out = 2; + if (has_ease_in_out()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->ease_in_out(), target); + } + + // optional .CMsgVector angle = 3; + if (has_angle()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->angle(), target); + } + + // optional float duration = 4; + if (has_duration()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->duration(), target); + } + + // optional float time = 5; + if (has_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->time(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_Tilt::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 command = 1; + if (has_command()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->command()); + } + + // optional bool ease_in_out = 2; + if (has_ease_in_out()) { + total_size += 1 + 1; + } + + // optional .CMsgVector angle = 3; + if (has_angle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->angle()); + } + + // optional float duration = 4; + if (has_duration()) { + total_size += 1 + 4; + } + + // optional float time = 5; + if (has_time()) { + total_size += 1 + 4; + } + + } + 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 CUserMsg_Tilt::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_Tilt* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_Tilt::MergeFrom(const CUserMsg_Tilt& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_command()) { + set_command(from.command()); + } + if (from.has_ease_in_out()) { + set_ease_in_out(from.ease_in_out()); + } + if (from.has_angle()) { + mutable_angle()->::CMsgVector::MergeFrom(from.angle()); + } + if (from.has_duration()) { + set_duration(from.duration()); + } + if (from.has_time()) { + set_time(from.time()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_Tilt::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_Tilt::CopyFrom(const CUserMsg_Tilt& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_Tilt::IsInitialized() const { + + return true; +} + +void CUserMsg_Tilt::Swap(CUserMsg_Tilt* other) { + if (other != this) { + std::swap(command_, other->command_); + std::swap(ease_in_out_, other->ease_in_out_); + std::swap(angle_, other->angle_); + std::swap(duration_, other->duration_); + std::swap(time_, other->time_); + 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 CUserMsg_Tilt::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_Tilt_descriptor_; + metadata.reflection = CUserMsg_Tilt_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_SayText::kClientFieldNumber; +const int CUserMsg_SayText::kTextFieldNumber; +const int CUserMsg_SayText::kChatFieldNumber; +#endif // !_MSC_VER + +CUserMsg_SayText::CUserMsg_SayText() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_SayText::InitAsDefaultInstance() { +} + +CUserMsg_SayText::CUserMsg_SayText(const CUserMsg_SayText& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_SayText::SharedCtor() { + _cached_size_ = 0; + client_ = 0u; + text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + chat_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_SayText::~CUserMsg_SayText() { + SharedDtor(); +} + +void CUserMsg_SayText::SharedDtor() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + delete text_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_SayText::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_SayText::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_SayText_descriptor_; +} + +const CUserMsg_SayText& CUserMsg_SayText::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_SayText* CUserMsg_SayText::default_instance_ = NULL; + +CUserMsg_SayText* CUserMsg_SayText::New() const { + return new CUserMsg_SayText; +} + +void CUserMsg_SayText::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + client_ = 0u; + if (has_text()) { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + } + chat_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_SayText::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 uint32 client = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &client_))); + set_has_client(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_text; + break; + } + + // optional string text = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_text: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_text())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_chat; + break; + } + + // optional bool chat = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_chat: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &chat_))); + set_has_chat(); + } 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 CUserMsg_SayText::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 client = 1; + if (has_client()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->client(), output); + } + + // optional string text = 2; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->text(), output); + } + + // optional bool chat = 3; + if (has_chat()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->chat(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_SayText::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 client = 1; + if (has_client()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->client(), target); + } + + // optional string text = 2; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->text(), target); + } + + // optional bool chat = 3; + if (has_chat()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->chat(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_SayText::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 client = 1; + if (has_client()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->client()); + } + + // optional string text = 2; + if (has_text()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->text()); + } + + // optional bool chat = 3; + if (has_chat()) { + total_size += 1 + 1; + } + + } + 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 CUserMsg_SayText::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_SayText* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_SayText::MergeFrom(const CUserMsg_SayText& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_client()) { + set_client(from.client()); + } + if (from.has_text()) { + set_text(from.text()); + } + if (from.has_chat()) { + set_chat(from.chat()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_SayText::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_SayText::CopyFrom(const CUserMsg_SayText& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_SayText::IsInitialized() const { + + return true; +} + +void CUserMsg_SayText::Swap(CUserMsg_SayText* other) { + if (other != this) { + std::swap(client_, other->client_); + std::swap(text_, other->text_); + std::swap(chat_, other->chat_); + 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 CUserMsg_SayText::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_SayText_descriptor_; + metadata.reflection = CUserMsg_SayText_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_SayText2::kClientFieldNumber; +const int CUserMsg_SayText2::kChatFieldNumber; +const int CUserMsg_SayText2::kFormatFieldNumber; +const int CUserMsg_SayText2::kPrefixFieldNumber; +const int CUserMsg_SayText2::kTextFieldNumber; +const int CUserMsg_SayText2::kLocationFieldNumber; +#endif // !_MSC_VER + +CUserMsg_SayText2::CUserMsg_SayText2() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_SayText2::InitAsDefaultInstance() { +} + +CUserMsg_SayText2::CUserMsg_SayText2(const CUserMsg_SayText2& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_SayText2::SharedCtor() { + _cached_size_ = 0; + client_ = 0u; + chat_ = false; + format_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + location_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_SayText2::~CUserMsg_SayText2() { + SharedDtor(); +} + +void CUserMsg_SayText2::SharedDtor() { + if (format_ != &::google::protobuf::internal::kEmptyString) { + delete format_; + } + if (prefix_ != &::google::protobuf::internal::kEmptyString) { + delete prefix_; + } + if (text_ != &::google::protobuf::internal::kEmptyString) { + delete text_; + } + if (location_ != &::google::protobuf::internal::kEmptyString) { + delete location_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_SayText2::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_SayText2::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_SayText2_descriptor_; +} + +const CUserMsg_SayText2& CUserMsg_SayText2::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_SayText2* CUserMsg_SayText2::default_instance_ = NULL; + +CUserMsg_SayText2* CUserMsg_SayText2::New() const { + return new CUserMsg_SayText2; +} + +void CUserMsg_SayText2::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + client_ = 0u; + chat_ = false; + if (has_format()) { + if (format_ != &::google::protobuf::internal::kEmptyString) { + format_->clear(); + } + } + if (has_prefix()) { + if (prefix_ != &::google::protobuf::internal::kEmptyString) { + prefix_->clear(); + } + } + if (has_text()) { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + } + if (has_location()) { + if (location_ != &::google::protobuf::internal::kEmptyString) { + location_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_SayText2::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 uint32 client = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &client_))); + set_has_client(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_chat; + break; + } + + // optional bool chat = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_chat: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &chat_))); + set_has_chat(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_format; + break; + } + + // optional string format = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_format: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_format())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->format().data(), this->format().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(34)) goto parse_prefix; + break; + } + + // optional string prefix = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_prefix: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_prefix())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->prefix().data(), this->prefix().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(42)) goto parse_text; + break; + } + + // optional string text = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_text: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_text())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(50)) goto parse_location; + break; + } + + // optional string location = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_location: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_location())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->location().data(), this->location().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CUserMsg_SayText2::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 client = 1; + if (has_client()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->client(), output); + } + + // optional bool chat = 2; + if (has_chat()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->chat(), output); + } + + // optional string format = 3; + if (has_format()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->format().data(), this->format().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->format(), output); + } + + // optional string prefix = 4; + if (has_prefix()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->prefix().data(), this->prefix().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 4, this->prefix(), output); + } + + // optional string text = 5; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 5, this->text(), output); + } + + // optional string location = 6; + if (has_location()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->location().data(), this->location().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 6, this->location(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_SayText2::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 client = 1; + if (has_client()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->client(), target); + } + + // optional bool chat = 2; + if (has_chat()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->chat(), target); + } + + // optional string format = 3; + if (has_format()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->format().data(), this->format().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->format(), target); + } + + // optional string prefix = 4; + if (has_prefix()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->prefix().data(), this->prefix().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->prefix(), target); + } + + // optional string text = 5; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 5, this->text(), target); + } + + // optional string location = 6; + if (has_location()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->location().data(), this->location().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 6, this->location(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_SayText2::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 client = 1; + if (has_client()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->client()); + } + + // optional bool chat = 2; + if (has_chat()) { + total_size += 1 + 1; + } + + // optional string format = 3; + if (has_format()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->format()); + } + + // optional string prefix = 4; + if (has_prefix()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->prefix()); + } + + // optional string text = 5; + if (has_text()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->text()); + } + + // optional string location = 6; + if (has_location()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->location()); + } + + } + 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 CUserMsg_SayText2::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_SayText2* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_SayText2::MergeFrom(const CUserMsg_SayText2& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_client()) { + set_client(from.client()); + } + if (from.has_chat()) { + set_chat(from.chat()); + } + if (from.has_format()) { + set_format(from.format()); + } + if (from.has_prefix()) { + set_prefix(from.prefix()); + } + if (from.has_text()) { + set_text(from.text()); + } + if (from.has_location()) { + set_location(from.location()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_SayText2::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_SayText2::CopyFrom(const CUserMsg_SayText2& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_SayText2::IsInitialized() const { + + return true; +} + +void CUserMsg_SayText2::Swap(CUserMsg_SayText2* other) { + if (other != this) { + std::swap(client_, other->client_); + std::swap(chat_, other->chat_); + std::swap(format_, other->format_); + std::swap(prefix_, other->prefix_); + std::swap(text_, other->text_); + std::swap(location_, other->location_); + 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 CUserMsg_SayText2::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_SayText2_descriptor_; + metadata.reflection = CUserMsg_SayText2_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_HudMsg::kChannelFieldNumber; +const int CUserMsg_HudMsg::kXFieldNumber; +const int CUserMsg_HudMsg::kYFieldNumber; +const int CUserMsg_HudMsg::kColor1FieldNumber; +const int CUserMsg_HudMsg::kColor2FieldNumber; +const int CUserMsg_HudMsg::kEffectFieldNumber; +const int CUserMsg_HudMsg::kFadeInTimeFieldNumber; +const int CUserMsg_HudMsg::kFadeOutTimeFieldNumber; +const int CUserMsg_HudMsg::kHoldTimeFieldNumber; +const int CUserMsg_HudMsg::kFxTimeFieldNumber; +const int CUserMsg_HudMsg::kMessageFieldNumber; +#endif // !_MSC_VER + +CUserMsg_HudMsg::CUserMsg_HudMsg() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_HudMsg::InitAsDefaultInstance() { +} + +CUserMsg_HudMsg::CUserMsg_HudMsg(const CUserMsg_HudMsg& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_HudMsg::SharedCtor() { + _cached_size_ = 0; + channel_ = 0u; + x_ = 0; + y_ = 0; + color1_ = 0u; + color2_ = 0u; + effect_ = 0u; + fade_in_time_ = 0; + fade_out_time_ = 0; + hold_time_ = 0; + fx_time_ = 0; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_HudMsg::~CUserMsg_HudMsg() { + SharedDtor(); +} + +void CUserMsg_HudMsg::SharedDtor() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + delete message_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_HudMsg::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_HudMsg::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_HudMsg_descriptor_; +} + +const CUserMsg_HudMsg& CUserMsg_HudMsg::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_HudMsg* CUserMsg_HudMsg::default_instance_ = NULL; + +CUserMsg_HudMsg* CUserMsg_HudMsg::New() const { + return new CUserMsg_HudMsg; +} + +void CUserMsg_HudMsg::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + channel_ = 0u; + x_ = 0; + y_ = 0; + color1_ = 0u; + color2_ = 0u; + effect_ = 0u; + fade_in_time_ = 0; + fade_out_time_ = 0; + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + hold_time_ = 0; + fx_time_ = 0; + if (has_message()) { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_HudMsg::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 uint32 channel = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &channel_))); + set_has_channel(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(21)) goto parse_x; + break; + } + + // optional float x = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_x: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &x_))); + set_has_x(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(29)) goto parse_y; + break; + } + + // optional float y = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_y: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &y_))); + set_has_y(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(32)) goto parse_color1; + break; + } + + // optional uint32 color1 = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_color1: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &color1_))); + set_has_color1(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(40)) goto parse_color2; + break; + } + + // optional uint32 color2 = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_color2: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &color2_))); + set_has_color2(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(48)) goto parse_effect; + break; + } + + // optional uint32 effect = 6; + case 6: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_effect: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &effect_))); + set_has_effect(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(61)) goto parse_fade_in_time; + break; + } + + // optional float fade_in_time = 7; + case 7: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_fade_in_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &fade_in_time_))); + set_has_fade_in_time(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(69)) goto parse_fade_out_time; + break; + } + + // optional float fade_out_time = 8; + case 8: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_fade_out_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &fade_out_time_))); + set_has_fade_out_time(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(77)) goto parse_hold_time; + break; + } + + // optional float hold_time = 9; + case 9: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_hold_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &hold_time_))); + set_has_hold_time(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(85)) goto parse_fx_time; + break; + } + + // optional float fx_time = 10; + case 10: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_FIXED32) { + parse_fx_time: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &fx_time_))); + set_has_fx_time(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(90)) goto parse_message; + break; + } + + // optional string message = 11; + case 11: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_message: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CUserMsg_HudMsg::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 channel = 1; + if (has_channel()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->channel(), output); + } + + // optional float x = 2; + if (has_x()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(2, this->x(), output); + } + + // optional float y = 3; + if (has_y()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(3, this->y(), output); + } + + // optional uint32 color1 = 4; + if (has_color1()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->color1(), output); + } + + // optional uint32 color2 = 5; + if (has_color2()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->color2(), output); + } + + // optional uint32 effect = 6; + if (has_effect()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->effect(), output); + } + + // optional float fade_in_time = 7; + if (has_fade_in_time()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(7, this->fade_in_time(), output); + } + + // optional float fade_out_time = 8; + if (has_fade_out_time()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(8, this->fade_out_time(), output); + } + + // optional float hold_time = 9; + if (has_hold_time()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(9, this->hold_time(), output); + } + + // optional float fx_time = 10; + if (has_fx_time()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(10, this->fx_time(), output); + } + + // optional string message = 11; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 11, this->message(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_HudMsg::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 channel = 1; + if (has_channel()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->channel(), target); + } + + // optional float x = 2; + if (has_x()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(2, this->x(), target); + } + + // optional float y = 3; + if (has_y()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(3, this->y(), target); + } + + // optional uint32 color1 = 4; + if (has_color1()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->color1(), target); + } + + // optional uint32 color2 = 5; + if (has_color2()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->color2(), target); + } + + // optional uint32 effect = 6; + if (has_effect()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->effect(), target); + } + + // optional float fade_in_time = 7; + if (has_fade_in_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(7, this->fade_in_time(), target); + } + + // optional float fade_out_time = 8; + if (has_fade_out_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(8, this->fade_out_time(), target); + } + + // optional float hold_time = 9; + if (has_hold_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(9, this->hold_time(), target); + } + + // optional float fx_time = 10; + if (has_fx_time()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(10, this->fx_time(), target); + } + + // optional string message = 11; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 11, this->message(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_HudMsg::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 channel = 1; + if (has_channel()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->channel()); + } + + // optional float x = 2; + if (has_x()) { + total_size += 1 + 4; + } + + // optional float y = 3; + if (has_y()) { + total_size += 1 + 4; + } + + // optional uint32 color1 = 4; + if (has_color1()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->color1()); + } + + // optional uint32 color2 = 5; + if (has_color2()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->color2()); + } + + // optional uint32 effect = 6; + if (has_effect()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->effect()); + } + + // optional float fade_in_time = 7; + if (has_fade_in_time()) { + total_size += 1 + 4; + } + + // optional float fade_out_time = 8; + if (has_fade_out_time()) { + total_size += 1 + 4; + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional float hold_time = 9; + if (has_hold_time()) { + total_size += 1 + 4; + } + + // optional float fx_time = 10; + if (has_fx_time()) { + total_size += 1 + 4; + } + + // optional string message = 11; + if (has_message()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + } + 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 CUserMsg_HudMsg::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_HudMsg* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_HudMsg::MergeFrom(const CUserMsg_HudMsg& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_channel()) { + set_channel(from.channel()); + } + if (from.has_x()) { + set_x(from.x()); + } + if (from.has_y()) { + set_y(from.y()); + } + if (from.has_color1()) { + set_color1(from.color1()); + } + if (from.has_color2()) { + set_color2(from.color2()); + } + if (from.has_effect()) { + set_effect(from.effect()); + } + if (from.has_fade_in_time()) { + set_fade_in_time(from.fade_in_time()); + } + if (from.has_fade_out_time()) { + set_fade_out_time(from.fade_out_time()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_hold_time()) { + set_hold_time(from.hold_time()); + } + if (from.has_fx_time()) { + set_fx_time(from.fx_time()); + } + if (from.has_message()) { + set_message(from.message()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_HudMsg::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_HudMsg::CopyFrom(const CUserMsg_HudMsg& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_HudMsg::IsInitialized() const { + + return true; +} + +void CUserMsg_HudMsg::Swap(CUserMsg_HudMsg* other) { + if (other != this) { + std::swap(channel_, other->channel_); + std::swap(x_, other->x_); + std::swap(y_, other->y_); + std::swap(color1_, other->color1_); + std::swap(color2_, other->color2_); + std::swap(effect_, other->effect_); + std::swap(fade_in_time_, other->fade_in_time_); + std::swap(fade_out_time_, other->fade_out_time_); + std::swap(hold_time_, other->hold_time_); + std::swap(fx_time_, other->fx_time_); + std::swap(message_, other->message_); + 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 CUserMsg_HudMsg::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_HudMsg_descriptor_; + metadata.reflection = CUserMsg_HudMsg_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_HudText::kMessageFieldNumber; +#endif // !_MSC_VER + +CUserMsg_HudText::CUserMsg_HudText() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_HudText::InitAsDefaultInstance() { +} + +CUserMsg_HudText::CUserMsg_HudText(const CUserMsg_HudText& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_HudText::SharedCtor() { + _cached_size_ = 0; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_HudText::~CUserMsg_HudText() { + SharedDtor(); +} + +void CUserMsg_HudText::SharedDtor() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + delete message_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_HudText::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_HudText::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_HudText_descriptor_; +} + +const CUserMsg_HudText& CUserMsg_HudText::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_HudText* CUserMsg_HudText::default_instance_ = NULL; + +CUserMsg_HudText* CUserMsg_HudText::New() const { + return new CUserMsg_HudText; +} + +void CUserMsg_HudText::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_message()) { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_HudText::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 string message = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CUserMsg_HudText::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->message(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_HudText::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->message(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_HudText::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string message = 1; + if (has_message()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + } + 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 CUserMsg_HudText::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_HudText* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_HudText::MergeFrom(const CUserMsg_HudText& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_message()) { + set_message(from.message()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_HudText::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_HudText::CopyFrom(const CUserMsg_HudText& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_HudText::IsInitialized() const { + + return true; +} + +void CUserMsg_HudText::Swap(CUserMsg_HudText* other) { + if (other != this) { + std::swap(message_, other->message_); + 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 CUserMsg_HudText::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_HudText_descriptor_; + metadata.reflection = CUserMsg_HudText_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_TextMsg::kDestFieldNumber; +const int CUserMsg_TextMsg::kParamFieldNumber; +#endif // !_MSC_VER + +CUserMsg_TextMsg::CUserMsg_TextMsg() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_TextMsg::InitAsDefaultInstance() { +} + +CUserMsg_TextMsg::CUserMsg_TextMsg(const CUserMsg_TextMsg& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_TextMsg::SharedCtor() { + _cached_size_ = 0; + dest_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_TextMsg::~CUserMsg_TextMsg() { + SharedDtor(); +} + +void CUserMsg_TextMsg::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_TextMsg::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_TextMsg::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_TextMsg_descriptor_; +} + +const CUserMsg_TextMsg& CUserMsg_TextMsg::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_TextMsg* CUserMsg_TextMsg::default_instance_ = NULL; + +CUserMsg_TextMsg* CUserMsg_TextMsg::New() const { + return new CUserMsg_TextMsg; +} + +void CUserMsg_TextMsg::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + dest_ = 0u; + } + param_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_TextMsg::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 uint32 dest = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &dest_))); + set_has_dest(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_param; + break; + } + + // repeated string param = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_param: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_param())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->param(0).data(), this->param(0).length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_param; + 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 CUserMsg_TextMsg::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 dest = 1; + if (has_dest()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->dest(), output); + } + + // repeated string param = 2; + for (int i = 0; i < this->param_size(); i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->param(i).data(), this->param(i).length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->param(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_TextMsg::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 dest = 1; + if (has_dest()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->dest(), target); + } + + // repeated string param = 2; + for (int i = 0; i < this->param_size(); i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->param(i).data(), this->param(i).length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(2, this->param(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_TextMsg::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 dest = 1; + if (has_dest()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->dest()); + } + + } + // repeated string param = 2; + total_size += 1 * this->param_size(); + for (int i = 0; i < this->param_size(); i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->param(i)); + } + + 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 CUserMsg_TextMsg::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_TextMsg* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_TextMsg::MergeFrom(const CUserMsg_TextMsg& from) { + GOOGLE_CHECK_NE(&from, this); + param_.MergeFrom(from.param_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_dest()) { + set_dest(from.dest()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_TextMsg::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_TextMsg::CopyFrom(const CUserMsg_TextMsg& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_TextMsg::IsInitialized() const { + + return true; +} + +void CUserMsg_TextMsg::Swap(CUserMsg_TextMsg* other) { + if (other != this) { + std::swap(dest_, other->dest_); + param_.Swap(&other->param_); + 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 CUserMsg_TextMsg::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_TextMsg_descriptor_; + metadata.reflection = CUserMsg_TextMsg_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CUserMsg_GameTitle::CUserMsg_GameTitle() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_GameTitle::InitAsDefaultInstance() { +} + +CUserMsg_GameTitle::CUserMsg_GameTitle(const CUserMsg_GameTitle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_GameTitle::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_GameTitle::~CUserMsg_GameTitle() { + SharedDtor(); +} + +void CUserMsg_GameTitle::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_GameTitle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_GameTitle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_GameTitle_descriptor_; +} + +const CUserMsg_GameTitle& CUserMsg_GameTitle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_GameTitle* CUserMsg_GameTitle::default_instance_ = NULL; + +CUserMsg_GameTitle* CUserMsg_GameTitle::New() const { + return new CUserMsg_GameTitle; +} + +void CUserMsg_GameTitle::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_GameTitle::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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())); + } + return true; +#undef DO_ +} + +void CUserMsg_GameTitle::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_GameTitle::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_GameTitle::ByteSize() const { + int total_size = 0; + + 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 CUserMsg_GameTitle::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_GameTitle* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_GameTitle::MergeFrom(const CUserMsg_GameTitle& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_GameTitle::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_GameTitle::CopyFrom(const CUserMsg_GameTitle& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_GameTitle::IsInitialized() const { + + return true; +} + +void CUserMsg_GameTitle::Swap(CUserMsg_GameTitle* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CUserMsg_GameTitle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_GameTitle_descriptor_; + metadata.reflection = CUserMsg_GameTitle_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CUserMsg_ResetHUD::CUserMsg_ResetHUD() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_ResetHUD::InitAsDefaultInstance() { +} + +CUserMsg_ResetHUD::CUserMsg_ResetHUD(const CUserMsg_ResetHUD& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_ResetHUD::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_ResetHUD::~CUserMsg_ResetHUD() { + SharedDtor(); +} + +void CUserMsg_ResetHUD::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_ResetHUD::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_ResetHUD::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_ResetHUD_descriptor_; +} + +const CUserMsg_ResetHUD& CUserMsg_ResetHUD::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_ResetHUD* CUserMsg_ResetHUD::default_instance_ = NULL; + +CUserMsg_ResetHUD* CUserMsg_ResetHUD::New() const { + return new CUserMsg_ResetHUD; +} + +void CUserMsg_ResetHUD::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_ResetHUD::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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())); + } + return true; +#undef DO_ +} + +void CUserMsg_ResetHUD::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_ResetHUD::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_ResetHUD::ByteSize() const { + int total_size = 0; + + 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 CUserMsg_ResetHUD::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_ResetHUD* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_ResetHUD::MergeFrom(const CUserMsg_ResetHUD& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_ResetHUD::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_ResetHUD::CopyFrom(const CUserMsg_ResetHUD& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_ResetHUD::IsInitialized() const { + + return true; +} + +void CUserMsg_ResetHUD::Swap(CUserMsg_ResetHUD* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CUserMsg_ResetHUD::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_ResetHUD_descriptor_; + metadata.reflection = CUserMsg_ResetHUD_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_SendAudio::kStopFieldNumber; +const int CUserMsg_SendAudio::kNameFieldNumber; +#endif // !_MSC_VER + +CUserMsg_SendAudio::CUserMsg_SendAudio() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_SendAudio::InitAsDefaultInstance() { +} + +CUserMsg_SendAudio::CUserMsg_SendAudio(const CUserMsg_SendAudio& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_SendAudio::SharedCtor() { + _cached_size_ = 0; + stop_ = false; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_SendAudio::~CUserMsg_SendAudio() { + SharedDtor(); +} + +void CUserMsg_SendAudio::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_SendAudio::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_SendAudio::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_SendAudio_descriptor_; +} + +const CUserMsg_SendAudio& CUserMsg_SendAudio::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_SendAudio* CUserMsg_SendAudio::default_instance_ = NULL; + +CUserMsg_SendAudio* CUserMsg_SendAudio::New() const { + return new CUserMsg_SendAudio; +} + +void CUserMsg_SendAudio::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + stop_ = false; + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_SendAudio::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 bool stop = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &stop_))); + set_has_stop(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_name; + break; + } + + // optional string name = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_name: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CUserMsg_SendAudio::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool stop = 2; + if (has_stop()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->stop(), output); + } + + // optional string name = 3; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->name(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_SendAudio::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool stop = 2; + if (has_stop()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->stop(), target); + } + + // optional string name = 3; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->name(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_SendAudio::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool stop = 2; + if (has_stop()) { + total_size += 1 + 1; + } + + // optional string name = 3; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + } + 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 CUserMsg_SendAudio::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_SendAudio* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_SendAudio::MergeFrom(const CUserMsg_SendAudio& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_stop()) { + set_stop(from.stop()); + } + if (from.has_name()) { + set_name(from.name()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_SendAudio::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_SendAudio::CopyFrom(const CUserMsg_SendAudio& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_SendAudio::IsInitialized() const { + + return true; +} + +void CUserMsg_SendAudio::Swap(CUserMsg_SendAudio* other) { + if (other != this) { + std::swap(stop_, other->stop_); + std::swap(name_, other->name_); + 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 CUserMsg_SendAudio::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_SendAudio_descriptor_; + metadata.reflection = CUserMsg_SendAudio_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_VoiceMask::kAudiblePlayersMaskFieldNumber; +const int CUserMsg_VoiceMask::kPlayerModEnabledFieldNumber; +#endif // !_MSC_VER + +CUserMsg_VoiceMask::CUserMsg_VoiceMask() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_VoiceMask::InitAsDefaultInstance() { +} + +CUserMsg_VoiceMask::CUserMsg_VoiceMask(const CUserMsg_VoiceMask& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_VoiceMask::SharedCtor() { + _cached_size_ = 0; + player_mod_enabled_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_VoiceMask::~CUserMsg_VoiceMask() { + SharedDtor(); +} + +void CUserMsg_VoiceMask::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_VoiceMask::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_VoiceMask::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_VoiceMask_descriptor_; +} + +const CUserMsg_VoiceMask& CUserMsg_VoiceMask::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_VoiceMask* CUserMsg_VoiceMask::default_instance_ = NULL; + +CUserMsg_VoiceMask* CUserMsg_VoiceMask::New() const { + return new CUserMsg_VoiceMask; +} + +void CUserMsg_VoiceMask::Clear() { + if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) { + player_mod_enabled_ = false; + } + audible_players_mask_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_VoiceMask::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)) { + // repeated int32 audible_players_mask = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_audible_players_mask: + DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + 1, 8, input, this->mutable_audible_players_mask()))); + } 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_audible_players_mask()))); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(8)) goto parse_audible_players_mask; + if (input->ExpectTag(16)) goto parse_player_mod_enabled; + break; + } + + // optional bool player_mod_enabled = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_player_mod_enabled: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &player_mod_enabled_))); + set_has_player_mod_enabled(); + } 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 CUserMsg_VoiceMask::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated int32 audible_players_mask = 1; + for (int i = 0; i < this->audible_players_mask_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteInt32( + 1, this->audible_players_mask(i), output); + } + + // optional bool player_mod_enabled = 2; + if (has_player_mod_enabled()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->player_mod_enabled(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_VoiceMask::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated int32 audible_players_mask = 1; + for (int i = 0; i < this->audible_players_mask_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArray(1, this->audible_players_mask(i), target); + } + + // optional bool player_mod_enabled = 2; + if (has_player_mod_enabled()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->player_mod_enabled(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_VoiceMask::ByteSize() const { + int total_size = 0; + + if (_has_bits_[1 / 32] & (0xffu << (1 % 32))) { + // optional bool player_mod_enabled = 2; + if (has_player_mod_enabled()) { + total_size += 1 + 1; + } + + } + // repeated int32 audible_players_mask = 1; + { + int data_size = 0; + for (int i = 0; i < this->audible_players_mask_size(); i++) { + data_size += ::google::protobuf::internal::WireFormatLite:: + Int32Size(this->audible_players_mask(i)); + } + total_size += 1 * this->audible_players_mask_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 CUserMsg_VoiceMask::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_VoiceMask* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_VoiceMask::MergeFrom(const CUserMsg_VoiceMask& from) { + GOOGLE_CHECK_NE(&from, this); + audible_players_mask_.MergeFrom(from.audible_players_mask_); + if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) { + if (from.has_player_mod_enabled()) { + set_player_mod_enabled(from.player_mod_enabled()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_VoiceMask::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_VoiceMask::CopyFrom(const CUserMsg_VoiceMask& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_VoiceMask::IsInitialized() const { + + return true; +} + +void CUserMsg_VoiceMask::Swap(CUserMsg_VoiceMask* other) { + if (other != this) { + audible_players_mask_.Swap(&other->audible_players_mask_); + std::swap(player_mod_enabled_, other->player_mod_enabled_); + 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 CUserMsg_VoiceMask::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_VoiceMask_descriptor_; + metadata.reflection = CUserMsg_VoiceMask_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CUserMsg_RequestState::CUserMsg_RequestState() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_RequestState::InitAsDefaultInstance() { +} + +CUserMsg_RequestState::CUserMsg_RequestState(const CUserMsg_RequestState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_RequestState::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_RequestState::~CUserMsg_RequestState() { + SharedDtor(); +} + +void CUserMsg_RequestState::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_RequestState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_RequestState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_RequestState_descriptor_; +} + +const CUserMsg_RequestState& CUserMsg_RequestState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_RequestState* CUserMsg_RequestState::default_instance_ = NULL; + +CUserMsg_RequestState* CUserMsg_RequestState::New() const { + return new CUserMsg_RequestState; +} + +void CUserMsg_RequestState::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_RequestState::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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())); + } + return true; +#undef DO_ +} + +void CUserMsg_RequestState::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_RequestState::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_RequestState::ByteSize() const { + int total_size = 0; + + 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 CUserMsg_RequestState::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_RequestState* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_RequestState::MergeFrom(const CUserMsg_RequestState& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_RequestState::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_RequestState::CopyFrom(const CUserMsg_RequestState& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_RequestState::IsInitialized() const { + + return true; +} + +void CUserMsg_RequestState::Swap(CUserMsg_RequestState* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CUserMsg_RequestState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_RequestState_descriptor_; + metadata.reflection = CUserMsg_RequestState_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_HintText::kMessageFieldNumber; +#endif // !_MSC_VER + +CUserMsg_HintText::CUserMsg_HintText() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_HintText::InitAsDefaultInstance() { +} + +CUserMsg_HintText::CUserMsg_HintText(const CUserMsg_HintText& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_HintText::SharedCtor() { + _cached_size_ = 0; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_HintText::~CUserMsg_HintText() { + SharedDtor(); +} + +void CUserMsg_HintText::SharedDtor() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + delete message_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_HintText::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_HintText::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_HintText_descriptor_; +} + +const CUserMsg_HintText& CUserMsg_HintText::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_HintText* CUserMsg_HintText::default_instance_ = NULL; + +CUserMsg_HintText* CUserMsg_HintText::New() const { + return new CUserMsg_HintText; +} + +void CUserMsg_HintText::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_message()) { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_HintText::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 string message = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_message())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CUserMsg_HintText::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->message(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_HintText::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string message = 1; + if (has_message()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->message().data(), this->message().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->message(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_HintText::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string message = 1; + if (has_message()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->message()); + } + + } + 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 CUserMsg_HintText::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_HintText* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_HintText::MergeFrom(const CUserMsg_HintText& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_message()) { + set_message(from.message()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_HintText::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_HintText::CopyFrom(const CUserMsg_HintText& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_HintText::IsInitialized() const { + + return true; +} + +void CUserMsg_HintText::Swap(CUserMsg_HintText* other) { + if (other != this) { + std::swap(message_, other->message_); + 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 CUserMsg_HintText::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_HintText_descriptor_; + metadata.reflection = CUserMsg_HintText_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_KeyHintText::kMessagesFieldNumber; +#endif // !_MSC_VER + +CUserMsg_KeyHintText::CUserMsg_KeyHintText() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_KeyHintText::InitAsDefaultInstance() { +} + +CUserMsg_KeyHintText::CUserMsg_KeyHintText(const CUserMsg_KeyHintText& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_KeyHintText::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_KeyHintText::~CUserMsg_KeyHintText() { + SharedDtor(); +} + +void CUserMsg_KeyHintText::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_KeyHintText::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_KeyHintText::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_KeyHintText_descriptor_; +} + +const CUserMsg_KeyHintText& CUserMsg_KeyHintText::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_KeyHintText* CUserMsg_KeyHintText::default_instance_ = NULL; + +CUserMsg_KeyHintText* CUserMsg_KeyHintText::New() const { + return new CUserMsg_KeyHintText; +} + +void CUserMsg_KeyHintText::Clear() { + messages_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_KeyHintText::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)) { + // repeated string messages = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_messages: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_messages())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->messages(0).data(), this->messages(0).length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(10)) goto parse_messages; + 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 CUserMsg_KeyHintText::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // repeated string messages = 1; + for (int i = 0; i < this->messages_size(); i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->messages(i).data(), this->messages(i).length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->messages(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_KeyHintText::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // repeated string messages = 1; + for (int i = 0; i < this->messages_size(); i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->messages(i).data(), this->messages(i).length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->messages(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_KeyHintText::ByteSize() const { + int total_size = 0; + + // repeated string messages = 1; + total_size += 1 * this->messages_size(); + for (int i = 0; i < this->messages_size(); i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->messages(i)); + } + + 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 CUserMsg_KeyHintText::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_KeyHintText* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_KeyHintText::MergeFrom(const CUserMsg_KeyHintText& from) { + GOOGLE_CHECK_NE(&from, this); + messages_.MergeFrom(from.messages_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_KeyHintText::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_KeyHintText::CopyFrom(const CUserMsg_KeyHintText& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_KeyHintText::IsInitialized() const { + + return true; +} + +void CUserMsg_KeyHintText::Swap(CUserMsg_KeyHintText* other) { + if (other != this) { + messages_.Swap(&other->messages_); + 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 CUserMsg_KeyHintText::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_KeyHintText_descriptor_; + metadata.reflection = CUserMsg_KeyHintText_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CUserMsg_StatsCrawlMsg::CUserMsg_StatsCrawlMsg() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_StatsCrawlMsg::InitAsDefaultInstance() { +} + +CUserMsg_StatsCrawlMsg::CUserMsg_StatsCrawlMsg(const CUserMsg_StatsCrawlMsg& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_StatsCrawlMsg::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_StatsCrawlMsg::~CUserMsg_StatsCrawlMsg() { + SharedDtor(); +} + +void CUserMsg_StatsCrawlMsg::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_StatsCrawlMsg::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_StatsCrawlMsg::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_StatsCrawlMsg_descriptor_; +} + +const CUserMsg_StatsCrawlMsg& CUserMsg_StatsCrawlMsg::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_StatsCrawlMsg* CUserMsg_StatsCrawlMsg::default_instance_ = NULL; + +CUserMsg_StatsCrawlMsg* CUserMsg_StatsCrawlMsg::New() const { + return new CUserMsg_StatsCrawlMsg; +} + +void CUserMsg_StatsCrawlMsg::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_StatsCrawlMsg::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) return false + ::google::protobuf::uint32 tag; + while ((tag = input->ReadTag()) != 0) { + 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())); + } + return true; +#undef DO_ +} + +void CUserMsg_StatsCrawlMsg::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_StatsCrawlMsg::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_StatsCrawlMsg::ByteSize() const { + int total_size = 0; + + 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 CUserMsg_StatsCrawlMsg::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_StatsCrawlMsg* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_StatsCrawlMsg::MergeFrom(const CUserMsg_StatsCrawlMsg& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_StatsCrawlMsg::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_StatsCrawlMsg::CopyFrom(const CUserMsg_StatsCrawlMsg& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_StatsCrawlMsg::IsInitialized() const { + + return true; +} + +void CUserMsg_StatsCrawlMsg::Swap(CUserMsg_StatsCrawlMsg* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CUserMsg_StatsCrawlMsg::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_StatsCrawlMsg_descriptor_; + metadata.reflection = CUserMsg_StatsCrawlMsg_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_StatsSkipState::kNumSkipsFieldNumber; +const int CUserMsg_StatsSkipState::kNumPlayersFieldNumber; +#endif // !_MSC_VER + +CUserMsg_StatsSkipState::CUserMsg_StatsSkipState() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_StatsSkipState::InitAsDefaultInstance() { +} + +CUserMsg_StatsSkipState::CUserMsg_StatsSkipState(const CUserMsg_StatsSkipState& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_StatsSkipState::SharedCtor() { + _cached_size_ = 0; + num_skips_ = 0; + num_players_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_StatsSkipState::~CUserMsg_StatsSkipState() { + SharedDtor(); +} + +void CUserMsg_StatsSkipState::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_StatsSkipState::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_StatsSkipState::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_StatsSkipState_descriptor_; +} + +const CUserMsg_StatsSkipState& CUserMsg_StatsSkipState::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_StatsSkipState* CUserMsg_StatsSkipState::default_instance_ = NULL; + +CUserMsg_StatsSkipState* CUserMsg_StatsSkipState::New() const { + return new CUserMsg_StatsSkipState; +} + +void CUserMsg_StatsSkipState::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + num_skips_ = 0; + num_players_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_StatsSkipState::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 int32 num_skips = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &num_skips_))); + set_has_num_skips(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_num_players; + break; + } + + // optional int32 num_players = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_num_players: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &num_players_))); + set_has_num_players(); + } 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 CUserMsg_StatsSkipState::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 num_skips = 1; + if (has_num_skips()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->num_skips(), output); + } + + // optional int32 num_players = 2; + if (has_num_players()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_players(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_StatsSkipState::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 num_skips = 1; + if (has_num_skips()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->num_skips(), target); + } + + // optional int32 num_players = 2; + if (has_num_players()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_players(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_StatsSkipState::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 num_skips = 1; + if (has_num_skips()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->num_skips()); + } + + // optional int32 num_players = 2; + if (has_num_players()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->num_players()); + } + + } + 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 CUserMsg_StatsSkipState::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_StatsSkipState* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_StatsSkipState::MergeFrom(const CUserMsg_StatsSkipState& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_num_skips()) { + set_num_skips(from.num_skips()); + } + if (from.has_num_players()) { + set_num_players(from.num_players()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_StatsSkipState::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_StatsSkipState::CopyFrom(const CUserMsg_StatsSkipState& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_StatsSkipState::IsInitialized() const { + + return true; +} + +void CUserMsg_StatsSkipState::Swap(CUserMsg_StatsSkipState* other) { + if (other != this) { + std::swap(num_skips_, other->num_skips_); + std::swap(num_players_, other->num_players_); + 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 CUserMsg_StatsSkipState::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_StatsSkipState_descriptor_; + metadata.reflection = CUserMsg_StatsSkipState_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_VoiceSubtitle::kEntIndexFieldNumber; +const int CUserMsg_VoiceSubtitle::kMenuFieldNumber; +const int CUserMsg_VoiceSubtitle::kItemFieldNumber; +#endif // !_MSC_VER + +CUserMsg_VoiceSubtitle::CUserMsg_VoiceSubtitle() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_VoiceSubtitle::InitAsDefaultInstance() { +} + +CUserMsg_VoiceSubtitle::CUserMsg_VoiceSubtitle(const CUserMsg_VoiceSubtitle& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_VoiceSubtitle::SharedCtor() { + _cached_size_ = 0; + ent_index_ = 0; + menu_ = 0; + item_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_VoiceSubtitle::~CUserMsg_VoiceSubtitle() { + SharedDtor(); +} + +void CUserMsg_VoiceSubtitle::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_VoiceSubtitle::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_VoiceSubtitle::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_VoiceSubtitle_descriptor_; +} + +const CUserMsg_VoiceSubtitle& CUserMsg_VoiceSubtitle::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_VoiceSubtitle* CUserMsg_VoiceSubtitle::default_instance_ = NULL; + +CUserMsg_VoiceSubtitle* CUserMsg_VoiceSubtitle::New() const { + return new CUserMsg_VoiceSubtitle; +} + +void CUserMsg_VoiceSubtitle::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + ent_index_ = 0; + menu_ = 0; + item_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_VoiceSubtitle::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 int32 ent_index = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &ent_index_))); + set_has_ent_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_menu; + break; + } + + // optional int32 menu = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_menu: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &menu_))); + set_has_menu(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_item; + break; + } + + // optional int32 item = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_item: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &item_))); + set_has_item(); + } 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 CUserMsg_VoiceSubtitle::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 ent_index = 1; + if (has_ent_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->ent_index(), output); + } + + // optional int32 menu = 2; + if (has_menu()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->menu(), output); + } + + // optional int32 item = 3; + if (has_item()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->item(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_VoiceSubtitle::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 ent_index = 1; + if (has_ent_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->ent_index(), target); + } + + // optional int32 menu = 2; + if (has_menu()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->menu(), target); + } + + // optional int32 item = 3; + if (has_item()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->item(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_VoiceSubtitle::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 ent_index = 1; + if (has_ent_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->ent_index()); + } + + // optional int32 menu = 2; + if (has_menu()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->menu()); + } + + // optional int32 item = 3; + if (has_item()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->item()); + } + + } + 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 CUserMsg_VoiceSubtitle::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_VoiceSubtitle* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_VoiceSubtitle::MergeFrom(const CUserMsg_VoiceSubtitle& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_ent_index()) { + set_ent_index(from.ent_index()); + } + if (from.has_menu()) { + set_menu(from.menu()); + } + if (from.has_item()) { + set_item(from.item()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_VoiceSubtitle::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_VoiceSubtitle::CopyFrom(const CUserMsg_VoiceSubtitle& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_VoiceSubtitle::IsInitialized() const { + + return true; +} + +void CUserMsg_VoiceSubtitle::Swap(CUserMsg_VoiceSubtitle* other) { + if (other != this) { + std::swap(ent_index_, other->ent_index_); + std::swap(menu_, other->menu_); + std::swap(item_, other->item_); + 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 CUserMsg_VoiceSubtitle::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_VoiceSubtitle_descriptor_; + metadata.reflection = CUserMsg_VoiceSubtitle_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_VGUIMenu_Keys::kNameFieldNumber; +const int CUserMsg_VGUIMenu_Keys::kValueFieldNumber; +#endif // !_MSC_VER + +CUserMsg_VGUIMenu_Keys::CUserMsg_VGUIMenu_Keys() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_VGUIMenu_Keys::InitAsDefaultInstance() { +} + +CUserMsg_VGUIMenu_Keys::CUserMsg_VGUIMenu_Keys(const CUserMsg_VGUIMenu_Keys& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_VGUIMenu_Keys::SharedCtor() { + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_VGUIMenu_Keys::~CUserMsg_VGUIMenu_Keys() { + SharedDtor(); +} + +void CUserMsg_VGUIMenu_Keys::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (value_ != &::google::protobuf::internal::kEmptyString) { + delete value_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_VGUIMenu_Keys::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_VGUIMenu_Keys::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_VGUIMenu_Keys_descriptor_; +} + +const CUserMsg_VGUIMenu_Keys& CUserMsg_VGUIMenu_Keys::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_VGUIMenu_Keys* CUserMsg_VGUIMenu_Keys::default_instance_ = NULL; + +CUserMsg_VGUIMenu_Keys* CUserMsg_VGUIMenu_Keys::New() const { + return new CUserMsg_VGUIMenu_Keys; +} + +void CUserMsg_VGUIMenu_Keys::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + if (has_value()) { + if (value_ != &::google::protobuf::internal::kEmptyString) { + value_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_VGUIMenu_Keys::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 string name = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_value; + break; + } + + // optional string value = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_value: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_value())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CUserMsg_VGUIMenu_Keys::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->name(), output); + } + + // optional string value = 2; + if (has_value()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->value(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_VGUIMenu_Keys::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->name(), target); + } + + // optional string value = 2; + if (has_value()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->value().data(), this->value().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->value(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_VGUIMenu_Keys::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string name = 1; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + // optional string value = 2; + if (has_value()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->value()); + } + + } + 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 CUserMsg_VGUIMenu_Keys::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_VGUIMenu_Keys* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_VGUIMenu_Keys::MergeFrom(const CUserMsg_VGUIMenu_Keys& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_name()) { + set_name(from.name()); + } + if (from.has_value()) { + set_value(from.value()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_VGUIMenu_Keys::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_VGUIMenu_Keys::CopyFrom(const CUserMsg_VGUIMenu_Keys& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_VGUIMenu_Keys::IsInitialized() const { + + return true; +} + +void CUserMsg_VGUIMenu_Keys::Swap(CUserMsg_VGUIMenu_Keys* other) { + if (other != this) { + std::swap(name_, other->name_); + std::swap(value_, other->value_); + 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 CUserMsg_VGUIMenu_Keys::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_VGUIMenu_Keys_descriptor_; + metadata.reflection = CUserMsg_VGUIMenu_Keys_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CUserMsg_VGUIMenu::kNameFieldNumber; +const int CUserMsg_VGUIMenu::kShowFieldNumber; +const int CUserMsg_VGUIMenu::kKeysFieldNumber; +#endif // !_MSC_VER + +CUserMsg_VGUIMenu::CUserMsg_VGUIMenu() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_VGUIMenu::InitAsDefaultInstance() { +} + +CUserMsg_VGUIMenu::CUserMsg_VGUIMenu(const CUserMsg_VGUIMenu& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_VGUIMenu::SharedCtor() { + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + show_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_VGUIMenu::~CUserMsg_VGUIMenu() { + SharedDtor(); +} + +void CUserMsg_VGUIMenu::SharedDtor() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + delete name_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_VGUIMenu::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_VGUIMenu::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_VGUIMenu_descriptor_; +} + +const CUserMsg_VGUIMenu& CUserMsg_VGUIMenu::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_VGUIMenu* CUserMsg_VGUIMenu::default_instance_ = NULL; + +CUserMsg_VGUIMenu* CUserMsg_VGUIMenu::New() const { + return new CUserMsg_VGUIMenu; +} + +void CUserMsg_VGUIMenu::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_name()) { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + } + show_ = false; + } + keys_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_VGUIMenu::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 string name = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_show; + break; + } + + // optional bool show = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_show: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &show_))); + set_has_show(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_keys; + break; + } + + // repeated .CUserMsg_VGUIMenu.Keys keys = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_keys: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_keys())); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_keys; + 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 CUserMsg_VGUIMenu::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->name(), output); + } + + // optional bool show = 2; + if (has_show()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->show(), output); + } + + // repeated .CUserMsg_VGUIMenu.Keys keys = 3; + for (int i = 0; i < this->keys_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->keys(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_VGUIMenu::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->name(), target); + } + + // optional bool show = 2; + if (has_show()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->show(), target); + } + + // repeated .CUserMsg_VGUIMenu.Keys keys = 3; + for (int i = 0; i < this->keys_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->keys(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_VGUIMenu::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string name = 1; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + // optional bool show = 2; + if (has_show()) { + total_size += 1 + 1; + } + + } + // repeated .CUserMsg_VGUIMenu.Keys keys = 3; + total_size += 1 * this->keys_size(); + for (int i = 0; i < this->keys_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->keys(i)); + } + + 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 CUserMsg_VGUIMenu::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_VGUIMenu* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_VGUIMenu::MergeFrom(const CUserMsg_VGUIMenu& from) { + GOOGLE_CHECK_NE(&from, this); + keys_.MergeFrom(from.keys_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_name()) { + set_name(from.name()); + } + if (from.has_show()) { + set_show(from.show()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_VGUIMenu::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_VGUIMenu::CopyFrom(const CUserMsg_VGUIMenu& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_VGUIMenu::IsInitialized() const { + + return true; +} + +void CUserMsg_VGUIMenu::Swap(CUserMsg_VGUIMenu* other) { + if (other != this) { + std::swap(name_, other->name_); + std::swap(show_, other->show_); + keys_.Swap(&other->keys_); + 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 CUserMsg_VGUIMenu::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_VGUIMenu_descriptor_; + metadata.reflection = CUserMsg_VGUIMenu_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_Geiger::kRangeFieldNumber; +#endif // !_MSC_VER + +CUserMsg_Geiger::CUserMsg_Geiger() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_Geiger::InitAsDefaultInstance() { +} + +CUserMsg_Geiger::CUserMsg_Geiger(const CUserMsg_Geiger& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_Geiger::SharedCtor() { + _cached_size_ = 0; + range_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_Geiger::~CUserMsg_Geiger() { + SharedDtor(); +} + +void CUserMsg_Geiger::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_Geiger::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_Geiger::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_Geiger_descriptor_; +} + +const CUserMsg_Geiger& CUserMsg_Geiger::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_Geiger* CUserMsg_Geiger::default_instance_ = NULL; + +CUserMsg_Geiger* CUserMsg_Geiger::New() const { + return new CUserMsg_Geiger; +} + +void CUserMsg_Geiger::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + range_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_Geiger::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 int32 range = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &range_))); + set_has_range(); + } 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 CUserMsg_Geiger::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 range = 1; + if (has_range()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->range(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_Geiger::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 range = 1; + if (has_range()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->range(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_Geiger::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 range = 1; + if (has_range()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->range()); + } + + } + 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 CUserMsg_Geiger::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_Geiger* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_Geiger::MergeFrom(const CUserMsg_Geiger& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_range()) { + set_range(from.range()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_Geiger::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_Geiger::CopyFrom(const CUserMsg_Geiger& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_Geiger::IsInitialized() const { + + return true; +} + +void CUserMsg_Geiger::Swap(CUserMsg_Geiger* other) { + if (other != this) { + std::swap(range_, other->range_); + 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 CUserMsg_Geiger::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_Geiger_descriptor_; + metadata.reflection = CUserMsg_Geiger_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_Rumble::kIndexFieldNumber; +const int CUserMsg_Rumble::kDataFieldNumber; +const int CUserMsg_Rumble::kFlagsFieldNumber; +#endif // !_MSC_VER + +CUserMsg_Rumble::CUserMsg_Rumble() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_Rumble::InitAsDefaultInstance() { +} + +CUserMsg_Rumble::CUserMsg_Rumble(const CUserMsg_Rumble& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_Rumble::SharedCtor() { + _cached_size_ = 0; + index_ = 0; + data_ = 0; + flags_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_Rumble::~CUserMsg_Rumble() { + SharedDtor(); +} + +void CUserMsg_Rumble::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_Rumble::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_Rumble::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_Rumble_descriptor_; +} + +const CUserMsg_Rumble& CUserMsg_Rumble::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_Rumble* CUserMsg_Rumble::default_instance_ = NULL; + +CUserMsg_Rumble* CUserMsg_Rumble::New() const { + return new CUserMsg_Rumble; +} + +void CUserMsg_Rumble::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + index_ = 0; + data_ = 0; + flags_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_Rumble::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 int32 index = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &index_))); + set_has_index(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_data; + break; + } + + // optional int32 data = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_data: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &data_))); + set_has_data(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(24)) goto parse_flags; + break; + } + + // optional int32 flags = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_flags: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &flags_))); + set_has_flags(); + } 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 CUserMsg_Rumble::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 index = 1; + if (has_index()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->index(), output); + } + + // optional int32 data = 2; + if (has_data()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->data(), output); + } + + // optional int32 flags = 3; + if (has_flags()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->flags(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_Rumble::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 index = 1; + if (has_index()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->index(), target); + } + + // optional int32 data = 2; + if (has_data()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->data(), target); + } + + // optional int32 flags = 3; + if (has_flags()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->flags(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_Rumble::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 index = 1; + if (has_index()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->index()); + } + + // optional int32 data = 2; + if (has_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->data()); + } + + // optional int32 flags = 3; + if (has_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->flags()); + } + + } + 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 CUserMsg_Rumble::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_Rumble* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_Rumble::MergeFrom(const CUserMsg_Rumble& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_index()) { + set_index(from.index()); + } + if (from.has_data()) { + set_data(from.data()); + } + if (from.has_flags()) { + set_flags(from.flags()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_Rumble::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_Rumble::CopyFrom(const CUserMsg_Rumble& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_Rumble::IsInitialized() const { + + return true; +} + +void CUserMsg_Rumble::Swap(CUserMsg_Rumble* other) { + if (other != this) { + std::swap(index_, other->index_); + std::swap(data_, other->data_); + std::swap(flags_, other->flags_); + 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 CUserMsg_Rumble::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_Rumble_descriptor_; + metadata.reflection = CUserMsg_Rumble_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_Train::kTrainFieldNumber; +#endif // !_MSC_VER + +CUserMsg_Train::CUserMsg_Train() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_Train::InitAsDefaultInstance() { +} + +CUserMsg_Train::CUserMsg_Train(const CUserMsg_Train& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_Train::SharedCtor() { + _cached_size_ = 0; + train_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_Train::~CUserMsg_Train() { + SharedDtor(); +} + +void CUserMsg_Train::SharedDtor() { + if (this != default_instance_) { + } +} + +void CUserMsg_Train::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_Train::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_Train_descriptor_; +} + +const CUserMsg_Train& CUserMsg_Train::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_Train* CUserMsg_Train::default_instance_ = NULL; + +CUserMsg_Train* CUserMsg_Train::New() const { + return new CUserMsg_Train; +} + +void CUserMsg_Train::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + train_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_Train::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 int32 train = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &train_))); + set_has_train(); + } 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 CUserMsg_Train::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 train = 1; + if (has_train()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->train(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_Train::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 train = 1; + if (has_train()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->train(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_Train::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 train = 1; + if (has_train()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->train()); + } + + } + 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 CUserMsg_Train::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_Train* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_Train::MergeFrom(const CUserMsg_Train& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_train()) { + set_train(from.train()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_Train::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_Train::CopyFrom(const CUserMsg_Train& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_Train::IsInitialized() const { + + return true; +} + +void CUserMsg_Train::Swap(CUserMsg_Train* other) { + if (other != this) { + std::swap(train_, other->train_); + 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 CUserMsg_Train::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_Train_descriptor_; + metadata.reflection = CUserMsg_Train_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_SayTextChannel::kPlayerFieldNumber; +const int CUserMsg_SayTextChannel::kChannelFieldNumber; +const int CUserMsg_SayTextChannel::kTextFieldNumber; +#endif // !_MSC_VER + +CUserMsg_SayTextChannel::CUserMsg_SayTextChannel() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_SayTextChannel::InitAsDefaultInstance() { +} + +CUserMsg_SayTextChannel::CUserMsg_SayTextChannel(const CUserMsg_SayTextChannel& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_SayTextChannel::SharedCtor() { + _cached_size_ = 0; + player_ = 0; + channel_ = 0; + text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_SayTextChannel::~CUserMsg_SayTextChannel() { + SharedDtor(); +} + +void CUserMsg_SayTextChannel::SharedDtor() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + delete text_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_SayTextChannel::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_SayTextChannel::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_SayTextChannel_descriptor_; +} + +const CUserMsg_SayTextChannel& CUserMsg_SayTextChannel::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_SayTextChannel* CUserMsg_SayTextChannel::default_instance_ = NULL; + +CUserMsg_SayTextChannel* CUserMsg_SayTextChannel::New() const { + return new CUserMsg_SayTextChannel; +} + +void CUserMsg_SayTextChannel::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + player_ = 0; + channel_ = 0; + if (has_text()) { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_SayTextChannel::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 int32 player = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_))); + set_has_player(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_channel; + break; + } + + // optional int32 channel = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_channel: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &channel_))); + set_has_channel(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(26)) goto parse_text; + break; + } + + // optional string text = 3; + case 3: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_text: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_text())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CUserMsg_SayTextChannel::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional int32 player = 1; + if (has_player()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->player(), output); + } + + // optional int32 channel = 2; + if (has_channel()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->channel(), output); + } + + // optional string text = 3; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 3, this->text(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_SayTextChannel::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional int32 player = 1; + if (has_player()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->player(), target); + } + + // optional int32 channel = 2; + if (has_channel()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->channel(), target); + } + + // optional string text = 3; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->text(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_SayTextChannel::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 player = 1; + if (has_player()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player()); + } + + // optional int32 channel = 2; + if (has_channel()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->channel()); + } + + // optional string text = 3; + if (has_text()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->text()); + } + + } + 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 CUserMsg_SayTextChannel::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_SayTextChannel* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_SayTextChannel::MergeFrom(const CUserMsg_SayTextChannel& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player()) { + set_player(from.player()); + } + if (from.has_channel()) { + set_channel(from.channel()); + } + if (from.has_text()) { + set_text(from.text()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_SayTextChannel::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_SayTextChannel::CopyFrom(const CUserMsg_SayTextChannel& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_SayTextChannel::IsInitialized() const { + + return true; +} + +void CUserMsg_SayTextChannel::Swap(CUserMsg_SayTextChannel* other) { + if (other != this) { + std::swap(player_, other->player_); + std::swap(channel_, other->channel_); + std::swap(text_, other->text_); + 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 CUserMsg_SayTextChannel::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_SayTextChannel_descriptor_; + metadata.reflection = CUserMsg_SayTextChannel_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CUserMsg_MessageText::kColorFieldNumber; +const int CUserMsg_MessageText::kTextFieldNumber; +#endif // !_MSC_VER + +CUserMsg_MessageText::CUserMsg_MessageText() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CUserMsg_MessageText::InitAsDefaultInstance() { +} + +CUserMsg_MessageText::CUserMsg_MessageText(const CUserMsg_MessageText& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CUserMsg_MessageText::SharedCtor() { + _cached_size_ = 0; + color_ = 0u; + text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CUserMsg_MessageText::~CUserMsg_MessageText() { + SharedDtor(); +} + +void CUserMsg_MessageText::SharedDtor() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + delete text_; + } + if (this != default_instance_) { + } +} + +void CUserMsg_MessageText::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CUserMsg_MessageText::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CUserMsg_MessageText_descriptor_; +} + +const CUserMsg_MessageText& CUserMsg_MessageText::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_usermessages_2eproto(); return *default_instance_; +} + +CUserMsg_MessageText* CUserMsg_MessageText::default_instance_ = NULL; + +CUserMsg_MessageText* CUserMsg_MessageText::New() const { + return new CUserMsg_MessageText; +} + +void CUserMsg_MessageText::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + color_ = 0u; + if (has_text()) { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CUserMsg_MessageText::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 uint32 color = 1; + case 1: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &color_))); + set_has_color(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(18)) goto parse_text; + break; + } + + // optional string text = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_text: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_text())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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 CUserMsg_MessageText::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional uint32 color = 1; + if (has_color()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->color(), output); + } + + // optional string text = 2; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->text(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CUserMsg_MessageText::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional uint32 color = 1; + if (has_color()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->color(), target); + } + + // optional string text = 2; + if (has_text()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->text().data(), this->text().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->text(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CUserMsg_MessageText::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 color = 1; + if (has_color()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->color()); + } + + // optional string text = 2; + if (has_text()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->text()); + } + + } + 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 CUserMsg_MessageText::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CUserMsg_MessageText* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CUserMsg_MessageText::MergeFrom(const CUserMsg_MessageText& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_color()) { + set_color(from.color()); + } + if (from.has_text()) { + set_text(from.text()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CUserMsg_MessageText::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CUserMsg_MessageText::CopyFrom(const CUserMsg_MessageText& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CUserMsg_MessageText::IsInitialized() const { + + return true; +} + +void CUserMsg_MessageText::Swap(CUserMsg_MessageText* other) { + if (other != this) { + std::swap(color_, other->color_); + std::swap(text_, other->text_); + 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 CUserMsg_MessageText::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CUserMsg_MessageText_descriptor_; + metadata.reflection = CUserMsg_MessageText_reflection_; + return metadata; +} + + +// @@protoc_insertion_point(namespace_scope) + +// @@protoc_insertion_point(global_scope) diff --git a/public/game/shared/protobuf/usermessages.pb.h b/public/game/shared/protobuf/usermessages.pb.h new file mode 100644 index 00000000..e6d2d1ca --- /dev/null +++ b/public/game/shared/protobuf/usermessages.pb.h @@ -0,0 +1,5407 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: usermessages.proto + +#ifndef PROTOBUF_usermessages_2eproto__INCLUDED +#define PROTOBUF_usermessages_2eproto__INCLUDED + +#include + +#include + +#if GOOGLE_PROTOBUF_VERSION < 2004000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include "google/protobuf/descriptor.pb.h" +#include "netmessages.pb.h" +// @@protoc_insertion_point(includes) + +// Internal implementation detail -- do not call these. +void protobuf_AddDesc_usermessages_2eproto(); +void protobuf_AssignDesc_usermessages_2eproto(); +void protobuf_ShutdownFile_usermessages_2eproto(); + +class CUserMsg_AchievementEvent; +class CUserMsg_CloseCaption; +class CUserMsg_CurrentTimescale; +class CUserMsg_DesiredTimescale; +class CUserMsg_Fade; +class CUserMsg_Shake; +class CUserMsg_ShakeDir; +class CUserMsg_Tilt; +class CUserMsg_SayText; +class CUserMsg_SayText2; +class CUserMsg_HudMsg; +class CUserMsg_HudText; +class CUserMsg_TextMsg; +class CUserMsg_GameTitle; +class CUserMsg_ResetHUD; +class CUserMsg_SendAudio; +class CUserMsg_VoiceMask; +class CUserMsg_RequestState; +class CUserMsg_HintText; +class CUserMsg_KeyHintText; +class CUserMsg_StatsCrawlMsg; +class CUserMsg_StatsSkipState; +class CUserMsg_VoiceSubtitle; +class CUserMsg_VGUIMenu; +class CUserMsg_VGUIMenu_Keys; +class CUserMsg_Geiger; +class CUserMsg_Rumble; +class CUserMsg_Train; +class CUserMsg_SayTextChannel; +class CUserMsg_MessageText; + +enum EBaseUserMessages { + UM_AchievementEvent = 1, + UM_CloseCaption = 2, + UM_CloseCaptionDirect = 3, + UM_CurrentTimescale = 4, + UM_DesiredTimescale = 5, + UM_Fade = 6, + UM_GameTitle = 7, + UM_Geiger = 8, + UM_HintText = 9, + UM_HudMsg = 10, + UM_HudText = 11, + UM_KeyHintText = 12, + UM_MessageText = 13, + UM_RequestState = 14, + UM_ResetHUD = 15, + UM_Rumble = 16, + UM_SayText = 17, + UM_SayText2 = 18, + UM_SayTextChannel = 19, + UM_Shake = 20, + UM_ShakeDir = 21, + UM_StatsCrawlMsg = 22, + UM_StatsSkipState = 23, + UM_TextMsg = 24, + UM_Tilt = 25, + UM_Train = 26, + UM_VGUIMenu = 27, + UM_VoiceMask = 28, + UM_VoiceSubtitle = 29, + UM_SendAudio = 30, + UM_MAX_BASE = 63 +}; +bool EBaseUserMessages_IsValid(int value); +const EBaseUserMessages EBaseUserMessages_MIN = UM_AchievementEvent; +const EBaseUserMessages EBaseUserMessages_MAX = UM_MAX_BASE; +const int EBaseUserMessages_ARRAYSIZE = EBaseUserMessages_MAX + 1; + +const ::google::protobuf::EnumDescriptor* EBaseUserMessages_descriptor(); +inline const ::std::string& EBaseUserMessages_Name(EBaseUserMessages value) { + return ::google::protobuf::internal::NameOfEnum( + EBaseUserMessages_descriptor(), value); +} +inline bool EBaseUserMessages_Parse( + const ::std::string& name, EBaseUserMessages* value) { + return ::google::protobuf::internal::ParseNamedEnum( + EBaseUserMessages_descriptor(), name, value); +} +// =================================================================== + +class CUserMsg_AchievementEvent : public ::google::protobuf::Message { + public: + CUserMsg_AchievementEvent(); + virtual ~CUserMsg_AchievementEvent(); + + CUserMsg_AchievementEvent(const CUserMsg_AchievementEvent& from); + + inline CUserMsg_AchievementEvent& operator=(const CUserMsg_AchievementEvent& 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 CUserMsg_AchievementEvent& default_instance(); + + void Swap(CUserMsg_AchievementEvent* other); + + // implements Message ---------------------------------------------- + + CUserMsg_AchievementEvent* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_AchievementEvent& from); + void MergeFrom(const CUserMsg_AchievementEvent& 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 uint32 achievement = 1; + inline bool has_achievement() const; + inline void clear_achievement(); + static const int kAchievementFieldNumber = 1; + inline ::google::protobuf::uint32 achievement() const; + inline void set_achievement(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CUserMsg_AchievementEvent) + private: + inline void set_has_achievement(); + inline void clear_has_achievement(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 achievement_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_AchievementEvent* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_CloseCaption : public ::google::protobuf::Message { + public: + CUserMsg_CloseCaption(); + virtual ~CUserMsg_CloseCaption(); + + CUserMsg_CloseCaption(const CUserMsg_CloseCaption& from); + + inline CUserMsg_CloseCaption& operator=(const CUserMsg_CloseCaption& 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 CUserMsg_CloseCaption& default_instance(); + + void Swap(CUserMsg_CloseCaption* other); + + // implements Message ---------------------------------------------- + + CUserMsg_CloseCaption* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_CloseCaption& from); + void MergeFrom(const CUserMsg_CloseCaption& 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 fixed32 hash = 1; + inline bool has_hash() const; + inline void clear_hash(); + static const int kHashFieldNumber = 1; + inline ::google::protobuf::uint32 hash() const; + inline void set_hash(::google::protobuf::uint32 value); + + // optional float duration = 2; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 2; + inline float duration() const; + inline void set_duration(float value); + + // optional bool from_player = 3; + inline bool has_from_player() const; + inline void clear_from_player(); + static const int kFromPlayerFieldNumber = 3; + inline bool from_player() const; + inline void set_from_player(bool value); + + // @@protoc_insertion_point(class_scope:CUserMsg_CloseCaption) + private: + inline void set_has_hash(); + inline void clear_has_hash(); + inline void set_has_duration(); + inline void clear_has_duration(); + inline void set_has_from_player(); + inline void clear_has_from_player(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 hash_; + float duration_; + bool from_player_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_CloseCaption* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_CurrentTimescale : public ::google::protobuf::Message { + public: + CUserMsg_CurrentTimescale(); + virtual ~CUserMsg_CurrentTimescale(); + + CUserMsg_CurrentTimescale(const CUserMsg_CurrentTimescale& from); + + inline CUserMsg_CurrentTimescale& operator=(const CUserMsg_CurrentTimescale& 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 CUserMsg_CurrentTimescale& default_instance(); + + void Swap(CUserMsg_CurrentTimescale* other); + + // implements Message ---------------------------------------------- + + CUserMsg_CurrentTimescale* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_CurrentTimescale& from); + void MergeFrom(const CUserMsg_CurrentTimescale& 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 float current = 1; + inline bool has_current() const; + inline void clear_current(); + static const int kCurrentFieldNumber = 1; + inline float current() const; + inline void set_current(float value); + + // @@protoc_insertion_point(class_scope:CUserMsg_CurrentTimescale) + private: + inline void set_has_current(); + inline void clear_has_current(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + float current_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_CurrentTimescale* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_DesiredTimescale : public ::google::protobuf::Message { + public: + CUserMsg_DesiredTimescale(); + virtual ~CUserMsg_DesiredTimescale(); + + CUserMsg_DesiredTimescale(const CUserMsg_DesiredTimescale& from); + + inline CUserMsg_DesiredTimescale& operator=(const CUserMsg_DesiredTimescale& 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 CUserMsg_DesiredTimescale& default_instance(); + + void Swap(CUserMsg_DesiredTimescale* other); + + // implements Message ---------------------------------------------- + + CUserMsg_DesiredTimescale* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_DesiredTimescale& from); + void MergeFrom(const CUserMsg_DesiredTimescale& 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 float desired = 1; + inline bool has_desired() const; + inline void clear_desired(); + static const int kDesiredFieldNumber = 1; + inline float desired() const; + inline void set_desired(float value); + + // optional float duration = 2; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 2; + inline float duration() const; + inline void set_duration(float value); + + // optional uint32 interpolator = 3; + inline bool has_interpolator() const; + inline void clear_interpolator(); + static const int kInterpolatorFieldNumber = 3; + inline ::google::protobuf::uint32 interpolator() const; + inline void set_interpolator(::google::protobuf::uint32 value); + + // optional float start_blend_time = 4; + inline bool has_start_blend_time() const; + inline void clear_start_blend_time(); + static const int kStartBlendTimeFieldNumber = 4; + inline float start_blend_time() const; + inline void set_start_blend_time(float value); + + // @@protoc_insertion_point(class_scope:CUserMsg_DesiredTimescale) + private: + inline void set_has_desired(); + inline void clear_has_desired(); + inline void set_has_duration(); + inline void clear_has_duration(); + inline void set_has_interpolator(); + inline void clear_has_interpolator(); + inline void set_has_start_blend_time(); + inline void clear_has_start_blend_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + float desired_; + float duration_; + ::google::protobuf::uint32 interpolator_; + float start_blend_time_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_DesiredTimescale* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_Fade : public ::google::protobuf::Message { + public: + CUserMsg_Fade(); + virtual ~CUserMsg_Fade(); + + CUserMsg_Fade(const CUserMsg_Fade& from); + + inline CUserMsg_Fade& operator=(const CUserMsg_Fade& 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 CUserMsg_Fade& default_instance(); + + void Swap(CUserMsg_Fade* other); + + // implements Message ---------------------------------------------- + + CUserMsg_Fade* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_Fade& from); + void MergeFrom(const CUserMsg_Fade& 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 uint32 duration = 1; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 1; + inline ::google::protobuf::uint32 duration() const; + inline void set_duration(::google::protobuf::uint32 value); + + // optional uint32 hold_time = 2; + inline bool has_hold_time() const; + inline void clear_hold_time(); + static const int kHoldTimeFieldNumber = 2; + inline ::google::protobuf::uint32 hold_time() const; + inline void set_hold_time(::google::protobuf::uint32 value); + + // optional uint32 flags = 3; + inline bool has_flags() const; + inline void clear_flags(); + static const int kFlagsFieldNumber = 3; + inline ::google::protobuf::uint32 flags() const; + inline void set_flags(::google::protobuf::uint32 value); + + // optional fixed32 color = 4; + inline bool has_color() const; + inline void clear_color(); + static const int kColorFieldNumber = 4; + inline ::google::protobuf::uint32 color() const; + inline void set_color(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CUserMsg_Fade) + private: + inline void set_has_duration(); + inline void clear_has_duration(); + inline void set_has_hold_time(); + inline void clear_has_hold_time(); + inline void set_has_flags(); + inline void clear_has_flags(); + inline void set_has_color(); + inline void clear_has_color(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 duration_; + ::google::protobuf::uint32 hold_time_; + ::google::protobuf::uint32 flags_; + ::google::protobuf::uint32 color_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_Fade* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_Shake : public ::google::protobuf::Message { + public: + CUserMsg_Shake(); + virtual ~CUserMsg_Shake(); + + CUserMsg_Shake(const CUserMsg_Shake& from); + + inline CUserMsg_Shake& operator=(const CUserMsg_Shake& 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 CUserMsg_Shake& default_instance(); + + void Swap(CUserMsg_Shake* other); + + // implements Message ---------------------------------------------- + + CUserMsg_Shake* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_Shake& from); + void MergeFrom(const CUserMsg_Shake& 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 uint32 command = 1; + inline bool has_command() const; + inline void clear_command(); + static const int kCommandFieldNumber = 1; + inline ::google::protobuf::uint32 command() const; + inline void set_command(::google::protobuf::uint32 value); + + // optional float amplitude = 2; + inline bool has_amplitude() const; + inline void clear_amplitude(); + static const int kAmplitudeFieldNumber = 2; + inline float amplitude() const; + inline void set_amplitude(float value); + + // optional float frequency = 3; + inline bool has_frequency() const; + inline void clear_frequency(); + static const int kFrequencyFieldNumber = 3; + inline float frequency() const; + inline void set_frequency(float value); + + // optional float duration = 4; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 4; + inline float duration() const; + inline void set_duration(float value); + + // @@protoc_insertion_point(class_scope:CUserMsg_Shake) + private: + inline void set_has_command(); + inline void clear_has_command(); + inline void set_has_amplitude(); + inline void clear_has_amplitude(); + inline void set_has_frequency(); + inline void clear_has_frequency(); + inline void set_has_duration(); + inline void clear_has_duration(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 command_; + float amplitude_; + float frequency_; + float duration_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_Shake* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ShakeDir : public ::google::protobuf::Message { + public: + CUserMsg_ShakeDir(); + virtual ~CUserMsg_ShakeDir(); + + CUserMsg_ShakeDir(const CUserMsg_ShakeDir& from); + + inline CUserMsg_ShakeDir& operator=(const CUserMsg_ShakeDir& 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 CUserMsg_ShakeDir& default_instance(); + + void Swap(CUserMsg_ShakeDir* other); + + // implements Message ---------------------------------------------- + + CUserMsg_ShakeDir* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_ShakeDir& from); + void MergeFrom(const CUserMsg_ShakeDir& 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 .CUserMsg_Shake shake = 1; + inline bool has_shake() const; + inline void clear_shake(); + static const int kShakeFieldNumber = 1; + inline const ::CUserMsg_Shake& shake() const; + inline ::CUserMsg_Shake* mutable_shake(); + inline ::CUserMsg_Shake* release_shake(); + + // optional .CMsgVector direction = 2; + inline bool has_direction() const; + inline void clear_direction(); + static const int kDirectionFieldNumber = 2; + inline const ::CMsgVector& direction() const; + inline ::CMsgVector* mutable_direction(); + inline ::CMsgVector* release_direction(); + + // @@protoc_insertion_point(class_scope:CUserMsg_ShakeDir) + private: + inline void set_has_shake(); + inline void clear_has_shake(); + inline void set_has_direction(); + inline void clear_has_direction(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::CUserMsg_Shake* shake_; + ::CMsgVector* direction_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_ShakeDir* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_Tilt : public ::google::protobuf::Message { + public: + CUserMsg_Tilt(); + virtual ~CUserMsg_Tilt(); + + CUserMsg_Tilt(const CUserMsg_Tilt& from); + + inline CUserMsg_Tilt& operator=(const CUserMsg_Tilt& 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 CUserMsg_Tilt& default_instance(); + + void Swap(CUserMsg_Tilt* other); + + // implements Message ---------------------------------------------- + + CUserMsg_Tilt* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_Tilt& from); + void MergeFrom(const CUserMsg_Tilt& 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 uint32 command = 1; + inline bool has_command() const; + inline void clear_command(); + static const int kCommandFieldNumber = 1; + inline ::google::protobuf::uint32 command() const; + inline void set_command(::google::protobuf::uint32 value); + + // optional bool ease_in_out = 2; + inline bool has_ease_in_out() const; + inline void clear_ease_in_out(); + static const int kEaseInOutFieldNumber = 2; + inline bool ease_in_out() const; + inline void set_ease_in_out(bool value); + + // optional .CMsgVector angle = 3; + inline bool has_angle() const; + inline void clear_angle(); + static const int kAngleFieldNumber = 3; + inline const ::CMsgVector& angle() const; + inline ::CMsgVector* mutable_angle(); + inline ::CMsgVector* release_angle(); + + // optional float duration = 4; + inline bool has_duration() const; + inline void clear_duration(); + static const int kDurationFieldNumber = 4; + inline float duration() const; + inline void set_duration(float value); + + // optional float time = 5; + inline bool has_time() const; + inline void clear_time(); + static const int kTimeFieldNumber = 5; + inline float time() const; + inline void set_time(float value); + + // @@protoc_insertion_point(class_scope:CUserMsg_Tilt) + private: + inline void set_has_command(); + inline void clear_has_command(); + inline void set_has_ease_in_out(); + inline void clear_has_ease_in_out(); + inline void set_has_angle(); + inline void clear_has_angle(); + inline void set_has_duration(); + inline void clear_has_duration(); + inline void set_has_time(); + inline void clear_has_time(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 command_; + bool ease_in_out_; + ::CMsgVector* angle_; + float duration_; + float time_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_Tilt* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_SayText : public ::google::protobuf::Message { + public: + CUserMsg_SayText(); + virtual ~CUserMsg_SayText(); + + CUserMsg_SayText(const CUserMsg_SayText& from); + + inline CUserMsg_SayText& operator=(const CUserMsg_SayText& 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 CUserMsg_SayText& default_instance(); + + void Swap(CUserMsg_SayText* other); + + // implements Message ---------------------------------------------- + + CUserMsg_SayText* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_SayText& from); + void MergeFrom(const CUserMsg_SayText& 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 uint32 client = 1; + inline bool has_client() const; + inline void clear_client(); + static const int kClientFieldNumber = 1; + inline ::google::protobuf::uint32 client() const; + inline void set_client(::google::protobuf::uint32 value); + + // 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 bool chat = 3; + inline bool has_chat() const; + inline void clear_chat(); + static const int kChatFieldNumber = 3; + inline bool chat() const; + inline void set_chat(bool value); + + // @@protoc_insertion_point(class_scope:CUserMsg_SayText) + private: + inline void set_has_client(); + inline void clear_has_client(); + inline void set_has_text(); + inline void clear_has_text(); + inline void set_has_chat(); + inline void clear_has_chat(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* text_; + ::google::protobuf::uint32 client_; + bool chat_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_SayText* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_SayText2 : public ::google::protobuf::Message { + public: + CUserMsg_SayText2(); + virtual ~CUserMsg_SayText2(); + + CUserMsg_SayText2(const CUserMsg_SayText2& from); + + inline CUserMsg_SayText2& operator=(const CUserMsg_SayText2& 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 CUserMsg_SayText2& default_instance(); + + void Swap(CUserMsg_SayText2* other); + + // implements Message ---------------------------------------------- + + CUserMsg_SayText2* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_SayText2& from); + void MergeFrom(const CUserMsg_SayText2& 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 uint32 client = 1; + inline bool has_client() const; + inline void clear_client(); + static const int kClientFieldNumber = 1; + inline ::google::protobuf::uint32 client() const; + inline void set_client(::google::protobuf::uint32 value); + + // optional bool chat = 2; + inline bool has_chat() const; + inline void clear_chat(); + static const int kChatFieldNumber = 2; + inline bool chat() const; + inline void set_chat(bool value); + + // optional string format = 3; + inline bool has_format() const; + inline void clear_format(); + static const int kFormatFieldNumber = 3; + inline const ::std::string& format() const; + inline void set_format(const ::std::string& value); + inline void set_format(const char* value); + inline void set_format(const char* value, size_t size); + inline ::std::string* mutable_format(); + inline ::std::string* release_format(); + + // optional string prefix = 4; + inline bool has_prefix() const; + inline void clear_prefix(); + static const int kPrefixFieldNumber = 4; + inline const ::std::string& prefix() const; + inline void set_prefix(const ::std::string& value); + inline void set_prefix(const char* value); + inline void set_prefix(const char* value, size_t size); + inline ::std::string* mutable_prefix(); + inline ::std::string* release_prefix(); + + // optional string text = 5; + inline bool has_text() const; + inline void clear_text(); + static const int kTextFieldNumber = 5; + 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 string location = 6; + inline bool has_location() const; + inline void clear_location(); + static const int kLocationFieldNumber = 6; + inline const ::std::string& location() const; + inline void set_location(const ::std::string& value); + inline void set_location(const char* value); + inline void set_location(const char* value, size_t size); + inline ::std::string* mutable_location(); + inline ::std::string* release_location(); + + // @@protoc_insertion_point(class_scope:CUserMsg_SayText2) + private: + inline void set_has_client(); + inline void clear_has_client(); + inline void set_has_chat(); + inline void clear_has_chat(); + inline void set_has_format(); + inline void clear_has_format(); + inline void set_has_prefix(); + inline void clear_has_prefix(); + inline void set_has_text(); + inline void clear_has_text(); + inline void set_has_location(); + inline void clear_has_location(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 client_; + bool chat_; + ::std::string* format_; + ::std::string* prefix_; + ::std::string* text_; + ::std::string* location_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_SayText2* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_HudMsg : public ::google::protobuf::Message { + public: + CUserMsg_HudMsg(); + virtual ~CUserMsg_HudMsg(); + + CUserMsg_HudMsg(const CUserMsg_HudMsg& from); + + inline CUserMsg_HudMsg& operator=(const CUserMsg_HudMsg& 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 CUserMsg_HudMsg& default_instance(); + + void Swap(CUserMsg_HudMsg* other); + + // implements Message ---------------------------------------------- + + CUserMsg_HudMsg* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_HudMsg& from); + void MergeFrom(const CUserMsg_HudMsg& 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 uint32 channel = 1; + inline bool has_channel() const; + inline void clear_channel(); + static const int kChannelFieldNumber = 1; + inline ::google::protobuf::uint32 channel() const; + inline void set_channel(::google::protobuf::uint32 value); + + // optional float x = 2; + inline bool has_x() const; + inline void clear_x(); + static const int kXFieldNumber = 2; + inline float x() const; + inline void set_x(float value); + + // optional float y = 3; + inline bool has_y() const; + inline void clear_y(); + static const int kYFieldNumber = 3; + inline float y() const; + inline void set_y(float value); + + // optional uint32 color1 = 4; + inline bool has_color1() const; + inline void clear_color1(); + static const int kColor1FieldNumber = 4; + inline ::google::protobuf::uint32 color1() const; + inline void set_color1(::google::protobuf::uint32 value); + + // optional uint32 color2 = 5; + inline bool has_color2() const; + inline void clear_color2(); + static const int kColor2FieldNumber = 5; + inline ::google::protobuf::uint32 color2() const; + inline void set_color2(::google::protobuf::uint32 value); + + // optional uint32 effect = 6; + inline bool has_effect() const; + inline void clear_effect(); + static const int kEffectFieldNumber = 6; + inline ::google::protobuf::uint32 effect() const; + inline void set_effect(::google::protobuf::uint32 value); + + // optional float fade_in_time = 7; + inline bool has_fade_in_time() const; + inline void clear_fade_in_time(); + static const int kFadeInTimeFieldNumber = 7; + inline float fade_in_time() const; + inline void set_fade_in_time(float value); + + // optional float fade_out_time = 8; + inline bool has_fade_out_time() const; + inline void clear_fade_out_time(); + static const int kFadeOutTimeFieldNumber = 8; + inline float fade_out_time() const; + inline void set_fade_out_time(float value); + + // optional float hold_time = 9; + inline bool has_hold_time() const; + inline void clear_hold_time(); + static const int kHoldTimeFieldNumber = 9; + inline float hold_time() const; + inline void set_hold_time(float value); + + // optional float fx_time = 10; + inline bool has_fx_time() const; + inline void clear_fx_time(); + static const int kFxTimeFieldNumber = 10; + inline float fx_time() const; + inline void set_fx_time(float value); + + // optional string message = 11; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 11; + inline const ::std::string& message() const; + inline void set_message(const ::std::string& value); + inline void set_message(const char* value); + inline void set_message(const char* value, size_t size); + inline ::std::string* mutable_message(); + inline ::std::string* release_message(); + + // @@protoc_insertion_point(class_scope:CUserMsg_HudMsg) + private: + inline void set_has_channel(); + inline void clear_has_channel(); + inline void set_has_x(); + inline void clear_has_x(); + inline void set_has_y(); + inline void clear_has_y(); + inline void set_has_color1(); + inline void clear_has_color1(); + inline void set_has_color2(); + inline void clear_has_color2(); + inline void set_has_effect(); + inline void clear_has_effect(); + inline void set_has_fade_in_time(); + inline void clear_has_fade_in_time(); + inline void set_has_fade_out_time(); + inline void clear_has_fade_out_time(); + inline void set_has_hold_time(); + inline void clear_has_hold_time(); + inline void set_has_fx_time(); + inline void clear_has_fx_time(); + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 channel_; + float x_; + float y_; + ::google::protobuf::uint32 color1_; + ::google::protobuf::uint32 color2_; + ::google::protobuf::uint32 effect_; + float fade_in_time_; + float fade_out_time_; + float hold_time_; + float fx_time_; + ::std::string* message_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(11 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_HudMsg* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_HudText : public ::google::protobuf::Message { + public: + CUserMsg_HudText(); + virtual ~CUserMsg_HudText(); + + CUserMsg_HudText(const CUserMsg_HudText& from); + + inline CUserMsg_HudText& operator=(const CUserMsg_HudText& 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 CUserMsg_HudText& default_instance(); + + void Swap(CUserMsg_HudText* other); + + // implements Message ---------------------------------------------- + + CUserMsg_HudText* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_HudText& from); + void MergeFrom(const CUserMsg_HudText& 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 message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::std::string& message() const; + inline void set_message(const ::std::string& value); + inline void set_message(const char* value); + inline void set_message(const char* value, size_t size); + inline ::std::string* mutable_message(); + inline ::std::string* release_message(); + + // @@protoc_insertion_point(class_scope:CUserMsg_HudText) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* message_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_HudText* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_TextMsg : public ::google::protobuf::Message { + public: + CUserMsg_TextMsg(); + virtual ~CUserMsg_TextMsg(); + + CUserMsg_TextMsg(const CUserMsg_TextMsg& from); + + inline CUserMsg_TextMsg& operator=(const CUserMsg_TextMsg& 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 CUserMsg_TextMsg& default_instance(); + + void Swap(CUserMsg_TextMsg* other); + + // implements Message ---------------------------------------------- + + CUserMsg_TextMsg* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_TextMsg& from); + void MergeFrom(const CUserMsg_TextMsg& 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 uint32 dest = 1; + inline bool has_dest() const; + inline void clear_dest(); + static const int kDestFieldNumber = 1; + inline ::google::protobuf::uint32 dest() const; + inline void set_dest(::google::protobuf::uint32 value); + + // repeated string param = 2; + inline int param_size() const; + inline void clear_param(); + static const int kParamFieldNumber = 2; + inline const ::std::string& param(int index) const; + inline ::std::string* mutable_param(int index); + inline void set_param(int index, const ::std::string& value); + inline void set_param(int index, const char* value); + inline void set_param(int index, const char* value, size_t size); + inline ::std::string* add_param(); + inline void add_param(const ::std::string& value); + inline void add_param(const char* value); + inline void add_param(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& param() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_param(); + + // @@protoc_insertion_point(class_scope:CUserMsg_TextMsg) + private: + inline void set_has_dest(); + inline void clear_has_dest(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::std::string> param_; + ::google::protobuf::uint32 dest_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_TextMsg* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_GameTitle : public ::google::protobuf::Message { + public: + CUserMsg_GameTitle(); + virtual ~CUserMsg_GameTitle(); + + CUserMsg_GameTitle(const CUserMsg_GameTitle& from); + + inline CUserMsg_GameTitle& operator=(const CUserMsg_GameTitle& 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 CUserMsg_GameTitle& default_instance(); + + void Swap(CUserMsg_GameTitle* other); + + // implements Message ---------------------------------------------- + + CUserMsg_GameTitle* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_GameTitle& from); + void MergeFrom(const CUserMsg_GameTitle& 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CUserMsg_GameTitle) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[1]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_GameTitle* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_ResetHUD : public ::google::protobuf::Message { + public: + CUserMsg_ResetHUD(); + virtual ~CUserMsg_ResetHUD(); + + CUserMsg_ResetHUD(const CUserMsg_ResetHUD& from); + + inline CUserMsg_ResetHUD& operator=(const CUserMsg_ResetHUD& 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 CUserMsg_ResetHUD& default_instance(); + + void Swap(CUserMsg_ResetHUD* other); + + // implements Message ---------------------------------------------- + + CUserMsg_ResetHUD* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_ResetHUD& from); + void MergeFrom(const CUserMsg_ResetHUD& 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CUserMsg_ResetHUD) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[1]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_ResetHUD* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_SendAudio : public ::google::protobuf::Message { + public: + CUserMsg_SendAudio(); + virtual ~CUserMsg_SendAudio(); + + CUserMsg_SendAudio(const CUserMsg_SendAudio& from); + + inline CUserMsg_SendAudio& operator=(const CUserMsg_SendAudio& 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 CUserMsg_SendAudio& default_instance(); + + void Swap(CUserMsg_SendAudio* other); + + // implements Message ---------------------------------------------- + + CUserMsg_SendAudio* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_SendAudio& from); + void MergeFrom(const CUserMsg_SendAudio& 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 stop = 2; + inline bool has_stop() const; + inline void clear_stop(); + static const int kStopFieldNumber = 2; + inline bool stop() const; + inline void set_stop(bool value); + + // optional string name = 3; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 3; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // @@protoc_insertion_point(class_scope:CUserMsg_SendAudio) + private: + inline void set_has_stop(); + inline void clear_has_stop(); + inline void set_has_name(); + inline void clear_has_name(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + bool stop_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_SendAudio* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_VoiceMask : public ::google::protobuf::Message { + public: + CUserMsg_VoiceMask(); + virtual ~CUserMsg_VoiceMask(); + + CUserMsg_VoiceMask(const CUserMsg_VoiceMask& from); + + inline CUserMsg_VoiceMask& operator=(const CUserMsg_VoiceMask& 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 CUserMsg_VoiceMask& default_instance(); + + void Swap(CUserMsg_VoiceMask* other); + + // implements Message ---------------------------------------------- + + CUserMsg_VoiceMask* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_VoiceMask& from); + void MergeFrom(const CUserMsg_VoiceMask& 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 ------------------------------------------------------- + + // repeated int32 audible_players_mask = 1; + inline int audible_players_mask_size() const; + inline void clear_audible_players_mask(); + static const int kAudiblePlayersMaskFieldNumber = 1; + inline ::google::protobuf::int32 audible_players_mask(int index) const; + inline void set_audible_players_mask(int index, ::google::protobuf::int32 value); + inline void add_audible_players_mask(::google::protobuf::int32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& + audible_players_mask() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* + mutable_audible_players_mask(); + + // optional bool player_mod_enabled = 2; + inline bool has_player_mod_enabled() const; + inline void clear_player_mod_enabled(); + static const int kPlayerModEnabledFieldNumber = 2; + inline bool player_mod_enabled() const; + inline void set_player_mod_enabled(bool value); + + // @@protoc_insertion_point(class_scope:CUserMsg_VoiceMask) + private: + inline void set_has_player_mod_enabled(); + inline void clear_has_player_mod_enabled(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedField< ::google::protobuf::int32 > audible_players_mask_; + bool player_mod_enabled_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_VoiceMask* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_RequestState : public ::google::protobuf::Message { + public: + CUserMsg_RequestState(); + virtual ~CUserMsg_RequestState(); + + CUserMsg_RequestState(const CUserMsg_RequestState& from); + + inline CUserMsg_RequestState& operator=(const CUserMsg_RequestState& 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 CUserMsg_RequestState& default_instance(); + + void Swap(CUserMsg_RequestState* other); + + // implements Message ---------------------------------------------- + + CUserMsg_RequestState* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_RequestState& from); + void MergeFrom(const CUserMsg_RequestState& 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CUserMsg_RequestState) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[1]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_RequestState* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_HintText : public ::google::protobuf::Message { + public: + CUserMsg_HintText(); + virtual ~CUserMsg_HintText(); + + CUserMsg_HintText(const CUserMsg_HintText& from); + + inline CUserMsg_HintText& operator=(const CUserMsg_HintText& 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 CUserMsg_HintText& default_instance(); + + void Swap(CUserMsg_HintText* other); + + // implements Message ---------------------------------------------- + + CUserMsg_HintText* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_HintText& from); + void MergeFrom(const CUserMsg_HintText& 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 message = 1; + inline bool has_message() const; + inline void clear_message(); + static const int kMessageFieldNumber = 1; + inline const ::std::string& message() const; + inline void set_message(const ::std::string& value); + inline void set_message(const char* value); + inline void set_message(const char* value, size_t size); + inline ::std::string* mutable_message(); + inline ::std::string* release_message(); + + // @@protoc_insertion_point(class_scope:CUserMsg_HintText) + private: + inline void set_has_message(); + inline void clear_has_message(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* message_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_HintText* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_KeyHintText : public ::google::protobuf::Message { + public: + CUserMsg_KeyHintText(); + virtual ~CUserMsg_KeyHintText(); + + CUserMsg_KeyHintText(const CUserMsg_KeyHintText& from); + + inline CUserMsg_KeyHintText& operator=(const CUserMsg_KeyHintText& 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 CUserMsg_KeyHintText& default_instance(); + + void Swap(CUserMsg_KeyHintText* other); + + // implements Message ---------------------------------------------- + + CUserMsg_KeyHintText* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_KeyHintText& from); + void MergeFrom(const CUserMsg_KeyHintText& 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 ------------------------------------------------------- + + // repeated string messages = 1; + inline int messages_size() const; + inline void clear_messages(); + static const int kMessagesFieldNumber = 1; + inline const ::std::string& messages(int index) const; + inline ::std::string* mutable_messages(int index); + inline void set_messages(int index, const ::std::string& value); + inline void set_messages(int index, const char* value); + inline void set_messages(int index, const char* value, size_t size); + inline ::std::string* add_messages(); + inline void add_messages(const ::std::string& value); + inline void add_messages(const char* value); + inline void add_messages(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& messages() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_messages(); + + // @@protoc_insertion_point(class_scope:CUserMsg_KeyHintText) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::RepeatedPtrField< ::std::string> messages_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_KeyHintText* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_StatsCrawlMsg : public ::google::protobuf::Message { + public: + CUserMsg_StatsCrawlMsg(); + virtual ~CUserMsg_StatsCrawlMsg(); + + CUserMsg_StatsCrawlMsg(const CUserMsg_StatsCrawlMsg& from); + + inline CUserMsg_StatsCrawlMsg& operator=(const CUserMsg_StatsCrawlMsg& 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 CUserMsg_StatsCrawlMsg& default_instance(); + + void Swap(CUserMsg_StatsCrawlMsg* other); + + // implements Message ---------------------------------------------- + + CUserMsg_StatsCrawlMsg* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_StatsCrawlMsg& from); + void MergeFrom(const CUserMsg_StatsCrawlMsg& 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 ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CUserMsg_StatsCrawlMsg) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[1]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_StatsCrawlMsg* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_StatsSkipState : public ::google::protobuf::Message { + public: + CUserMsg_StatsSkipState(); + virtual ~CUserMsg_StatsSkipState(); + + CUserMsg_StatsSkipState(const CUserMsg_StatsSkipState& from); + + inline CUserMsg_StatsSkipState& operator=(const CUserMsg_StatsSkipState& 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 CUserMsg_StatsSkipState& default_instance(); + + void Swap(CUserMsg_StatsSkipState* other); + + // implements Message ---------------------------------------------- + + CUserMsg_StatsSkipState* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_StatsSkipState& from); + void MergeFrom(const CUserMsg_StatsSkipState& 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 num_skips = 1; + inline bool has_num_skips() const; + inline void clear_num_skips(); + static const int kNumSkipsFieldNumber = 1; + inline ::google::protobuf::int32 num_skips() const; + inline void set_num_skips(::google::protobuf::int32 value); + + // optional int32 num_players = 2; + inline bool has_num_players() const; + inline void clear_num_players(); + static const int kNumPlayersFieldNumber = 2; + inline ::google::protobuf::int32 num_players() const; + inline void set_num_players(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CUserMsg_StatsSkipState) + private: + inline void set_has_num_skips(); + inline void clear_has_num_skips(); + inline void set_has_num_players(); + inline void clear_has_num_players(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 num_skips_; + ::google::protobuf::int32 num_players_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_StatsSkipState* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_VoiceSubtitle : public ::google::protobuf::Message { + public: + CUserMsg_VoiceSubtitle(); + virtual ~CUserMsg_VoiceSubtitle(); + + CUserMsg_VoiceSubtitle(const CUserMsg_VoiceSubtitle& from); + + inline CUserMsg_VoiceSubtitle& operator=(const CUserMsg_VoiceSubtitle& 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 CUserMsg_VoiceSubtitle& default_instance(); + + void Swap(CUserMsg_VoiceSubtitle* other); + + // implements Message ---------------------------------------------- + + CUserMsg_VoiceSubtitle* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_VoiceSubtitle& from); + void MergeFrom(const CUserMsg_VoiceSubtitle& 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 ent_index = 1; + inline bool has_ent_index() const; + inline void clear_ent_index(); + static const int kEntIndexFieldNumber = 1; + inline ::google::protobuf::int32 ent_index() const; + inline void set_ent_index(::google::protobuf::int32 value); + + // optional int32 menu = 2; + inline bool has_menu() const; + inline void clear_menu(); + static const int kMenuFieldNumber = 2; + inline ::google::protobuf::int32 menu() const; + inline void set_menu(::google::protobuf::int32 value); + + // optional int32 item = 3; + inline bool has_item() const; + inline void clear_item(); + static const int kItemFieldNumber = 3; + inline ::google::protobuf::int32 item() const; + inline void set_item(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CUserMsg_VoiceSubtitle) + private: + inline void set_has_ent_index(); + inline void clear_has_ent_index(); + inline void set_has_menu(); + inline void clear_has_menu(); + inline void set_has_item(); + inline void clear_has_item(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 ent_index_; + ::google::protobuf::int32 menu_; + ::google::protobuf::int32 item_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_VoiceSubtitle* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_VGUIMenu_Keys : public ::google::protobuf::Message { + public: + CUserMsg_VGUIMenu_Keys(); + virtual ~CUserMsg_VGUIMenu_Keys(); + + CUserMsg_VGUIMenu_Keys(const CUserMsg_VGUIMenu_Keys& from); + + inline CUserMsg_VGUIMenu_Keys& operator=(const CUserMsg_VGUIMenu_Keys& 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 CUserMsg_VGUIMenu_Keys& default_instance(); + + void Swap(CUserMsg_VGUIMenu_Keys* other); + + // implements Message ---------------------------------------------- + + CUserMsg_VGUIMenu_Keys* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_VGUIMenu_Keys& from); + void MergeFrom(const CUserMsg_VGUIMenu_Keys& 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 name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // optional string value = 2; + inline bool has_value() const; + inline void clear_value(); + static const int kValueFieldNumber = 2; + inline const ::std::string& value() const; + inline void set_value(const ::std::string& value); + inline void set_value(const char* value); + inline void set_value(const char* value, size_t size); + inline ::std::string* mutable_value(); + inline ::std::string* release_value(); + + // @@protoc_insertion_point(class_scope:CUserMsg_VGUIMenu.Keys) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_value(); + inline void clear_has_value(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + ::std::string* value_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_VGUIMenu_Keys* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_VGUIMenu : public ::google::protobuf::Message { + public: + CUserMsg_VGUIMenu(); + virtual ~CUserMsg_VGUIMenu(); + + CUserMsg_VGUIMenu(const CUserMsg_VGUIMenu& from); + + inline CUserMsg_VGUIMenu& operator=(const CUserMsg_VGUIMenu& 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 CUserMsg_VGUIMenu& default_instance(); + + void Swap(CUserMsg_VGUIMenu* other); + + // implements Message ---------------------------------------------- + + CUserMsg_VGUIMenu* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_VGUIMenu& from); + void MergeFrom(const CUserMsg_VGUIMenu& 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 ---------------------------------------------------- + + typedef CUserMsg_VGUIMenu_Keys Keys; + + // accessors ------------------------------------------------------- + + // optional string name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + + // optional bool show = 2; + inline bool has_show() const; + inline void clear_show(); + static const int kShowFieldNumber = 2; + inline bool show() const; + inline void set_show(bool value); + + // repeated .CUserMsg_VGUIMenu.Keys keys = 3; + inline int keys_size() const; + inline void clear_keys(); + static const int kKeysFieldNumber = 3; + inline const ::CUserMsg_VGUIMenu_Keys& keys(int index) const; + inline ::CUserMsg_VGUIMenu_Keys* mutable_keys(int index); + inline ::CUserMsg_VGUIMenu_Keys* add_keys(); + inline const ::google::protobuf::RepeatedPtrField< ::CUserMsg_VGUIMenu_Keys >& + keys() const; + inline ::google::protobuf::RepeatedPtrField< ::CUserMsg_VGUIMenu_Keys >* + mutable_keys(); + + // @@protoc_insertion_point(class_scope:CUserMsg_VGUIMenu) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_show(); + inline void clear_has_show(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* name_; + ::google::protobuf::RepeatedPtrField< ::CUserMsg_VGUIMenu_Keys > keys_; + bool show_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_VGUIMenu* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_Geiger : public ::google::protobuf::Message { + public: + CUserMsg_Geiger(); + virtual ~CUserMsg_Geiger(); + + CUserMsg_Geiger(const CUserMsg_Geiger& from); + + inline CUserMsg_Geiger& operator=(const CUserMsg_Geiger& 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 CUserMsg_Geiger& default_instance(); + + void Swap(CUserMsg_Geiger* other); + + // implements Message ---------------------------------------------- + + CUserMsg_Geiger* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_Geiger& from); + void MergeFrom(const CUserMsg_Geiger& 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 range = 1; + inline bool has_range() const; + inline void clear_range(); + static const int kRangeFieldNumber = 1; + inline ::google::protobuf::int32 range() const; + inline void set_range(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CUserMsg_Geiger) + private: + inline void set_has_range(); + inline void clear_has_range(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 range_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_Geiger* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_Rumble : public ::google::protobuf::Message { + public: + CUserMsg_Rumble(); + virtual ~CUserMsg_Rumble(); + + CUserMsg_Rumble(const CUserMsg_Rumble& from); + + inline CUserMsg_Rumble& operator=(const CUserMsg_Rumble& 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 CUserMsg_Rumble& default_instance(); + + void Swap(CUserMsg_Rumble* other); + + // implements Message ---------------------------------------------- + + CUserMsg_Rumble* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_Rumble& from); + void MergeFrom(const CUserMsg_Rumble& 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 index = 1; + inline bool has_index() const; + inline void clear_index(); + static const int kIndexFieldNumber = 1; + inline ::google::protobuf::int32 index() const; + inline void set_index(::google::protobuf::int32 value); + + // optional int32 data = 2; + inline bool has_data() const; + inline void clear_data(); + static const int kDataFieldNumber = 2; + inline ::google::protobuf::int32 data() const; + inline void set_data(::google::protobuf::int32 value); + + // optional int32 flags = 3; + inline bool has_flags() const; + inline void clear_flags(); + static const int kFlagsFieldNumber = 3; + inline ::google::protobuf::int32 flags() const; + inline void set_flags(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CUserMsg_Rumble) + private: + inline void set_has_index(); + inline void clear_has_index(); + inline void set_has_data(); + inline void clear_has_data(); + inline void set_has_flags(); + inline void clear_has_flags(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 index_; + ::google::protobuf::int32 data_; + ::google::protobuf::int32 flags_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_Rumble* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_Train : public ::google::protobuf::Message { + public: + CUserMsg_Train(); + virtual ~CUserMsg_Train(); + + CUserMsg_Train(const CUserMsg_Train& from); + + inline CUserMsg_Train& operator=(const CUserMsg_Train& 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 CUserMsg_Train& default_instance(); + + void Swap(CUserMsg_Train* other); + + // implements Message ---------------------------------------------- + + CUserMsg_Train* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_Train& from); + void MergeFrom(const CUserMsg_Train& 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 train = 1; + inline bool has_train() const; + inline void clear_train(); + static const int kTrainFieldNumber = 1; + inline ::google::protobuf::int32 train() const; + inline void set_train(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CUserMsg_Train) + private: + inline void set_has_train(); + inline void clear_has_train(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 train_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_Train* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_SayTextChannel : public ::google::protobuf::Message { + public: + CUserMsg_SayTextChannel(); + virtual ~CUserMsg_SayTextChannel(); + + CUserMsg_SayTextChannel(const CUserMsg_SayTextChannel& from); + + inline CUserMsg_SayTextChannel& operator=(const CUserMsg_SayTextChannel& 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 CUserMsg_SayTextChannel& default_instance(); + + void Swap(CUserMsg_SayTextChannel* other); + + // implements Message ---------------------------------------------- + + CUserMsg_SayTextChannel* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_SayTextChannel& from); + void MergeFrom(const CUserMsg_SayTextChannel& 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 = 1; + inline bool has_player() const; + inline void clear_player(); + static const int kPlayerFieldNumber = 1; + inline ::google::protobuf::int32 player() const; + inline void set_player(::google::protobuf::int32 value); + + // optional int32 channel = 2; + inline bool has_channel() const; + inline void clear_channel(); + static const int kChannelFieldNumber = 2; + inline ::google::protobuf::int32 channel() const; + inline void set_channel(::google::protobuf::int32 value); + + // optional string text = 3; + inline bool has_text() const; + inline void clear_text(); + static const int kTextFieldNumber = 3; + 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(); + + // @@protoc_insertion_point(class_scope:CUserMsg_SayTextChannel) + private: + inline void set_has_player(); + inline void clear_has_player(); + inline void set_has_channel(); + inline void clear_has_channel(); + inline void set_has_text(); + inline void clear_has_text(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::int32 player_; + ::google::protobuf::int32 channel_; + ::std::string* text_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_SayTextChannel* default_instance_; +}; +// ------------------------------------------------------------------- + +class CUserMsg_MessageText : public ::google::protobuf::Message { + public: + CUserMsg_MessageText(); + virtual ~CUserMsg_MessageText(); + + CUserMsg_MessageText(const CUserMsg_MessageText& from); + + inline CUserMsg_MessageText& operator=(const CUserMsg_MessageText& 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 CUserMsg_MessageText& default_instance(); + + void Swap(CUserMsg_MessageText* other); + + // implements Message ---------------------------------------------- + + CUserMsg_MessageText* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CUserMsg_MessageText& from); + void MergeFrom(const CUserMsg_MessageText& 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 uint32 color = 1; + inline bool has_color() const; + inline void clear_color(); + static const int kColorFieldNumber = 1; + inline ::google::protobuf::uint32 color() const; + inline void set_color(::google::protobuf::uint32 value); + + // 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(); + + // @@protoc_insertion_point(class_scope:CUserMsg_MessageText) + private: + inline void set_has_color(); + inline void clear_has_color(); + inline void set_has_text(); + inline void clear_has_text(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* text_; + ::google::protobuf::uint32 color_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_usermessages_2eproto(); + friend void protobuf_AssignDesc_usermessages_2eproto(); + friend void protobuf_ShutdownFile_usermessages_2eproto(); + + void InitAsDefaultInstance(); + static CUserMsg_MessageText* default_instance_; +}; +// =================================================================== + + +// =================================================================== + +// CUserMsg_AchievementEvent + +// optional uint32 achievement = 1; +inline bool CUserMsg_AchievementEvent::has_achievement() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_AchievementEvent::set_has_achievement() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_AchievementEvent::clear_has_achievement() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_AchievementEvent::clear_achievement() { + achievement_ = 0u; + clear_has_achievement(); +} +inline ::google::protobuf::uint32 CUserMsg_AchievementEvent::achievement() const { + return achievement_; +} +inline void CUserMsg_AchievementEvent::set_achievement(::google::protobuf::uint32 value) { + set_has_achievement(); + achievement_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_CloseCaption + +// optional fixed32 hash = 1; +inline bool CUserMsg_CloseCaption::has_hash() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_CloseCaption::set_has_hash() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_CloseCaption::clear_has_hash() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_CloseCaption::clear_hash() { + hash_ = 0u; + clear_has_hash(); +} +inline ::google::protobuf::uint32 CUserMsg_CloseCaption::hash() const { + return hash_; +} +inline void CUserMsg_CloseCaption::set_hash(::google::protobuf::uint32 value) { + set_has_hash(); + hash_ = value; +} + +// optional float duration = 2; +inline bool CUserMsg_CloseCaption::has_duration() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_CloseCaption::set_has_duration() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_CloseCaption::clear_has_duration() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_CloseCaption::clear_duration() { + duration_ = 0; + clear_has_duration(); +} +inline float CUserMsg_CloseCaption::duration() const { + return duration_; +} +inline void CUserMsg_CloseCaption::set_duration(float value) { + set_has_duration(); + duration_ = value; +} + +// optional bool from_player = 3; +inline bool CUserMsg_CloseCaption::has_from_player() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_CloseCaption::set_has_from_player() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_CloseCaption::clear_has_from_player() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_CloseCaption::clear_from_player() { + from_player_ = false; + clear_has_from_player(); +} +inline bool CUserMsg_CloseCaption::from_player() const { + return from_player_; +} +inline void CUserMsg_CloseCaption::set_from_player(bool value) { + set_has_from_player(); + from_player_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_CurrentTimescale + +// optional float current = 1; +inline bool CUserMsg_CurrentTimescale::has_current() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_CurrentTimescale::set_has_current() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_CurrentTimescale::clear_has_current() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_CurrentTimescale::clear_current() { + current_ = 0; + clear_has_current(); +} +inline float CUserMsg_CurrentTimescale::current() const { + return current_; +} +inline void CUserMsg_CurrentTimescale::set_current(float value) { + set_has_current(); + current_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_DesiredTimescale + +// optional float desired = 1; +inline bool CUserMsg_DesiredTimescale::has_desired() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_DesiredTimescale::set_has_desired() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_DesiredTimescale::clear_has_desired() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_DesiredTimescale::clear_desired() { + desired_ = 0; + clear_has_desired(); +} +inline float CUserMsg_DesiredTimescale::desired() const { + return desired_; +} +inline void CUserMsg_DesiredTimescale::set_desired(float value) { + set_has_desired(); + desired_ = value; +} + +// optional float duration = 2; +inline bool CUserMsg_DesiredTimescale::has_duration() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_DesiredTimescale::set_has_duration() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_DesiredTimescale::clear_has_duration() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_DesiredTimescale::clear_duration() { + duration_ = 0; + clear_has_duration(); +} +inline float CUserMsg_DesiredTimescale::duration() const { + return duration_; +} +inline void CUserMsg_DesiredTimescale::set_duration(float value) { + set_has_duration(); + duration_ = value; +} + +// optional uint32 interpolator = 3; +inline bool CUserMsg_DesiredTimescale::has_interpolator() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_DesiredTimescale::set_has_interpolator() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_DesiredTimescale::clear_has_interpolator() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_DesiredTimescale::clear_interpolator() { + interpolator_ = 0u; + clear_has_interpolator(); +} +inline ::google::protobuf::uint32 CUserMsg_DesiredTimescale::interpolator() const { + return interpolator_; +} +inline void CUserMsg_DesiredTimescale::set_interpolator(::google::protobuf::uint32 value) { + set_has_interpolator(); + interpolator_ = value; +} + +// optional float start_blend_time = 4; +inline bool CUserMsg_DesiredTimescale::has_start_blend_time() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CUserMsg_DesiredTimescale::set_has_start_blend_time() { + _has_bits_[0] |= 0x00000008u; +} +inline void CUserMsg_DesiredTimescale::clear_has_start_blend_time() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CUserMsg_DesiredTimescale::clear_start_blend_time() { + start_blend_time_ = 0; + clear_has_start_blend_time(); +} +inline float CUserMsg_DesiredTimescale::start_blend_time() const { + return start_blend_time_; +} +inline void CUserMsg_DesiredTimescale::set_start_blend_time(float value) { + set_has_start_blend_time(); + start_blend_time_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_Fade + +// optional uint32 duration = 1; +inline bool CUserMsg_Fade::has_duration() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_Fade::set_has_duration() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_Fade::clear_has_duration() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_Fade::clear_duration() { + duration_ = 0u; + clear_has_duration(); +} +inline ::google::protobuf::uint32 CUserMsg_Fade::duration() const { + return duration_; +} +inline void CUserMsg_Fade::set_duration(::google::protobuf::uint32 value) { + set_has_duration(); + duration_ = value; +} + +// optional uint32 hold_time = 2; +inline bool CUserMsg_Fade::has_hold_time() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_Fade::set_has_hold_time() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_Fade::clear_has_hold_time() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_Fade::clear_hold_time() { + hold_time_ = 0u; + clear_has_hold_time(); +} +inline ::google::protobuf::uint32 CUserMsg_Fade::hold_time() const { + return hold_time_; +} +inline void CUserMsg_Fade::set_hold_time(::google::protobuf::uint32 value) { + set_has_hold_time(); + hold_time_ = value; +} + +// optional uint32 flags = 3; +inline bool CUserMsg_Fade::has_flags() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_Fade::set_has_flags() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_Fade::clear_has_flags() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_Fade::clear_flags() { + flags_ = 0u; + clear_has_flags(); +} +inline ::google::protobuf::uint32 CUserMsg_Fade::flags() const { + return flags_; +} +inline void CUserMsg_Fade::set_flags(::google::protobuf::uint32 value) { + set_has_flags(); + flags_ = value; +} + +// optional fixed32 color = 4; +inline bool CUserMsg_Fade::has_color() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CUserMsg_Fade::set_has_color() { + _has_bits_[0] |= 0x00000008u; +} +inline void CUserMsg_Fade::clear_has_color() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CUserMsg_Fade::clear_color() { + color_ = 0u; + clear_has_color(); +} +inline ::google::protobuf::uint32 CUserMsg_Fade::color() const { + return color_; +} +inline void CUserMsg_Fade::set_color(::google::protobuf::uint32 value) { + set_has_color(); + color_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_Shake + +// optional uint32 command = 1; +inline bool CUserMsg_Shake::has_command() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_Shake::set_has_command() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_Shake::clear_has_command() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_Shake::clear_command() { + command_ = 0u; + clear_has_command(); +} +inline ::google::protobuf::uint32 CUserMsg_Shake::command() const { + return command_; +} +inline void CUserMsg_Shake::set_command(::google::protobuf::uint32 value) { + set_has_command(); + command_ = value; +} + +// optional float amplitude = 2; +inline bool CUserMsg_Shake::has_amplitude() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_Shake::set_has_amplitude() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_Shake::clear_has_amplitude() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_Shake::clear_amplitude() { + amplitude_ = 0; + clear_has_amplitude(); +} +inline float CUserMsg_Shake::amplitude() const { + return amplitude_; +} +inline void CUserMsg_Shake::set_amplitude(float value) { + set_has_amplitude(); + amplitude_ = value; +} + +// optional float frequency = 3; +inline bool CUserMsg_Shake::has_frequency() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_Shake::set_has_frequency() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_Shake::clear_has_frequency() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_Shake::clear_frequency() { + frequency_ = 0; + clear_has_frequency(); +} +inline float CUserMsg_Shake::frequency() const { + return frequency_; +} +inline void CUserMsg_Shake::set_frequency(float value) { + set_has_frequency(); + frequency_ = value; +} + +// optional float duration = 4; +inline bool CUserMsg_Shake::has_duration() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CUserMsg_Shake::set_has_duration() { + _has_bits_[0] |= 0x00000008u; +} +inline void CUserMsg_Shake::clear_has_duration() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CUserMsg_Shake::clear_duration() { + duration_ = 0; + clear_has_duration(); +} +inline float CUserMsg_Shake::duration() const { + return duration_; +} +inline void CUserMsg_Shake::set_duration(float value) { + set_has_duration(); + duration_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_ShakeDir + +// optional .CUserMsg_Shake shake = 1; +inline bool CUserMsg_ShakeDir::has_shake() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_ShakeDir::set_has_shake() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_ShakeDir::clear_has_shake() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_ShakeDir::clear_shake() { + if (shake_ != NULL) shake_->::CUserMsg_Shake::Clear(); + clear_has_shake(); +} +inline const ::CUserMsg_Shake& CUserMsg_ShakeDir::shake() const { + return shake_ != NULL ? *shake_ : *default_instance_->shake_; +} +inline ::CUserMsg_Shake* CUserMsg_ShakeDir::mutable_shake() { + set_has_shake(); + if (shake_ == NULL) shake_ = new ::CUserMsg_Shake; + return shake_; +} +inline ::CUserMsg_Shake* CUserMsg_ShakeDir::release_shake() { + clear_has_shake(); + ::CUserMsg_Shake* temp = shake_; + shake_ = NULL; + return temp; +} + +// optional .CMsgVector direction = 2; +inline bool CUserMsg_ShakeDir::has_direction() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_ShakeDir::set_has_direction() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_ShakeDir::clear_has_direction() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_ShakeDir::clear_direction() { + if (direction_ != NULL) direction_->::CMsgVector::Clear(); + clear_has_direction(); +} +inline const ::CMsgVector& CUserMsg_ShakeDir::direction() const { + return direction_ != NULL ? *direction_ : *default_instance_->direction_; +} +inline ::CMsgVector* CUserMsg_ShakeDir::mutable_direction() { + set_has_direction(); + if (direction_ == NULL) direction_ = new ::CMsgVector; + return direction_; +} +inline ::CMsgVector* CUserMsg_ShakeDir::release_direction() { + clear_has_direction(); + ::CMsgVector* temp = direction_; + direction_ = NULL; + return temp; +} + +// ------------------------------------------------------------------- + +// CUserMsg_Tilt + +// optional uint32 command = 1; +inline bool CUserMsg_Tilt::has_command() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_Tilt::set_has_command() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_Tilt::clear_has_command() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_Tilt::clear_command() { + command_ = 0u; + clear_has_command(); +} +inline ::google::protobuf::uint32 CUserMsg_Tilt::command() const { + return command_; +} +inline void CUserMsg_Tilt::set_command(::google::protobuf::uint32 value) { + set_has_command(); + command_ = value; +} + +// optional bool ease_in_out = 2; +inline bool CUserMsg_Tilt::has_ease_in_out() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_Tilt::set_has_ease_in_out() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_Tilt::clear_has_ease_in_out() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_Tilt::clear_ease_in_out() { + ease_in_out_ = false; + clear_has_ease_in_out(); +} +inline bool CUserMsg_Tilt::ease_in_out() const { + return ease_in_out_; +} +inline void CUserMsg_Tilt::set_ease_in_out(bool value) { + set_has_ease_in_out(); + ease_in_out_ = value; +} + +// optional .CMsgVector angle = 3; +inline bool CUserMsg_Tilt::has_angle() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_Tilt::set_has_angle() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_Tilt::clear_has_angle() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_Tilt::clear_angle() { + if (angle_ != NULL) angle_->::CMsgVector::Clear(); + clear_has_angle(); +} +inline const ::CMsgVector& CUserMsg_Tilt::angle() const { + return angle_ != NULL ? *angle_ : *default_instance_->angle_; +} +inline ::CMsgVector* CUserMsg_Tilt::mutable_angle() { + set_has_angle(); + if (angle_ == NULL) angle_ = new ::CMsgVector; + return angle_; +} +inline ::CMsgVector* CUserMsg_Tilt::release_angle() { + clear_has_angle(); + ::CMsgVector* temp = angle_; + angle_ = NULL; + return temp; +} + +// optional float duration = 4; +inline bool CUserMsg_Tilt::has_duration() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CUserMsg_Tilt::set_has_duration() { + _has_bits_[0] |= 0x00000008u; +} +inline void CUserMsg_Tilt::clear_has_duration() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CUserMsg_Tilt::clear_duration() { + duration_ = 0; + clear_has_duration(); +} +inline float CUserMsg_Tilt::duration() const { + return duration_; +} +inline void CUserMsg_Tilt::set_duration(float value) { + set_has_duration(); + duration_ = value; +} + +// optional float time = 5; +inline bool CUserMsg_Tilt::has_time() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CUserMsg_Tilt::set_has_time() { + _has_bits_[0] |= 0x00000010u; +} +inline void CUserMsg_Tilt::clear_has_time() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CUserMsg_Tilt::clear_time() { + time_ = 0; + clear_has_time(); +} +inline float CUserMsg_Tilt::time() const { + return time_; +} +inline void CUserMsg_Tilt::set_time(float value) { + set_has_time(); + time_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_SayText + +// optional uint32 client = 1; +inline bool CUserMsg_SayText::has_client() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_SayText::set_has_client() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_SayText::clear_has_client() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_SayText::clear_client() { + client_ = 0u; + clear_has_client(); +} +inline ::google::protobuf::uint32 CUserMsg_SayText::client() const { + return client_; +} +inline void CUserMsg_SayText::set_client(::google::protobuf::uint32 value) { + set_has_client(); + client_ = value; +} + +// optional string text = 2; +inline bool CUserMsg_SayText::has_text() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_SayText::set_has_text() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_SayText::clear_has_text() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_SayText::clear_text() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + clear_has_text(); +} +inline const ::std::string& CUserMsg_SayText::text() const { + return *text_; +} +inline void CUserMsg_SayText::set_text(const ::std::string& value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CUserMsg_SayText::set_text(const char* value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CUserMsg_SayText::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(value), size); +} +inline ::std::string* CUserMsg_SayText::mutable_text() { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + return text_; +} +inline ::std::string* CUserMsg_SayText::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 bool chat = 3; +inline bool CUserMsg_SayText::has_chat() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_SayText::set_has_chat() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_SayText::clear_has_chat() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_SayText::clear_chat() { + chat_ = false; + clear_has_chat(); +} +inline bool CUserMsg_SayText::chat() const { + return chat_; +} +inline void CUserMsg_SayText::set_chat(bool value) { + set_has_chat(); + chat_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_SayText2 + +// optional uint32 client = 1; +inline bool CUserMsg_SayText2::has_client() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_SayText2::set_has_client() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_SayText2::clear_has_client() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_SayText2::clear_client() { + client_ = 0u; + clear_has_client(); +} +inline ::google::protobuf::uint32 CUserMsg_SayText2::client() const { + return client_; +} +inline void CUserMsg_SayText2::set_client(::google::protobuf::uint32 value) { + set_has_client(); + client_ = value; +} + +// optional bool chat = 2; +inline bool CUserMsg_SayText2::has_chat() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_SayText2::set_has_chat() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_SayText2::clear_has_chat() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_SayText2::clear_chat() { + chat_ = false; + clear_has_chat(); +} +inline bool CUserMsg_SayText2::chat() const { + return chat_; +} +inline void CUserMsg_SayText2::set_chat(bool value) { + set_has_chat(); + chat_ = value; +} + +// optional string format = 3; +inline bool CUserMsg_SayText2::has_format() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_SayText2::set_has_format() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_SayText2::clear_has_format() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_SayText2::clear_format() { + if (format_ != &::google::protobuf::internal::kEmptyString) { + format_->clear(); + } + clear_has_format(); +} +inline const ::std::string& CUserMsg_SayText2::format() const { + return *format_; +} +inline void CUserMsg_SayText2::set_format(const ::std::string& value) { + set_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + format_ = new ::std::string; + } + format_->assign(value); +} +inline void CUserMsg_SayText2::set_format(const char* value) { + set_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + format_ = new ::std::string; + } + format_->assign(value); +} +inline void CUserMsg_SayText2::set_format(const char* value, size_t size) { + set_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + format_ = new ::std::string; + } + format_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_SayText2::mutable_format() { + set_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + format_ = new ::std::string; + } + return format_; +} +inline ::std::string* CUserMsg_SayText2::release_format() { + clear_has_format(); + if (format_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = format_; + format_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string prefix = 4; +inline bool CUserMsg_SayText2::has_prefix() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CUserMsg_SayText2::set_has_prefix() { + _has_bits_[0] |= 0x00000008u; +} +inline void CUserMsg_SayText2::clear_has_prefix() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CUserMsg_SayText2::clear_prefix() { + if (prefix_ != &::google::protobuf::internal::kEmptyString) { + prefix_->clear(); + } + clear_has_prefix(); +} +inline const ::std::string& CUserMsg_SayText2::prefix() const { + return *prefix_; +} +inline void CUserMsg_SayText2::set_prefix(const ::std::string& value) { + set_has_prefix(); + if (prefix_ == &::google::protobuf::internal::kEmptyString) { + prefix_ = new ::std::string; + } + prefix_->assign(value); +} +inline void CUserMsg_SayText2::set_prefix(const char* value) { + set_has_prefix(); + if (prefix_ == &::google::protobuf::internal::kEmptyString) { + prefix_ = new ::std::string; + } + prefix_->assign(value); +} +inline void CUserMsg_SayText2::set_prefix(const char* value, size_t size) { + set_has_prefix(); + if (prefix_ == &::google::protobuf::internal::kEmptyString) { + prefix_ = new ::std::string; + } + prefix_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_SayText2::mutable_prefix() { + set_has_prefix(); + if (prefix_ == &::google::protobuf::internal::kEmptyString) { + prefix_ = new ::std::string; + } + return prefix_; +} +inline ::std::string* CUserMsg_SayText2::release_prefix() { + clear_has_prefix(); + if (prefix_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = prefix_; + prefix_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string text = 5; +inline bool CUserMsg_SayText2::has_text() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CUserMsg_SayText2::set_has_text() { + _has_bits_[0] |= 0x00000010u; +} +inline void CUserMsg_SayText2::clear_has_text() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CUserMsg_SayText2::clear_text() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + clear_has_text(); +} +inline const ::std::string& CUserMsg_SayText2::text() const { + return *text_; +} +inline void CUserMsg_SayText2::set_text(const ::std::string& value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CUserMsg_SayText2::set_text(const char* value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CUserMsg_SayText2::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(value), size); +} +inline ::std::string* CUserMsg_SayText2::mutable_text() { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + return text_; +} +inline ::std::string* CUserMsg_SayText2::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 string location = 6; +inline bool CUserMsg_SayText2::has_location() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CUserMsg_SayText2::set_has_location() { + _has_bits_[0] |= 0x00000020u; +} +inline void CUserMsg_SayText2::clear_has_location() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CUserMsg_SayText2::clear_location() { + if (location_ != &::google::protobuf::internal::kEmptyString) { + location_->clear(); + } + clear_has_location(); +} +inline const ::std::string& CUserMsg_SayText2::location() const { + return *location_; +} +inline void CUserMsg_SayText2::set_location(const ::std::string& value) { + set_has_location(); + if (location_ == &::google::protobuf::internal::kEmptyString) { + location_ = new ::std::string; + } + location_->assign(value); +} +inline void CUserMsg_SayText2::set_location(const char* value) { + set_has_location(); + if (location_ == &::google::protobuf::internal::kEmptyString) { + location_ = new ::std::string; + } + location_->assign(value); +} +inline void CUserMsg_SayText2::set_location(const char* value, size_t size) { + set_has_location(); + if (location_ == &::google::protobuf::internal::kEmptyString) { + location_ = new ::std::string; + } + location_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_SayText2::mutable_location() { + set_has_location(); + if (location_ == &::google::protobuf::internal::kEmptyString) { + location_ = new ::std::string; + } + return location_; +} +inline ::std::string* CUserMsg_SayText2::release_location() { + clear_has_location(); + if (location_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = location_; + location_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CUserMsg_HudMsg + +// optional uint32 channel = 1; +inline bool CUserMsg_HudMsg::has_channel() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_HudMsg::set_has_channel() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_HudMsg::clear_has_channel() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_HudMsg::clear_channel() { + channel_ = 0u; + clear_has_channel(); +} +inline ::google::protobuf::uint32 CUserMsg_HudMsg::channel() const { + return channel_; +} +inline void CUserMsg_HudMsg::set_channel(::google::protobuf::uint32 value) { + set_has_channel(); + channel_ = value; +} + +// optional float x = 2; +inline bool CUserMsg_HudMsg::has_x() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_HudMsg::set_has_x() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_HudMsg::clear_has_x() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_HudMsg::clear_x() { + x_ = 0; + clear_has_x(); +} +inline float CUserMsg_HudMsg::x() const { + return x_; +} +inline void CUserMsg_HudMsg::set_x(float value) { + set_has_x(); + x_ = value; +} + +// optional float y = 3; +inline bool CUserMsg_HudMsg::has_y() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_HudMsg::set_has_y() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_HudMsg::clear_has_y() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_HudMsg::clear_y() { + y_ = 0; + clear_has_y(); +} +inline float CUserMsg_HudMsg::y() const { + return y_; +} +inline void CUserMsg_HudMsg::set_y(float value) { + set_has_y(); + y_ = value; +} + +// optional uint32 color1 = 4; +inline bool CUserMsg_HudMsg::has_color1() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CUserMsg_HudMsg::set_has_color1() { + _has_bits_[0] |= 0x00000008u; +} +inline void CUserMsg_HudMsg::clear_has_color1() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CUserMsg_HudMsg::clear_color1() { + color1_ = 0u; + clear_has_color1(); +} +inline ::google::protobuf::uint32 CUserMsg_HudMsg::color1() const { + return color1_; +} +inline void CUserMsg_HudMsg::set_color1(::google::protobuf::uint32 value) { + set_has_color1(); + color1_ = value; +} + +// optional uint32 color2 = 5; +inline bool CUserMsg_HudMsg::has_color2() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CUserMsg_HudMsg::set_has_color2() { + _has_bits_[0] |= 0x00000010u; +} +inline void CUserMsg_HudMsg::clear_has_color2() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CUserMsg_HudMsg::clear_color2() { + color2_ = 0u; + clear_has_color2(); +} +inline ::google::protobuf::uint32 CUserMsg_HudMsg::color2() const { + return color2_; +} +inline void CUserMsg_HudMsg::set_color2(::google::protobuf::uint32 value) { + set_has_color2(); + color2_ = value; +} + +// optional uint32 effect = 6; +inline bool CUserMsg_HudMsg::has_effect() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CUserMsg_HudMsg::set_has_effect() { + _has_bits_[0] |= 0x00000020u; +} +inline void CUserMsg_HudMsg::clear_has_effect() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CUserMsg_HudMsg::clear_effect() { + effect_ = 0u; + clear_has_effect(); +} +inline ::google::protobuf::uint32 CUserMsg_HudMsg::effect() const { + return effect_; +} +inline void CUserMsg_HudMsg::set_effect(::google::protobuf::uint32 value) { + set_has_effect(); + effect_ = value; +} + +// optional float fade_in_time = 7; +inline bool CUserMsg_HudMsg::has_fade_in_time() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CUserMsg_HudMsg::set_has_fade_in_time() { + _has_bits_[0] |= 0x00000040u; +} +inline void CUserMsg_HudMsg::clear_has_fade_in_time() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CUserMsg_HudMsg::clear_fade_in_time() { + fade_in_time_ = 0; + clear_has_fade_in_time(); +} +inline float CUserMsg_HudMsg::fade_in_time() const { + return fade_in_time_; +} +inline void CUserMsg_HudMsg::set_fade_in_time(float value) { + set_has_fade_in_time(); + fade_in_time_ = value; +} + +// optional float fade_out_time = 8; +inline bool CUserMsg_HudMsg::has_fade_out_time() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CUserMsg_HudMsg::set_has_fade_out_time() { + _has_bits_[0] |= 0x00000080u; +} +inline void CUserMsg_HudMsg::clear_has_fade_out_time() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CUserMsg_HudMsg::clear_fade_out_time() { + fade_out_time_ = 0; + clear_has_fade_out_time(); +} +inline float CUserMsg_HudMsg::fade_out_time() const { + return fade_out_time_; +} +inline void CUserMsg_HudMsg::set_fade_out_time(float value) { + set_has_fade_out_time(); + fade_out_time_ = value; +} + +// optional float hold_time = 9; +inline bool CUserMsg_HudMsg::has_hold_time() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CUserMsg_HudMsg::set_has_hold_time() { + _has_bits_[0] |= 0x00000100u; +} +inline void CUserMsg_HudMsg::clear_has_hold_time() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CUserMsg_HudMsg::clear_hold_time() { + hold_time_ = 0; + clear_has_hold_time(); +} +inline float CUserMsg_HudMsg::hold_time() const { + return hold_time_; +} +inline void CUserMsg_HudMsg::set_hold_time(float value) { + set_has_hold_time(); + hold_time_ = value; +} + +// optional float fx_time = 10; +inline bool CUserMsg_HudMsg::has_fx_time() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void CUserMsg_HudMsg::set_has_fx_time() { + _has_bits_[0] |= 0x00000200u; +} +inline void CUserMsg_HudMsg::clear_has_fx_time() { + _has_bits_[0] &= ~0x00000200u; +} +inline void CUserMsg_HudMsg::clear_fx_time() { + fx_time_ = 0; + clear_has_fx_time(); +} +inline float CUserMsg_HudMsg::fx_time() const { + return fx_time_; +} +inline void CUserMsg_HudMsg::set_fx_time(float value) { + set_has_fx_time(); + fx_time_ = value; +} + +// optional string message = 11; +inline bool CUserMsg_HudMsg::has_message() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void CUserMsg_HudMsg::set_has_message() { + _has_bits_[0] |= 0x00000400u; +} +inline void CUserMsg_HudMsg::clear_has_message() { + _has_bits_[0] &= ~0x00000400u; +} +inline void CUserMsg_HudMsg::clear_message() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + clear_has_message(); +} +inline const ::std::string& CUserMsg_HudMsg::message() const { + return *message_; +} +inline void CUserMsg_HudMsg::set_message(const ::std::string& value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CUserMsg_HudMsg::set_message(const char* value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CUserMsg_HudMsg::set_message(const char* value, size_t size) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_HudMsg::mutable_message() { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + return message_; +} +inline ::std::string* CUserMsg_HudMsg::release_message() { + clear_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = message_; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CUserMsg_HudText + +// optional string message = 1; +inline bool CUserMsg_HudText::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_HudText::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_HudText::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_HudText::clear_message() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + clear_has_message(); +} +inline const ::std::string& CUserMsg_HudText::message() const { + return *message_; +} +inline void CUserMsg_HudText::set_message(const ::std::string& value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CUserMsg_HudText::set_message(const char* value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CUserMsg_HudText::set_message(const char* value, size_t size) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_HudText::mutable_message() { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + return message_; +} +inline ::std::string* CUserMsg_HudText::release_message() { + clear_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = message_; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CUserMsg_TextMsg + +// optional uint32 dest = 1; +inline bool CUserMsg_TextMsg::has_dest() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_TextMsg::set_has_dest() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_TextMsg::clear_has_dest() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_TextMsg::clear_dest() { + dest_ = 0u; + clear_has_dest(); +} +inline ::google::protobuf::uint32 CUserMsg_TextMsg::dest() const { + return dest_; +} +inline void CUserMsg_TextMsg::set_dest(::google::protobuf::uint32 value) { + set_has_dest(); + dest_ = value; +} + +// repeated string param = 2; +inline int CUserMsg_TextMsg::param_size() const { + return param_.size(); +} +inline void CUserMsg_TextMsg::clear_param() { + param_.Clear(); +} +inline const ::std::string& CUserMsg_TextMsg::param(int index) const { + return param_.Get(index); +} +inline ::std::string* CUserMsg_TextMsg::mutable_param(int index) { + return param_.Mutable(index); +} +inline void CUserMsg_TextMsg::set_param(int index, const ::std::string& value) { + param_.Mutable(index)->assign(value); +} +inline void CUserMsg_TextMsg::set_param(int index, const char* value) { + param_.Mutable(index)->assign(value); +} +inline void CUserMsg_TextMsg::set_param(int index, const char* value, size_t size) { + param_.Mutable(index)->assign( + reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_TextMsg::add_param() { + return param_.Add(); +} +inline void CUserMsg_TextMsg::add_param(const ::std::string& value) { + param_.Add()->assign(value); +} +inline void CUserMsg_TextMsg::add_param(const char* value) { + param_.Add()->assign(value); +} +inline void CUserMsg_TextMsg::add_param(const char* value, size_t size) { + param_.Add()->assign(reinterpret_cast(value), size); +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +CUserMsg_TextMsg::param() const { + return param_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +CUserMsg_TextMsg::mutable_param() { + return ¶m_; +} + +// ------------------------------------------------------------------- + +// CUserMsg_GameTitle + +// ------------------------------------------------------------------- + +// CUserMsg_ResetHUD + +// ------------------------------------------------------------------- + +// CUserMsg_SendAudio + +// optional bool stop = 2; +inline bool CUserMsg_SendAudio::has_stop() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_SendAudio::set_has_stop() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_SendAudio::clear_has_stop() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_SendAudio::clear_stop() { + stop_ = false; + clear_has_stop(); +} +inline bool CUserMsg_SendAudio::stop() const { + return stop_; +} +inline void CUserMsg_SendAudio::set_stop(bool value) { + set_has_stop(); + stop_ = value; +} + +// optional string name = 3; +inline bool CUserMsg_SendAudio::has_name() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_SendAudio::set_has_name() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_SendAudio::clear_has_name() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_SendAudio::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CUserMsg_SendAudio::name() const { + return *name_; +} +inline void CUserMsg_SendAudio::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CUserMsg_SendAudio::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CUserMsg_SendAudio::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_SendAudio::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CUserMsg_SendAudio::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CUserMsg_VoiceMask + +// repeated int32 audible_players_mask = 1; +inline int CUserMsg_VoiceMask::audible_players_mask_size() const { + return audible_players_mask_.size(); +} +inline void CUserMsg_VoiceMask::clear_audible_players_mask() { + audible_players_mask_.Clear(); +} +inline ::google::protobuf::int32 CUserMsg_VoiceMask::audible_players_mask(int index) const { + return audible_players_mask_.Get(index); +} +inline void CUserMsg_VoiceMask::set_audible_players_mask(int index, ::google::protobuf::int32 value) { + audible_players_mask_.Set(index, value); +} +inline void CUserMsg_VoiceMask::add_audible_players_mask(::google::protobuf::int32 value) { + audible_players_mask_.Add(value); +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& +CUserMsg_VoiceMask::audible_players_mask() const { + return audible_players_mask_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* +CUserMsg_VoiceMask::mutable_audible_players_mask() { + return &audible_players_mask_; +} + +// optional bool player_mod_enabled = 2; +inline bool CUserMsg_VoiceMask::has_player_mod_enabled() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_VoiceMask::set_has_player_mod_enabled() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_VoiceMask::clear_has_player_mod_enabled() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_VoiceMask::clear_player_mod_enabled() { + player_mod_enabled_ = false; + clear_has_player_mod_enabled(); +} +inline bool CUserMsg_VoiceMask::player_mod_enabled() const { + return player_mod_enabled_; +} +inline void CUserMsg_VoiceMask::set_player_mod_enabled(bool value) { + set_has_player_mod_enabled(); + player_mod_enabled_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_RequestState + +// ------------------------------------------------------------------- + +// CUserMsg_HintText + +// optional string message = 1; +inline bool CUserMsg_HintText::has_message() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_HintText::set_has_message() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_HintText::clear_has_message() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_HintText::clear_message() { + if (message_ != &::google::protobuf::internal::kEmptyString) { + message_->clear(); + } + clear_has_message(); +} +inline const ::std::string& CUserMsg_HintText::message() const { + return *message_; +} +inline void CUserMsg_HintText::set_message(const ::std::string& value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CUserMsg_HintText::set_message(const char* value) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(value); +} +inline void CUserMsg_HintText::set_message(const char* value, size_t size) { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + message_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_HintText::mutable_message() { + set_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + message_ = new ::std::string; + } + return message_; +} +inline ::std::string* CUserMsg_HintText::release_message() { + clear_has_message(); + if (message_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = message_; + message_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CUserMsg_KeyHintText + +// repeated string messages = 1; +inline int CUserMsg_KeyHintText::messages_size() const { + return messages_.size(); +} +inline void CUserMsg_KeyHintText::clear_messages() { + messages_.Clear(); +} +inline const ::std::string& CUserMsg_KeyHintText::messages(int index) const { + return messages_.Get(index); +} +inline ::std::string* CUserMsg_KeyHintText::mutable_messages(int index) { + return messages_.Mutable(index); +} +inline void CUserMsg_KeyHintText::set_messages(int index, const ::std::string& value) { + messages_.Mutable(index)->assign(value); +} +inline void CUserMsg_KeyHintText::set_messages(int index, const char* value) { + messages_.Mutable(index)->assign(value); +} +inline void CUserMsg_KeyHintText::set_messages(int index, const char* value, size_t size) { + messages_.Mutable(index)->assign( + reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_KeyHintText::add_messages() { + return messages_.Add(); +} +inline void CUserMsg_KeyHintText::add_messages(const ::std::string& value) { + messages_.Add()->assign(value); +} +inline void CUserMsg_KeyHintText::add_messages(const char* value) { + messages_.Add()->assign(value); +} +inline void CUserMsg_KeyHintText::add_messages(const char* value, size_t size) { + messages_.Add()->assign(reinterpret_cast(value), size); +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +CUserMsg_KeyHintText::messages() const { + return messages_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +CUserMsg_KeyHintText::mutable_messages() { + return &messages_; +} + +// ------------------------------------------------------------------- + +// CUserMsg_StatsCrawlMsg + +// ------------------------------------------------------------------- + +// CUserMsg_StatsSkipState + +// optional int32 num_skips = 1; +inline bool CUserMsg_StatsSkipState::has_num_skips() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_StatsSkipState::set_has_num_skips() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_StatsSkipState::clear_has_num_skips() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_StatsSkipState::clear_num_skips() { + num_skips_ = 0; + clear_has_num_skips(); +} +inline ::google::protobuf::int32 CUserMsg_StatsSkipState::num_skips() const { + return num_skips_; +} +inline void CUserMsg_StatsSkipState::set_num_skips(::google::protobuf::int32 value) { + set_has_num_skips(); + num_skips_ = value; +} + +// optional int32 num_players = 2; +inline bool CUserMsg_StatsSkipState::has_num_players() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_StatsSkipState::set_has_num_players() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_StatsSkipState::clear_has_num_players() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_StatsSkipState::clear_num_players() { + num_players_ = 0; + clear_has_num_players(); +} +inline ::google::protobuf::int32 CUserMsg_StatsSkipState::num_players() const { + return num_players_; +} +inline void CUserMsg_StatsSkipState::set_num_players(::google::protobuf::int32 value) { + set_has_num_players(); + num_players_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_VoiceSubtitle + +// optional int32 ent_index = 1; +inline bool CUserMsg_VoiceSubtitle::has_ent_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_VoiceSubtitle::set_has_ent_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_VoiceSubtitle::clear_has_ent_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_VoiceSubtitle::clear_ent_index() { + ent_index_ = 0; + clear_has_ent_index(); +} +inline ::google::protobuf::int32 CUserMsg_VoiceSubtitle::ent_index() const { + return ent_index_; +} +inline void CUserMsg_VoiceSubtitle::set_ent_index(::google::protobuf::int32 value) { + set_has_ent_index(); + ent_index_ = value; +} + +// optional int32 menu = 2; +inline bool CUserMsg_VoiceSubtitle::has_menu() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_VoiceSubtitle::set_has_menu() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_VoiceSubtitle::clear_has_menu() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_VoiceSubtitle::clear_menu() { + menu_ = 0; + clear_has_menu(); +} +inline ::google::protobuf::int32 CUserMsg_VoiceSubtitle::menu() const { + return menu_; +} +inline void CUserMsg_VoiceSubtitle::set_menu(::google::protobuf::int32 value) { + set_has_menu(); + menu_ = value; +} + +// optional int32 item = 3; +inline bool CUserMsg_VoiceSubtitle::has_item() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_VoiceSubtitle::set_has_item() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_VoiceSubtitle::clear_has_item() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_VoiceSubtitle::clear_item() { + item_ = 0; + clear_has_item(); +} +inline ::google::protobuf::int32 CUserMsg_VoiceSubtitle::item() const { + return item_; +} +inline void CUserMsg_VoiceSubtitle::set_item(::google::protobuf::int32 value) { + set_has_item(); + item_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_VGUIMenu_Keys + +// optional string name = 1; +inline bool CUserMsg_VGUIMenu_Keys::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_VGUIMenu_Keys::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_VGUIMenu_Keys::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_VGUIMenu_Keys::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CUserMsg_VGUIMenu_Keys::name() const { + return *name_; +} +inline void CUserMsg_VGUIMenu_Keys::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CUserMsg_VGUIMenu_Keys::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CUserMsg_VGUIMenu_Keys::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_VGUIMenu_Keys::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CUserMsg_VGUIMenu_Keys::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string value = 2; +inline bool CUserMsg_VGUIMenu_Keys::has_value() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_VGUIMenu_Keys::set_has_value() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_VGUIMenu_Keys::clear_has_value() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_VGUIMenu_Keys::clear_value() { + if (value_ != &::google::protobuf::internal::kEmptyString) { + value_->clear(); + } + clear_has_value(); +} +inline const ::std::string& CUserMsg_VGUIMenu_Keys::value() const { + return *value_; +} +inline void CUserMsg_VGUIMenu_Keys::set_value(const ::std::string& value) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(value); +} +inline void CUserMsg_VGUIMenu_Keys::set_value(const char* value) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(value); +} +inline void CUserMsg_VGUIMenu_Keys::set_value(const char* value, size_t size) { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + value_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_VGUIMenu_Keys::mutable_value() { + set_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + value_ = new ::std::string; + } + return value_; +} +inline ::std::string* CUserMsg_VGUIMenu_Keys::release_value() { + clear_has_value(); + if (value_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = value_; + value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// ------------------------------------------------------------------- + +// CUserMsg_VGUIMenu + +// optional string name = 1; +inline bool CUserMsg_VGUIMenu::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_VGUIMenu::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_VGUIMenu::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_VGUIMenu::clear_name() { + if (name_ != &::google::protobuf::internal::kEmptyString) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CUserMsg_VGUIMenu::name() const { + return *name_; +} +inline void CUserMsg_VGUIMenu::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CUserMsg_VGUIMenu::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(value); +} +inline void CUserMsg_VGUIMenu::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CUserMsg_VGUIMenu::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + name_ = new ::std::string; + } + return name_; +} +inline ::std::string* CUserMsg_VGUIMenu::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional bool show = 2; +inline bool CUserMsg_VGUIMenu::has_show() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_VGUIMenu::set_has_show() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_VGUIMenu::clear_has_show() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_VGUIMenu::clear_show() { + show_ = false; + clear_has_show(); +} +inline bool CUserMsg_VGUIMenu::show() const { + return show_; +} +inline void CUserMsg_VGUIMenu::set_show(bool value) { + set_has_show(); + show_ = value; +} + +// repeated .CUserMsg_VGUIMenu.Keys keys = 3; +inline int CUserMsg_VGUIMenu::keys_size() const { + return keys_.size(); +} +inline void CUserMsg_VGUIMenu::clear_keys() { + keys_.Clear(); +} +inline const ::CUserMsg_VGUIMenu_Keys& CUserMsg_VGUIMenu::keys(int index) const { + return keys_.Get(index); +} +inline ::CUserMsg_VGUIMenu_Keys* CUserMsg_VGUIMenu::mutable_keys(int index) { + return keys_.Mutable(index); +} +inline ::CUserMsg_VGUIMenu_Keys* CUserMsg_VGUIMenu::add_keys() { + return keys_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CUserMsg_VGUIMenu_Keys >& +CUserMsg_VGUIMenu::keys() const { + return keys_; +} +inline ::google::protobuf::RepeatedPtrField< ::CUserMsg_VGUIMenu_Keys >* +CUserMsg_VGUIMenu::mutable_keys() { + return &keys_; +} + +// ------------------------------------------------------------------- + +// CUserMsg_Geiger + +// optional int32 range = 1; +inline bool CUserMsg_Geiger::has_range() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_Geiger::set_has_range() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_Geiger::clear_has_range() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_Geiger::clear_range() { + range_ = 0; + clear_has_range(); +} +inline ::google::protobuf::int32 CUserMsg_Geiger::range() const { + return range_; +} +inline void CUserMsg_Geiger::set_range(::google::protobuf::int32 value) { + set_has_range(); + range_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_Rumble + +// optional int32 index = 1; +inline bool CUserMsg_Rumble::has_index() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_Rumble::set_has_index() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_Rumble::clear_has_index() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_Rumble::clear_index() { + index_ = 0; + clear_has_index(); +} +inline ::google::protobuf::int32 CUserMsg_Rumble::index() const { + return index_; +} +inline void CUserMsg_Rumble::set_index(::google::protobuf::int32 value) { + set_has_index(); + index_ = value; +} + +// optional int32 data = 2; +inline bool CUserMsg_Rumble::has_data() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_Rumble::set_has_data() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_Rumble::clear_has_data() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_Rumble::clear_data() { + data_ = 0; + clear_has_data(); +} +inline ::google::protobuf::int32 CUserMsg_Rumble::data() const { + return data_; +} +inline void CUserMsg_Rumble::set_data(::google::protobuf::int32 value) { + set_has_data(); + data_ = value; +} + +// optional int32 flags = 3; +inline bool CUserMsg_Rumble::has_flags() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_Rumble::set_has_flags() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_Rumble::clear_has_flags() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_Rumble::clear_flags() { + flags_ = 0; + clear_has_flags(); +} +inline ::google::protobuf::int32 CUserMsg_Rumble::flags() const { + return flags_; +} +inline void CUserMsg_Rumble::set_flags(::google::protobuf::int32 value) { + set_has_flags(); + flags_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_Train + +// optional int32 train = 1; +inline bool CUserMsg_Train::has_train() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_Train::set_has_train() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_Train::clear_has_train() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_Train::clear_train() { + train_ = 0; + clear_has_train(); +} +inline ::google::protobuf::int32 CUserMsg_Train::train() const { + return train_; +} +inline void CUserMsg_Train::set_train(::google::protobuf::int32 value) { + set_has_train(); + train_ = value; +} + +// ------------------------------------------------------------------- + +// CUserMsg_SayTextChannel + +// optional int32 player = 1; +inline bool CUserMsg_SayTextChannel::has_player() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_SayTextChannel::set_has_player() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_SayTextChannel::clear_has_player() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_SayTextChannel::clear_player() { + player_ = 0; + clear_has_player(); +} +inline ::google::protobuf::int32 CUserMsg_SayTextChannel::player() const { + return player_; +} +inline void CUserMsg_SayTextChannel::set_player(::google::protobuf::int32 value) { + set_has_player(); + player_ = value; +} + +// optional int32 channel = 2; +inline bool CUserMsg_SayTextChannel::has_channel() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_SayTextChannel::set_has_channel() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_SayTextChannel::clear_has_channel() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_SayTextChannel::clear_channel() { + channel_ = 0; + clear_has_channel(); +} +inline ::google::protobuf::int32 CUserMsg_SayTextChannel::channel() const { + return channel_; +} +inline void CUserMsg_SayTextChannel::set_channel(::google::protobuf::int32 value) { + set_has_channel(); + channel_ = value; +} + +// optional string text = 3; +inline bool CUserMsg_SayTextChannel::has_text() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CUserMsg_SayTextChannel::set_has_text() { + _has_bits_[0] |= 0x00000004u; +} +inline void CUserMsg_SayTextChannel::clear_has_text() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CUserMsg_SayTextChannel::clear_text() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + clear_has_text(); +} +inline const ::std::string& CUserMsg_SayTextChannel::text() const { + return *text_; +} +inline void CUserMsg_SayTextChannel::set_text(const ::std::string& value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CUserMsg_SayTextChannel::set_text(const char* value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CUserMsg_SayTextChannel::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(value), size); +} +inline ::std::string* CUserMsg_SayTextChannel::mutable_text() { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + return text_; +} +inline ::std::string* CUserMsg_SayTextChannel::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; + } +} + +// ------------------------------------------------------------------- + +// CUserMsg_MessageText + +// optional uint32 color = 1; +inline bool CUserMsg_MessageText::has_color() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CUserMsg_MessageText::set_has_color() { + _has_bits_[0] |= 0x00000001u; +} +inline void CUserMsg_MessageText::clear_has_color() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CUserMsg_MessageText::clear_color() { + color_ = 0u; + clear_has_color(); +} +inline ::google::protobuf::uint32 CUserMsg_MessageText::color() const { + return color_; +} +inline void CUserMsg_MessageText::set_color(::google::protobuf::uint32 value) { + set_has_color(); + color_ = value; +} + +// optional string text = 2; +inline bool CUserMsg_MessageText::has_text() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CUserMsg_MessageText::set_has_text() { + _has_bits_[0] |= 0x00000002u; +} +inline void CUserMsg_MessageText::clear_has_text() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CUserMsg_MessageText::clear_text() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + clear_has_text(); +} +inline const ::std::string& CUserMsg_MessageText::text() const { + return *text_; +} +inline void CUserMsg_MessageText::set_text(const ::std::string& value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CUserMsg_MessageText::set_text(const char* value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CUserMsg_MessageText::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(value), size); +} +inline ::std::string* CUserMsg_MessageText::mutable_text() { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + return text_; +} +inline ::std::string* CUserMsg_MessageText::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; + } +} + + +// @@protoc_insertion_point(namespace_scope) + +#ifndef SWIG +namespace google { +namespace protobuf { + +template <> +inline const EnumDescriptor* GetEnumDescriptor< EBaseUserMessages>() { + return EBaseUserMessages_descriptor(); +} + +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_usermessages_2eproto__INCLUDED diff --git a/public/game/shared/protobuf/usermessages.proto b/public/game/shared/protobuf/usermessages.proto new file mode 100644 index 00000000..697925ba --- /dev/null +++ b/public/game/shared/protobuf/usermessages.proto @@ -0,0 +1,303 @@ +//====== 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. +// +//============================================================================= + +// We care more about speed than code size +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"; + +// for CMsgVector, etc. +import "netmessages.proto"; + +//============================================================================= +// Base User Messages +//============================================================================= + +enum EBaseUserMessages +{ + UM_AchievementEvent = 1; + UM_CloseCaption = 2; + UM_CloseCaptionDirect = 3; // Shares message def CUserMsg_CloseCaption + UM_CurrentTimescale = 4; + UM_DesiredTimescale = 5; + UM_Fade = 6; + UM_GameTitle = 7; + UM_Geiger = 8; + UM_HintText = 9; + UM_HudMsg = 10; + UM_HudText = 11; + UM_KeyHintText = 12; + UM_MessageText = 13; + UM_RequestState = 14; + UM_ResetHUD = 15; + UM_Rumble = 16; + UM_SayText = 17; + UM_SayText2 = 18; + UM_SayTextChannel = 19; + UM_Shake = 20; + UM_ShakeDir = 21; + UM_StatsCrawlMsg = 22; + UM_StatsSkipState = 23; + UM_TextMsg = 24; + UM_Tilt = 25; + UM_Train = 26; + UM_VGUIMenu = 27; + UM_VoiceMask = 28; + UM_VoiceSubtitle = 29; + UM_SendAudio = 30; + + // Game specific user messages should start after this + UM_MAX_BASE = 63; +} + +//============================================================================= + +message CUserMsg_AchievementEvent +{ + optional uint32 achievement = 1; +} + +message CUserMsg_CloseCaption +{ + optional fixed32 hash = 1; + optional float duration = 2; + optional bool from_player = 3; +} + +message CUserMsg_CurrentTimescale +{ + optional float current = 1; +} + +message CUserMsg_DesiredTimescale +{ + optional float desired = 1; + optional float duration = 2; + optional uint32 interpolator = 3; + optional float start_blend_time = 4; +} + +message CUserMsg_Fade +{ + optional uint32 duration = 1; + optional uint32 hold_time = 2; + optional uint32 flags = 3; + optional fixed32 color = 4; +} + +message CUserMsg_Shake +{ + optional uint32 command = 1; + optional float amplitude = 2; + optional float frequency = 3; + optional float duration = 4; +} + +message CUserMsg_ShakeDir +{ + optional CUserMsg_Shake shake = 1; + optional CMsgVector direction = 2; +} + +message CUserMsg_Tilt +{ + optional uint32 command = 1; + optional bool ease_in_out = 2; + optional CMsgVector angle = 3; + optional float duration = 4; + optional float time = 5; +} + +message CUserMsg_SayText +{ + optional uint32 client = 1; + optional string text = 2; + optional bool chat = 3; +} + +message CUserMsg_SayText2 +{ + optional uint32 client = 1; + optional bool chat = 2; + optional string format = 3; + optional string prefix = 4; + optional string text = 5; + optional string location = 6; +} + +message CUserMsg_HudMsg +{ + optional uint32 channel = 1; + optional float x = 2; + optional float y = 3; + optional uint32 color1 = 4; + optional uint32 color2 = 5; + optional uint32 effect = 6; + optional float fade_in_time = 7; + optional float fade_out_time = 8; + optional float hold_time = 9; + optional float fx_time = 10; + optional string message = 11; +} + +message CUserMsg_HudText +{ + optional string message = 1; +} + +message CUserMsg_TextMsg +{ + optional uint32 dest = 1; + repeated string param = 2; +} + +message CUserMsg_GameTitle +{ +} + +message CUserMsg_ResetHUD +{ +} + +message CUserMsg_SendAudio +{ + ///optional fixed32 hash = 1; // sound hash + optional bool stop = 2; + optional string name = 3; // sound name +} + +message CUserMsg_VoiceMask +{ + repeated int32 audible_players_mask = 1; + optional bool player_mod_enabled = 2; +} + +message CUserMsg_RequestState +{ +} + +message CUserMsg_HintText +{ + optional string message = 1; +} + +message CUserMsg_KeyHintText +{ + repeated string messages = 1; +} + +message CUserMsg_StatsCrawlMsg +{ +} + +message CUserMsg_StatsSkipState +{ + optional int32 num_skips = 1; + optional int32 num_players = 2; +} + +message CUserMsg_VoiceSubtitle +{ + optional int32 ent_index = 1; + optional int32 menu = 2; + optional int32 item = 3; +} + +message CUserMsg_VGUIMenu +{ + optional string name = 1; + optional bool show = 2; + + message Keys + { + optional string name = 1; + optional string value = 2; + } + + repeated Keys keys = 3; +} + +message CUserMsg_Geiger +{ + optional int32 range = 1; +} + +message CUserMsg_Rumble +{ + optional int32 index = 1; + optional int32 data = 2; + optional int32 flags = 3; +} + +message CUserMsg_Train +{ + optional int32 train = 1; +} + +message CUserMsg_SayTextChannel +{ + optional int32 player = 1; + optional int32 channel = 2; + optional string text = 3; +} + +message CUserMsg_MessageText +{ + optional uint32 color = 1; + optional string text = 2; +} + + +