diff --git a/public/engine/protobuf/netmessages.pb.cc b/public/engine/protobuf/netmessages.pb.cc index 403550ff..d8621cb7 100644 --- a/public/engine/protobuf/netmessages.pb.cc +++ b/public/engine/protobuf/netmessages.pb.cc @@ -15,15 +15,6 @@ 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; @@ -138,12 +129,6 @@ const ::google::protobuf::internal::GeneratedMessageReflection* 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; @@ -165,29 +150,13 @@ const ::google::protobuf::internal::GeneratedMessageReflection* 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; @@ -202,57 +171,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::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); + CMsg_CVars_descriptor_ = file->message_type(0); static const int CMsg_CVars_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars, cvars_), }; @@ -283,7 +202,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CMsg_CVars_CVar)); - CNETMsg_NOP_descriptor_ = file->message_type(4); + CNETMsg_NOP_descriptor_ = file->message_type(1); static const int CNETMsg_NOP_offsets_[1] = { }; CNETMsg_NOP_reflection_ = @@ -297,7 +216,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_NOP)); - CNETMsg_Disconnect_descriptor_ = file->message_type(5); + CNETMsg_Disconnect_descriptor_ = file->message_type(2); static const int CNETMsg_Disconnect_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Disconnect, text_), }; @@ -312,7 +231,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_Disconnect)); - CNETMsg_File_descriptor_ = file->message_type(6); + CNETMsg_File_descriptor_ = file->message_type(3); 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_), @@ -330,7 +249,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_File)); - CNETMsg_SplitScreenUser_descriptor_ = file->message_type(7); + CNETMsg_SplitScreenUser_descriptor_ = file->message_type(4); static const int CNETMsg_SplitScreenUser_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SplitScreenUser, slot_), }; @@ -345,7 +264,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_SplitScreenUser)); - CNETMsg_Tick_descriptor_ = file->message_type(8); + CNETMsg_Tick_descriptor_ = file->message_type(5); 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_), @@ -362,7 +281,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_Tick)); - CNETMsg_StringCmd_descriptor_ = file->message_type(9); + CNETMsg_StringCmd_descriptor_ = file->message_type(6); static const int CNETMsg_StringCmd_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_StringCmd, command_), }; @@ -377,7 +296,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_StringCmd)); - CNETMsg_SetConVar_descriptor_ = file->message_type(10); + CNETMsg_SetConVar_descriptor_ = file->message_type(7); static const int CNETMsg_SetConVar_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SetConVar, convars_), }; @@ -392,7 +311,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_SetConVar)); - CNETMsg_SignonState_descriptor_ = file->message_type(11); + CNETMsg_SignonState_descriptor_ = file->message_type(8); 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_), @@ -411,7 +330,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_SignonState)); - CCLCMsg_ClientInfo_descriptor_ = file->message_type(12); + CCLCMsg_ClientInfo_descriptor_ = file->message_type(9); 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_), @@ -432,7 +351,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_ClientInfo)); - CCLCMsg_Move_descriptor_ = file->message_type(13); + CCLCMsg_Move_descriptor_ = file->message_type(10); 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_), @@ -449,7 +368,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_Move)); - CCLCMsg_VoiceData_descriptor_ = file->message_type(14); + CCLCMsg_VoiceData_descriptor_ = file->message_type(11); 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_), @@ -466,7 +385,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_VoiceData)); - CCLCMsg_BaselineAck_descriptor_ = file->message_type(15); + CCLCMsg_BaselineAck_descriptor_ = file->message_type(12); 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_), @@ -482,7 +401,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_BaselineAck)); - CCLCMsg_ListenEvents_descriptor_ = file->message_type(16); + CCLCMsg_ListenEvents_descriptor_ = file->message_type(13); static const int CCLCMsg_ListenEvents_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ListenEvents, event_mask_), }; @@ -497,7 +416,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_ListenEvents)); - CCLCMsg_RespondCvarValue_descriptor_ = file->message_type(17); + CCLCMsg_RespondCvarValue_descriptor_ = file->message_type(14); 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_), @@ -515,7 +434,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_RespondCvarValue)); - CCLCMsg_FileCRCCheck_descriptor_ = file->message_type(18); + CCLCMsg_FileCRCCheck_descriptor_ = file->message_type(15); 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_), @@ -534,7 +453,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_FileCRCCheck)); - CCLCMsg_LoadingProgress_descriptor_ = file->message_type(19); + CCLCMsg_LoadingProgress_descriptor_ = file->message_type(16); static const int CCLCMsg_LoadingProgress_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_LoadingProgress, progress_), }; @@ -549,7 +468,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_LoadingProgress)); - CCLCMsg_SplitPlayerConnect_descriptor_ = file->message_type(20); + CCLCMsg_SplitPlayerConnect_descriptor_ = file->message_type(17); static const int CCLCMsg_SplitPlayerConnect_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, convars_), }; @@ -564,7 +483,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_SplitPlayerConnect)); - CCLCMsg_ClientMessage_descriptor_ = file->message_type(21); + CCLCMsg_ClientMessage_descriptor_ = file->message_type(18); 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_), @@ -580,7 +499,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_ClientMessage)); - CSVCMsg_ServerInfo_descriptor_ = file->message_type(22); + CSVCMsg_ServerInfo_descriptor_ = file->message_type(19); 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_), @@ -611,7 +530,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_ServerInfo)); - CSVCMsg_ClassInfo_descriptor_ = file->message_type(23); + CSVCMsg_ClassInfo_descriptor_ = file->message_type(20); 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_), @@ -644,7 +563,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_ClassInfo_class_t)); - CSVCMsg_SetPause_descriptor_ = file->message_type(24); + CSVCMsg_SetPause_descriptor_ = file->message_type(21); static const int CSVCMsg_SetPause_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetPause, paused_), }; @@ -659,7 +578,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_SetPause)); - CSVCMsg_VoiceInit_descriptor_ = file->message_type(25); + CSVCMsg_VoiceInit_descriptor_ = file->message_type(22); 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_), @@ -676,7 +595,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_VoiceInit)); - CSVCMsg_Print_descriptor_ = file->message_type(26); + CSVCMsg_Print_descriptor_ = file->message_type(23); static const int CSVCMsg_Print_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Print, text_), }; @@ -691,7 +610,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_Print)); - CSVCMsg_Sounds_descriptor_ = file->message_type(27); + CSVCMsg_Sounds_descriptor_ = file->message_type(24); 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_), @@ -738,7 +657,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_Sounds_sounddata_t)); - CSVCMsg_Prefetch_descriptor_ = file->message_type(28); + CSVCMsg_Prefetch_descriptor_ = file->message_type(25); static const int CSVCMsg_Prefetch_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, sound_index_), }; @@ -753,7 +672,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_Prefetch)); - CSVCMsg_SetView_descriptor_ = file->message_type(29); + CSVCMsg_SetView_descriptor_ = file->message_type(26); static const int CSVCMsg_SetView_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, entity_index_), }; @@ -768,7 +687,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_SetView)); - CSVCMsg_FixAngle_descriptor_ = file->message_type(30); + CSVCMsg_FixAngle_descriptor_ = file->message_type(27); 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_), @@ -784,7 +703,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_FixAngle)); - CSVCMsg_CrosshairAngle_descriptor_ = file->message_type(31); + CSVCMsg_CrosshairAngle_descriptor_ = file->message_type(28); static const int CSVCMsg_CrosshairAngle_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CrosshairAngle, angle_), }; @@ -799,7 +718,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_CrosshairAngle)); - CSVCMsg_BSPDecal_descriptor_ = file->message_type(32); + CSVCMsg_BSPDecal_descriptor_ = file->message_type(29); 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_), @@ -818,7 +737,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_BSPDecal)); - CSVCMsg_SplitScreen_descriptor_ = file->message_type(33); + CSVCMsg_SplitScreen_descriptor_ = file->message_type(30); 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_), @@ -835,7 +754,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_SplitScreen)); - CSVCMsg_GetCvarValue_descriptor_ = file->message_type(34); + CSVCMsg_GetCvarValue_descriptor_ = file->message_type(31); 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_), @@ -851,7 +770,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_GetCvarValue)); - CSVCMsg_Menu_descriptor_ = file->message_type(35); + CSVCMsg_Menu_descriptor_ = file->message_type(32); 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_), @@ -867,7 +786,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_Menu)); - CSVCMsg_SendTable_descriptor_ = file->message_type(36); + CSVCMsg_SendTable_descriptor_ = file->message_type(33); 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_), @@ -908,46 +827,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::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); + CSVCMsg_GameEventList_descriptor_ = file->message_type(34); static const int CSVCMsg_GameEventList_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList, descriptors_), }; @@ -995,7 +875,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_GameEventList_descriptor_t)); - CSVCMsg_PacketEntities_descriptor_ = file->message_type(39); + CSVCMsg_PacketEntities_descriptor_ = file->message_type(35); 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_), @@ -1016,7 +896,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_PacketEntities)); - CSVCMsg_TempEntities_descriptor_ = file->message_type(40); + CSVCMsg_TempEntities_descriptor_ = file->message_type(36); 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_), @@ -1033,7 +913,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_TempEntities)); - CSVCMsg_CreateStringTable_descriptor_ = file->message_type(41); + CSVCMsg_CreateStringTable_descriptor_ = file->message_type(37); 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_), @@ -1055,7 +935,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_CreateStringTable)); - CSVCMsg_UpdateStringTable_descriptor_ = file->message_type(42); + CSVCMsg_UpdateStringTable_descriptor_ = file->message_type(38); 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_), @@ -1072,23 +952,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::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); + CSVCMsg_VoiceData_descriptor_ = file->message_type(39); 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_), @@ -1108,69 +972,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::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); + CSVCMsg_PacketReliable_descriptor_ = file->message_type(40); 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_), @@ -1187,11 +989,10 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::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); + CLC_Messages_descriptor_ = file->enum_type(1); + VoiceDataFormat_t_descriptor_ = file->enum_type(2); + SVC_Messages_descriptor_ = file->enum_type(3); + ESplitScreenMessageType_descriptor_ = file->enum_type(4); } namespace { @@ -1204,12 +1005,6 @@ inline void protobuf_AssignDescriptorsOnce() { 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( @@ -1286,10 +1081,6 @@ void protobuf_RegisterTypes(const ::std::string&) { 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( @@ -1304,18 +1095,8 @@ void protobuf_RegisterTypes(const ::std::string&) { 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()); } @@ -1323,12 +1104,6 @@ void protobuf_RegisterTypes(const ::std::string&) { } // 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_; @@ -1405,10 +1180,6 @@ void protobuf_ShutdownFile_netmessages_2eproto() { 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_; @@ -1423,18 +1194,8 @@ void protobuf_ShutdownFile_netmessages_2eproto() { 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_; } @@ -1446,176 +1207,151 @@ void protobuf_AddDesc_netmessages_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); + ::protobuf_AddDesc_networkbasetypes_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" - " *V\n\027ESplitScreenMessageType\022\033\n\027MSG_SPLI" - "TSCREEN_ADDUSER\020\000\022\036\n\032MSG_SPLITSCREEN_REM" - "OVEUSER\020\001B\003\200\001\000", 6534); + "criptor.proto\032\026networkbasetypes.proto\"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_repla" + "y_demo_file\030\003 \001(\010\022\014\n\004deny\030\004 \001(\010\"\'\n\027CNETM" + "sg_SplitScreenUser\022\014\n\004slot\030\001 \001(\005\"Z\n\014CNET" + "Msg_Tick\022\014\n\004tick\030\001 \001(\r\022\026\n\016host_frametime" + "\030\002 \001(\r\022$\n\034host_frametime_std_deviation\030\003" + " \001(\r\"$\n\021CNETMsg_StringCmd\022\017\n\007command\030\001 \001" + "(\t\"1\n\021CNETMsg_SetConVar\022\034\n\007convars\030\001 \001(\013" + "2\013.CMsg_CVars\"\212\001\n\023CNETMsg_SignonState\022\024\n" + "\014signon_state\030\001 \001(\r\022\023\n\013spawn_count\030\002 \001(\r" + "\022\032\n\022num_server_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\022C" + "CLCMsg_ClientInfo\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_replay\030\004 \001(\010\022\022\n\nfriends_id\030\005 \001(\r\022" + "\024\n\014friends_name\030\006 \001(\t\022\024\n\014custom_files\030\007 " + "\003(\007\"S\n\014CCLCMsg_Move\022\033\n\023num_backup_comman" + "ds\030\001 \001(\r\022\030\n\020num_new_commands\030\002 \001(\r\022\014\n\004da" + "ta\030\003 \001(\014\"k\n\021CCLCMsg_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.Voic" + "eDataFormat_t:\026VOICEDATA_FORMAT_STEAM\"A\n" + "\023CCLCMsg_BaselineAck\022\025\n\rbaseline_tick\030\001 " + "\001(\005\022\023\n\013baseline_nr\030\002 \001(\005\"*\n\024CCLCMsg_List" + "enEvents\022\022\n\nevent_mask\030\001 \003(\007\"\\\n\030CCLCMsg_" + "RespondCvarValue\022\016\n\006cookie\030\001 \001(\005\022\023\n\013stat" + "us_code\030\002 \001(\005\022\014\n\004name\030\003 \001(\t\022\r\n\005value\030\004 \001" + "(\t\"m\n\024CCLCMsg_FileCRCCheck\022\021\n\tcode_path\030" + "\001 \001(\005\022\014\n\004path\030\002 \001(\t\022\025\n\rcode_filename\030\003 \001" + "(\005\022\020\n\010filename\030\004 \001(\t\022\013\n\003crc\030\005 \001(\007\"+\n\027CCL" + "CMsg_LoadingProgress\022\020\n\010progress\030\001 \001(\005\":" + "\n\032CCLCMsg_SplitPlayerConnect\022\034\n\007convars\030" + "\001 \001(\0132\013.CMsg_CVars\"7\n\025CCLCMsg_ClientMess" + "age\022\020\n\010msg_type\030\001 \001(\005\022\014\n\004data\030\002 \001(\014\"\342\002\n\022" + "CSVCMsg_ServerInfo\022\020\n\010protocol\030\001 \001(\005\022\024\n\014" + "server_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\004" + "c_os\030\006 \001(\005\022\017\n\007map_crc\030\007 \001(\007\022\022\n\nclient_cr" + "c\030\010 \001(\007\022\030\n\020string_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\013p" + "layer_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\010s" + "ky_name\030\020 \001(\t\022\021\n\thost_name\030\021 \001(\t\"\244\001\n\021CSV" + "CMsg_ClassInfo\022\030\n\020create_on_client\030\001 \001(\010" + "\022+\n\007classes\030\002 \003(\0132\032.CSVCMsg_ClassInfo.cl" + "ass_t\032H\n\007class_t\022\020\n\010class_id\030\001 \001(\005\022\027\n\017da" + "ta_table_name\030\002 \001(\t\022\022\n\nclass_name\030\003 \001(\t\"" + "\"\n\020CSVCMsg_SetPause\022\016\n\006paused\030\001 \001(\010\"G\n\021C" + "SVCMsg_VoiceInit\022\017\n\007quality\030\001 \001(\005\022\r\n\005cod" + "ec\030\002 \001(\t\022\022\n\007version\030\003 \001(\005:\0010\"\035\n\rCSVCMsg_" + "Print\022\014\n\004text\030\001 \001(\t\"\266\003\n\016CSVCMsg_Sounds\022\026" + "\n\016reliable_sound\030\001 \001(\010\022+\n\006sounds\030\002 \003(\0132\033" + ".CSVCMsg_Sounds.sounddata_t\032\336\002\n\013sounddat" + "a_t\022\020\n\010origin_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\013del" + "ay_value\030\005 \001(\002\022\027\n\017sequence_number\030\006 \001(\005\022" + "\024\n\014entity_index\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_nu" + "m\030\013 \001(\r\022\030\n\020sound_num_handle\030\014 \001(\007\022\026\n\016spe" + "aker_entity\030\r \001(\005\022\023\n\013random_seed\030\016 \001(\005\022\023" + "\n\013sound_level\030\017 \001(\005\022\023\n\013is_sentence\030\020 \001(\010" + "\022\022\n\nis_ambient\030\021 \001(\010\"\'\n\020CSVCMsg_Prefetch" + "\022\023\n\013sound_index\030\001 \001(\005\"\'\n\017CSVCMsg_SetView" + "\022\024\n\014entity_index\030\001 \001(\005\"@\n\020CSVCMsg_FixAng" + "le\022\020\n\010relative\030\001 \001(\010\022\032\n\005angle\030\002 \001(\0132\013.CM" + "sgQAngle\"4\n\026CSVCMsg_CrosshairAngle\022\032\n\005an" + "gle\030\001 \001(\0132\013.CMsgQAngle\"\212\001\n\020CSVCMsg_BSPDe" + "cal\022\030\n\003pos\030\001 \001(\0132\013.CMsgVector\022\033\n\023decal_t" + "exture_index\030\002 \001(\005\022\024\n\014entity_index\030\003 \001(\005" + "\022\023\n\013model_index\030\004 \001(\005\022\024\n\014low_priority\030\005 " + "\001(\010\"z\n\023CSVCMsg_SplitScreen\022\?\n\004type\030\001 \001(\016" + "2\030.ESplitScreenMessageType:\027MSG_SPLITSCR" + "EEN_ADDUSER\022\014\n\004slot\030\002 \001(\005\022\024\n\014player_inde" + "x\030\003 \001(\005\"9\n\024CSVCMsg_GetCvarValue\022\016\n\006cooki" + "e\030\001 \001(\005\022\021\n\tcvar_name\030\002 \001(\t\"<\n\014CSVCMsg_Me" + "nu\022\023\n\013dialog_type\030\001 \001(\005\022\027\n\017menu_key_valu" + "es\030\002 \001(\014\"\260\002\n\021CSVCMsg_SendTable\022\016\n\006is_end" + "\030\001 \001(\010\022\026\n\016net_table_name\030\002 \001(\t\022\025\n\rneeds_" + "decoder\030\003 \001(\010\022,\n\005props\030\004 \003(\0132\035.CSVCMsg_S" + "endTable.sendprop_t\032\255\001\n\nsendprop_t\022\014\n\004ty" + "pe\030\001 \001(\005\022\020\n\010var_name\030\002 \001(\t\022\r\n\005flags\030\003 \001(" + "\005\022\020\n\010priority\030\004 \001(\005\022\017\n\007dt_name\030\005 \001(\t\022\024\n\014" + "num_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\"\321\001\n\025" + "CSVCMsg_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\032Y\n\014" + "descriptor_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_GameEventLis" + "t.key_t\"\254\001\n\026CSVCMsg_PacketEntities\022\023\n\013ma" + "x_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_TempEn" + "tities\022\020\n\010reliable\030\001 \001(\010\022\023\n\013num_entries\030" + "\002 \001(\005\022\023\n\013entity_data\030\003 \001(\014\"\312\001\n\031CSVCMsg_C" + "reateStringTable\022\014\n\004name\030\001 \001(\t\022\023\n\013max_en" + "tries\030\002 \001(\005\022\023\n\013num_entries\030\003 \001(\005\022\034\n\024user" + "_data_fixed_size\030\004 \001(\010\022\026\n\016user_data_size" + "\030\005 \001(\005\022\033\n\023user_data_size_bits\030\006 \001(\005\022\r\n\005f" + "lags\030\007 \001(\005\022\023\n\013string_data\030\010 \001(\014\"_\n\031CSVCM" + "sg_UpdateStringTable\022\020\n\010table_id\030\001 \001(\005\022\033" + "\n\023num_changed_entries\030\002 \001(\005\022\023\n\013string_da" + "ta\030\003 \001(\014\"\252\001\n\021CSVCMsg_VoiceData\022\016\n\006client" + "\030\001 \001(\005\022\021\n\tproximity\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:\026V" + "OICEDATA_FORMAT_STEAM\"<\n\026CSVCMsg_PacketR" + "eliable\022\014\n\004tick\030\001 \001(\005\022\024\n\014messagessize\030\002 " + "\001(\005*\237\001\n\014NET_Messages\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_Split" + "ScreenUser\020\003\022\014\n\010net_Tick\020\004\022\021\n\rnet_String" + "Cmd\020\005\022\021\n\rnet_SetConVar\020\006\022\023\n\017net_SignonSt" + "ate\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\017c" + "lc_BaselineAck\020\013\022\024\n\020clc_ListenEvents\020\014\022\030" + "\n\024clc_RespondCvarValue\020\r\022\024\n\020clc_FileCRCC" + "heck\020\016\022\027\n\023clc_LoadingProgress\020\017\022\032\n\026clc_S" + "plitPlayerConnect\020\020\022\025\n\021clc_ClientMessage" + "\020\021*L\n\021VoiceDataFormat_t\022\032\n\026VOICEDATA_FOR" + "MAT_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" + "\rsvc_SendTable\020\t\022\021\n\rsvc_ClassInfo\020\n\022\020\n\014s" + "vc_SetPause\020\013\022\031\n\025svc_CreateStringTable\020\014" + "\022\031\n\025svc_UpdateStringTable\020\r\022\021\n\rsvc_Voice" + "Init\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" + "_FixAngle\020\023\022\026\n\022svc_CrosshairAngle\020\024\022\020\n\014s" + "vc_BSPDecal\020\025\022\023\n\017svc_SplitScreen\020\026\022\023\n\017sv" + "c_UserMessage\020\027\022\025\n\021svc_EntityMessage\020\030\022\021" + "\n\rsvc_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\020svc_GetCvarValue\020\037\022\026\n\022svc_PacketReliab" + "le\020 *V\n\027ESplitScreenMessageType\022\033\n\027MSG_S" + "PLITSCREEN_ADDUSER\020\000\022\036\n\032MSG_SPLITSCREEN_" + "REMOVEUSER\020\001B\003\200\001\000", 5617); ::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(); @@ -1654,8 +1390,6 @@ void protobuf_AddDesc_netmessages_2eproto() { 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(); @@ -1663,16 +1397,8 @@ void protobuf_AddDesc_netmessages_2eproto() { 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(); @@ -1711,8 +1437,6 @@ void protobuf_AddDesc_netmessages_2eproto() { 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(); @@ -1720,12 +1444,7 @@ void protobuf_AddDesc_netmessages_2eproto() { 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); } @@ -1757,26 +1476,6 @@ bool NET_Messages_IsValid(int value) { } } -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_; @@ -1865,811 +1564,6 @@ bool ESplitScreenMessageType_IsValid(int value) { } -// =================================================================== - -#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 @@ -14407,810 +13301,6 @@ void CSVCMsg_SendTable::Swap(CSVCMsg_SendTable* other) { } -// =================================================================== - -#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 @@ -17530,261 +15620,6 @@ void CSVCMsg_UpdateStringTable::Swap(CSVCMsg_UpdateStringTable* other) { } -// =================================================================== - -#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 @@ -18202,914 +16037,6 @@ void CSVCMsg_VoiceData::Swap(CSVCMsg_VoiceData* other) { } -// =================================================================== - -#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 diff --git a/public/engine/protobuf/netmessages.pb.h b/public/engine/protobuf/netmessages.pb.h index ca118d31..24ae988d 100644 --- a/public/engine/protobuf/netmessages.pb.h +++ b/public/engine/protobuf/netmessages.pb.h @@ -24,6 +24,7 @@ #include #include #include "google/protobuf/descriptor.pb.h" +#include "networkbasetypes.pb.h" // @@protoc_insertion_point(includes) // Internal implementation detail -- do not call these. @@ -31,9 +32,6 @@ 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; @@ -72,8 +70,6 @@ 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; @@ -81,12 +77,7 @@ 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 { @@ -114,31 +105,6 @@ inline bool NET_Messages_Parse( 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, @@ -248,302 +214,6 @@ inline bool ESplitScreenMessageType_Parse( } // =================================================================== -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(); @@ -4666,273 +4336,6 @@ class CSVCMsg_SendTable : public ::google::protobuf::Message { }; // ------------------------------------------------------------------- -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(); @@ -5744,102 +5147,6 @@ class CSVCMsg_UpdateStringTable : public ::google::protobuf::Message { }; // ------------------------------------------------------------------- -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(); @@ -5976,366 +5283,6 @@ class CSVCMsg_VoiceData : public ::google::protobuf::Message { }; // ------------------------------------------------------------------- -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(); @@ -6431,194 +5378,6 @@ class CSVCMsg_PacketReliable : public ::google::protobuf::Message { // =================================================================== -// 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; @@ -10548,331 +9307,6 @@ CSVCMsg_SendTable::mutable_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; @@ -11753,90 +10187,6 @@ inline ::std::string* CSVCMsg_UpdateStringTable::release_string_data() { // ------------------------------------------------------------------- -// 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; @@ -12010,174 +10360,6 @@ inline void CSVCMsg_VoiceData::set_format(VoiceDataFormat_t 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; @@ -12236,10 +10418,6 @@ 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(); } diff --git a/public/engine/protobuf/netmessages.proto b/public/engine/protobuf/netmessages.proto index 6410ab42..20d7a769 100644 --- a/public/engine/protobuf/netmessages.proto +++ b/public/engine/protobuf/netmessages.proto @@ -71,29 +71,8 @@ option cc_generic_services = false; import "google/protobuf/descriptor.proto"; -//============================================================================= -// Common Types -//============================================================================= - -message CMsgVector -{ - optional float x = 1; - optional float y = 2; - optional float z = 3; -} - -message CMsgVector2D -{ - optional float x = 1; - optional float y = 2; -} - -message CMsgQAngle -{ - optional float x = 1; - optional float y = 2; - optional float z = 3; -} +// for CMsgVector, etc. +import "networkbasetypes.proto"; //============================================================================= // Bidirectional NET Messages @@ -111,18 +90,6 @@ enum NET_Messages net_SignonState = 7; // signals or acks current signon state } -enum SIGNONSTATE -{ - SIGNONSTATE_NONE = 0; // no state yet; about to connect - SIGNONSTATE_CHALLENGE = 1; // client challenging server; all OOB packets - SIGNONSTATE_CONNECTED = 2; // client is connected to server; netchans ready - SIGNONSTATE_NEW = 3; // just got serverinfo and string tables - SIGNONSTATE_PRESPAWN = 4; // received signon buffers - SIGNONSTATE_SPAWN = 5; // ready to receive entity packets - SIGNONSTATE_FULL = 6; // we are fully connected; first non-delta packet received - SIGNONSTATE_CHANGELEVEL = 7; // server is changing level; please wait -} - message CMsg_CVars { message CVar @@ -462,25 +429,6 @@ message CSVCMsg_SendTable repeated sendprop_t props = 4; } -message CSVCMsg_GameEvent -{ - message key_t - { - optional int32 type = 1; // type - optional string val_string = 2; // TYPE_STRING - optional float val_float = 3; // TYPE_FLOAT - optional int32 val_long = 4; // TYPE_LONG - optional int32 val_short = 5; // TYPE_SHORT - optional int32 val_byte = 6; // TYPE_BYTE - optional bool val_bool = 7; // TYPE_BOOL - optional uint64 val_uint64 = 8; // TYPE_UINT64 - } - - optional string event_name = 1; - optional int32 eventid = 2; - repeated key_t keys = 3; -} - message CSVCMsg_GameEventList { message key_t @@ -536,12 +484,6 @@ message CSVCMsg_UpdateStringTable optional bytes string_data = 3; } -message CSVCMsg_UserMessage -{ - optional int32 msg_type = 1; - optional bytes msg_data = 2; -} - message CSVCMsg_VoiceData { optional int32 client = 1; @@ -552,28 +494,6 @@ message CSVCMsg_VoiceData optional VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; } -message CSVCMsgList_GameEvents -{ - message event_t - { - optional int32 tick = 1; - optional CSVCMsg_GameEvent event = 2; - } - - repeated event_t events = 1; -} - -message CSVCMsgList_UserMessages -{ - message usermsg_t - { - optional int32 tick = 1; - optional CSVCMsg_UserMessage msg = 2; - } - - repeated usermsg_t usermsgs = 1; -} - message CSVCMsg_PacketReliable { optional int32 tick = 1; diff --git a/public/engine/protobuf/networkbasetypes.pb.cc b/public/engine/protobuf/networkbasetypes.pb.cc new file mode 100644 index 00000000..13ee2aa3 --- /dev/null +++ b/public/engine/protobuf/networkbasetypes.pb.cc @@ -0,0 +1,3147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! + +#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION +#include "networkbasetypes.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* 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* 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* CSVCMsg_UserMessage_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_UserMessage_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::EnumDescriptor* SIGNONSTATE_descriptor_ = NULL; + +} // namespace + + +void protobuf_AssignDesc_networkbasetypes_2eproto() { + protobuf_AddDesc_networkbasetypes_2eproto(); + const ::google::protobuf::FileDescriptor* file = + ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( + "networkbasetypes.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)); + CSVCMsg_GameEvent_descriptor_ = file->message_type(3); + 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)); + CSVCMsgList_GameEvents_descriptor_ = file->message_type(4); + 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)); + CSVCMsg_UserMessage_descriptor_ = file->message_type(5); + 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)); + CSVCMsgList_UserMessages_descriptor_ = file->message_type(6); + 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)); + SIGNONSTATE_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_networkbasetypes_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( + 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( + 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( + CSVCMsg_UserMessage_descriptor_, &CSVCMsg_UserMessage::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()); +} + +} // namespace + +void protobuf_ShutdownFile_networkbasetypes_2eproto() { + delete CMsgVector::default_instance_; + delete CMsgVector_reflection_; + delete CMsgVector2D::default_instance_; + delete CMsgVector2D_reflection_; + delete CMsgQAngle::default_instance_; + delete CMsgQAngle_reflection_; + delete CSVCMsg_GameEvent::default_instance_; + delete CSVCMsg_GameEvent_reflection_; + delete CSVCMsg_GameEvent_key_t::default_instance_; + delete CSVCMsg_GameEvent_key_t_reflection_; + delete CSVCMsgList_GameEvents::default_instance_; + delete CSVCMsgList_GameEvents_reflection_; + delete CSVCMsgList_GameEvents_event_t::default_instance_; + delete CSVCMsgList_GameEvents_event_t_reflection_; + delete CSVCMsg_UserMessage::default_instance_; + delete CSVCMsg_UserMessage_reflection_; + delete CSVCMsgList_UserMessages::default_instance_; + delete CSVCMsgList_UserMessages_reflection_; + delete CSVCMsgList_UserMessages_usermsg_t::default_instance_; + delete CSVCMsgList_UserMessages_usermsg_t_reflection_; +} + +void protobuf_AddDesc_networkbasetypes_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\026networkbasetypes.proto\032 google/protobu" + "f/descriptor.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\014CMsgVector2" + "D\022\t\n\001x\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\"\374\001\n\021CSVCM" + "sg_GameEvent\022\022\n\nevent_name\030\001 \001(\t\022\017\n\007even" + "tid\030\002 \001(\005\022&\n\004keys\030\003 \003(\0132\030.CSVCMsg_GameEv" + "ent.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_byt" + "e\030\006 \001(\005\022\020\n\010val_bool\030\007 \001(\010\022\022\n\nval_uint64\030" + "\010 \001(\004\"\205\001\n\026CSVCMsgList_GameEvents\022/\n\006even" + "ts\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\"9\n\023CSVCMsg_UserMes" + "sage\022\020\n\010msg_type\030\001 \001(\005\022\020\n\010msg_data\030\002 \001(\014" + "\"\217\001\n\030CSVCMsgList_UserMessages\0225\n\010usermsg" + "s\030\001 \003(\0132#.CSVCMsgList_UserMessages.userm" + "sg_t\032<\n\tusermsg_t\022\014\n\004tick\030\001 \001(\005\022!\n\003msg\030\002" + " \001(\0132\024.CSVCMsg_UserMessage*\322\001\n\013SIGNONSTA" + "TE\022\024\n\020SIGNONSTATE_NONE\020\000\022\031\n\025SIGNONSTATE_" + "CHALLENGE\020\001\022\031\n\025SIGNONSTATE_CONNECTED\020\002\022\023" + "\n\017SIGNONSTATE_NEW\020\003\022\030\n\024SIGNONSTATE_PRESP" + "AWN\020\004\022\025\n\021SIGNONSTATE_SPAWN\020\005\022\024\n\020SIGNONST" + "ATE_FULL\020\006\022\033\n\027SIGNONSTATE_CHANGELEVEL\020\007B" + "\003\200\001\000", 1004); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( + "networkbasetypes.proto", &protobuf_RegisterTypes); + CMsgVector::default_instance_ = new CMsgVector(); + CMsgVector2D::default_instance_ = new CMsgVector2D(); + CMsgQAngle::default_instance_ = new CMsgQAngle(); + CSVCMsg_GameEvent::default_instance_ = new CSVCMsg_GameEvent(); + CSVCMsg_GameEvent_key_t::default_instance_ = new CSVCMsg_GameEvent_key_t(); + CSVCMsgList_GameEvents::default_instance_ = new CSVCMsgList_GameEvents(); + CSVCMsgList_GameEvents_event_t::default_instance_ = new CSVCMsgList_GameEvents_event_t(); + CSVCMsg_UserMessage::default_instance_ = new CSVCMsg_UserMessage(); + CSVCMsgList_UserMessages::default_instance_ = new CSVCMsgList_UserMessages(); + CSVCMsgList_UserMessages_usermsg_t::default_instance_ = new CSVCMsgList_UserMessages_usermsg_t(); + CMsgVector::default_instance_->InitAsDefaultInstance(); + CMsgVector2D::default_instance_->InitAsDefaultInstance(); + CMsgQAngle::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GameEvent::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GameEvent_key_t::default_instance_->InitAsDefaultInstance(); + CSVCMsgList_GameEvents::default_instance_->InitAsDefaultInstance(); + CSVCMsgList_GameEvents_event_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_UserMessage::default_instance_->InitAsDefaultInstance(); + CSVCMsgList_UserMessages::default_instance_->InitAsDefaultInstance(); + CSVCMsgList_UserMessages_usermsg_t::default_instance_->InitAsDefaultInstance(); + ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_networkbasetypes_2eproto); +} + +// Force AddDescriptors() to be called at static initialization time. +struct StaticDescriptorInitializer_networkbasetypes_2eproto { + StaticDescriptorInitializer_networkbasetypes_2eproto() { + protobuf_AddDesc_networkbasetypes_2eproto(); + } +} static_descriptor_initializer_networkbasetypes_2eproto_; + +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; + } +} + + +// =================================================================== + +#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_networkbasetypes_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_networkbasetypes_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_networkbasetypes_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 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_networkbasetypes_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_networkbasetypes_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 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_networkbasetypes_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_networkbasetypes_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 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_networkbasetypes_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 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_networkbasetypes_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_networkbasetypes_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; +} + + +// @@protoc_insertion_point(namespace_scope) + +// @@protoc_insertion_point(global_scope) diff --git a/public/engine/protobuf/networkbasetypes.pb.h b/public/engine/protobuf/networkbasetypes.pb.h new file mode 100644 index 00000000..8f8fb3e4 --- /dev/null +++ b/public/engine/protobuf/networkbasetypes.pb.h @@ -0,0 +1,1875 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: networkbasetypes.proto + +#ifndef PROTOBUF_networkbasetypes_2eproto__INCLUDED +#define PROTOBUF_networkbasetypes_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_networkbasetypes_2eproto(); +void protobuf_AssignDesc_networkbasetypes_2eproto(); +void protobuf_ShutdownFile_networkbasetypes_2eproto(); + +class CMsgVector; +class CMsgVector2D; +class CMsgQAngle; +class CSVCMsg_GameEvent; +class CSVCMsg_GameEvent_key_t; +class CSVCMsgList_GameEvents; +class CSVCMsgList_GameEvents_event_t; +class CSVCMsg_UserMessage; +class CSVCMsgList_UserMessages; +class CSVCMsgList_UserMessages_usermsg_t; + +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); +} +// =================================================================== + +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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CMsgQAngle* 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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_GameEvent* 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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsgList_GameEvents* 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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_UserMessage* 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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_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_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsgList_UserMessages* 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; +} + +// ------------------------------------------------------------------- + +// 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_; +} + +// ------------------------------------------------------------------- + +// 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_; +} + +// ------------------------------------------------------------------- + +// 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; + } +} + +// ------------------------------------------------------------------- + +// 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_; +} + + +// @@protoc_insertion_point(namespace_scope) + +#ifndef SWIG +namespace google { +namespace protobuf { + +template <> +inline const EnumDescriptor* GetEnumDescriptor< SIGNONSTATE>() { + return SIGNONSTATE_descriptor(); +} + +} // namespace google +} // namespace protobuf +#endif // SWIG + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_networkbasetypes_2eproto__INCLUDED diff --git a/public/engine/protobuf/networkbasetypes.proto b/public/engine/protobuf/networkbasetypes.proto new file mode 100644 index 00000000..cdf6f9af --- /dev/null +++ b/public/engine/protobuf/networkbasetypes.proto @@ -0,0 +1,160 @@ +//====== Copyright (c) 2012, Valve Corporation, All rights reserved. ========// +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +// THE POSSIBILITY OF SUCH DAMAGE. +//===========================================================================// +// +// Purpose: The file defines our Google Protocol Buffers which are used in over +// the wire messages for the Source engine. +// +//============================================================================= + +// Note about encoding: +// http://code.google.com/apis/protocolbuffers/docs/encoding.html +// +// TL;DR: Use sint32/sint64 for values that may be negative. +// +// There is an important difference between the signed int types (sint32 and sint64) +// and the "standard" int types (int32 and int64) when it comes to encoding negative +// numbers. If you use int32 or int64 as the type for a negative number, the +// resulting varint is always ten bytes long – it is, effectively, treated like a +// very large unsigned integer. If you use one of the signed types, the resulting +// varint uses ZigZag encoding, which is much more efficient. + + +// Commenting this out allows it to be compiled for SPEED or LITE_RUNTIME. +// option optimize_for = SPEED; + +// We don't use the service generation functionality +option cc_generic_services = false; + + +// +// STYLE NOTES: +// +// Use CamelCase CMsgMyMessageName style names for messages. +// +// Use lowercase _ delimited names like my_steam_id for field names, this is non-standard for Steam, +// but plays nice with the Google formatted code generation. +// +// Try not to use required fields ever. Only do so if you are really really sure you'll never want them removed. +// Optional should be preffered as it will make versioning easier and cleaner in the future if someone refactors +// your message and wants to remove or rename fields. +// +// Use fixed64 for JobId_t, GID_t, or SteamID. This is appropriate for any field that is normally +// going to be larger than 2^56. Otherwise use int64 for 64 bit values that are frequently smaller +// than 2^56 as it will safe space on the wire in those cases. +// +// Similar to fixed64, use fixed32 for RTime32 or other 32 bit values that are frequently larger than +// 2^28. It will safe space in those cases, otherwise use int32 which will safe space for smaller values. +// An exception to this rule for RTime32 is if the value will frequently be zero rather than set to an actual +// time. +// + +import "google/protobuf/descriptor.proto"; + +//============================================================================= +// Common Types +//============================================================================= + +message CMsgVector +{ + optional float x = 1; + optional float y = 2; + optional float z = 3; +} + +message CMsgVector2D +{ + optional float x = 1; + optional float y = 2; +} + +message CMsgQAngle +{ + optional float x = 1; + optional float y = 2; + optional float z = 3; +} + +//============================================================================= +// Bidirectional NET Messages +//============================================================================= + +enum SIGNONSTATE +{ + SIGNONSTATE_NONE = 0; // no state yet; about to connect + SIGNONSTATE_CHALLENGE = 1; // client challenging server; all OOB packets + SIGNONSTATE_CONNECTED = 2; // client is connected to server; netchans ready + SIGNONSTATE_NEW = 3; // just got serverinfo and string tables + SIGNONSTATE_PRESPAWN = 4; // received signon buffers + SIGNONSTATE_SPAWN = 5; // ready to receive entity packets + SIGNONSTATE_FULL = 6; // we are fully connected; first non-delta packet received + SIGNONSTATE_CHANGELEVEL = 7; // server is changing level; please wait +} + +message CSVCMsg_GameEvent +{ + message key_t + { + optional int32 type = 1; // type + optional string val_string = 2; // TYPE_STRING + optional float val_float = 3; // TYPE_FLOAT + optional int32 val_long = 4; // TYPE_LONG + optional int32 val_short = 5; // TYPE_SHORT + optional int32 val_byte = 6; // TYPE_BYTE + optional bool val_bool = 7; // TYPE_BOOL + optional uint64 val_uint64 = 8; // TYPE_UINT64 + } + + optional string event_name = 1; + optional int32 eventid = 2; + repeated key_t keys = 3; +} + +message CSVCMsgList_GameEvents +{ + message event_t + { + optional int32 tick = 1; + optional CSVCMsg_GameEvent event = 2; + } + + repeated event_t events = 1; +} + +message CSVCMsg_UserMessage +{ + optional int32 msg_type = 1; + optional bytes msg_data = 2; +} + +message CSVCMsgList_UserMessages +{ + message usermsg_t + { + optional int32 tick = 1; + optional CSVCMsg_UserMessage msg = 2; + } + + repeated usermsg_t usermsgs = 1; +} + diff --git a/public/game/shared/dota/protobuf/dota_clientmessages.pb.cc b/public/game/shared/dota/protobuf/dota_clientmessages.pb.cc index 902849b0..22b99000 100644 --- a/public/game/shared/dota/protobuf/dota_clientmessages.pb.cc +++ b/public/game/shared/dota/protobuf/dota_clientmessages.pb.cc @@ -427,48 +427,48 @@ void protobuf_AddDesc_dota_5fclientmessages_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); - ::protobuf_AddDesc_netmessages_2eproto(); + ::protobuf_AddDesc_networkbasetypes_2eproto(); ::protobuf_AddDesc_dota_5fcommonmessages_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\031dota_clientmessages.proto\032 google/prot" - "obuf/descriptor.proto\032\021netmessages.proto" - "\032\031dota_commonmessages.proto\"G\n\026CDOTAClie" - "ntMsg_MapPing\022-\n\rlocation_ping\030\001 \001(\0132\026.C" - "DOTAMsg_LocationPing\"C\n\030CDOTAClientMsg_I" - "temAlert\022\'\n\nitem_alert\030\001 \001(\0132\023.CDOTAMsg_" - "ItemAlert\"<\n\026CDOTAClientMsg_MapLine\022\"\n\007m" - "apline\030\001 \001(\0132\021.CDOTAMsg_MapLine\"+\n\032CDOTA" - "ClientMsg_AspectRatio\022\r\n\005ratio\030\001 \001(\002\"1\n\036" - "CDOTAClientMsg_UnitsAutoAttack\022\017\n\007enable" - "d\030\001 \001(\010\"3\n CDOTAClientMsg_AutoPurchaseIt" - "ems\022\017\n\007enabled\030\001 \001(\010\".\n\030CDOTAClientMsg_T" - "estItems\022\022\n\nkey_values\030\001 \001(\t\"-\n\033CDOTACli" - "entMsg_SearchString\022\016\n\006search\030\001 \001(\t\"\026\n\024C" - "DOTAClientMsg_Pause\"+\n\033CDOTAClientMsg_Sh" - "opViewMode\022\014\n\004mode\030\001 \001(\r\"P\n\037CDOTAClientM" - "sg_SetUnitShareFlag\022\020\n\010playerID\030\001 \001(\r\022\014\n" - "\004flag\030\002 \001(\r\022\r\n\005state\030\003 \001(\010\"/\n\032CDOTAClien" - "tMsg_SwapRequest\022\021\n\tplayer_id\030\001 \001(\r\".\n\031C" - "DOTAClientMsg_SwapAccept\022\021\n\tplayer_id\030\001 " - "\001(\r\"B\n\030CDOTAClientMsg_WorldLine\022&\n\tworld" - "line\030\001 \001(\0132\023.CDOTAMsg_WorldLine\"#\n!CDOTA" - "ClientMsg_RequestGraphUpdate\"W\n\030CDOTACli" - "entMsg_ChatWheel\022;\n\014chat_message\030\001 \001(\0162\026" - ".EDOTAChatWheelMessage:\rk_EDOTA_CW_Ok\"J\n" - "\034CDOTAClientMsg_SendStatPopup\022*\n\tstatpop" - "up\030\001 \001(\0132\027.CDOTAMsg_SendStatPopup*\301\003\n\023ED" - "otaClientMessages\022\023\n\017DOTA_CM_MapLine\020\001\022\027" - "\n\023DOTA_CM_AspectRatio\020\002\022\023\n\017DOTA_CM_MapPi" - "ng\020\003\022\033\n\027DOTA_CM_UnitsAutoAttack\020\004\022\035\n\031DOT" - "A_CM_AutoPurchaseItems\020\005\022\025\n\021DOTA_CM_Test" - "Items\020\006\022\030\n\024DOTA_CM_SearchString\020\007\022\021\n\rDOT" - "A_CM_Pause\020\010\022\030\n\024DOTA_CM_ShopViewMode\020\t\022\034" - "\n\030DOTA_CM_SetUnitShareFlag\020\n\022\027\n\023DOTA_CM_" - "SwapRequest\020\013\022\026\n\022DOTA_CM_SwapAccept\020\014\022\025\n" - "\021DOTA_CM_WorldLine\020\r\022\036\n\032DOTA_CM_RequestG" - "raphUpdate\020\016\022\025\n\021DOTA_CM_ItemAlert\020\017\022\025\n\021D" - "OTA_CM_ChatWheel\020\020\022\031\n\025DOTA_CM_SendStatPo" - "pup\020\021B\005H\001\200\001\000", 1532); + "obuf/descriptor.proto\032\026networkbasetypes." + "proto\032\031dota_commonmessages.proto\"G\n\026CDOT" + "AClientMsg_MapPing\022-\n\rlocation_ping\030\001 \001(" + "\0132\026.CDOTAMsg_LocationPing\"C\n\030CDOTAClient" + "Msg_ItemAlert\022\'\n\nitem_alert\030\001 \001(\0132\023.CDOT" + "AMsg_ItemAlert\"<\n\026CDOTAClientMsg_MapLine" + "\022\"\n\007mapline\030\001 \001(\0132\021.CDOTAMsg_MapLine\"+\n\032" + "CDOTAClientMsg_AspectRatio\022\r\n\005ratio\030\001 \001(" + "\002\"1\n\036CDOTAClientMsg_UnitsAutoAttack\022\017\n\007e" + "nabled\030\001 \001(\010\"3\n CDOTAClientMsg_AutoPurch" + "aseItems\022\017\n\007enabled\030\001 \001(\010\".\n\030CDOTAClient" + "Msg_TestItems\022\022\n\nkey_values\030\001 \001(\t\"-\n\033CDO" + "TAClientMsg_SearchString\022\016\n\006search\030\001 \001(\t" + "\"\026\n\024CDOTAClientMsg_Pause\"+\n\033CDOTAClientM" + "sg_ShopViewMode\022\014\n\004mode\030\001 \001(\r\"P\n\037CDOTACl" + "ientMsg_SetUnitShareFlag\022\020\n\010playerID\030\001 \001" + "(\r\022\014\n\004flag\030\002 \001(\r\022\r\n\005state\030\003 \001(\010\"/\n\032CDOTA" + "ClientMsg_SwapRequest\022\021\n\tplayer_id\030\001 \001(\r" + "\".\n\031CDOTAClientMsg_SwapAccept\022\021\n\tplayer_" + "id\030\001 \001(\r\"B\n\030CDOTAClientMsg_WorldLine\022&\n\t" + "worldline\030\001 \001(\0132\023.CDOTAMsg_WorldLine\"#\n!" + "CDOTAClientMsg_RequestGraphUpdate\"W\n\030CDO" + "TAClientMsg_ChatWheel\022;\n\014chat_message\030\001 " + "\001(\0162\026.EDOTAChatWheelMessage:\rk_EDOTA_CW_" + "Ok\"J\n\034CDOTAClientMsg_SendStatPopup\022*\n\tst" + "atpopup\030\001 \001(\0132\027.CDOTAMsg_SendStatPopup*\301" + "\003\n\023EDotaClientMessages\022\023\n\017DOTA_CM_MapLin" + "e\020\001\022\027\n\023DOTA_CM_AspectRatio\020\002\022\023\n\017DOTA_CM_" + "MapPing\020\003\022\033\n\027DOTA_CM_UnitsAutoAttack\020\004\022\035" + "\n\031DOTA_CM_AutoPurchaseItems\020\005\022\025\n\021DOTA_CM" + "_TestItems\020\006\022\030\n\024DOTA_CM_SearchString\020\007\022\021" + "\n\rDOTA_CM_Pause\020\010\022\030\n\024DOTA_CM_ShopViewMod" + "e\020\t\022\034\n\030DOTA_CM_SetUnitShareFlag\020\n\022\027\n\023DOT" + "A_CM_SwapRequest\020\013\022\026\n\022DOTA_CM_SwapAccept" + "\020\014\022\025\n\021DOTA_CM_WorldLine\020\r\022\036\n\032DOTA_CM_Req" + "uestGraphUpdate\020\016\022\025\n\021DOTA_CM_ItemAlert\020\017" + "\022\025\n\021DOTA_CM_ChatWheel\020\020\022\031\n\025DOTA_CM_SendS" + "tatPopup\020\021B\005H\001\200\001\000", 1537); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "dota_clientmessages.proto", &protobuf_RegisterTypes); CDOTAClientMsg_MapPing::default_instance_ = new CDOTAClientMsg_MapPing(); diff --git a/public/game/shared/dota/protobuf/dota_clientmessages.pb.h b/public/game/shared/dota/protobuf/dota_clientmessages.pb.h index 59626e47..697a6f7a 100644 --- a/public/game/shared/dota/protobuf/dota_clientmessages.pb.h +++ b/public/game/shared/dota/protobuf/dota_clientmessages.pb.h @@ -24,7 +24,7 @@ #include #include #include "google/protobuf/descriptor.pb.h" -#include "netmessages.pb.h" +#include "networkbasetypes.pb.h" #include "dota_commonmessages.pb.h" // @@protoc_insertion_point(includes) diff --git a/public/game/shared/dota/protobuf/dota_clientmessages.proto b/public/game/shared/dota/protobuf/dota_clientmessages.proto index af886ef6..5afe902d 100644 --- a/public/game/shared/dota/protobuf/dota_clientmessages.proto +++ b/public/game/shared/dota/protobuf/dota_clientmessages.proto @@ -59,7 +59,7 @@ option cc_generic_services = false; import "google/protobuf/descriptor.proto"; // for CMsgVector, etc. -import "netmessages.proto"; +import "networkbasetypes.proto"; // for structures shared between user and client messages import "dota_commonmessages.proto"; diff --git a/public/game/shared/dota/protobuf/dota_commonmessages.pb.cc b/public/game/shared/dota/protobuf/dota_commonmessages.pb.cc index 027a1825..65299f0c 100644 --- a/public/game/shared/dota/protobuf/dota_commonmessages.pb.cc +++ b/public/game/shared/dota/protobuf/dota_commonmessages.pb.cc @@ -43,11 +43,12 @@ void protobuf_AssignDesc_dota_5fcommonmessages_2eproto() { "dota_commonmessages.proto"); GOOGLE_CHECK(file != NULL); CDOTAMsg_LocationPing_descriptor_ = file->message_type(0); - static const int CDOTAMsg_LocationPing_offsets_[4] = { + static const int CDOTAMsg_LocationPing_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, x_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, y_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, target_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, direct_ping_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAMsg_LocationPing, type_), }; CDOTAMsg_LocationPing_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -178,31 +179,32 @@ void protobuf_AddDesc_dota_5fcommonmessages_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); - ::protobuf_AddDesc_netmessages_2eproto(); + ::protobuf_AddDesc_networkbasetypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\031dota_commonmessages.proto\032 google/prot" - "obuf/descriptor.proto\032\021netmessages.proto" - "\"R\n\025CDOTAMsg_LocationPing\022\t\n\001x\030\001 \001(\005\022\t\n\001" - "y\030\002 \001(\005\022\016\n\006target\030\003 \001(\005\022\023\n\013direct_ping\030\004" - " \001(\010\":\n\022CDOTAMsg_ItemAlert\022\t\n\001x\030\001 \001(\005\022\t\n" - "\001y\030\002 \001(\005\022\016\n\006itemid\030\003 \001(\005\"9\n\020CDOTAMsg_Map" - "Line\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\022\017\n\007initial\030\003 " - "\001(\010\"S\n\022CDOTAMsg_WorldLine\022\t\n\001x\030\001 \001(\005\022\t\n\001" - "y\030\002 \001(\005\022\t\n\001z\030\003 \001(\005\022\017\n\007initial\030\004 \001(\010\022\013\n\003e" - "nd\030\005 \001(\010\"~\n\026CDOTAMsg_SendStatPopup\0229\n\005st" - "yle\030\001 \001(\0162\024.EDOTAStatPopupTypes:\024k_EDOTA" - "_SPT_Textline\022\024\n\014stat_strings\030\002 \003(\t\022\023\n\013s" - "tat_images\030\003 \003(\005*\267\002\n\025EDOTAChatWheelMessa" - "ge\022\021\n\rk_EDOTA_CW_Ok\020\000\022\023\n\017k_EDOTA_CW_Care" - "\020\001\022\026\n\022k_EDOTA_CW_GetBack\020\002\022\030\n\024k_EDOTA_CW" - "_NeedWards\020\003\022\023\n\017k_EDOTA_CW_Stun\020\004\022\023\n\017k_E" - "DOTA_CW_Help\020\005\022\023\n\017k_EDOTA_CW_Push\020\006\022\026\n\022k" - "_EDOTA_CW_GoodJob\020\007\022\026\n\022k_EDOTA_CW_Missin" - "g\020\010\022\032\n\026k_EDOTA_CW_Missing_Top\020\t\022\032\n\026k_EDO" - "TA_CW_Missing_Mid\020\n\022\035\n\031k_EDOTA_CW_Missin" - "g_Bottom\020\013*\\\n\023EDOTAStatPopupTypes\022\030\n\024k_E" - "DOTA_SPT_Textline\020\000\022\025\n\021k_EDOTA_SPT_Basic" - "\020\001\022\024\n\020k_EDOTA_SPT_Poll\020\002B\005H\001\200\001\000", 911); + "obuf/descriptor.proto\032\026networkbasetypes." + "proto\"`\n\025CDOTAMsg_LocationPing\022\t\n\001x\030\001 \001(" + "\005\022\t\n\001y\030\002 \001(\005\022\016\n\006target\030\003 \001(\005\022\023\n\013direct_p" + "ing\030\004 \001(\010\022\014\n\004type\030\005 \001(\005\":\n\022CDOTAMsg_Item" + "Alert\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\022\016\n\006itemid\030\003 " + "\001(\005\"9\n\020CDOTAMsg_MapLine\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030" + "\002 \001(\005\022\017\n\007initial\030\003 \001(\010\"S\n\022CDOTAMsg_World" + "Line\022\t\n\001x\030\001 \001(\005\022\t\n\001y\030\002 \001(\005\022\t\n\001z\030\003 \001(\005\022\017\n" + "\007initial\030\004 \001(\010\022\013\n\003end\030\005 \001(\010\"~\n\026CDOTAMsg_" + "SendStatPopup\0229\n\005style\030\001 \001(\0162\024.EDOTAStat" + "PopupTypes:\024k_EDOTA_SPT_Textline\022\024\n\014stat" + "_strings\030\002 \003(\t\022\023\n\013stat_images\030\003 \003(\005*\267\002\n\025" + "EDOTAChatWheelMessage\022\021\n\rk_EDOTA_CW_Ok\020\000" + "\022\023\n\017k_EDOTA_CW_Care\020\001\022\026\n\022k_EDOTA_CW_GetB" + "ack\020\002\022\030\n\024k_EDOTA_CW_NeedWards\020\003\022\023\n\017k_EDO" + "TA_CW_Stun\020\004\022\023\n\017k_EDOTA_CW_Help\020\005\022\023\n\017k_E" + "DOTA_CW_Push\020\006\022\026\n\022k_EDOTA_CW_GoodJob\020\007\022\026" + "\n\022k_EDOTA_CW_Missing\020\010\022\032\n\026k_EDOTA_CW_Mis" + "sing_Top\020\t\022\032\n\026k_EDOTA_CW_Missing_Mid\020\n\022\035" + "\n\031k_EDOTA_CW_Missing_Bottom\020\013*\\\n\023EDOTASt" + "atPopupTypes\022\030\n\024k_EDOTA_SPT_Textline\020\000\022\025" + "\n\021k_EDOTA_SPT_Basic\020\001\022\024\n\020k_EDOTA_SPT_Pol" + "l\020\002B\005H\001\200\001\000", 930); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "dota_commonmessages.proto", &protobuf_RegisterTypes); CDOTAMsg_LocationPing::default_instance_ = new CDOTAMsg_LocationPing(); @@ -272,6 +274,7 @@ const int CDOTAMsg_LocationPing::kXFieldNumber; const int CDOTAMsg_LocationPing::kYFieldNumber; const int CDOTAMsg_LocationPing::kTargetFieldNumber; const int CDOTAMsg_LocationPing::kDirectPingFieldNumber; +const int CDOTAMsg_LocationPing::kTypeFieldNumber; #endif // !_MSC_VER CDOTAMsg_LocationPing::CDOTAMsg_LocationPing() @@ -294,6 +297,7 @@ void CDOTAMsg_LocationPing::SharedCtor() { y_ = 0; target_ = 0; direct_ping_ = false; + type_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -332,6 +336,7 @@ void CDOTAMsg_LocationPing::Clear() { y_ = 0; target_ = 0; direct_ping_ = false; + type_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); @@ -402,6 +407,22 @@ bool CDOTAMsg_LocationPing::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } + if (input->ExpectTag(40)) goto parse_type; + break; + } + + // optional int32 type = 5; + case 5: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_type: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &type_))); + set_has_type(); + } else { + goto handle_uninterpreted; + } if (input->ExpectAtEnd()) return true; break; } @@ -444,6 +465,11 @@ void CDOTAMsg_LocationPing::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->direct_ping(), output); } + // optional int32 type = 5; + if (has_type()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->type(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -472,6 +498,11 @@ void CDOTAMsg_LocationPing::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->direct_ping(), target); } + // optional int32 type = 5; + if (has_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->type(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -509,6 +540,13 @@ int CDOTAMsg_LocationPing::ByteSize() const { total_size += 1 + 1; } + // optional int32 type = 5; + if (has_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->type()); + } + } if (!unknown_fields().empty()) { total_size += @@ -548,6 +586,9 @@ void CDOTAMsg_LocationPing::MergeFrom(const CDOTAMsg_LocationPing& from) { if (from.has_direct_ping()) { set_direct_ping(from.direct_ping()); } + if (from.has_type()) { + set_type(from.type()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -575,6 +616,7 @@ void CDOTAMsg_LocationPing::Swap(CDOTAMsg_LocationPing* other) { std::swap(y_, other->y_); std::swap(target_, other->target_); std::swap(direct_ping_, other->direct_ping_); + std::swap(type_, other->type_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); diff --git a/public/game/shared/dota/protobuf/dota_commonmessages.pb.h b/public/game/shared/dota/protobuf/dota_commonmessages.pb.h index 8b5e502b..0a3f8fb1 100644 --- a/public/game/shared/dota/protobuf/dota_commonmessages.pb.h +++ b/public/game/shared/dota/protobuf/dota_commonmessages.pb.h @@ -24,7 +24,7 @@ #include #include #include "google/protobuf/descriptor.pb.h" -#include "netmessages.pb.h" +#include "networkbasetypes.pb.h" // @@protoc_insertion_point(includes) // Internal implementation detail -- do not call these. @@ -171,6 +171,13 @@ class CDOTAMsg_LocationPing : public ::google::protobuf::Message { inline bool direct_ping() const; inline void set_direct_ping(bool value); + // optional int32 type = 5; + inline bool has_type() const; + inline void clear_type(); + static const int kTypeFieldNumber = 5; + inline ::google::protobuf::int32 type() const; + inline void set_type(::google::protobuf::int32 value); + // @@protoc_insertion_point(class_scope:CDOTAMsg_LocationPing) private: inline void set_has_x(); @@ -181,6 +188,8 @@ class CDOTAMsg_LocationPing : public ::google::protobuf::Message { inline void clear_has_target(); inline void set_has_direct_ping(); inline void clear_has_direct_ping(); + inline void set_has_type(); + inline void clear_has_type(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -188,9 +197,10 @@ class CDOTAMsg_LocationPing : public ::google::protobuf::Message { ::google::protobuf::int32 y_; ::google::protobuf::int32 target_; bool direct_ping_; + ::google::protobuf::int32 type_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; friend void protobuf_AddDesc_dota_5fcommonmessages_2eproto(); friend void protobuf_AssignDesc_dota_5fcommonmessages_2eproto(); @@ -732,6 +742,28 @@ inline void CDOTAMsg_LocationPing::set_direct_ping(bool value) { direct_ping_ = value; } +// optional int32 type = 5; +inline bool CDOTAMsg_LocationPing::has_type() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CDOTAMsg_LocationPing::set_has_type() { + _has_bits_[0] |= 0x00000010u; +} +inline void CDOTAMsg_LocationPing::clear_has_type() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CDOTAMsg_LocationPing::clear_type() { + type_ = 0; + clear_has_type(); +} +inline ::google::protobuf::int32 CDOTAMsg_LocationPing::type() const { + return type_; +} +inline void CDOTAMsg_LocationPing::set_type(::google::protobuf::int32 value) { + set_has_type(); + type_ = value; +} + // ------------------------------------------------------------------- // CDOTAMsg_ItemAlert diff --git a/public/game/shared/dota/protobuf/dota_commonmessages.proto b/public/game/shared/dota/protobuf/dota_commonmessages.proto index b8712c22..3f72266d 100644 --- a/public/game/shared/dota/protobuf/dota_commonmessages.proto +++ b/public/game/shared/dota/protobuf/dota_commonmessages.proto @@ -59,7 +59,7 @@ option cc_generic_services = false; import "google/protobuf/descriptor.proto"; // for CMsgVector, etc. -import "netmessages.proto"; +import "networkbasetypes.proto"; //============================================================================= // Dota Common Messages @@ -93,6 +93,7 @@ message CDOTAMsg_LocationPing optional int32 y = 2; optional int32 target = 3; optional bool direct_ping = 4; + optional int32 type = 5; } message CDOTAMsg_ItemAlert diff --git a/public/game/shared/dota/protobuf/dota_usermessage_helpers.cpp b/public/game/shared/dota/protobuf/dota_usermessage_helpers.cpp index c940e60b..cf461ac4 100644 --- a/public/game/shared/dota/protobuf/dota_usermessage_helpers.cpp +++ b/public/game/shared/dota/protobuf/dota_usermessage_helpers.cpp @@ -102,6 +102,8 @@ CDotaUsermessageHelpers::CDotaUsermessageHelpers() SETUP_DOTA_MESSAGE( AddQuestLogEntry ); SETUP_DOTA_MESSAGE( SendStatPopup ); SETUP_DOTA_MESSAGE( TutorialFinish ); + SETUP_DOTA_MESSAGE( SendRoshanPopup ); + SETUP_DOTA_MESSAGE( SendGenericToolTip ); } const google::protobuf::Message *CDotaUsermessageHelpers::GetPrototype( int index ) const diff --git a/public/game/shared/dota/protobuf/dota_usermessages.pb.cc b/public/game/shared/dota/protobuf/dota_usermessages.pb.cc index 47fbe602..316931d6 100644 --- a/public/game/shared/dota/protobuf/dota_usermessages.pb.cc +++ b/public/game/shared/dota/protobuf/dota_usermessages.pb.cc @@ -169,9 +169,9 @@ const ::google::protobuf::internal::GeneratedMessageReflection* 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::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* - CDOTAUserMsg_ParticleManager_UpdateParticleLatency_reflection_ = NULL; + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_reflection_ = NULL; const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_reflection_ = NULL; @@ -184,6 +184,9 @@ const ::google::protobuf::internal::GeneratedMessageReflection* const ::google::protobuf::Descriptor* CDOTAUserMsg_TutorialFinish_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CDOTAUserMsg_TutorialFinish_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_SendGenericToolTip_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_SendGenericToolTip_reflection_ = NULL; const ::google::protobuf::Descriptor* CDOTAUserMsg_WorldLine_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CDOTAUserMsg_WorldLine_reflection_ = NULL; @@ -220,6 +223,9 @@ const ::google::protobuf::internal::GeneratedMessageReflection* const ::google::protobuf::Descriptor* CDOTAUserMsg_SendStatPopup_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CDOTAUserMsg_SendStatPopup_reflection_ = NULL; +const ::google::protobuf::Descriptor* CDOTAUserMsg_SendRoshanPopup_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CDOTAUserMsg_SendRoshanPopup_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; @@ -929,8 +935,8 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { 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_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager, update_particle_set_frozen_), }; CDOTAUserMsg_ParticleManager_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -1106,22 +1112,21 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::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_UpdateParticleSetFrozen_descriptor_ = CDOTAUserMsg_ParticleManager_descriptor_->nested_type(10); + static const int CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen, set_frozen_), }; - CDOTAUserMsg_ParticleManager_UpdateParticleLatency_reflection_ = + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_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_), + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_descriptor_, + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::default_instance_, + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), - sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleLatency)); + sizeof(CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen)); 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_), @@ -1173,10 +1178,11 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_TutorialTipInfo)); CDOTAUserMsg_TutorialFinish_descriptor_ = file->message_type(34); - static const int CDOTAUserMsg_TutorialFinish_offsets_[3] = { + static const int CDOTAUserMsg_TutorialFinish_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialFinish, heading_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialFinish, emblem_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialFinish, body_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialFinish, success_), }; CDOTAUserMsg_TutorialFinish_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -1189,7 +1195,25 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_TutorialFinish)); - CDOTAUserMsg_WorldLine_descriptor_ = file->message_type(35); + CDOTAUserMsg_SendGenericToolTip_descriptor_ = file->message_type(35); + static const int CDOTAUserMsg_SendGenericToolTip_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendGenericToolTip, title_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendGenericToolTip, text_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendGenericToolTip, entindex_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendGenericToolTip, close_), + }; + CDOTAUserMsg_SendGenericToolTip_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_SendGenericToolTip_descriptor_, + CDOTAUserMsg_SendGenericToolTip::default_instance_, + CDOTAUserMsg_SendGenericToolTip_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendGenericToolTip, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendGenericToolTip, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_SendGenericToolTip)); + CDOTAUserMsg_WorldLine_descriptor_ = file->message_type(36); 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_), @@ -1205,7 +1229,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_WorldLine)); - CDOTAUserMsg_TournamentDrop_descriptor_ = file->message_type(36); + CDOTAUserMsg_TournamentDrop_descriptor_ = file->message_type(37); 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_), @@ -1221,7 +1245,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_TournamentDrop)); - CDOTAUserMsg_ChatWheel_descriptor_ = file->message_type(37); + CDOTAUserMsg_ChatWheel_descriptor_ = file->message_type(38); 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_), @@ -1238,7 +1262,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_ChatWheel)); - CDOTAUserMsg_ReceivedXmasGift_descriptor_ = file->message_type(38); + CDOTAUserMsg_ReceivedXmasGift_descriptor_ = file->message_type(39); 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_), @@ -1255,7 +1279,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_ReceivedXmasGift)); - CDOTAUserMsg_ShowSurvey_descriptor_ = file->message_type(39); + CDOTAUserMsg_ShowSurvey_descriptor_ = file->message_type(40); static const int CDOTAUserMsg_ShowSurvey_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_ShowSurvey, survey_id_), }; @@ -1270,7 +1294,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_ShowSurvey)); - CDOTAUserMsg_UpdateSharedContent_descriptor_ = file->message_type(40); + CDOTAUserMsg_UpdateSharedContent_descriptor_ = file->message_type(41); static const int CDOTAUserMsg_UpdateSharedContent_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_UpdateSharedContent, slot_type_), }; @@ -1285,7 +1309,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_UpdateSharedContent)); - CDOTAUserMsg_TutorialRequestExp_descriptor_ = file->message_type(41); + CDOTAUserMsg_TutorialRequestExp_descriptor_ = file->message_type(42); static const int CDOTAUserMsg_TutorialRequestExp_offsets_[1] = { }; CDOTAUserMsg_TutorialRequestExp_reflection_ = @@ -1299,7 +1323,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_TutorialRequestExp)); - CDOTAUserMsg_TutorialFade_descriptor_ = file->message_type(42); + CDOTAUserMsg_TutorialFade_descriptor_ = file->message_type(43); static const int CDOTAUserMsg_TutorialFade_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_TutorialFade, tgt_alpha_), }; @@ -1314,7 +1338,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_TutorialFade)); - CDOTAUserMsg_TutorialPingMinimap_descriptor_ = file->message_type(43); + CDOTAUserMsg_TutorialPingMinimap_descriptor_ = file->message_type(44); 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_), @@ -1333,7 +1357,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_TutorialPingMinimap)); - CDOTA_UM_GamerulesStateChanged_descriptor_ = file->message_type(44); + CDOTA_UM_GamerulesStateChanged_descriptor_ = file->message_type(45); static const int CDOTA_UM_GamerulesStateChanged_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTA_UM_GamerulesStateChanged, state_), }; @@ -1348,7 +1372,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTA_UM_GamerulesStateChanged)); - CDOTAUserMsg_AddQuestLogEntry_descriptor_ = file->message_type(45); + CDOTAUserMsg_AddQuestLogEntry_descriptor_ = file->message_type(46); static const int CDOTAUserMsg_AddQuestLogEntry_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_AddQuestLogEntry, npc_name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_AddQuestLogEntry, npc_dialog_), @@ -1366,7 +1390,7 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_AddQuestLogEntry)); - CDOTAUserMsg_SendStatPopup_descriptor_ = file->message_type(46); + CDOTAUserMsg_SendStatPopup_descriptor_ = file->message_type(47); static const int CDOTAUserMsg_SendStatPopup_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendStatPopup, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendStatPopup, statpopup_), @@ -1382,6 +1406,22 @@ void protobuf_AssignDesc_dota_5fusermessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CDOTAUserMsg_SendStatPopup)); + CDOTAUserMsg_SendRoshanPopup_descriptor_ = file->message_type(48); + static const int CDOTAUserMsg_SendRoshanPopup_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendRoshanPopup, reclaimed_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendRoshanPopup, gametime_), + }; + CDOTAUserMsg_SendRoshanPopup_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CDOTAUserMsg_SendRoshanPopup_descriptor_, + CDOTAUserMsg_SendRoshanPopup::default_instance_, + CDOTAUserMsg_SendRoshanPopup_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendRoshanPopup, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CDOTAUserMsg_SendRoshanPopup, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CDOTAUserMsg_SendRoshanPopup)); EDotaUserMessages_descriptor_ = file->enum_type(0); DOTA_CHAT_MESSAGE_descriptor_ = file->enum_type(1); DOTA_NO_BATTLE_POINTS_REASONS_descriptor_ = file->enum_type(2); @@ -1505,7 +1545,7 @@ void protobuf_RegisterTypes(const ::std::string&) { ::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()); + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_descriptor_, &CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( @@ -1514,6 +1554,8 @@ void protobuf_RegisterTypes(const ::std::string&) { CDOTAUserMsg_TutorialTipInfo_descriptor_, &CDOTAUserMsg_TutorialTipInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CDOTAUserMsg_TutorialFinish_descriptor_, &CDOTAUserMsg_TutorialFinish::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_SendGenericToolTip_descriptor_, &CDOTAUserMsg_SendGenericToolTip::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CDOTAUserMsg_WorldLine_descriptor_, &CDOTAUserMsg_WorldLine::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( @@ -1538,6 +1580,8 @@ void protobuf_RegisterTypes(const ::std::string&) { CDOTAUserMsg_AddQuestLogEntry_descriptor_, &CDOTAUserMsg_AddQuestLogEntry::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CDOTAUserMsg_SendStatPopup_descriptor_, &CDOTAUserMsg_SendStatPopup::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CDOTAUserMsg_SendRoshanPopup_descriptor_, &CDOTAUserMsg_SendRoshanPopup::default_instance()); } } // namespace @@ -1645,8 +1689,8 @@ void protobuf_ShutdownFile_dota_5fusermessages_2eproto() { 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_UpdateParticleSetFrozen::default_instance_; + delete CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_reflection_; delete CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance_; delete CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw_reflection_; delete CDOTAUserMsg_OverheadEvent::default_instance_; @@ -1655,6 +1699,8 @@ void protobuf_ShutdownFile_dota_5fusermessages_2eproto() { delete CDOTAUserMsg_TutorialTipInfo_reflection_; delete CDOTAUserMsg_TutorialFinish::default_instance_; delete CDOTAUserMsg_TutorialFinish_reflection_; + delete CDOTAUserMsg_SendGenericToolTip::default_instance_; + delete CDOTAUserMsg_SendGenericToolTip_reflection_; delete CDOTAUserMsg_WorldLine::default_instance_; delete CDOTAUserMsg_WorldLine_reflection_; delete CDOTAUserMsg_TournamentDrop::default_instance_; @@ -1679,6 +1725,8 @@ void protobuf_ShutdownFile_dota_5fusermessages_2eproto() { delete CDOTAUserMsg_AddQuestLogEntry_reflection_; delete CDOTAUserMsg_SendStatPopup::default_instance_; delete CDOTAUserMsg_SendStatPopup_reflection_; + delete CDOTAUserMsg_SendRoshanPopup::default_instance_; + delete CDOTAUserMsg_SendRoshanPopup_reflection_; } void protobuf_AddDesc_dota_5fusermessages_2eproto() { @@ -1688,320 +1736,327 @@ void protobuf_AddDesc_dota_5fusermessages_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); - ::protobuf_AddDesc_netmessages_2eproto(); + ::protobuf_AddDesc_networkbasetypes_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\"L\n\033CDOTAUserMsg_TutorialFinish\022\017" - "\n\007heading\030\001 \001(\t\022\016\n\006emblem\030\002 \001(\t\022\014\n\004body\030" - "\003 \001(\t\"S\n\026CDOTAUserMsg_WorldLine\022\021\n\tplaye" - "r_id\030\001 \001(\005\022&\n\tworldline\030\002 \001(\0132\023.CDOTAMsg" - "_WorldLine\"F\n\033CDOTAUserMsg_TournamentDro" - "p\022\023\n\013winner_name\030\001 \001(\t\022\022\n\nevent_type\030\002 \001" - "(\005\"|\n\026CDOTAUserMsg_ChatWheel\022;\n\014chat_mes" - "sage\030\001 \001(\0162\026.EDOTAChatWheelMessage:\rk_ED" - "OTA_CW_Ok\022\021\n\tplayer_id\030\002 \001(\r\022\022\n\naccount_" - "id\030\003 \001(\r\"]\n\035CDOTAUserMsg_ReceivedXmasGif" - "t\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\027CDOTAUserMsg_" - "ShowSurvey\022\021\n\tsurvey_id\030\001 \001(\005\"5\n CDOTAUs" - "erMsg_UpdateSharedContent\022\021\n\tslot_type\030\001" - " \001(\005\"!\n\037CDOTAUserMsg_TutorialRequestExp\"" - ".\n\031CDOTAUserMsg_TutorialFade\022\021\n\ttgt_alph" - "a\030\001 \001(\005\"x\n CDOTAUserMsg_TutorialPingMini" - "map\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_in" - "dex\030\005 \001(\005\"/\n\036CDOTA_UM_GamerulesStateChan" - "ged\022\r\n\005state\030\001 \001(\r\"h\n\035CDOTAUserMsg_AddQu" - "estLogEntry\022\020\n\010npc_name\030\001 \001(\t\022\022\n\nnpc_dia" - "log\030\002 \001(\t\022\r\n\005quest\030\003 \001(\010\022\022\n\nquest_type\030\004" - " \001(\005\"[\n\032CDOTAUserMsg_SendStatPopup\022\021\n\tpl" - "ayer_id\030\001 \001(\005\022*\n\tstatpopup\030\002 \001(\0132\027.CDOTA" - "Msg_SendStatPopup*\310\n\n\021EDotaUserMessages\022" - "\036\n\032DOTA_UM_AddUnitToSelection\020@\022\027\n\023DOTA_" - "UM_AIDebugLine\020A\022\025\n\021DOTA_UM_ChatEvent\020B\022" - "\037\n\033DOTA_UM_CombatHeroPositions\020C\022\031\n\025DOTA" - "_UM_CombatLogData\020D\022\036\n\032DOTA_UM_CombatLog" - "ShowDeath\020F\022\"\n\036DOTA_UM_CreateLinearProje" - "ctile\020G\022#\n\037DOTA_UM_DestroyLinearProjecti" - "le\020H\022$\n DOTA_UM_DodgeTrackingProjectiles" - "\020I\022\034\n\030DOTA_UM_GlobalLightColor\020J\022 \n\034DOTA" - "_UM_GlobalLightDirection\020K\022\032\n\026DOTA_UM_In" - "validCommand\020L\022\030\n\024DOTA_UM_LocationPing\020M" - "\022\023\n\017DOTA_UM_MapLine\020N\022\033\n\027DOTA_UM_MiniKil" - "lCamInfo\020O\022\035\n\031DOTA_UM_MinimapDebugPoint\020" - "P\022\030\n\024DOTA_UM_MinimapEvent\020Q\022\034\n\030DOTA_UM_N" - "evermoreRequiem\020R\022\031\n\025DOTA_UM_OverheadEve" - "nt\020S\022\036\n\032DOTA_UM_SetNextAutobuyItem\020T\022\032\n\026" - "DOTA_UM_SharedCooldown\020U\022 \n\034DOTA_UM_Spec" - "tatorPlayerClick\020V\022\033\n\027DOTA_UM_TutorialTi" - "pInfo\020W\022\025\n\021DOTA_UM_UnitEvent\020X\022\033\n\027DOTA_U" - "M_ParticleManager\020Y\022\023\n\017DOTA_UM_BotChat\020Z" - "\022\024\n\020DOTA_UM_HudError\020[\022\031\n\025DOTA_UM_ItemPu" - "rchased\020\\\022\020\n\014DOTA_UM_Ping\020]\022\025\n\021DOTA_UM_I" - "temFound\020^\022!\n\035DOTA_UM_CharacterSpeakConc" - "ept\020_\022\026\n\022DOTA_UM_SwapVerify\020`\022\025\n\021DOTA_UM" - "_WorldLine\020a\022\032\n\026DOTA_UM_TournamentDrop\020b" - "\022\025\n\021DOTA_UM_ItemAlert\020c\022\032\n\026DOTA_UM_Hallo" - "weenDrops\020d\022\025\n\021DOTA_UM_ChatWheel\020e\022\034\n\030DO" - "TA_UM_ReceivedXmasGift\020f\022\037\n\033DOTA_UM_Upda" - "teSharedContent\020g\022\036\n\032DOTA_UM_TutorialReq" - "uestExp\020h\022\037\n\033DOTA_UM_TutorialPingMinimap" - "\020i\022!\n\035DOTA_UM_GamerulesStateChanged\020j\022\026\n" - "\022DOTA_UM_ShowSurvey\020k\022\030\n\024DOTA_UM_Tutoria" - "lFade\020l\022\034\n\030DOTA_UM_AddQuestLogEntry\020m\022\031\n" - "\025DOTA_UM_SendStatPopup\020n\022\032\n\026DOTA_UM_Tuto" - "rialFinish\020o*\343\016\n\021DOTA_CHAT_MESSAGE\022!\n\024CH" - "AT_MESSAGE_INVALID\020\377\377\377\377\377\377\377\377\377\001\022\032\n\026CHAT_ME" - "SSAGE_HERO_KILL\020\000\022\032\n\026CHAT_MESSAGE_HERO_D" - "ENY\020\001\022\036\n\032CHAT_MESSAGE_BARRACKS_KILL\020\002\022\033\n" - "\027CHAT_MESSAGE_TOWER_KILL\020\003\022\033\n\027CHAT_MESSA" - "GE_TOWER_DENY\020\004\022\033\n\027CHAT_MESSAGE_FIRSTBLO" - "OD\020\005\022\034\n\030CHAT_MESSAGE_STREAK_KILL\020\006\022\030\n\024CH" - "AT_MESSAGE_BUYBACK\020\007\022\026\n\022CHAT_MESSAGE_AEG" - "IS\020\010\022\034\n\030CHAT_MESSAGE_ROSHAN_KILL\020\t\022\035\n\031CH" - "AT_MESSAGE_COURIER_LOST\020\n\022\"\n\036CHAT_MESSAG" - "E_COURIER_RESPAWNED\020\013\022\033\n\027CHAT_MESSAGE_GL" - "YPH_USED\020\014\022\036\n\032CHAT_MESSAGE_ITEM_PURCHASE" - "\020\r\022\030\n\024CHAT_MESSAGE_CONNECT\020\016\022\033\n\027CHAT_MES" - "SAGE_DISCONNECT\020\017\022.\n*CHAT_MESSAGE_DISCON" - "NECT_WAIT_FOR_RECONNECT\020\020\022*\n&CHAT_MESSAG" - "E_DISCONNECT_TIME_REMAINING\020\021\0221\n-CHAT_ME" - "SSAGE_DISCONNECT_TIME_REMAINING_PLURAL\020\022" - "\022\032\n\026CHAT_MESSAGE_RECONNECT\020\023\022\030\n\024CHAT_MES" - "SAGE_ABANDON\020\024\022\036\n\032CHAT_MESSAGE_SAFE_TO_L" - "EAVE\020\025\022\034\n\030CHAT_MESSAGE_RUNE_PICKUP\020\026\022\034\n\030" - "CHAT_MESSAGE_RUNE_BOTTLE\020\027\022\031\n\025CHAT_MESSA" - "GE_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" - "_MESSAGE_SUPER_CREEPS\020\034\022%\n!CHAT_MESSAGE_" - "CANT_USE_ACTION_ITEM\020\035\022\"\n\036CHAT_MESSAGE_C" - "HARGES_EXHAUSTED\020\036\022\032\n\026CHAT_MESSAGE_CANTP" - "AUSE\020\037\022\035\n\031CHAT_MESSAGE_NOPAUSESLEFT\020 \022\035\n" - "\031CHAT_MESSAGE_CANTPAUSEYET\020!\022\027\n\023CHAT_MES" - "SAGE_PAUSED\020\"\022\"\n\036CHAT_MESSAGE_UNPAUSE_CO" - "UNTDOWN\020#\022\031\n\025CHAT_MESSAGE_UNPAUSED\020$\022\036\n\032" - "CHAT_MESSAGE_AUTO_UNPAUSED\020%\022\032\n\026CHAT_MES" - "SAGE_YOUPAUSED\020&\022 \n\034CHAT_MESSAGE_CANTUNP" - "AUSETEAM\020\'\022(\n$CHAT_MESSAGE_SAFE_TO_LEAVE" - "_ABANDONER\020(\022\"\n\036CHAT_MESSAGE_VOICE_TEXT_" - "BANNED\020)\022.\n*CHAT_MESSAGE_SPECTATORS_WATC" - "HING_THIS_GAME\020*\022 \n\034CHAT_MESSAGE_REPORT_" - "REMINDER\020+\022\032\n\026CHAT_MESSAGE_ECON_ITEM\020,\022\026" - "\n\022CHAT_MESSAGE_TAUNT\020-\022\027\n\023CHAT_MESSAGE_R" - "ANDOM\020.\022\030\n\024CHAT_MESSAGE_RD_TURN\020/\022.\n*CHA" - "T_MESSAGE_SAFE_TO_LEAVE_ABANDONER_EARLY\020" - "0\022 \n\034CHAT_MESSAGE_DROP_RATE_BONUS\0201\022!\n\035C" - "HAT_MESSAGE_NO_BATTLE_POINTS\0202\022\035\n\031CHAT_M" - "ESSAGE_DENIED_AEGIS\0203\022\036\n\032CHAT_MESSAGE_IN" - "FORMATIONAL\0204\022\035\n\031CHAT_MESSAGE_AEGIS_STOL" - "EN\0205\022\035\n\031CHAT_MESSAGE_ROSHAN_CANDY\0206\022\034\n\030C" - "HAT_MESSAGE_ITEM_GIFTED\0207\022\'\n#CHAT_MESSAG" - "E_HERO_KILL_WITH_GREEVIL\0208*\262\001\n\035DOTA_NO_B" - "ATTLE_POINTS_REASONS\022%\n!NO_BATTLE_POINTS" - "_WRONG_LOBBY_TYPE\020\001\022\"\n\036NO_BATTLE_POINTS_" - "PRACTICE_BOTS\020\002\022#\n\037NO_BATTLE_POINTS_CHEA" - "TS_ENABLED\020\003\022!\n\035NO_BATTLE_POINTS_LOW_PRI" - "ORITY\020\004*7\n\027DOTA_CHAT_INFORMATIONAL\022\034\n\030CO" - "OP_BATTLE_POINTS_RULES\020\001*\251\001\n\024DOTA_COMBAT" - "LOG_TYPES\022\031\n\025DOTA_COMBATLOG_DAMAGE\020\000\022\027\n\023" - "DOTA_COMBATLOG_HEAL\020\001\022\037\n\033DOTA_COMBATLOG_" - "MODIFIER_ADD\020\002\022\"\n\036DOTA_COMBATLOG_MODIFIE" - "R_REMOVE\020\003\022\030\n\024DOTA_COMBATLOG_DEATH\020\004*\345\001\n" - "\023EDotaEntityMessages\022\024\n\020DOTA_UNIT_SPEECH" - "\020\000\022\031\n\025DOTA_UNIT_SPEECH_MUTE\020\001\022\031\n\025DOTA_UN" - "IT_ADD_GESTURE\020\002\022\034\n\030DOTA_UNIT_REMOVE_GES" - "TURE\020\003\022!\n\035DOTA_UNIT_REMOVE_ALL_GESTURES\020" - "\004\022\032\n\026DOTA_UNIT_FADE_GESTURE\020\006\022%\n!DOTA_UN" - "IT_SPEECH_CLIENTSIDE_RULES\020\007*\262\004\n\025DOTA_PA" - "RTICLE_MESSAGE\022&\n\"DOTA_PARTICLE_MANAGER_" - "EVENT_CREATE\020\000\022&\n\"DOTA_PARTICLE_MANAGER_" - "EVENT_UPDATE\020\001\022.\n*DOTA_PARTICLE_MANAGER_" - "EVENT_UPDATE_FORWARD\020\002\0222\n.DOTA_PARTICLE_" - "MANAGER_EVENT_UPDATE_ORIENTATION\020\003\022/\n+DO" - "TA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBAC" - "K\020\004\022*\n&DOTA_PARTICLE_MANAGER_EVENT_UPDAT" - "E_ENT\020\005\022-\n)DOTA_PARTICLE_MANAGER_EVENT_U" - "PDATE_OFFSET\020\006\022\'\n#DOTA_PARTICLE_MANAGER_" - "EVENT_DESTROY\020\007\0221\n-DOTA_PARTICLE_MANAGER" - "_EVENT_DESTROY_INVOLVING\020\010\022\'\n#DOTA_PARTI" - "CLE_MANAGER_EVENT_RELEASE\020\t\022\'\n#DOTA_PART" - "ICLE_MANAGER_EVENT_LATENCY\020\n\022+\n\'DOTA_PAR" - "TICLE_MANAGER_EVENT_SHOULD_DRAW\020\013*\206\003\n\023DO" - "TA_OVERHEAD_ALERT\022\027\n\023OVERHEAD_ALERT_GOLD" - "\020\000\022\027\n\023OVERHEAD_ALERT_DENY\020\001\022\033\n\027OVERHEAD_" - "ALERT_CRITICAL\020\002\022\025\n\021OVERHEAD_ALERT_XP\020\003\022" - "%\n!OVERHEAD_ALERT_BONUS_SPELL_DAMAGE\020\004\022\027" - "\n\023OVERHEAD_ALERT_MISS\020\005\022\031\n\025OVERHEAD_ALER" - "T_DAMAGE\020\006\022\030\n\024OVERHEAD_ALERT_EVADE\020\007\022\030\n\024" - "OVERHEAD_ALERT_BLOCK\020\010\022&\n\"OVERHEAD_ALERT" - "_BONUS_POISON_DAMAGE\020\t\022\027\n\023OVERHEAD_ALERT" - "_HEAL\020\n\022\033\n\027OVERHEAD_ALERT_MANA_ADD\020\013\022\034\n\030" - "OVERHEAD_ALERT_MANA_LOSS\020\014B\005H\001\200\001\000", 12393); + "uf/descriptor.proto\032\026networkbasetypes.pr" + "oto\032\021ai_activity.proto\032\031dota_commonmessa" + "ges.proto\"+\n\030CDOTAUserMsg_AIDebugLine\022\017\n" + "\007message\030\001 \001(\t\"$\n\021CDOTAUserMsg_Ping\022\017\n\007m" + "essage\030\001 \001(\t\",\n\027CDOTAUserMsg_SwapVerify\022" + "\021\n\tplayer_id\030\001 \001(\r\"\357\001\n\026CDOTAUserMsg_Chat" + "Event\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\n" + "playerid_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\n" + "playerid_6\030\010 \001(\021:\002-1\"\375\001\n\032CDOTAUserMsg_Co" + "mbatLogData\022:\n\004type\030\001 \001(\0162\025.DOTA_COMBATL" + "OG_TYPES:\025DOTA_COMBATLOG_DAMAGE\022\023\n\013targe" + "t_name\030\002 \001(\r\022\025\n\rattacker_name\030\003 \001(\r\022\031\n\021a" + "ttacker_illusion\030\004 \001(\010\022\027\n\017target_illusio" + "n\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\037" + "CDOTAUserMsg_CombatLogShowDeath\"Z\n\024CDOTA" + "UserMsg_BotChat\022\021\n\tplayer_id\030\001 \001(\r\022\016\n\006fo" + "rmat\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\005index\030\001 \001(\r\022\014\n\004time\030\002 \001(\005\022 \n\tworld_po" + "s\030\003 \001(\0132\r.CMsgVector2D\022\016\n\006health\030\004 \001(\005\"\375" + "\001\n\034CDOTAUserMsg_MiniKillCamInfo\0229\n\tattac" + "kers\030\001 \003(\0132&.CDOTAUserMsg_MiniKillCamInf" + "o.Attacker\032\241\001\n\010Attacker\022\020\n\010attacker\030\001 \001(" + "\r\022\024\n\014total_damage\030\002 \001(\005\022A\n\tabilities\030\003 \003" + "(\0132..CDOTAUserMsg_MiniKillCamInfo.Attack" + "er.Ability\032*\n\007Ability\022\017\n\007ability\030\001 \001(\r\022\016" + "\n\006damage\030\002 \001(\005\"@\n\035CDOTAUserMsg_GlobalLig" + "htColor\022\r\n\005color\030\001 \001(\r\022\020\n\010duration\030\002 \001(\002" + "\"U\n!CDOTAUserMsg_GlobalLightDirection\022\036\n" + "\tdirection\030\001 \001(\0132\013.CMsgVector\022\020\n\010duratio" + "n\030\002 \001(\002\"]\n\031CDOTAUserMsg_LocationPing\022\021\n\t" + "player_id\030\001 \001(\r\022-\n\rlocation_ping\030\002 \001(\0132\026" + ".CDOTAMsg_LocationPing\"T\n\026CDOTAUserMsg_I" + "temAlert\022\021\n\tplayer_id\030\001 \001(\r\022\'\n\nitem_aler" + "t\030\002 \001(\0132\023.CDOTAMsg_ItemAlert\"n\n\031CDOTAUse" + "rMsg_MinimapEvent\022\022\n\nevent_type\030\001 \001(\005\022\025\n" + "\rentity_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_Map" + "Line\022\021\n\tplayer_id\030\001 \001(\005\022\"\n\007mapline\030\002 \001(\013" + "2\021.CDOTAMsg_MapLine\"n\n\036CDOTAUserMsg_Mini" + "mapDebugPoint\022\035\n\010location\030\001 \001(\0132\013.CMsgVe" + "ctor\022\r\n\005color\030\002 \001(\r\022\014\n\004size\030\003 \001(\005\022\020\n\010dur" + "ation\030\004 \001(\002\"\256\001\n#CDOTAUserMsg_CreateLinea" + "rProjectile\022\033\n\006origin\030\001 \001(\0132\013.CMsgVector" + "\022\037\n\010velocity\030\002 \001(\0132\r.CMsgVector2D\022\017\n\007lat" + "ency\030\003 \001(\005\022\020\n\010entindex\030\004 \001(\005\022\026\n\016particle" + "_index\030\005 \001(\005\022\016\n\006handle\030\006 \001(\005\"6\n$CDOTAUse" + "rMsg_DestroyLinearProjectile\022\016\n\006handle\030\001" + " \001(\005\"9\n%CDOTAUserMsg_DodgeTrackingProjec" + "tiles\022\020\n\010entindex\030\001 \002(\005\"_\n!CDOTAUserMsg_" + "SpectatorPlayerClick\022\020\n\010entindex\030\001 \002(\005\022\022" + "\n\norder_type\030\002 \001(\005\022\024\n\014target_index\030\003 \001(\005" + "\"b\n\035CDOTAUserMsg_NevermoreRequiem\022\025\n\rent" + "ity_handle\030\001 \001(\005\022\r\n\005lines\030\002 \001(\005\022\033\n\006origi" + "n\030\003 \001(\0132\013.CMsgVector\".\n\033CDOTAUserMsg_Inv" + "alidCommand\022\017\n\007message\030\001 \001(\t\")\n\025CDOTAUse" + "rMsg_HudError\022\020\n\010order_id\030\001 \001(\005\"c\n\033CDOTA" + "UserMsg_SharedCooldown\022\020\n\010entindex\030\001 \001(\005" + "\022\014\n\004name\030\002 \001(\t\022\020\n\010cooldown\030\003 \001(\002\022\022\n\nname" + "_index\030\004 \001(\005\"/\n\037CDOTAUserMsg_SetNextAuto" + "buyItem\022\014\n\004name\030\001 \001(\t\"X\n\033CDOTAUserMsg_Ha" + "lloweenDrops\022\021\n\titem_defs\030\001 \003(\r\022\022\n\nplaye" + "r_ids\030\002 \003(\r\022\022\n\nprize_list\030\003 \001(\r\"\376\001\n\034CDOT" + "AResponseQuerySerialized\0221\n\005facts\030\001 \003(\0132" + "\".CDOTAResponseQuerySerialized.Fact\032\252\001\n\004" + "Fact\022\013\n\003key\030\001 \002(\005\022F\n\007valtype\030\002 \002(\0162,.CDO" + "TAResponseQuerySerialized.Fact.ValueType" + ":\007NUMERIC\022\023\n\013val_numeric\030\003 \001(\002\022\022\n\nval_st" + "ring\030\004 \001(\t\"$\n\tValueType\022\013\n\007NUMERIC\020\001\022\n\n\006" + "STRING\020\002\"\220\001\n\030CDOTASpeechMatchOnClient\022\017\n" + "\007concept\030\001 \001(\005\022\026\n\016recipient_type\030\002 \001(\005\0224" + "\n\rresponsequery\030\003 \001(\0132\035.CDOTAResponseQue" + "rySerialized\022\025\n\nrandomseed\030\004 \001(\017:\0010\"\260\007\n\026" + "CDOTAUserMsg_UnitEvent\0228\n\010msg_type\030\001 \002(\016" + "2\024.EDotaEntityMessages:\020DOTA_UNIT_SPEECH" + "\022\024\n\014entity_index\030\002 \002(\005\022.\n\006speech\030\003 \001(\0132\036" + ".CDOTAUserMsg_UnitEvent.Speech\0227\n\013speech" + "_mute\030\004 \001(\0132\".CDOTAUserMsg_UnitEvent.Spe" + "echMute\0227\n\013add_gesture\030\005 \001(\0132\".CDOTAUser" + "Msg_UnitEvent.AddGesture\022=\n\016remove_gestu" + "re\030\006 \001(\0132%.CDOTAUserMsg_UnitEvent.Remove" + "Gesture\0229\n\014blood_impact\030\007 \001(\0132#.CDOTAUse" + "rMsg_UnitEvent.BloodImpact\0229\n\014fade_gestu" + "re\030\010 \001(\0132#.CDOTAUserMsg_UnitEvent.FadeGe" + "sture\0229\n\026speech_match_on_client\030\t \001(\0132\031." + "CDOTASpeechMatchOnClient\032k\n\006Speech\022\017\n\007co" + "ncept\030\001 \001(\005\022\020\n\010response\030\002 \001(\t\022\026\n\016recipie" + "nt_type\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.Activity:\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\rRemoveGesture\022(\n\010activity\030\001 \001(\0162\t.Ac" + "tivity:\013ACT_INVALID\032@\n\013BloodImpact\022\r\n\005sc" + "ale\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" + ".Activity:\013ACT_INVALID\"0\n\032CDOTAUserMsg_I" + "temPurchased\022\022\n\nitem_index\030\001 \001(\005\"j\n\026CDOT" + "AUserMsg_ItemFound\022\016\n\006player\030\001 \001(\005\022\017\n\007qu" + "ality\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\"\362\017\n\034CDOTAUserMsg_Pa" + "rticleManager\022H\n\004type\030\001 \002(\0162\026.DOTA_PARTI" + "CLE_MESSAGE:\"DOTA_PARTICLE_MANAGER_EVENT" + "_CREATE\022\r\n\005index\030\002 \002(\r\022R\n\026release_partic" + "le_index\030\003 \001(\01322.CDOTAUserMsg_ParticleMa" + "nager.ReleaseParticleIndex\022E\n\017create_par" + "ticle\030\004 \001(\0132,.CDOTAUserMsg_ParticleManag" + "er.CreateParticle\022G\n\020destroy_particle\030\005 " + "\001(\0132-.CDOTAUserMsg_ParticleManager.Destr" + "oyParticle\022Z\n\032destroy_particle_involving" + "\030\006 \001(\01326.CDOTAUserMsg_ParticleManager.De" + "stroyParticleInvolving\022E\n\017update_particl" + "e\030\007 \001(\0132,.CDOTAUserMsg_ParticleManager.U" + "pdateParticle\022L\n\023update_particle_fwd\030\010 \001" + "(\0132/.CDOTAUserMsg_ParticleManager.Update" + "ParticleFwd\022R\n\026update_particle_orient\030\t " + "\001(\01322.CDOTAUserMsg_ParticleManager.Updat" + "eParticleOrient\022V\n\030update_particle_fallb" + "ack\030\n \001(\01324.CDOTAUserMsg_ParticleManager" + ".UpdateParticleFallback\022R\n\026update_partic" + "le_offset\030\013 \001(\01322.CDOTAUserMsg_ParticleM" + "anager.UpdateParticleOffset\022L\n\023update_pa" + "rticle_ent\030\014 \001(\0132/.CDOTAUserMsg_Particle" + "Manager.UpdateParticleEnt\022[\n\033update_part" + "icle_should_draw\030\016 \001(\01326.CDOTAUserMsg_Pa" + "rticleManager.UpdateParticleShouldDraw\022Y" + "\n\032update_particle_set_frozen\030\017 \001(\01325.CDO" + "TAUserMsg_ParticleManager.UpdateParticle" + "SetFrozen\032\026\n\024ReleaseParticleIndex\032Y\n\016Cre" + "ateParticle\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\017DestroyParticle\022\033\n\023destroy_immed" + "iately\030\001 \001(\010\032N\n\030DestroyParticleInvolving" + "\022\033\n\023destroy_immediately\030\001 \001(\010\022\025\n\rentity_" + "handle\030\003 \001(\005\032F\n\016UpdateParticle\022\025\n\rcontro" + "l_point\030\001 \001(\005\022\035\n\010position\030\002 \001(\0132\013.CMsgVe" + "ctor\032H\n\021UpdateParticleFwd\022\025\n\rcontrol_poi" + "nt\030\001 \001(\005\022\034\n\007forward\030\002 \001(\0132\013.CMsgVector\032\200" + "\001\n\024UpdateParticleOrient\022\025\n\rcontrol_point" + "\030\001 \001(\005\022\034\n\007forward\030\002 \001(\0132\013.CMsgVector\022\032\n\005" + "right\030\003 \001(\0132\013.CMsgVector\022\027\n\002up\030\004 \001(\0132\013.C" + "MsgVector\032N\n\026UpdateParticleFallback\022\025\n\rc" + "ontrol_point\030\001 \001(\005\022\035\n\010position\030\002 \001(\0132\013.C" + "MsgVector\032Q\n\024UpdateParticleOffset\022\025\n\rcon" + "trol_point\030\001 \001(\005\022\"\n\rorigin_offset\030\002 \001(\0132" + "\013.CMsgVector\032\222\001\n\021UpdateParticleEnt\022\025\n\rco" + "ntrol_point\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\021fallback_position\030\005 \001(\0132\013.CMsgVecto" + "r\032-\n\027UpdateParticleSetFrozen\022\022\n\nset_froz" + "en\030\001 \001(\010\032/\n\030UpdateParticleShouldDraw\022\023\n\013" + "should_draw\030\001 \001(\010\"\305\001\n\032CDOTAUserMsg_Overh" + "eadEvent\022\?\n\014message_type\030\001 \002(\0162\024.DOTA_OV" + "ERHEAD_ALERT:\023OVERHEAD_ALERT_GOLD\022\r\n\005val" + "ue\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\026source_play" + "er_entindex\030\005 \001(\005\">\n\034CDOTAUserMsg_Tutori" + "alTipInfo\022\014\n\004name\030\001 \001(\t\022\020\n\010progress\030\002 \001(" + "\005\"]\n\033CDOTAUserMsg_TutorialFinish\022\017\n\007head" + "ing\030\001 \001(\t\022\016\n\006emblem\030\002 \001(\t\022\014\n\004body\030\003 \001(\t\022" + "\017\n\007success\030\004 \001(\010\"_\n\037CDOTAUserMsg_SendGen" + "ericToolTip\022\r\n\005title\030\001 \001(\t\022\014\n\004text\030\002 \001(\t" + "\022\020\n\010entindex\030\003 \001(\005\022\r\n\005close\030\004 \001(\010\"S\n\026CDO" + "TAUserMsg_WorldLine\022\021\n\tplayer_id\030\001 \001(\005\022&" + "\n\tworldline\030\002 \001(\0132\023.CDOTAMsg_WorldLine\"F" + "\n\033CDOTAUserMsg_TournamentDrop\022\023\n\013winner_" + "name\030\001 \001(\t\022\022\n\nevent_type\030\002 \001(\005\"|\n\026CDOTAU" + "serMsg_ChatWheel\022;\n\014chat_message\030\001 \001(\0162\026" + ".EDOTAChatWheelMessage:\rk_EDOTA_CW_Ok\022\021\n" + "\tplayer_id\030\002 \001(\r\022\022\n\naccount_id\030\003 \001(\r\"]\n\035" + "CDOTAUserMsg_ReceivedXmasGift\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\027CDOTAUserMsg_ShowSurvey\022\021" + "\n\tsurvey_id\030\001 \001(\005\"5\n CDOTAUserMsg_Update" + "SharedContent\022\021\n\tslot_type\030\001 \001(\005\"!\n\037CDOT" + "AUserMsg_TutorialRequestExp\".\n\031CDOTAUser" + "Msg_TutorialFade\022\021\n\ttgt_alpha\030\001 \001(\005\"x\n C" + "DOTAUserMsg_TutorialPingMinimap\022\021\n\tplaye" + "r_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_GamerulesStateChanged\022\r\n\005state" + "\030\001 \001(\r\"h\n\035CDOTAUserMsg_AddQuestLogEntry\022" + "\020\n\010npc_name\030\001 \001(\t\022\022\n\nnpc_dialog\030\002 \001(\t\022\r\n" + "\005quest\030\003 \001(\010\022\022\n\nquest_type\030\004 \001(\005\"[\n\032CDOT" + "AUserMsg_SendStatPopup\022\021\n\tplayer_id\030\001 \001(" + "\005\022*\n\tstatpopup\030\002 \001(\0132\027.CDOTAMsg_SendStat" + "Popup\"C\n\034CDOTAUserMsg_SendRoshanPopup\022\021\n" + "\treclaimed\030\001 \001(\010\022\020\n\010gametime\030\002 \001(\005*\205\013\n\021E" + "DotaUserMessages\022\036\n\032DOTA_UM_AddUnitToSel" + "ection\020@\022\027\n\023DOTA_UM_AIDebugLine\020A\022\025\n\021DOT" + "A_UM_ChatEvent\020B\022\037\n\033DOTA_UM_CombatHeroPo" + "sitions\020C\022\031\n\025DOTA_UM_CombatLogData\020D\022\036\n\032" + "DOTA_UM_CombatLogShowDeath\020F\022\"\n\036DOTA_UM_" + "CreateLinearProjectile\020G\022#\n\037DOTA_UM_Dest" + "royLinearProjectile\020H\022$\n DOTA_UM_DodgeTr" + "ackingProjectiles\020I\022\034\n\030DOTA_UM_GlobalLig" + "htColor\020J\022 \n\034DOTA_UM_GlobalLightDirectio" + "n\020K\022\032\n\026DOTA_UM_InvalidCommand\020L\022\030\n\024DOTA_" + "UM_LocationPing\020M\022\023\n\017DOTA_UM_MapLine\020N\022\033" + "\n\027DOTA_UM_MiniKillCamInfo\020O\022\035\n\031DOTA_UM_M" + "inimapDebugPoint\020P\022\030\n\024DOTA_UM_MinimapEve" + "nt\020Q\022\034\n\030DOTA_UM_NevermoreRequiem\020R\022\031\n\025DO" + "TA_UM_OverheadEvent\020S\022\036\n\032DOTA_UM_SetNext" + "AutobuyItem\020T\022\032\n\026DOTA_UM_SharedCooldown\020" + "U\022 \n\034DOTA_UM_SpectatorPlayerClick\020V\022\033\n\027D" + "OTA_UM_TutorialTipInfo\020W\022\025\n\021DOTA_UM_Unit" + "Event\020X\022\033\n\027DOTA_UM_ParticleManager\020Y\022\023\n\017" + "DOTA_UM_BotChat\020Z\022\024\n\020DOTA_UM_HudError\020[\022" + "\031\n\025DOTA_UM_ItemPurchased\020\\\022\020\n\014DOTA_UM_Pi" + "ng\020]\022\025\n\021DOTA_UM_ItemFound\020^\022!\n\035DOTA_UM_C" + "haracterSpeakConcept\020_\022\026\n\022DOTA_UM_SwapVe" + "rify\020`\022\025\n\021DOTA_UM_WorldLine\020a\022\032\n\026DOTA_UM" + "_TournamentDrop\020b\022\025\n\021DOTA_UM_ItemAlert\020c" + "\022\032\n\026DOTA_UM_HalloweenDrops\020d\022\025\n\021DOTA_UM_" + "ChatWheel\020e\022\034\n\030DOTA_UM_ReceivedXmasGift\020" + "f\022\037\n\033DOTA_UM_UpdateSharedContent\020g\022\036\n\032DO" + "TA_UM_TutorialRequestExp\020h\022\037\n\033DOTA_UM_Tu" + "torialPingMinimap\020i\022!\n\035DOTA_UM_Gamerules" + "StateChanged\020j\022\026\n\022DOTA_UM_ShowSurvey\020k\022\030" + "\n\024DOTA_UM_TutorialFade\020l\022\034\n\030DOTA_UM_AddQ" + "uestLogEntry\020m\022\031\n\025DOTA_UM_SendStatPopup\020" + "n\022\032\n\026DOTA_UM_TutorialFinish\020o\022\033\n\027DOTA_UM" + "_SendRoshanPopup\020p\022\036\n\032DOTA_UM_SendGeneri" + "cToolTip\020q*\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*\332\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\022&\n\"DOTA_" + "PARTICLE_MANAGER_EVENT_FROZEN\020\014*\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", 12671); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "dota_usermessages.proto", &protobuf_RegisterTypes); CDOTAUserMsg_AIDebugLine::default_instance_ = new CDOTAUserMsg_AIDebugLine(); @@ -2055,11 +2110,12 @@ void protobuf_AddDesc_dota_5fusermessages_2eproto() { 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_UpdateParticleSetFrozen::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen(); CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance_ = new CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw(); CDOTAUserMsg_OverheadEvent::default_instance_ = new CDOTAUserMsg_OverheadEvent(); CDOTAUserMsg_TutorialTipInfo::default_instance_ = new CDOTAUserMsg_TutorialTipInfo(); CDOTAUserMsg_TutorialFinish::default_instance_ = new CDOTAUserMsg_TutorialFinish(); + CDOTAUserMsg_SendGenericToolTip::default_instance_ = new CDOTAUserMsg_SendGenericToolTip(); CDOTAUserMsg_WorldLine::default_instance_ = new CDOTAUserMsg_WorldLine(); CDOTAUserMsg_TournamentDrop::default_instance_ = new CDOTAUserMsg_TournamentDrop(); CDOTAUserMsg_ChatWheel::default_instance_ = new CDOTAUserMsg_ChatWheel(); @@ -2072,6 +2128,7 @@ void protobuf_AddDesc_dota_5fusermessages_2eproto() { CDOTA_UM_GamerulesStateChanged::default_instance_ = new CDOTA_UM_GamerulesStateChanged(); CDOTAUserMsg_AddQuestLogEntry::default_instance_ = new CDOTAUserMsg_AddQuestLogEntry(); CDOTAUserMsg_SendStatPopup::default_instance_ = new CDOTAUserMsg_SendStatPopup(); + CDOTAUserMsg_SendRoshanPopup::default_instance_ = new CDOTAUserMsg_SendRoshanPopup(); CDOTAUserMsg_AIDebugLine::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_Ping::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_SwapVerify::default_instance_->InitAsDefaultInstance(); @@ -2123,11 +2180,12 @@ void protobuf_AddDesc_dota_5fusermessages_2eproto() { 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_UpdateParticleSetFrozen::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_OverheadEvent::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_TutorialTipInfo::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_TutorialFinish::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_SendGenericToolTip::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_WorldLine::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_TournamentDrop::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_ChatWheel::default_instance_->InitAsDefaultInstance(); @@ -2140,6 +2198,7 @@ void protobuf_AddDesc_dota_5fusermessages_2eproto() { CDOTA_UM_GamerulesStateChanged::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_AddQuestLogEntry::default_instance_->InitAsDefaultInstance(); CDOTAUserMsg_SendStatPopup::default_instance_->InitAsDefaultInstance(); + CDOTAUserMsg_SendRoshanPopup::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_dota_5fusermessages_2eproto); } @@ -2203,6 +2262,8 @@ bool EDotaUserMessages_IsValid(int value) { case 109: case 110: case 111: + case 112: + case 113: return true; default: return false; @@ -2362,6 +2423,7 @@ bool DOTA_PARTICLE_MESSAGE_IsValid(int value) { case 9: case 10: case 11: + case 12: return true; default: return false; @@ -16644,99 +16706,80 @@ void CDOTAUserMsg_ParticleManager_UpdateParticleEnt::Swap(CDOTAUserMsg_ParticleM // ------------------------------------------------------------------- #ifndef _MSC_VER -const int CDOTAUserMsg_ParticleManager_UpdateParticleLatency::kPlayerLatencyFieldNumber; -const int CDOTAUserMsg_ParticleManager_UpdateParticleLatency::kTickFieldNumber; +const int CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::kSetFrozenFieldNumber; #endif // !_MSC_VER -CDOTAUserMsg_ParticleManager_UpdateParticleLatency::CDOTAUserMsg_ParticleManager_UpdateParticleLatency() +CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen() : ::google::protobuf::Message() { SharedCtor(); } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::InitAsDefaultInstance() { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::InitAsDefaultInstance() { } -CDOTAUserMsg_ParticleManager_UpdateParticleLatency::CDOTAUserMsg_ParticleManager_UpdateParticleLatency(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from) +CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SharedCtor() { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::SharedCtor() { _cached_size_ = 0; - player_latency_ = 0; - tick_ = 0; + set_frozen_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } -CDOTAUserMsg_ParticleManager_UpdateParticleLatency::~CDOTAUserMsg_ParticleManager_UpdateParticleLatency() { +CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::~CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen() { SharedDtor(); } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SharedDtor() { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::SharedDtor() { if (this != default_instance_) { } } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SetCachedSize(int size) const { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::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() { +const ::google::protobuf::Descriptor* CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::descriptor() { protobuf_AssignDescriptorsOnce(); - return CDOTAUserMsg_ParticleManager_UpdateParticleLatency_descriptor_; + return CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_descriptor_; } -const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& CDOTAUserMsg_ParticleManager_UpdateParticleLatency::default_instance() { +const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::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_UpdateParticleSetFrozen* CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::default_instance_ = NULL; -CDOTAUserMsg_ParticleManager_UpdateParticleLatency* CDOTAUserMsg_ParticleManager_UpdateParticleLatency::New() const { - return new CDOTAUserMsg_ParticleManager_UpdateParticleLatency; +CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::New() const { + return new CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen; } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::Clear() { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - player_latency_ = 0; - tick_ = 0; + set_frozen_ = false; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } -bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::MergePartialFromCodedStream( +bool CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::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; + // optional bool set_frozen = 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(); + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &set_frozen_))); + set_has_set_frozen(); } else { goto handle_uninterpreted; } @@ -16760,16 +16803,11 @@ bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::MergePartialFromCodedSt #undef DO_ } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SerializeWithCachedSizes( +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::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); + // optional bool set_frozen = 1; + if (has_set_frozen()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->set_frozen(), output); } if (!unknown_fields().empty()) { @@ -16778,16 +16816,11 @@ void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SerializeWithCachedSize } } -::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SerializeWithCachedSizesToArray( +::google::protobuf::uint8* CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::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); + // optional bool set_frozen = 1; + if (has_set_frozen()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->set_frozen(), target); } if (!unknown_fields().empty()) { @@ -16797,22 +16830,13 @@ void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::SerializeWithCachedSize return target; } -int CDOTAUserMsg_ParticleManager_UpdateParticleLatency::ByteSize() const { +int CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::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()); + // optional bool set_frozen = 1; + if (has_set_frozen()) { + total_size += 1 + 1; } } @@ -16827,10 +16851,10 @@ int CDOTAUserMsg_ParticleManager_UpdateParticleLatency::ByteSize() const { return total_size; } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::MergeFrom(const ::google::protobuf::Message& from) { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); - const CDOTAUserMsg_ParticleManager_UpdateParticleLatency* source = - ::google::protobuf::internal::dynamic_cast_if_available( + const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* source = + ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); @@ -16839,51 +16863,47 @@ void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::MergeFrom(const ::googl } } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from) { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& 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()); + if (from.has_set_frozen()) { + set_set_frozen(from.set_frozen()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::CopyFrom(const ::google::protobuf::Message& from) { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from) { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from) { if (&from == this) return; Clear(); MergeFrom(from); } -bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::IsInitialized() const { +bool CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::IsInitialized() const { return true; } -void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleLatency* other) { +void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::Swap(CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* other) { if (other != this) { - std::swap(player_latency_, other->player_latency_); - std::swap(tick_, other->tick_); + std::swap(set_frozen_, other->set_frozen_); 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 { +::google::protobuf::Metadata CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; - metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleLatency_descriptor_; - metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleLatency_reflection_; + metadata.descriptor = CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_descriptor_; + metadata.reflection = CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen_reflection_; return metadata; } @@ -17108,8 +17128,8 @@ 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; +const int CDOTAUserMsg_ParticleManager::kUpdateParticleSetFrozenFieldNumber; #endif // !_MSC_VER CDOTAUserMsg_ParticleManager::CDOTAUserMsg_ParticleManager() @@ -17128,8 +17148,8 @@ void CDOTAUserMsg_ParticleManager::InitAsDefaultInstance() { 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()); + update_particle_set_frozen_ = const_cast< ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen*>(&::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::default_instance()); } CDOTAUserMsg_ParticleManager::CDOTAUserMsg_ParticleManager(const CDOTAUserMsg_ParticleManager& from) @@ -17152,8 +17172,8 @@ void CDOTAUserMsg_ParticleManager::SharedCtor() { update_particle_fallback_ = NULL; update_particle_offset_ = NULL; update_particle_ent_ = NULL; - update_particle_latency_ = NULL; update_particle_should_draw_ = NULL; + update_particle_set_frozen_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -17173,8 +17193,8 @@ void CDOTAUserMsg_ParticleManager::SharedDtor() { delete update_particle_fallback_; delete update_particle_offset_; delete update_particle_ent_; - delete update_particle_latency_; delete update_particle_should_draw_; + delete update_particle_set_frozen_; } } @@ -17234,12 +17254,12 @@ void CDOTAUserMsg_ParticleManager::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(); } + if (has_update_particle_set_frozen()) { + if (update_particle_set_frozen_ != NULL) update_particle_set_frozen_->::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::Clear(); + } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); @@ -17423,20 +17443,6 @@ bool CDOTAUserMsg_ParticleManager::MergePartialFromCodedStream( } 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; } @@ -17451,6 +17457,20 @@ bool CDOTAUserMsg_ParticleManager::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } + if (input->ExpectTag(122)) goto parse_update_particle_set_frozen; + break; + } + + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + case 15: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { + parse_update_particle_set_frozen: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_update_particle_set_frozen())); + } else { + goto handle_uninterpreted; + } if (input->ExpectAtEnd()) return true; break; } @@ -17544,18 +17564,18 @@ void CDOTAUserMsg_ParticleManager::SerializeWithCachedSizes( 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); } + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + if (has_update_particle_set_frozen()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 15, this->update_particle_set_frozen(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -17645,13 +17665,6 @@ void CDOTAUserMsg_ParticleManager::SerializeWithCachedSizes( 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:: @@ -17659,6 +17672,13 @@ void CDOTAUserMsg_ParticleManager::SerializeWithCachedSizes( 14, this->update_particle_should_draw(), target); } + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + if (has_update_particle_set_frozen()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 15, this->update_particle_set_frozen(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -17755,13 +17775,6 @@ int CDOTAUserMsg_ParticleManager::ByteSize() const { 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 + @@ -17769,6 +17782,13 @@ int CDOTAUserMsg_ParticleManager::ByteSize() const { this->update_particle_should_draw()); } + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + if (has_update_particle_set_frozen()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->update_particle_set_frozen()); + } + } if (!unknown_fields().empty()) { total_size += @@ -17834,12 +17854,12 @@ void CDOTAUserMsg_ParticleManager::MergeFrom(const CDOTAUserMsg_ParticleManager& 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()); } + if (from.has_update_particle_set_frozen()) { + mutable_update_particle_set_frozen()->::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::MergeFrom(from.update_particle_set_frozen()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -17876,8 +17896,8 @@ void CDOTAUserMsg_ParticleManager::Swap(CDOTAUserMsg_ParticleManager* other) { 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(update_particle_set_frozen_, other->update_particle_set_frozen_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -18537,6 +18557,7 @@ void CDOTAUserMsg_TutorialTipInfo::Swap(CDOTAUserMsg_TutorialTipInfo* other) { const int CDOTAUserMsg_TutorialFinish::kHeadingFieldNumber; const int CDOTAUserMsg_TutorialFinish::kEmblemFieldNumber; const int CDOTAUserMsg_TutorialFinish::kBodyFieldNumber; +const int CDOTAUserMsg_TutorialFinish::kSuccessFieldNumber; #endif // !_MSC_VER CDOTAUserMsg_TutorialFinish::CDOTAUserMsg_TutorialFinish() @@ -18558,6 +18579,7 @@ void CDOTAUserMsg_TutorialFinish::SharedCtor() { heading_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); emblem_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); body_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + success_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -18616,6 +18638,7 @@ void CDOTAUserMsg_TutorialFinish::Clear() { body_->clear(); } } + success_ = false; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); @@ -18673,6 +18696,22 @@ bool CDOTAUserMsg_TutorialFinish::MergePartialFromCodedStream( } else { goto handle_uninterpreted; } + if (input->ExpectTag(32)) goto parse_success; + break; + } + + // optional bool success = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_success: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &success_))); + set_has_success(); + } else { + goto handle_uninterpreted; + } if (input->ExpectAtEnd()) return true; break; } @@ -18722,6 +18761,11 @@ void CDOTAUserMsg_TutorialFinish::SerializeWithCachedSizes( 3, this->body(), output); } + // optional bool success = 4; + if (has_success()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->success(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -18760,6 +18804,11 @@ void CDOTAUserMsg_TutorialFinish::SerializeWithCachedSizes( 3, this->body(), target); } + // optional bool success = 4; + if (has_success()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->success(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -18792,6 +18841,11 @@ int CDOTAUserMsg_TutorialFinish::ByteSize() const { this->body()); } + // optional bool success = 4; + if (has_success()) { + total_size += 1 + 1; + } + } if (!unknown_fields().empty()) { total_size += @@ -18828,6 +18882,9 @@ void CDOTAUserMsg_TutorialFinish::MergeFrom(const CDOTAUserMsg_TutorialFinish& f if (from.has_body()) { set_body(from.body()); } + if (from.has_success()) { + set_success(from.success()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -18854,6 +18911,7 @@ void CDOTAUserMsg_TutorialFinish::Swap(CDOTAUserMsg_TutorialFinish* other) { std::swap(heading_, other->heading_); std::swap(emblem_, other->emblem_); std::swap(body_, other->body_); + std::swap(success_, other->success_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -18869,6 +18927,365 @@ void CDOTAUserMsg_TutorialFinish::Swap(CDOTAUserMsg_TutorialFinish* other) { } +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_SendGenericToolTip::kTitleFieldNumber; +const int CDOTAUserMsg_SendGenericToolTip::kTextFieldNumber; +const int CDOTAUserMsg_SendGenericToolTip::kEntindexFieldNumber; +const int CDOTAUserMsg_SendGenericToolTip::kCloseFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_SendGenericToolTip::CDOTAUserMsg_SendGenericToolTip() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_SendGenericToolTip::InitAsDefaultInstance() { +} + +CDOTAUserMsg_SendGenericToolTip::CDOTAUserMsg_SendGenericToolTip(const CDOTAUserMsg_SendGenericToolTip& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_SendGenericToolTip::SharedCtor() { + _cached_size_ = 0; + title_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + entindex_ = 0; + close_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_SendGenericToolTip::~CDOTAUserMsg_SendGenericToolTip() { + SharedDtor(); +} + +void CDOTAUserMsg_SendGenericToolTip::SharedDtor() { + if (title_ != &::google::protobuf::internal::kEmptyString) { + delete title_; + } + if (text_ != &::google::protobuf::internal::kEmptyString) { + delete text_; + } + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_SendGenericToolTip::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_SendGenericToolTip::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_SendGenericToolTip_descriptor_; +} + +const CDOTAUserMsg_SendGenericToolTip& CDOTAUserMsg_SendGenericToolTip::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_SendGenericToolTip* CDOTAUserMsg_SendGenericToolTip::default_instance_ = NULL; + +CDOTAUserMsg_SendGenericToolTip* CDOTAUserMsg_SendGenericToolTip::New() const { + return new CDOTAUserMsg_SendGenericToolTip; +} + +void CDOTAUserMsg_SendGenericToolTip::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (has_title()) { + if (title_ != &::google::protobuf::internal::kEmptyString) { + title_->clear(); + } + } + if (has_text()) { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + } + entindex_ = 0; + close_ = false; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_SendGenericToolTip::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 title = 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_title())); + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->title().data(), this->title().length(), + ::google::protobuf::internal::WireFormat::PARSE); + } 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_entindex; + break; + } + + // optional int32 entindex = 3; + case 3: { + 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(32)) goto parse_close; + break; + } + + // optional bool close = 4; + case 4: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_close: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &close_))); + set_has_close(); + } 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_SendGenericToolTip::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional string title = 1; + if (has_title()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->title().data(), this->title().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->title(), 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 int32 entindex = 3; + if (has_entindex()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->entindex(), output); + } + + // optional bool close = 4; + if (has_close()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->close(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_SendGenericToolTip::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional string title = 1; + if (has_title()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8String( + this->title().data(), this->title().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->title(), 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 int32 entindex = 3; + if (has_entindex()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->entindex(), target); + } + + // optional bool close = 4; + if (has_close()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->close(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_SendGenericToolTip::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string title = 1; + if (has_title()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->title()); + } + + // optional string text = 2; + if (has_text()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->text()); + } + + // optional int32 entindex = 3; + if (has_entindex()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->entindex()); + } + + // optional bool close = 4; + if (has_close()) { + 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_SendGenericToolTip::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_SendGenericToolTip* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_SendGenericToolTip::MergeFrom(const CDOTAUserMsg_SendGenericToolTip& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_title()) { + set_title(from.title()); + } + if (from.has_text()) { + set_text(from.text()); + } + if (from.has_entindex()) { + set_entindex(from.entindex()); + } + if (from.has_close()) { + set_close(from.close()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_SendGenericToolTip::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_SendGenericToolTip::CopyFrom(const CDOTAUserMsg_SendGenericToolTip& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_SendGenericToolTip::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_SendGenericToolTip::Swap(CDOTAUserMsg_SendGenericToolTip* other) { + if (other != this) { + std::swap(title_, other->title_); + std::swap(text_, other->text_); + std::swap(entindex_, other->entindex_); + std::swap(close_, other->close_); + 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_SendGenericToolTip::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_SendGenericToolTip_descriptor_; + metadata.reflection = CDOTAUserMsg_SendGenericToolTip_reflection_; + return metadata; +} + + // =================================================================== #ifndef _MSC_VER @@ -21937,6 +22354,251 @@ void CDOTAUserMsg_SendStatPopup::Swap(CDOTAUserMsg_SendStatPopup* other) { } +// =================================================================== + +#ifndef _MSC_VER +const int CDOTAUserMsg_SendRoshanPopup::kReclaimedFieldNumber; +const int CDOTAUserMsg_SendRoshanPopup::kGametimeFieldNumber; +#endif // !_MSC_VER + +CDOTAUserMsg_SendRoshanPopup::CDOTAUserMsg_SendRoshanPopup() + : ::google::protobuf::Message() { + SharedCtor(); +} + +void CDOTAUserMsg_SendRoshanPopup::InitAsDefaultInstance() { +} + +CDOTAUserMsg_SendRoshanPopup::CDOTAUserMsg_SendRoshanPopup(const CDOTAUserMsg_SendRoshanPopup& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); +} + +void CDOTAUserMsg_SendRoshanPopup::SharedCtor() { + _cached_size_ = 0; + reclaimed_ = false; + gametime_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CDOTAUserMsg_SendRoshanPopup::~CDOTAUserMsg_SendRoshanPopup() { + SharedDtor(); +} + +void CDOTAUserMsg_SendRoshanPopup::SharedDtor() { + if (this != default_instance_) { + } +} + +void CDOTAUserMsg_SendRoshanPopup::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CDOTAUserMsg_SendRoshanPopup::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CDOTAUserMsg_SendRoshanPopup_descriptor_; +} + +const CDOTAUserMsg_SendRoshanPopup& CDOTAUserMsg_SendRoshanPopup::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_dota_5fusermessages_2eproto(); return *default_instance_; +} + +CDOTAUserMsg_SendRoshanPopup* CDOTAUserMsg_SendRoshanPopup::default_instance_ = NULL; + +CDOTAUserMsg_SendRoshanPopup* CDOTAUserMsg_SendRoshanPopup::New() const { + return new CDOTAUserMsg_SendRoshanPopup; +} + +void CDOTAUserMsg_SendRoshanPopup::Clear() { + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + reclaimed_ = false; + gametime_ = 0; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CDOTAUserMsg_SendRoshanPopup::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 reclaimed = 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, &reclaimed_))); + set_has_reclaimed(); + } else { + goto handle_uninterpreted; + } + if (input->ExpectTag(16)) goto parse_gametime; + break; + } + + // optional int32 gametime = 2; + case 2: { + if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { + parse_gametime: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &gametime_))); + set_has_gametime(); + } 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_SendRoshanPopup::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // optional bool reclaimed = 1; + if (has_reclaimed()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->reclaimed(), output); + } + + // optional int32 gametime = 2; + if (has_gametime()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->gametime(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } +} + +::google::protobuf::uint8* CDOTAUserMsg_SendRoshanPopup::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // optional bool reclaimed = 1; + if (has_reclaimed()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->reclaimed(), target); + } + + // optional int32 gametime = 2; + if (has_gametime()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->gametime(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + return target; +} + +int CDOTAUserMsg_SendRoshanPopup::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool reclaimed = 1; + if (has_reclaimed()) { + total_size += 1 + 1; + } + + // optional int32 gametime = 2; + if (has_gametime()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->gametime()); + } + + } + 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_SendRoshanPopup::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CDOTAUserMsg_SendRoshanPopup* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CDOTAUserMsg_SendRoshanPopup::MergeFrom(const CDOTAUserMsg_SendRoshanPopup& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_reclaimed()) { + set_reclaimed(from.reclaimed()); + } + if (from.has_gametime()) { + set_gametime(from.gametime()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CDOTAUserMsg_SendRoshanPopup::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CDOTAUserMsg_SendRoshanPopup::CopyFrom(const CDOTAUserMsg_SendRoshanPopup& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CDOTAUserMsg_SendRoshanPopup::IsInitialized() const { + + return true; +} + +void CDOTAUserMsg_SendRoshanPopup::Swap(CDOTAUserMsg_SendRoshanPopup* other) { + if (other != this) { + std::swap(reclaimed_, other->reclaimed_); + std::swap(gametime_, other->gametime_); + 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_SendRoshanPopup::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CDOTAUserMsg_SendRoshanPopup_descriptor_; + metadata.reflection = CDOTAUserMsg_SendRoshanPopup_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 index f0cd68e3..46140e5b 100644 --- a/public/game/shared/dota/protobuf/dota_usermessages.pb.h +++ b/public/game/shared/dota/protobuf/dota_usermessages.pb.h @@ -24,7 +24,7 @@ #include #include #include "google/protobuf/descriptor.pb.h" -#include "netmessages.pb.h" +#include "networkbasetypes.pb.h" #include "ai_activity.pb.h" #include "dota_commonmessages.pb.h" // @@protoc_insertion_point(includes) @@ -85,11 +85,12 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleOrient; class CDOTAUserMsg_ParticleManager_UpdateParticleFallback; class CDOTAUserMsg_ParticleManager_UpdateParticleOffset; class CDOTAUserMsg_ParticleManager_UpdateParticleEnt; -class CDOTAUserMsg_ParticleManager_UpdateParticleLatency; +class CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen; class CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw; class CDOTAUserMsg_OverheadEvent; class CDOTAUserMsg_TutorialTipInfo; class CDOTAUserMsg_TutorialFinish; +class CDOTAUserMsg_SendGenericToolTip; class CDOTAUserMsg_WorldLine; class CDOTAUserMsg_TournamentDrop; class CDOTAUserMsg_ChatWheel; @@ -102,6 +103,7 @@ class CDOTAUserMsg_TutorialPingMinimap; class CDOTA_UM_GamerulesStateChanged; class CDOTAUserMsg_AddQuestLogEntry; class CDOTAUserMsg_SendStatPopup; +class CDOTAUserMsg_SendRoshanPopup; enum CDOTAResponseQuerySerialized_Fact_ValueType { CDOTAResponseQuerySerialized_Fact_ValueType_NUMERIC = 1, @@ -169,11 +171,13 @@ enum EDotaUserMessages { DOTA_UM_TutorialFade = 108, DOTA_UM_AddQuestLogEntry = 109, DOTA_UM_SendStatPopup = 110, - DOTA_UM_TutorialFinish = 111 + DOTA_UM_TutorialFinish = 111, + DOTA_UM_SendRoshanPopup = 112, + DOTA_UM_SendGenericToolTip = 113 }; bool EDotaUserMessages_IsValid(int value); const EDotaUserMessages EDotaUserMessages_MIN = DOTA_UM_AddUnitToSelection; -const EDotaUserMessages EDotaUserMessages_MAX = DOTA_UM_TutorialFinish; +const EDotaUserMessages EDotaUserMessages_MAX = DOTA_UM_SendGenericToolTip; const int EDotaUserMessages_ARRAYSIZE = EDotaUserMessages_MAX + 1; const ::google::protobuf::EnumDescriptor* EDotaUserMessages_descriptor(); @@ -358,11 +362,12 @@ enum DOTA_PARTICLE_MESSAGE { DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8, DOTA_PARTICLE_MANAGER_EVENT_RELEASE = 9, DOTA_PARTICLE_MANAGER_EVENT_LATENCY = 10, - DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11 + DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11, + DOTA_PARTICLE_MANAGER_EVENT_FROZEN = 12 }; bool DOTA_PARTICLE_MESSAGE_IsValid(int value); const DOTA_PARTICLE_MESSAGE DOTA_PARTICLE_MESSAGE_MIN = DOTA_PARTICLE_MANAGER_EVENT_CREATE; -const DOTA_PARTICLE_MESSAGE DOTA_PARTICLE_MESSAGE_MAX = DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW; +const DOTA_PARTICLE_MESSAGE DOTA_PARTICLE_MESSAGE_MAX = DOTA_PARTICLE_MANAGER_EVENT_FROZEN; const int DOTA_PARTICLE_MESSAGE_ARRAYSIZE = DOTA_PARTICLE_MESSAGE_MAX + 1; const ::google::protobuf::EnumDescriptor* DOTA_PARTICLE_MESSAGE_descriptor(); @@ -5514,14 +5519,14 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleEnt : public ::google::protobuf }; // ------------------------------------------------------------------- -class CDOTAUserMsg_ParticleManager_UpdateParticleLatency : public ::google::protobuf::Message { +class CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen : public ::google::protobuf::Message { public: - CDOTAUserMsg_ParticleManager_UpdateParticleLatency(); - virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleLatency(); + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen(); + virtual ~CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen(); - CDOTAUserMsg_ParticleManager_UpdateParticleLatency(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from); + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from); - inline CDOTAUserMsg_ParticleManager_UpdateParticleLatency& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from) { + inline CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& operator=(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from) { CopyFrom(from); return *this; } @@ -5535,17 +5540,17 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleLatency : public ::google::prot } static const ::google::protobuf::Descriptor* descriptor(); - static const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& default_instance(); + static const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& default_instance(); - void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleLatency* other); + void Swap(CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* other); // implements Message ---------------------------------------------- - CDOTAUserMsg_ParticleManager_UpdateParticleLatency* New() const; + CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* New() const; void CopyFrom(const ::google::protobuf::Message& from); void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from); - void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleLatency& from); + void CopyFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from); + void MergeFrom(const CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& from); void Clear(); bool IsInitialized() const; @@ -5568,41 +5573,31 @@ class CDOTAUserMsg_ParticleManager_UpdateParticleLatency : public ::google::prot // accessors ------------------------------------------------------- - // optional int32 player_latency = 1; - inline bool has_player_latency() const; - inline void clear_player_latency(); - static const int kPlayerLatencyFieldNumber = 1; - inline ::google::protobuf::int32 player_latency() const; - inline void set_player_latency(::google::protobuf::int32 value); + // optional bool set_frozen = 1; + inline bool has_set_frozen() const; + inline void clear_set_frozen(); + static const int kSetFrozenFieldNumber = 1; + inline bool set_frozen() const; + inline void set_set_frozen(bool value); - // optional int32 tick = 2; - inline bool has_tick() const; - inline void clear_tick(); - static const int kTickFieldNumber = 2; - inline ::google::protobuf::int32 tick() const; - inline void set_tick(::google::protobuf::int32 value); - - // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleLatency) + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen) private: - inline void set_has_player_latency(); - inline void clear_has_player_latency(); - inline void set_has_tick(); - inline void clear_has_tick(); + inline void set_has_set_frozen(); + inline void clear_has_set_frozen(); ::google::protobuf::UnknownFieldSet _unknown_fields_; - ::google::protobuf::int32 player_latency_; - ::google::protobuf::int32 tick_; + bool set_frozen_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; friend void protobuf_AddDesc_dota_5fusermessages_2eproto(); friend void protobuf_AssignDesc_dota_5fusermessages_2eproto(); friend void protobuf_ShutdownFile_dota_5fusermessages_2eproto(); void InitAsDefaultInstance(); - static CDOTAUserMsg_ParticleManager_UpdateParticleLatency* default_instance_; + static CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* default_instance_; }; // ------------------------------------------------------------------- @@ -5750,7 +5745,7 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message { typedef CDOTAUserMsg_ParticleManager_UpdateParticleFallback UpdateParticleFallback; typedef CDOTAUserMsg_ParticleManager_UpdateParticleOffset UpdateParticleOffset; typedef CDOTAUserMsg_ParticleManager_UpdateParticleEnt UpdateParticleEnt; - typedef CDOTAUserMsg_ParticleManager_UpdateParticleLatency UpdateParticleLatency; + typedef CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen UpdateParticleSetFrozen; typedef CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw UpdateParticleShouldDraw; // accessors ------------------------------------------------------- @@ -5849,14 +5844,6 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message { inline ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* mutable_update_particle_ent(); inline ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* release_update_particle_ent(); - // optional .CDOTAUserMsg_ParticleManager.UpdateParticleLatency update_particle_latency = 13; - inline bool has_update_particle_latency() const; - inline void clear_update_particle_latency(); - static const int kUpdateParticleLatencyFieldNumber = 13; - inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency& update_particle_latency() const; - inline ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* mutable_update_particle_latency(); - inline ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* release_update_particle_latency(); - // optional .CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; inline bool has_update_particle_should_draw() const; inline void clear_update_particle_should_draw(); @@ -5865,6 +5852,14 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message { inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* mutable_update_particle_should_draw(); inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* release_update_particle_should_draw(); + // optional .CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; + inline bool has_update_particle_set_frozen() const; + inline void clear_update_particle_set_frozen(); + static const int kUpdateParticleSetFrozenFieldNumber = 15; + inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& update_particle_set_frozen() const; + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* mutable_update_particle_set_frozen(); + inline ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* release_update_particle_set_frozen(); + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_ParticleManager) private: inline void set_has_type(); @@ -5891,10 +5886,10 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message { inline void clear_has_update_particle_offset(); inline void set_has_update_particle_ent(); inline void clear_has_update_particle_ent(); - inline void set_has_update_particle_latency(); - inline void clear_has_update_particle_latency(); inline void set_has_update_particle_should_draw(); inline void clear_has_update_particle_should_draw(); + inline void set_has_update_particle_set_frozen(); + inline void clear_has_update_particle_set_frozen(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -5910,8 +5905,8 @@ class CDOTAUserMsg_ParticleManager : public ::google::protobuf::Message { ::CDOTAUserMsg_ParticleManager_UpdateParticleFallback* update_particle_fallback_; ::CDOTAUserMsg_ParticleManager_UpdateParticleOffset* update_particle_offset_; ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* update_particle_ent_; - ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* update_particle_latency_; ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* update_particle_should_draw_; + ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* update_particle_set_frozen_; mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(14 + 31) / 32]; @@ -6230,6 +6225,13 @@ class CDOTAUserMsg_TutorialFinish : public ::google::protobuf::Message { inline ::std::string* mutable_body(); inline ::std::string* release_body(); + // optional bool success = 4; + inline bool has_success() const; + inline void clear_success(); + static const int kSuccessFieldNumber = 4; + inline bool success() const; + inline void set_success(bool value); + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_TutorialFinish) private: inline void set_has_heading(); @@ -6238,15 +6240,18 @@ class CDOTAUserMsg_TutorialFinish : public ::google::protobuf::Message { inline void clear_has_emblem(); inline void set_has_body(); inline void clear_has_body(); + inline void set_has_success(); + inline void clear_has_success(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::std::string* heading_; ::std::string* emblem_; ::std::string* body_; + bool success_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; friend void protobuf_AddDesc_dota_5fusermessages_2eproto(); friend void protobuf_AssignDesc_dota_5fusermessages_2eproto(); @@ -6257,6 +6262,126 @@ class CDOTAUserMsg_TutorialFinish : public ::google::protobuf::Message { }; // ------------------------------------------------------------------- +class CDOTAUserMsg_SendGenericToolTip : public ::google::protobuf::Message { + public: + CDOTAUserMsg_SendGenericToolTip(); + virtual ~CDOTAUserMsg_SendGenericToolTip(); + + CDOTAUserMsg_SendGenericToolTip(const CDOTAUserMsg_SendGenericToolTip& from); + + inline CDOTAUserMsg_SendGenericToolTip& operator=(const CDOTAUserMsg_SendGenericToolTip& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CDOTAUserMsg_SendGenericToolTip& default_instance(); + + void Swap(CDOTAUserMsg_SendGenericToolTip* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_SendGenericToolTip* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_SendGenericToolTip& from); + void MergeFrom(const CDOTAUserMsg_SendGenericToolTip& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string title = 1; + inline bool has_title() const; + inline void clear_title(); + static const int kTitleFieldNumber = 1; + inline const ::std::string& title() const; + inline void set_title(const ::std::string& value); + inline void set_title(const char* value); + inline void set_title(const char* value, size_t size); + inline ::std::string* mutable_title(); + inline ::std::string* release_title(); + + // optional string text = 2; + inline bool has_text() const; + inline void clear_text(); + static const int kTextFieldNumber = 2; + inline const ::std::string& text() const; + inline void set_text(const ::std::string& value); + inline void set_text(const char* value); + inline void set_text(const char* value, size_t size); + inline ::std::string* mutable_text(); + inline ::std::string* release_text(); + + // optional int32 entindex = 3; + inline bool has_entindex() const; + inline void clear_entindex(); + static const int kEntindexFieldNumber = 3; + inline ::google::protobuf::int32 entindex() const; + inline void set_entindex(::google::protobuf::int32 value); + + // optional bool close = 4; + inline bool has_close() const; + inline void clear_close(); + static const int kCloseFieldNumber = 4; + inline bool close() const; + inline void set_close(bool value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_SendGenericToolTip) + private: + inline void set_has_title(); + inline void clear_has_title(); + inline void set_has_text(); + inline void clear_has_text(); + inline void set_has_entindex(); + inline void clear_has_entindex(); + inline void set_has_close(); + inline void clear_has_close(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::std::string* title_; + ::std::string* text_; + ::google::protobuf::int32 entindex_; + bool close_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; + + friend void protobuf_AddDesc_dota_5fusermessages_2eproto(); + friend void protobuf_AssignDesc_dota_5fusermessages_2eproto(); + friend void protobuf_ShutdownFile_dota_5fusermessages_2eproto(); + + void InitAsDefaultInstance(); + static CDOTAUserMsg_SendGenericToolTip* default_instance_; +}; +// ------------------------------------------------------------------- + class CDOTAUserMsg_WorldLine : public ::google::protobuf::Message { public: CDOTAUserMsg_WorldLine(); @@ -7387,6 +7512,98 @@ class CDOTAUserMsg_SendStatPopup : public ::google::protobuf::Message { void InitAsDefaultInstance(); static CDOTAUserMsg_SendStatPopup* default_instance_; }; +// ------------------------------------------------------------------- + +class CDOTAUserMsg_SendRoshanPopup : public ::google::protobuf::Message { + public: + CDOTAUserMsg_SendRoshanPopup(); + virtual ~CDOTAUserMsg_SendRoshanPopup(); + + CDOTAUserMsg_SendRoshanPopup(const CDOTAUserMsg_SendRoshanPopup& from); + + inline CDOTAUserMsg_SendRoshanPopup& operator=(const CDOTAUserMsg_SendRoshanPopup& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CDOTAUserMsg_SendRoshanPopup& default_instance(); + + void Swap(CDOTAUserMsg_SendRoshanPopup* other); + + // implements Message ---------------------------------------------- + + CDOTAUserMsg_SendRoshanPopup* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CDOTAUserMsg_SendRoshanPopup& from); + void MergeFrom(const CDOTAUserMsg_SendRoshanPopup& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bool reclaimed = 1; + inline bool has_reclaimed() const; + inline void clear_reclaimed(); + static const int kReclaimedFieldNumber = 1; + inline bool reclaimed() const; + inline void set_reclaimed(bool value); + + // optional int32 gametime = 2; + inline bool has_gametime() const; + inline void clear_gametime(); + static const int kGametimeFieldNumber = 2; + inline ::google::protobuf::int32 gametime() const; + inline void set_gametime(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CDOTAUserMsg_SendRoshanPopup) + private: + inline void set_has_reclaimed(); + inline void clear_has_reclaimed(); + inline void set_has_gametime(); + inline void clear_has_gametime(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + bool reclaimed_; + ::google::protobuf::int32 gametime_; + + mutable int _cached_size_; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + + friend void protobuf_AddDesc_dota_5fusermessages_2eproto(); + friend void protobuf_AssignDesc_dota_5fusermessages_2eproto(); + friend void protobuf_ShutdownFile_dota_5fusermessages_2eproto(); + + void InitAsDefaultInstance(); + static CDOTAUserMsg_SendRoshanPopup* default_instance_; +}; // =================================================================== @@ -11207,50 +11424,28 @@ inline ::CMsgVector* CDOTAUserMsg_ParticleManager_UpdateParticleEnt::release_fal // ------------------------------------------------------------------- -// CDOTAUserMsg_ParticleManager_UpdateParticleLatency +// CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen -// optional int32 player_latency = 1; -inline bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::has_player_latency() const { +// optional bool set_frozen = 1; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::has_set_frozen() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_has_player_latency() { +inline void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::set_has_set_frozen() { _has_bits_[0] |= 0x00000001u; } -inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_has_player_latency() { +inline void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::clear_has_set_frozen() { _has_bits_[0] &= ~0x00000001u; } -inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_player_latency() { - player_latency_ = 0; - clear_has_player_latency(); +inline void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::clear_set_frozen() { + set_frozen_ = false; + clear_has_set_frozen(); } -inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleLatency::player_latency() const { - return player_latency_; +inline bool CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::set_frozen() const { + return set_frozen_; } -inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_player_latency(::google::protobuf::int32 value) { - set_has_player_latency(); - player_latency_ = value; -} - -// optional int32 tick = 2; -inline bool CDOTAUserMsg_ParticleManager_UpdateParticleLatency::has_tick() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_has_tick() { - _has_bits_[0] |= 0x00000002u; -} -inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_has_tick() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::clear_tick() { - tick_ = 0; - clear_has_tick(); -} -inline ::google::protobuf::int32 CDOTAUserMsg_ParticleManager_UpdateParticleLatency::tick() const { - return tick_; -} -inline void CDOTAUserMsg_ParticleManager_UpdateParticleLatency::set_tick(::google::protobuf::int32 value) { - set_has_tick(); - tick_ = value; +inline void CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::set_set_frozen(bool value) { + set_has_set_frozen(); + set_frozen_ = value; } // ------------------------------------------------------------------- @@ -11618,44 +11813,15 @@ inline ::CDOTAUserMsg_ParticleManager_UpdateParticleEnt* CDOTAUserMsg_ParticleMa return temp; } -// optional .CDOTAUserMsg_ParticleManager.UpdateParticleLatency update_particle_latency = 13; -inline bool CDOTAUserMsg_ParticleManager::has_update_particle_latency() const { - return (_has_bits_[0] & 0x00001000u) != 0; -} -inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_latency() { - _has_bits_[0] |= 0x00001000u; -} -inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_latency() { - _has_bits_[0] &= ~0x00001000u; -} -inline void CDOTAUserMsg_ParticleManager::clear_update_particle_latency() { - if (update_particle_latency_ != NULL) update_particle_latency_->::CDOTAUserMsg_ParticleManager_UpdateParticleLatency::Clear(); - clear_has_update_particle_latency(); -} -inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency& CDOTAUserMsg_ParticleManager::update_particle_latency() const { - return update_particle_latency_ != NULL ? *update_particle_latency_ : *default_instance_->update_particle_latency_; -} -inline ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* CDOTAUserMsg_ParticleManager::mutable_update_particle_latency() { - set_has_update_particle_latency(); - if (update_particle_latency_ == NULL) update_particle_latency_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency; - return update_particle_latency_; -} -inline ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* CDOTAUserMsg_ParticleManager::release_update_particle_latency() { - clear_has_update_particle_latency(); - ::CDOTAUserMsg_ParticleManager_UpdateParticleLatency* temp = update_particle_latency_; - update_particle_latency_ = NULL; - return temp; -} - // optional .CDOTAUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14; inline bool CDOTAUserMsg_ParticleManager::has_update_particle_should_draw() const { - return (_has_bits_[0] & 0x00002000u) != 0; + return (_has_bits_[0] & 0x00001000u) != 0; } inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_should_draw() { - _has_bits_[0] |= 0x00002000u; + _has_bits_[0] |= 0x00001000u; } inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_should_draw() { - _has_bits_[0] &= ~0x00002000u; + _has_bits_[0] &= ~0x00001000u; } inline void CDOTAUserMsg_ParticleManager::clear_update_particle_should_draw() { if (update_particle_should_draw_ != NULL) update_particle_should_draw_->::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw::Clear(); @@ -11676,6 +11842,35 @@ inline ::CDOTAUserMsg_ParticleManager_UpdateParticleShouldDraw* CDOTAUserMsg_Par return temp; } +// optional .CDOTAUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15; +inline bool CDOTAUserMsg_ParticleManager::has_update_particle_set_frozen() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void CDOTAUserMsg_ParticleManager::set_has_update_particle_set_frozen() { + _has_bits_[0] |= 0x00002000u; +} +inline void CDOTAUserMsg_ParticleManager::clear_has_update_particle_set_frozen() { + _has_bits_[0] &= ~0x00002000u; +} +inline void CDOTAUserMsg_ParticleManager::clear_update_particle_set_frozen() { + if (update_particle_set_frozen_ != NULL) update_particle_set_frozen_->::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen::Clear(); + clear_has_update_particle_set_frozen(); +} +inline const ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen& CDOTAUserMsg_ParticleManager::update_particle_set_frozen() const { + return update_particle_set_frozen_ != NULL ? *update_particle_set_frozen_ : *default_instance_->update_particle_set_frozen_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* CDOTAUserMsg_ParticleManager::mutable_update_particle_set_frozen() { + set_has_update_particle_set_frozen(); + if (update_particle_set_frozen_ == NULL) update_particle_set_frozen_ = new ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen; + return update_particle_set_frozen_; +} +inline ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* CDOTAUserMsg_ParticleManager::release_update_particle_set_frozen() { + clear_has_update_particle_set_frozen(); + ::CDOTAUserMsg_ParticleManager_UpdateParticleSetFrozen* temp = update_particle_set_frozen_; + update_particle_set_frozen_ = NULL; + return temp; +} + // ------------------------------------------------------------------- // CDOTAUserMsg_OverheadEvent @@ -12053,6 +12248,192 @@ inline ::std::string* CDOTAUserMsg_TutorialFinish::release_body() { } } +// optional bool success = 4; +inline bool CDOTAUserMsg_TutorialFinish::has_success() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_TutorialFinish::set_has_success() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_TutorialFinish::clear_has_success() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_TutorialFinish::clear_success() { + success_ = false; + clear_has_success(); +} +inline bool CDOTAUserMsg_TutorialFinish::success() const { + return success_; +} +inline void CDOTAUserMsg_TutorialFinish::set_success(bool value) { + set_has_success(); + success_ = value; +} + +// ------------------------------------------------------------------- + +// CDOTAUserMsg_SendGenericToolTip + +// optional string title = 1; +inline bool CDOTAUserMsg_SendGenericToolTip::has_title() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_SendGenericToolTip::set_has_title() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_SendGenericToolTip::clear_has_title() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_SendGenericToolTip::clear_title() { + if (title_ != &::google::protobuf::internal::kEmptyString) { + title_->clear(); + } + clear_has_title(); +} +inline const ::std::string& CDOTAUserMsg_SendGenericToolTip::title() const { + return *title_; +} +inline void CDOTAUserMsg_SendGenericToolTip::set_title(const ::std::string& value) { + set_has_title(); + if (title_ == &::google::protobuf::internal::kEmptyString) { + title_ = new ::std::string; + } + title_->assign(value); +} +inline void CDOTAUserMsg_SendGenericToolTip::set_title(const char* value) { + set_has_title(); + if (title_ == &::google::protobuf::internal::kEmptyString) { + title_ = new ::std::string; + } + title_->assign(value); +} +inline void CDOTAUserMsg_SendGenericToolTip::set_title(const char* value, size_t size) { + set_has_title(); + if (title_ == &::google::protobuf::internal::kEmptyString) { + title_ = new ::std::string; + } + title_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_SendGenericToolTip::mutable_title() { + set_has_title(); + if (title_ == &::google::protobuf::internal::kEmptyString) { + title_ = new ::std::string; + } + return title_; +} +inline ::std::string* CDOTAUserMsg_SendGenericToolTip::release_title() { + clear_has_title(); + if (title_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = title_; + title_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional string text = 2; +inline bool CDOTAUserMsg_SendGenericToolTip::has_text() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_SendGenericToolTip::set_has_text() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_SendGenericToolTip::clear_has_text() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_SendGenericToolTip::clear_text() { + if (text_ != &::google::protobuf::internal::kEmptyString) { + text_->clear(); + } + clear_has_text(); +} +inline const ::std::string& CDOTAUserMsg_SendGenericToolTip::text() const { + return *text_; +} +inline void CDOTAUserMsg_SendGenericToolTip::set_text(const ::std::string& value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CDOTAUserMsg_SendGenericToolTip::set_text(const char* value) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(value); +} +inline void CDOTAUserMsg_SendGenericToolTip::set_text(const char* value, size_t size) { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + text_->assign(reinterpret_cast(value), size); +} +inline ::std::string* CDOTAUserMsg_SendGenericToolTip::mutable_text() { + set_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + text_ = new ::std::string; + } + return text_; +} +inline ::std::string* CDOTAUserMsg_SendGenericToolTip::release_text() { + clear_has_text(); + if (text_ == &::google::protobuf::internal::kEmptyString) { + return NULL; + } else { + ::std::string* temp = text_; + text_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + return temp; + } +} + +// optional int32 entindex = 3; +inline bool CDOTAUserMsg_SendGenericToolTip::has_entindex() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CDOTAUserMsg_SendGenericToolTip::set_has_entindex() { + _has_bits_[0] |= 0x00000004u; +} +inline void CDOTAUserMsg_SendGenericToolTip::clear_has_entindex() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CDOTAUserMsg_SendGenericToolTip::clear_entindex() { + entindex_ = 0; + clear_has_entindex(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_SendGenericToolTip::entindex() const { + return entindex_; +} +inline void CDOTAUserMsg_SendGenericToolTip::set_entindex(::google::protobuf::int32 value) { + set_has_entindex(); + entindex_ = value; +} + +// optional bool close = 4; +inline bool CDOTAUserMsg_SendGenericToolTip::has_close() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CDOTAUserMsg_SendGenericToolTip::set_has_close() { + _has_bits_[0] |= 0x00000008u; +} +inline void CDOTAUserMsg_SendGenericToolTip::clear_has_close() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CDOTAUserMsg_SendGenericToolTip::clear_close() { + close_ = false; + clear_has_close(); +} +inline bool CDOTAUserMsg_SendGenericToolTip::close() const { + return close_; +} +inline void CDOTAUserMsg_SendGenericToolTip::set_close(bool value) { + set_has_close(); + close_ = value; +} + // ------------------------------------------------------------------- // CDOTAUserMsg_WorldLine @@ -12810,6 +13191,54 @@ inline ::CDOTAMsg_SendStatPopup* CDOTAUserMsg_SendStatPopup::release_statpopup() return temp; } +// ------------------------------------------------------------------- + +// CDOTAUserMsg_SendRoshanPopup + +// optional bool reclaimed = 1; +inline bool CDOTAUserMsg_SendRoshanPopup::has_reclaimed() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CDOTAUserMsg_SendRoshanPopup::set_has_reclaimed() { + _has_bits_[0] |= 0x00000001u; +} +inline void CDOTAUserMsg_SendRoshanPopup::clear_has_reclaimed() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CDOTAUserMsg_SendRoshanPopup::clear_reclaimed() { + reclaimed_ = false; + clear_has_reclaimed(); +} +inline bool CDOTAUserMsg_SendRoshanPopup::reclaimed() const { + return reclaimed_; +} +inline void CDOTAUserMsg_SendRoshanPopup::set_reclaimed(bool value) { + set_has_reclaimed(); + reclaimed_ = value; +} + +// optional int32 gametime = 2; +inline bool CDOTAUserMsg_SendRoshanPopup::has_gametime() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CDOTAUserMsg_SendRoshanPopup::set_has_gametime() { + _has_bits_[0] |= 0x00000002u; +} +inline void CDOTAUserMsg_SendRoshanPopup::clear_has_gametime() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CDOTAUserMsg_SendRoshanPopup::clear_gametime() { + gametime_ = 0; + clear_has_gametime(); +} +inline ::google::protobuf::int32 CDOTAUserMsg_SendRoshanPopup::gametime() const { + return gametime_; +} +inline void CDOTAUserMsg_SendRoshanPopup::set_gametime(::google::protobuf::int32 value) { + set_has_gametime(); + gametime_ = value; +} + // @@protoc_insertion_point(namespace_scope) diff --git a/public/game/shared/dota/protobuf/dota_usermessages.proto b/public/game/shared/dota/protobuf/dota_usermessages.proto index 2bac197b..07f90641 100644 --- a/public/game/shared/dota/protobuf/dota_usermessages.proto +++ b/public/game/shared/dota/protobuf/dota_usermessages.proto @@ -59,7 +59,7 @@ option cc_generic_services = false; import "google/protobuf/descriptor.proto"; // for CMsgVector, etc. -import "netmessages.proto"; +import "networkbasetypes.proto"; // for Activity import "ai_activity.proto"; @@ -120,6 +120,8 @@ enum EDotaUserMessages DOTA_UM_AddQuestLogEntry = 109; DOTA_UM_SendStatPopup = 110; DOTA_UM_TutorialFinish = 111; + DOTA_UM_SendRoshanPopup = 112; + DOTA_UM_SendGenericToolTip = 113; } //============================================================================= @@ -523,7 +525,8 @@ enum DOTA_PARTICLE_MESSAGE DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8; DOTA_PARTICLE_MANAGER_EVENT_RELEASE = 9; DOTA_PARTICLE_MANAGER_EVENT_LATENCY = 10; - DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11; + DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11; + DOTA_PARTICLE_MANAGER_EVENT_FROZEN = 12; }; message CDOTAUserMsg_ParticleManager @@ -581,10 +584,9 @@ message CDOTAUserMsg_ParticleManager optional int32 attachment = 4; optional CMsgVector fallback_position = 5; } - message UpdateParticleLatency + message UpdateParticleSetFrozen { - optional int32 player_latency = 1; - optional int32 tick = 2; + optional bool set_frozen = 1; } message UpdateParticleShouldDraw @@ -605,8 +607,8 @@ message CDOTAUserMsg_ParticleManager optional UpdateParticleFallback update_particle_fallback = 10; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK optional UpdateParticleOffset update_particle_offset = 11; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET optional UpdateParticleEnt update_particle_ent = 12; // DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT - optional UpdateParticleLatency update_particle_latency = 13; // DOTA_PARTICLE_MANAGER_EVENT_LATENCY - optional UpdateParticleShouldDraw update_particle_should_draw = 14; // DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW + optional UpdateParticleShouldDraw update_particle_should_draw = 14; // DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW + optional UpdateParticleSetFrozen update_particle_set_frozen = 15; // DOTA_PARTICLE_MANAGER_EVENT_FROZEN } // If you modify this, make sure you update g_OverheadMessageType! @@ -647,8 +649,18 @@ message CDOTAUserMsg_TutorialFinish optional string heading = 1; optional string emblem = 2; optional string body = 3; + optional bool success = 4; } +message CDOTAUserMsg_SendGenericToolTip +{ + optional string title = 1; + optional string text = 2; + optional int32 entindex = 3; + optional bool close = 4; +} + + message CDOTAUserMsg_WorldLine { optional int32 player_id = 1; @@ -722,3 +734,8 @@ message CDOTAUserMsg_SendStatPopup optional CDOTAMsg_SendStatPopup statpopup = 2; } +message CDOTAUserMsg_SendRoshanPopup +{ + optional bool reclaimed = 1; + optional int32 gametime = 2; +} diff --git a/public/game/shared/protobuf/ai_activity.pb.cc b/public/game/shared/protobuf/ai_activity.pb.cc index 50e535c2..555ef2c2 100644 --- a/public/game/shared/protobuf/ai_activity.pb.cc +++ b/public/game/shared/protobuf/ai_activity.pb.cc @@ -53,7 +53,7 @@ void protobuf_AddDesc_ai_5factivity_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\021ai_activity.proto*\354{\n\010Activity\022\030\n\013ACT_" + "\n\021ai_activity.proto*\211|\n\010Activity\022\030\n\013ACT_" "INVALID\020\377\377\377\377\377\377\377\377\377\001\022\r\n\tACT_RESET\020\000\022\014\n\010ACT" "_IDLE\020\001\022\022\n\016ACT_TRANSITION\020\002\022\r\n\tACT_COVER" "\020\003\022\021\n\rACT_COVER_MED\020\004\022\021\n\rACT_COVER_LOW\020\005" @@ -449,8 +449,8 @@ void protobuf_AddDesc_ai_5factivity_2eproto() { "_CREEP_RAGE_OUT\020\266\004\022\037\n\032ACT_DOTA_CAGED_CRE" "EP_SMASH\020\267\004\022#\n\036ACT_DOTA_CAGED_CREEP_SMAS" "H_OUT\020\270\004\022&\n!ACT_DOTA_IDLE_IMPATIENT_SWOR" - "D_TAP\020\271\004\022\030\n\023ACT_DOTA_INTRO_LOOP\020\272\004B\005H\001\200\001" - "\000", 15881); + "D_TAP\020\271\004\022\030\n\023ACT_DOTA_INTRO_LOOP\020\272\004\022\033\n\026AC" + "T_DOTA_BRIDGE_THREAT\020\273\004B\005H\001\200\001\000", 15910); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "ai_activity.proto", &protobuf_RegisterTypes); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_ai_5factivity_2eproto); @@ -1039,6 +1039,7 @@ bool Activity_IsValid(int value) { case 568: case 569: case 570: + case 571: return true; default: return false; diff --git a/public/game/shared/protobuf/ai_activity.pb.h b/public/game/shared/protobuf/ai_activity.pb.h index 36fe25b8..3254157d 100644 --- a/public/game/shared/protobuf/ai_activity.pb.h +++ b/public/game/shared/protobuf/ai_activity.pb.h @@ -601,11 +601,12 @@ enum Activity { ACT_DOTA_CAGED_CREEP_SMASH = 567, ACT_DOTA_CAGED_CREEP_SMASH_OUT = 568, ACT_DOTA_IDLE_IMPATIENT_SWORD_TAP = 569, - ACT_DOTA_INTRO_LOOP = 570 + ACT_DOTA_INTRO_LOOP = 570, + ACT_DOTA_BRIDGE_THREAT = 571 }; bool Activity_IsValid(int value); const Activity Activity_MIN = ACT_INVALID; -const Activity Activity_MAX = ACT_DOTA_INTRO_LOOP; +const Activity Activity_MAX = ACT_DOTA_BRIDGE_THREAT; const int Activity_ARRAYSIZE = Activity_MAX + 1; const ::google::protobuf::EnumDescriptor* Activity_descriptor(); diff --git a/public/game/shared/protobuf/ai_activity.proto b/public/game/shared/protobuf/ai_activity.proto index 3480d672..582a532b 100644 --- a/public/game/shared/protobuf/ai_activity.proto +++ b/public/game/shared/protobuf/ai_activity.proto @@ -694,6 +694,7 @@ enum Activity ACT_DOTA_CAGED_CREEP_SMASH_OUT = 568; ACT_DOTA_IDLE_IMPATIENT_SWORD_TAP = 569; ACT_DOTA_INTRO_LOOP = 570; + ACT_DOTA_BRIDGE_THREAT = 571; }; diff --git a/public/game/shared/protobuf/usermessages.pb.cc b/public/game/shared/protobuf/usermessages.pb.cc index acefc24d..8a0a6d80 100644 --- a/public/game/shared/protobuf/usermessages.pb.cc +++ b/public/game/shared/protobuf/usermessages.pb.cc @@ -756,74 +756,75 @@ void protobuf_AddDesc_usermessages_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); - ::protobuf_AddDesc_netmessages_2eproto(); + ::protobuf_AddDesc_networkbasetypes_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\022usermessages.proto\032 google/protobuf/de" - "scriptor.proto\032\021netmessages.proto\"0\n\031CUs" - "erMsg_AchievementEvent\022\023\n\013achievement\030\001 " - "\001(\r\"L\n\025CUserMsg_CloseCaption\022\014\n\004hash\030\001 \001" - "(\007\022\020\n\010duration\030\002 \001(\002\022\023\n\013from_player\030\003 \001(" - "\010\",\n\031CUserMsg_CurrentTimescale\022\017\n\007curren" - "t\030\001 \001(\002\"n\n\031CUserMsg_DesiredTimescale\022\017\n\007" - "desired\030\001 \001(\002\022\020\n\010duration\030\002 \001(\002\022\024\n\014inter" - "polator\030\003 \001(\r\022\030\n\020start_blend_time\030\004 \001(\002\"" - "R\n\rCUserMsg_Fade\022\020\n\010duration\030\001 \001(\r\022\021\n\tho" - "ld_time\030\002 \001(\r\022\r\n\005flags\030\003 \001(\r\022\r\n\005color\030\004 " - "\001(\007\"Y\n\016CUserMsg_Shake\022\017\n\007command\030\001 \001(\r\022\021" - "\n\tamplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 \001(\002\022\020\n\010" - "duration\030\004 \001(\002\"S\n\021CUserMsg_ShakeDir\022\036\n\005s" - "hake\030\001 \001(\0132\017.CUserMsg_Shake\022\036\n\tdirection" - "\030\002 \001(\0132\013.CMsgVector\"q\n\rCUserMsg_Tilt\022\017\n\007" - "command\030\001 \001(\r\022\023\n\013ease_in_out\030\002 \001(\010\022\032\n\005an" - "gle\030\003 \001(\0132\013.CMsgVector\022\020\n\010duration\030\004 \001(\002" - "\022\014\n\004time\030\005 \001(\002\">\n\020CUserMsg_SayText\022\016\n\006cl" - "ient\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\022\014\n\004chat\030\003 \001(\010\"q" - "\n\021CUserMsg_SayText2\022\016\n\006client\030\001 \001(\r\022\014\n\004c" - "hat\030\002 \001(\010\022\016\n\006format\030\003 \001(\t\022\016\n\006prefix\030\004 \001(" - "\t\022\014\n\004text\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\"\312\001\n\017CU" - "serMsg_HudMsg\022\017\n\007channel\030\001 \001(\r\022\t\n\001x\030\002 \001(" - "\002\022\t\n\001y\030\003 \001(\002\022\016\n\006color1\030\004 \001(\r\022\016\n\006color2\030\005" - " \001(\r\022\016\n\006effect\030\006 \001(\r\022\024\n\014fade_in_time\030\007 \001" - "(\002\022\025\n\rfade_out_time\030\010 \001(\002\022\021\n\thold_time\030\t" - " \001(\002\022\017\n\007fx_time\030\n \001(\002\022\017\n\007message\030\013 \001(\t\"#" - "\n\020CUserMsg_HudText\022\017\n\007message\030\001 \001(\t\"/\n\020C" - "UserMsg_TextMsg\022\014\n\004dest\030\001 \001(\r\022\r\n\005param\030\002" - " \003(\t\"\024\n\022CUserMsg_GameTitle\"\023\n\021CUserMsg_R" - "esetHUD\"0\n\022CUserMsg_SendAudio\022\014\n\004stop\030\002 " - "\001(\010\022\014\n\004name\030\003 \001(\t\"N\n\022CUserMsg_VoiceMask\022" - "\034\n\024audible_players_mask\030\001 \003(\005\022\032\n\022player_" - "mod_enabled\030\002 \001(\010\"\027\n\025CUserMsg_RequestSta" - "te\"$\n\021CUserMsg_HintText\022\017\n\007message\030\001 \001(\t" - "\"(\n\024CUserMsg_KeyHintText\022\020\n\010messages\030\001 \003" - "(\t\"\030\n\026CUserMsg_StatsCrawlMsg\"A\n\027CUserMsg" - "_StatsSkipState\022\021\n\tnum_skips\030\001 \001(\005\022\023\n\013nu" - "m_players\030\002 \001(\005\"G\n\026CUserMsg_VoiceSubtitl" - "e\022\021\n\tent_index\030\001 \001(\005\022\014\n\004menu\030\002 \001(\005\022\014\n\004it" - "em\030\003 \001(\005\"{\n\021CUserMsg_VGUIMenu\022\014\n\004name\030\001 " - "\001(\t\022\014\n\004show\030\002 \001(\010\022%\n\004keys\030\003 \003(\0132\027.CUserM" - "sg_VGUIMenu.Keys\032#\n\004Keys\022\014\n\004name\030\001 \001(\t\022\r" - "\n\005value\030\002 \001(\t\" \n\017CUserMsg_Geiger\022\r\n\005rang" - "e\030\001 \001(\005\"=\n\017CUserMsg_Rumble\022\r\n\005index\030\001 \001(" - "\005\022\014\n\004data\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\"\037\n\016CUserM" - "sg_Train\022\r\n\005train\030\001 \001(\005\"H\n\027CUserMsg_SayT" - "extChannel\022\016\n\006player\030\001 \001(\005\022\017\n\007channel\030\002 " - "\001(\005\022\014\n\004text\030\003 \001(\t\"3\n\024CUserMsg_MessageTex" - "t\022\r\n\005color\030\001 \001(\r\022\014\n\004text\030\002 \001(\t*\324\004\n\021EBase" - "UserMessages\022\027\n\023UM_AchievementEvent\020\001\022\023\n" - "\017UM_CloseCaption\020\002\022\031\n\025UM_CloseCaptionDir" - "ect\020\003\022\027\n\023UM_CurrentTimescale\020\004\022\027\n\023UM_Des" - "iredTimescale\020\005\022\013\n\007UM_Fade\020\006\022\020\n\014UM_GameT" - "itle\020\007\022\r\n\tUM_Geiger\020\010\022\017\n\013UM_HintText\020\t\022\r" - "\n\tUM_HudMsg\020\n\022\016\n\nUM_HudText\020\013\022\022\n\016UM_KeyH" - "intText\020\014\022\022\n\016UM_MessageText\020\r\022\023\n\017UM_Requ" - "estState\020\016\022\017\n\013UM_ResetHUD\020\017\022\r\n\tUM_Rumble" - "\020\020\022\016\n\nUM_SayText\020\021\022\017\n\013UM_SayText2\020\022\022\025\n\021U" - "M_SayTextChannel\020\023\022\014\n\010UM_Shake\020\024\022\017\n\013UM_S" - "hakeDir\020\025\022\024\n\020UM_StatsCrawlMsg\020\026\022\025\n\021UM_St" - "atsSkipState\020\027\022\016\n\nUM_TextMsg\020\030\022\013\n\007UM_Til" - "t\020\031\022\014\n\010UM_Train\020\032\022\017\n\013UM_VGUIMenu\020\033\022\020\n\014UM" - "_VoiceMask\020\034\022\024\n\020UM_VoiceSubtitle\020\035\022\020\n\014UM" - "_SendAudio\020\036\022\017\n\013UM_MAX_BASE\020\?B\005H\001\200\001\000", 2636); + "scriptor.proto\032\026networkbasetypes.proto\"0" + "\n\031CUserMsg_AchievementEvent\022\023\n\013achieveme" + "nt\030\001 \001(\r\"L\n\025CUserMsg_CloseCaption\022\014\n\004has" + "h\030\001 \001(\007\022\020\n\010duration\030\002 \001(\002\022\023\n\013from_player" + "\030\003 \001(\010\",\n\031CUserMsg_CurrentTimescale\022\017\n\007c" + "urrent\030\001 \001(\002\"n\n\031CUserMsg_DesiredTimescal" + "e\022\017\n\007desired\030\001 \001(\002\022\020\n\010duration\030\002 \001(\002\022\024\n\014" + "interpolator\030\003 \001(\r\022\030\n\020start_blend_time\030\004" + " \001(\002\"R\n\rCUserMsg_Fade\022\020\n\010duration\030\001 \001(\r\022" + "\021\n\thold_time\030\002 \001(\r\022\r\n\005flags\030\003 \001(\r\022\r\n\005col" + "or\030\004 \001(\007\"Y\n\016CUserMsg_Shake\022\017\n\007command\030\001 " + "\001(\r\022\021\n\tamplitude\030\002 \001(\002\022\021\n\tfrequency\030\003 \001(" + "\002\022\020\n\010duration\030\004 \001(\002\"S\n\021CUserMsg_ShakeDir" + "\022\036\n\005shake\030\001 \001(\0132\017.CUserMsg_Shake\022\036\n\tdire" + "ction\030\002 \001(\0132\013.CMsgVector\"q\n\rCUserMsg_Til" + "t\022\017\n\007command\030\001 \001(\r\022\023\n\013ease_in_out\030\002 \001(\010\022" + "\032\n\005angle\030\003 \001(\0132\013.CMsgVector\022\020\n\010duration\030" + "\004 \001(\002\022\014\n\004time\030\005 \001(\002\">\n\020CUserMsg_SayText\022" + "\016\n\006client\030\001 \001(\r\022\014\n\004text\030\002 \001(\t\022\014\n\004chat\030\003 " + "\001(\010\"q\n\021CUserMsg_SayText2\022\016\n\006client\030\001 \001(\r" + "\022\014\n\004chat\030\002 \001(\010\022\016\n\006format\030\003 \001(\t\022\016\n\006prefix" + "\030\004 \001(\t\022\014\n\004text\030\005 \001(\t\022\020\n\010location\030\006 \001(\t\"\312" + "\001\n\017CUserMsg_HudMsg\022\017\n\007channel\030\001 \001(\r\022\t\n\001x" + "\030\002 \001(\002\022\t\n\001y\030\003 \001(\002\022\016\n\006color1\030\004 \001(\r\022\016\n\006col" + "or2\030\005 \001(\r\022\016\n\006effect\030\006 \001(\r\022\024\n\014fade_in_tim" + "e\030\007 \001(\002\022\025\n\rfade_out_time\030\010 \001(\002\022\021\n\thold_t" + "ime\030\t \001(\002\022\017\n\007fx_time\030\n \001(\002\022\017\n\007message\030\013 " + "\001(\t\"#\n\020CUserMsg_HudText\022\017\n\007message\030\001 \001(\t" + "\"/\n\020CUserMsg_TextMsg\022\014\n\004dest\030\001 \001(\r\022\r\n\005pa" + "ram\030\002 \003(\t\"\024\n\022CUserMsg_GameTitle\"\023\n\021CUser" + "Msg_ResetHUD\"0\n\022CUserMsg_SendAudio\022\014\n\004st" + "op\030\002 \001(\010\022\014\n\004name\030\003 \001(\t\"N\n\022CUserMsg_Voice" + "Mask\022\034\n\024audible_players_mask\030\001 \003(\005\022\032\n\022pl" + "ayer_mod_enabled\030\002 \001(\010\"\027\n\025CUserMsg_Reque" + "stState\"$\n\021CUserMsg_HintText\022\017\n\007message\030" + "\001 \001(\t\"(\n\024CUserMsg_KeyHintText\022\020\n\010message" + "s\030\001 \003(\t\"\030\n\026CUserMsg_StatsCrawlMsg\"A\n\027CUs" + "erMsg_StatsSkipState\022\021\n\tnum_skips\030\001 \001(\005\022" + "\023\n\013num_players\030\002 \001(\005\"G\n\026CUserMsg_VoiceSu" + "btitle\022\021\n\tent_index\030\001 \001(\005\022\014\n\004menu\030\002 \001(\005\022" + "\014\n\004item\030\003 \001(\005\"{\n\021CUserMsg_VGUIMenu\022\014\n\004na" + "me\030\001 \001(\t\022\014\n\004show\030\002 \001(\010\022%\n\004keys\030\003 \003(\0132\027.C" + "UserMsg_VGUIMenu.Keys\032#\n\004Keys\022\014\n\004name\030\001 " + "\001(\t\022\r\n\005value\030\002 \001(\t\" \n\017CUserMsg_Geiger\022\r\n" + "\005range\030\001 \001(\005\"=\n\017CUserMsg_Rumble\022\r\n\005index" + "\030\001 \001(\005\022\014\n\004data\030\002 \001(\005\022\r\n\005flags\030\003 \001(\005\"\037\n\016C" + "UserMsg_Train\022\r\n\005train\030\001 \001(\005\"H\n\027CUserMsg" + "_SayTextChannel\022\016\n\006player\030\001 \001(\005\022\017\n\007chann" + "el\030\002 \001(\005\022\014\n\004text\030\003 \001(\t\"3\n\024CUserMsg_Messa" + "geText\022\r\n\005color\030\001 \001(\r\022\014\n\004text\030\002 \001(\t*\324\004\n\021" + "EBaseUserMessages\022\027\n\023UM_AchievementEvent" + "\020\001\022\023\n\017UM_CloseCaption\020\002\022\031\n\025UM_CloseCapti" + "onDirect\020\003\022\027\n\023UM_CurrentTimescale\020\004\022\027\n\023U" + "M_DesiredTimescale\020\005\022\013\n\007UM_Fade\020\006\022\020\n\014UM_" + "GameTitle\020\007\022\r\n\tUM_Geiger\020\010\022\017\n\013UM_HintTex" + "t\020\t\022\r\n\tUM_HudMsg\020\n\022\016\n\nUM_HudText\020\013\022\022\n\016UM" + "_KeyHintText\020\014\022\022\n\016UM_MessageText\020\r\022\023\n\017UM" + "_RequestState\020\016\022\017\n\013UM_ResetHUD\020\017\022\r\n\tUM_R" + "umble\020\020\022\016\n\nUM_SayText\020\021\022\017\n\013UM_SayText2\020\022" + "\022\025\n\021UM_SayTextChannel\020\023\022\014\n\010UM_Shake\020\024\022\017\n" + "\013UM_ShakeDir\020\025\022\024\n\020UM_StatsCrawlMsg\020\026\022\025\n\021" + "UM_StatsSkipState\020\027\022\016\n\nUM_TextMsg\020\030\022\013\n\007U" + "M_Tilt\020\031\022\014\n\010UM_Train\020\032\022\017\n\013UM_VGUIMenu\020\033\022" + "\020\n\014UM_VoiceMask\020\034\022\024\n\020UM_VoiceSubtitle\020\035\022" + "\020\n\014UM_SendAudio\020\036\022\017\n\013UM_MAX_BASE\020\?B\005H\001\200\001" + "\000", 2641); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "usermessages.proto", &protobuf_RegisterTypes); CUserMsg_AchievementEvent::default_instance_ = new CUserMsg_AchievementEvent(); diff --git a/public/game/shared/protobuf/usermessages.pb.h b/public/game/shared/protobuf/usermessages.pb.h index e6d2d1ca..f9b744be 100644 --- a/public/game/shared/protobuf/usermessages.pb.h +++ b/public/game/shared/protobuf/usermessages.pb.h @@ -24,7 +24,7 @@ #include #include #include "google/protobuf/descriptor.pb.h" -#include "netmessages.pb.h" +#include "networkbasetypes.pb.h" // @@protoc_insertion_point(includes) // Internal implementation detail -- do not call these. diff --git a/public/game/shared/protobuf/usermessages.proto b/public/game/shared/protobuf/usermessages.proto index 697925ba..750da3e6 100644 --- a/public/game/shared/protobuf/usermessages.proto +++ b/public/game/shared/protobuf/usermessages.proto @@ -59,7 +59,7 @@ option cc_generic_services = false; import "google/protobuf/descriptor.proto"; // for CMsgVector, etc. -import "netmessages.proto"; +import "networkbasetypes.proto"; //============================================================================= // Base User Messages