diff --git a/public/eiface.h b/public/eiface.h index 15bb4343..75501ac9 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -21,7 +21,6 @@ #include "engine/ivmodelinfo.h" #include "soundflags.h" #include "bitvec.h" -#include "engine/iserverplugin.h" #include "tier1/bitbuf.h" #include "tier1/utlstring.h" #include @@ -70,7 +69,7 @@ struct EconControlPointInfo_t; class CEntityHandle; struct RenderDeviceInfo_t; struct RenderMultisampleType_t; -struct GameSessionConfiguration_t; +class GameSessionConfiguration_t; struct StringTableDef_t; struct HostStateLoopModeType_t; class ILoopModePrerequisiteRegistry; diff --git a/public/engine/IEngineService.h b/public/engine/IEngineService.h new file mode 100644 index 00000000..dc27e491 --- /dev/null +++ b/public/engine/IEngineService.h @@ -0,0 +1,80 @@ +//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef IENGINESERVICE_H +#define IENGINESERVICE_H +#ifdef _WIN32 +#pragma once +#endif + +#include + +struct EngineLoopState_t; +struct EventMapRegistrationType_t; +class ILoopModeFactory; +struct ActiveLoop_t; +struct EventClientOutput_t; +class ISwitchLoopModeStatusNotify; +class IAddonListChangeNotify; + +abstract_class IEngineService : public IAppSystem +{ +public: + virtual void *GetServiceDependencies( void ) = 0; + virtual const char *GetName( void ) const = 0; + virtual bool ShouldActivate( const char * ) = 0; + virtual void OnLoopActivate( const EngineLoopState_t &loopState, /*CEventDispatcher*/ void * ) = 0; + virtual void OnLoopDeactivate( const EngineLoopState_t &loopState, /*CEventDispatcher*/ void * ) = 0; + virtual bool IsActive( void ) const = 0; + virtual void SetActive( bool ) = 0; + virtual void SetName( const char *pszName ) = 0; + virtual void RegisterEventMap( /*CEventDispatcher*/ void *, EventMapRegistrationType_t ) = 0; + virtual uint16 GetServiceIndex( void ) = 0; + virtual void SetServiceIndex( uint16 index ) = 0; +}; + +abstract_class IEngineServiceMgr : public IAppSystem +{ +public: + virtual void RegisterEngineService( const char *, IEngineService * ) = 0; + virtual void UnregisterEngineService( const char *, IEngineService * ) = 0; + virtual void RegisterLoopMode( const char *, ILoopModeFactory *, void ** ) = 0; + virtual void UnregisterLoopMode( const char *, ILoopModeFactory *, void ** ) = 0; + virtual void SwitchToLoop( const char *pszMode, KeyValues *, uint32 nId, const char *, bool ) = 0; + virtual const char *GetActiveLoopName( void ) const = 0; + virtual IEngineService *FindService( const char * ) = 0; + virtual void *GetEngineWindow( void ) const = 0; + virtual void *GetEngineSwapChain( void ) const = 0; + virtual void *GetEngineInputContext( void ) const = 0; + virtual void *GetEngineWindowInfo( void ) const = 0; + virtual int64 GetEngineWindowWidth( void ) const = 0; + virtual int64 GetEngineWindowHeight( void ) const = 0; + virtual bool IsLoopSwitchQueued( void ) const = 0; + virtual bool IsLoopSwitchRequested( void ) const = 0; + virtual void *GetEventDispatcher( void ) = 0; + virtual void *GetDebugVisualizerMgr( void ) = 0; + virtual int GetActiveLoopClientServerMode( void ) const = 0; + virtual void EnableMaxFramerate( bool ) = 0; + virtual void OverrideMaxFramerate( float ) = 0; + virtual void PrintStatus( void ) = 0; + virtual void GetActiveLoop( ActiveLoop_t & ) = 0; + virtual bool IsLoadingLevel( void ) const = 0; + virtual bool IsInGameLoop( void ) const = 0; + virtual void OnFrameRenderingFinished( bool, const EventClientOutput_t & ) = 0; + virtual void ChangeVideoMode( RenderDeviceInfo_t & ) = 0; + virtual void GetVideoModeChange( void ) = 0; + virtual int GetAddonCount( void ) const = 0; + virtual void GetAddon( int ) const = 0; + virtual bool IsAddonMounted( const char * ) const = 0; + virtual const char *GetAddonsString( void ) const = 0; + virtual void InstallSwitchLoopModeStatusNotify( ISwitchLoopModeStatusNotify * ) = 0; + virtual void UninstallSwitchLoopModeStatusNotify( ISwitchLoopModeStatusNotify * ) = 0; + virtual void InstallAddonListChangeNotify( IAddonListChangeNotify * ) = 0; + virtual void UninstallAddonListChangeNotify( IAddonListChangeNotify * ) = 0; + virtual void ExitMainLoop( void ) = 0; +}; + +#endif // IENGINESERVICE_H \ No newline at end of file diff --git a/public/engine/iserverplugin.h b/public/engine/iserverplugin.h deleted file mode 100644 index 64c0d5a6..00000000 --- a/public/engine/iserverplugin.h +++ /dev/null @@ -1,167 +0,0 @@ -//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// -// -// Purpose: -// -// $NoKeywords: $ -// -//=============================================================================// - -#ifndef ISERVERPLUGIN_H -#define ISERVERPLUGIN_H - -#ifdef _WIN32 -#pragma once -#endif - -#include "edict.h" -#include "tier1/interface.h" -#include "tier1/KeyValues.h" - -class CCommand; -struct CEntityIndex; - -// -// you will also want to listen for game events via IGameEventManager::AddListener() -// - -typedef enum -{ - PLUGIN_CONTINUE = 0, // keep going - PLUGIN_OVERRIDE, // run the game dll function but use our return value instead - PLUGIN_STOP, // don't run the game dll function at all -} PLUGIN_RESULT; - - -typedef enum -{ - eQueryCvarValueStatus_ValueIntact=0, // It got the value fine. - eQueryCvarValueStatus_CvarNotFound=1, - eQueryCvarValueStatus_NotACvar=2, // There's a ConCommand, but it's not a ConVar. - eQueryCvarValueStatus_CvarProtected=3 // The cvar was marked with FCVAR_SERVER_CAN_NOT_QUERY, so the server is not allowed to have its value. -} EQueryCvarValueStatus; - - -typedef int QueryCvarCookie_t; -#define InvalidQueryCvarCookie -1 - - -#define INTERFACEVERSION_ISERVERPLUGINCALLBACKS_VERSION_1 "ISERVERPLUGINCALLBACKS001" -#define INTERFACEVERSION_ISERVERPLUGINCALLBACKS_VERSION_2 "ISERVERPLUGINCALLBACKS002" -#define INTERFACEVERSION_ISERVERPLUGINCALLBACKS "ISERVERPLUGINCALLBACKS003" - -//----------------------------------------------------------------------------- -// Purpose: callbacks the engine exposes to the 3rd party plugins (ala MetaMod) -//----------------------------------------------------------------------------- -abstract_class IServerPluginCallbacks -{ -public: - // Initialize the plugin to run - // Return false if there is an error during startup. - virtual bool Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn gameServerFactory ) = 0; - - // Called when the plugin should be shutdown - virtual void Unload( void ) = 0; - - // called when a plugins execution is stopped but the plugin is not unloaded - virtual void Pause( void ) = 0; - - // called when a plugin should start executing again (sometime after a Pause() call) - virtual void UnPause( void ) = 0; - - // Returns string describing current plugin. e.g., Admin-Mod. - virtual const char *GetPluginDescription( void ) = 0; - - // Called any time a new level is started (after GameInit() also on level transitions within a game) - virtual void LevelInit( char const *pMapName ) = 0; - - // The server is about to activate - virtual void ServerActivate( edict_t *pEdictList, int edictCount, int clientMax ) = 0; - - // The server should run physics/think on all edicts - virtual void GameFrame( bool simulating ) = 0; - - // Called when a level is shutdown (including changing levels) - virtual void LevelShutdown( void ) = 0; - - // Client is going active - virtual void ClientActive( edict_t *pEntity ) = 0; - - // Client is fully connected ( has received initial baseline of entities ) - virtual void ClientFullyConnect( edict_t *pEntity ) = 0; - - // Client is disconnecting from server - virtual void ClientDisconnect( edict_t *pEntity ) = 0; - - // Client is connected and should be put in the game - virtual void ClientPutInServer( edict_t *pEntity, char const *playername ) = 0; - - // Sets the client index for the client who typed the command into their console - virtual void SetCommandClient( int index ) = 0; - - // A player changed one/several replicated cvars (name etc) - virtual void ClientSettingsChanged( edict_t *pEdict ) = 0; - - // Client is connecting to server ( set retVal to false to reject the connection ) - // You can specify a rejection message by writing it into reject - virtual PLUGIN_RESULT ClientConnect( bool *bAllowConnect, edict_t *pEntity, const char *pszName, const char *pszAddress, char *reject, int maxrejectlen ) = 0; - - // The client has typed a command at the console - virtual PLUGIN_RESULT ClientCommand( edict_t *pEntity, const CCommand &args ) = 0; - - // A user has had their network id setup and validated - virtual PLUGIN_RESULT NetworkIDValidated( const char *pszUserName, const char *pszNetworkID ) = 0; - - // This is called when a query from IServerPluginHelpers::StartQueryCvarValue is finished. - // iCookie is the value returned by IServerPluginHelpers::StartQueryCvarValue. - // Added with version 2 of the interface. - virtual void OnQueryCvarValueFinished( QueryCvarCookie_t iCookie, CEntityIndex index, EQueryCvarValueStatus eStatus, const char *pCvarName, const char *pCvarValue ) = 0; - - // added with version 3 of the interface. - virtual void OnEdictAllocated( edict_t *edict ) = 0; - virtual void OnEdictFreed( const edict_t *edict ) = 0; -}; - -#define INTERFACEVERSION_ISERVERPLUGINHELPERS "ISERVERPLUGINHELPERS001" - - -typedef enum -{ - DIALOG_MSG = 0, // just an on screen message - DIALOG_MENU, // an options menu - DIALOG_TEXT, // a richtext dialog - DIALOG_ENTRY, // an entry box - DIALOG_ASKCONNECT // Ask the client to connect to a specified IP address. Only the "time" and "title" keys are used. -} DIALOG_TYPE; - -//----------------------------------------------------------------------------- -// Purpose: functions that only 3rd party plugins need -//----------------------------------------------------------------------------- -abstract_class IServerPluginHelpers -{ -public: - // creates an onscreen menu with various option buttons - // The keyvalues param can contain these fields: - // "title" - (string) the title to show in the hud and in the title bar - // "msg" - (string) a longer message shown in the GameUI - // "color" - (color) the color to display the message in the hud (white by default) - // "level" - (int) the priority of this message (closer to 0 is higher), only 1 message can be outstanding at a time - // "time" - (int) the time in seconds this message should stay active in the GameUI (min 10 sec, max 200 sec) - // - // For DIALOG_MENU add sub keys for each option with these fields: - // "command" - (string) client command to run if selected - // "msg" - (string) button text for this option - // - virtual void CreateMessage( edict_t *pEntity, DIALOG_TYPE type, KeyValues *data, IServerPluginCallbacks *plugin ) = 0; - virtual void ClientCommand( edict_t *pEntity, const char *cmd ) = 0; - - // Call this to find out the value of a cvar on the client. - // - // It is an asynchronous query, and it will call IServerPluginCallbacks::OnQueryCvarValueFinished when - // the value comes in from the client. - // - // Store the return value if you want to match this specific query to the OnQueryCvarValueFinished call. - // Returns InvalidQueryCvarCookie if the entity is invalid. - virtual QueryCvarCookie_t StartQueryCvarValue( edict_t *pEntity, const char *pName ) = 0; -}; - -#endif //ISERVERPLUGIN_H diff --git a/public/engine/protobuf/netmessages.pb.cc b/public/engine/protobuf/netmessages.pb.cc index 20c48ab3..2cea5737 100644 --- a/public/engine/protobuf/netmessages.pb.cc +++ b/public/engine/protobuf/netmessages.pb.cc @@ -24,6 +24,9 @@ const ::google::protobuf::internal::GeneratedMessageReflection* const ::google::protobuf::Descriptor* CCLCMsg_Move_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CCLCMsg_Move_reflection_ = NULL; +const ::google::protobuf::Descriptor* CMsgVoiceAudio_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsgVoiceAudio_reflection_ = NULL; const ::google::protobuf::Descriptor* CCLCMsg_VoiceData_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CCLCMsg_VoiceData_reflection_ = NULL; @@ -48,6 +51,21 @@ const ::google::protobuf::internal::GeneratedMessageReflection* const ::google::protobuf::Descriptor* CCLCMsg_ClientMessage_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CCLCMsg_ClientMessage_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_SplitPlayerDisconnect_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_SplitPlayerDisconnect_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_ServerStatus_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_ServerStatus_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_ServerPing_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_ServerPing_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_RequestPause_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_RequestPause_reflection_ = NULL; +const ::google::protobuf::Descriptor* CCLCMsg_CmdKeyValues_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CCLCMsg_CmdKeyValues_reflection_ = NULL; const ::google::protobuf::Descriptor* CSVCMsg_ServerInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CSVCMsg_ServerInfo_reflection_ = NULL; @@ -132,10 +150,66 @@ const ::google::protobuf::internal::GeneratedMessageReflection* const ::google::protobuf::Descriptor* CSVCMsg_FullFrameSplit_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CSVCMsg_FullFrameSplit_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_CmdKeyValues_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_CmdKeyValues_reflection_ = NULL; +const ::google::protobuf::Descriptor* CMsgIPCAddress_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsgIPCAddress_reflection_ = NULL; +const ::google::protobuf::Descriptor* CMsgServerPeer_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsgServerPeer_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_PeerList_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_PeerList_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_ClearAllStringTables_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_ClearAllStringTables_reflection_ = NULL; +const ::google::protobuf::Descriptor* ProtoFlattenedSerializerField_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ProtoFlattenedSerializerField_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* ProtoFlattenedSerializer_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + ProtoFlattenedSerializer_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_FlattenedSerializer_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_FlattenedSerializer_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_StopSound_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_StopSound_reflection_ = NULL; +const ::google::protobuf::Descriptor* CBidirMsg_RebroadcastGameEvent_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CBidirMsg_RebroadcastGameEvent_reflection_ = NULL; +const ::google::protobuf::Descriptor* CBidirMsg_RebroadcastSource_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CBidirMsg_RebroadcastSource_reflection_ = NULL; +const ::google::protobuf::Descriptor* SerializedNetAddress_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SerializedNetAddress_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CBidirMsg_RelayInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CBidirMsg_RelayInfo_reflection_ = NULL; +const ::google::protobuf::EnumDescriptor* CBidirMsg_RelayInfo_Operation_t_descriptor_ = NULL; +const ::google::protobuf::Descriptor* SignedPayload_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + SignedPayload_t_reflection_ = NULL; +const ::google::protobuf::Descriptor* CBidirMsg_RelayPacket_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CBidirMsg_RelayPacket_reflection_ = NULL; +const ::google::protobuf::Descriptor* CBidirMsg_RelayPacket_SignedDestinationAddress_t_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CBidirMsg_RelayPacket_SignedDestinationAddress_t_reflection_ = NULL; const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* VoiceDataFormat_t_descriptor_ = NULL; const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* VoiceDataFormat_t_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* RequestPause_t_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* PrefetchType_descriptor_ = NULL; const ::google::protobuf::EnumDescriptor* ESplitScreenMessageType_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* EQueryCvarValueStatus_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* DIALOG_TYPE_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* SVC_Messages_LowFrequency_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* Bidirectional_Messages_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* Bidirectional_Messages_LowFrequency_descriptor_ = NULL; } // namespace @@ -184,14 +258,30 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_Move)); - CCLCMsg_VoiceData_descriptor_ = file->message_type(2); - static const int CCLCMsg_VoiceData_offsets_[7] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, data_), + CMsgVoiceAudio_descriptor_ = file->message_type(2); + static const int CMsgVoiceAudio_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVoiceAudio, format_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVoiceAudio, voice_data_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVoiceAudio, sequence_bytes_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVoiceAudio, section_number_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVoiceAudio, sample_rate_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVoiceAudio, uncompressed_sample_offset_), + }; + CMsgVoiceAudio_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsgVoiceAudio_descriptor_, + CMsgVoiceAudio::default_instance_, + CMsgVoiceAudio_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVoiceAudio, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgVoiceAudio, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsgVoiceAudio)); + CCLCMsg_VoiceData_descriptor_ = file->message_type(3); + static const int CCLCMsg_VoiceData_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, audio_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, xuid_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, format_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, sequence_bytes_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, section_number_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, uncompressed_sample_offset_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_VoiceData, tick_), }; CCLCMsg_VoiceData_reflection_ = @@ -205,7 +295,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(3); + CCLCMsg_BaselineAck_descriptor_ = file->message_type(4); 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_), @@ -221,7 +311,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(4); + CCLCMsg_ListenEvents_descriptor_ = file->message_type(5); static const int CCLCMsg_ListenEvents_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ListenEvents, event_mask_), }; @@ -236,7 +326,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(5); + CCLCMsg_RespondCvarValue_descriptor_ = file->message_type(6); 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_), @@ -254,7 +344,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(6); + CCLCMsg_FileCRCCheck_descriptor_ = file->message_type(7); 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_), @@ -273,7 +363,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(7); + CCLCMsg_LoadingProgress_descriptor_ = file->message_type(8); static const int CCLCMsg_LoadingProgress_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_LoadingProgress, progress_), }; @@ -288,9 +378,9 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_LoadingProgress)); - CCLCMsg_SplitPlayerConnect_descriptor_ = file->message_type(8); + CCLCMsg_SplitPlayerConnect_descriptor_ = file->message_type(9); static const int CCLCMsg_SplitPlayerConnect_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, convars_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerConnect, playername_), }; CCLCMsg_SplitPlayerConnect_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -303,7 +393,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(9); + CCLCMsg_ClientMessage_descriptor_ = file->message_type(10); 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_), @@ -319,8 +409,83 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CCLCMsg_ClientMessage)); - CSVCMsg_ServerInfo_descriptor_ = file->message_type(10); - static const int CSVCMsg_ServerInfo_offsets_[18] = { + CCLCMsg_SplitPlayerDisconnect_descriptor_ = file->message_type(11); + static const int CCLCMsg_SplitPlayerDisconnect_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerDisconnect, slot_), + }; + CCLCMsg_SplitPlayerDisconnect_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_SplitPlayerDisconnect_descriptor_, + CCLCMsg_SplitPlayerDisconnect::default_instance_, + CCLCMsg_SplitPlayerDisconnect_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerDisconnect, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_SplitPlayerDisconnect, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_SplitPlayerDisconnect)); + CCLCMsg_ServerStatus_descriptor_ = file->message_type(12); + static const int CCLCMsg_ServerStatus_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ServerStatus, simplified_), + }; + CCLCMsg_ServerStatus_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_ServerStatus_descriptor_, + CCLCMsg_ServerStatus::default_instance_, + CCLCMsg_ServerStatus_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ServerStatus, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ServerStatus, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_ServerStatus)); + CCLCMsg_ServerPing_descriptor_ = file->message_type(13); + static const int CCLCMsg_ServerPing_offsets_[1] = { + }; + CCLCMsg_ServerPing_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_ServerPing_descriptor_, + CCLCMsg_ServerPing::default_instance_, + CCLCMsg_ServerPing_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ServerPing, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_ServerPing, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_ServerPing)); + CCLCMsg_RequestPause_descriptor_ = file->message_type(14); + static const int CCLCMsg_RequestPause_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RequestPause, pause_type_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RequestPause, pause_group_), + }; + CCLCMsg_RequestPause_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_RequestPause_descriptor_, + CCLCMsg_RequestPause::default_instance_, + CCLCMsg_RequestPause_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RequestPause, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_RequestPause, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_RequestPause)); + CCLCMsg_CmdKeyValues_descriptor_ = file->message_type(15); + static const int CCLCMsg_CmdKeyValues_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_CmdKeyValues, data_), + }; + CCLCMsg_CmdKeyValues_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CCLCMsg_CmdKeyValues_descriptor_, + CCLCMsg_CmdKeyValues::default_instance_, + CCLCMsg_CmdKeyValues_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_CmdKeyValues, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CCLCMsg_CmdKeyValues, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CCLCMsg_CmdKeyValues)); + CSVCMsg_ServerInfo_descriptor_ = file->message_type(16); + static const int CSVCMsg_ServerInfo_offsets_[20] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, protocol_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, server_count_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, is_dedicated_), @@ -339,6 +504,8 @@ void protobuf_AssignDesc_netmessages_2eproto() { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, sky_name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, host_name_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, addon_name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, game_session_config_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ServerInfo, game_session_manifest_), }; CSVCMsg_ServerInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -351,7 +518,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(11); + CSVCMsg_ClassInfo_descriptor_ = file->message_type(17); 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_), @@ -384,7 +551,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(12); + CSVCMsg_SetPause_descriptor_ = file->message_type(18); static const int CSVCMsg_SetPause_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetPause, paused_), }; @@ -399,7 +566,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(13); + CSVCMsg_VoiceInit_descriptor_ = file->message_type(19); 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_), @@ -416,7 +583,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(14); + CSVCMsg_Print_descriptor_ = file->message_type(20); static const int CSVCMsg_Print_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Print, text_), }; @@ -431,7 +598,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(15); + CSVCMsg_Sounds_descriptor_ = file->message_type(21); 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_), @@ -448,7 +615,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_Sounds)); CSVCMsg_Sounds_sounddata_t_descriptor_ = CSVCMsg_Sounds_descriptor_->nested_type(0); - static const int CSVCMsg_Sounds_sounddata_t_offsets_[17] = { + static const int CSVCMsg_Sounds_sounddata_t_offsets_[19] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_x_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_y_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, origin_z_), @@ -466,6 +633,8 @@ void protobuf_AssignDesc_netmessages_2eproto() { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sound_level_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, is_sentence_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, is_ambient_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, guid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Sounds_sounddata_t, sound_resource_id_), }; CSVCMsg_Sounds_sounddata_t_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -478,9 +647,10 @@ 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(16); - static const int CSVCMsg_Prefetch_offsets_[1] = { + CSVCMsg_Prefetch_descriptor_ = file->message_type(22); + static const int CSVCMsg_Prefetch_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, sound_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_Prefetch, resource_type_), }; CSVCMsg_Prefetch_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -493,9 +663,10 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_Prefetch)); - CSVCMsg_SetView_descriptor_ = file->message_type(17); - static const int CSVCMsg_SetView_offsets_[1] = { + CSVCMsg_SetView_descriptor_ = file->message_type(23); + static const int CSVCMsg_SetView_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, entity_index_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_SetView, slot_), }; CSVCMsg_SetView_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -508,7 +679,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(18); + CSVCMsg_FixAngle_descriptor_ = file->message_type(24); 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_), @@ -524,7 +695,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(19); + CSVCMsg_CrosshairAngle_descriptor_ = file->message_type(25); static const int CSVCMsg_CrosshairAngle_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CrosshairAngle, angle_), }; @@ -539,7 +710,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(20); + CSVCMsg_BSPDecal_descriptor_ = file->message_type(26); 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_), @@ -558,7 +729,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(21); + CSVCMsg_SplitScreen_descriptor_ = file->message_type(27); 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_), @@ -575,7 +746,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(22); + CSVCMsg_GetCvarValue_descriptor_ = file->message_type(28); 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_), @@ -591,7 +762,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(23); + CSVCMsg_Menu_descriptor_ = file->message_type(29); 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_), @@ -607,7 +778,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(24); + CSVCMsg_SendTable_descriptor_ = file->message_type(30); 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_), @@ -648,7 +819,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_SendTable_sendprop_t)); - CSVCMsg_GameEventList_descriptor_ = file->message_type(25); + CSVCMsg_GameEventList_descriptor_ = file->message_type(31); static const int CSVCMsg_GameEventList_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameEventList, descriptors_), }; @@ -696,8 +867,8 @@ 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(26); - static const int CSVCMsg_PacketEntities_offsets_[8] = { + CSVCMsg_PacketEntities_descriptor_ = file->message_type(32); + static const int CSVCMsg_PacketEntities_offsets_[10] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, max_entries_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, updated_entries_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, is_delta_), @@ -706,6 +877,8 @@ void protobuf_AssignDesc_netmessages_2eproto() { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, delta_from_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, entity_data_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, pending_full_frame_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, active_spawngroup_handle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketEntities, max_spawngroup_creationsequence_), }; CSVCMsg_PacketEntities_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -718,7 +891,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(27); + CSVCMsg_TempEntities_descriptor_ = file->message_type(33); 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_), @@ -735,16 +908,17 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_TempEntities)); - CSVCMsg_CreateStringTable_descriptor_ = file->message_type(28); - static const int CSVCMsg_CreateStringTable_offsets_[8] = { + CSVCMsg_CreateStringTable_descriptor_ = file->message_type(34); + static const int CSVCMsg_CreateStringTable_offsets_[9] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, name_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, max_entries_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, num_entries_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_fixed_size_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_size_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, user_data_size_bits_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, flags_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, string_data_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, uncompressed_size_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CreateStringTable, data_compressed_), }; CSVCMsg_CreateStringTable_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -757,7 +931,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(29); + CSVCMsg_UpdateStringTable_descriptor_ = file->message_type(35); 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_), @@ -774,17 +948,13 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_UpdateStringTable)); - CSVCMsg_VoiceData_descriptor_ = file->message_type(30); - static const int CSVCMsg_VoiceData_offsets_[10] = { + CSVCMsg_VoiceData_descriptor_ = file->message_type(36); + static const int CSVCMsg_VoiceData_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, audio_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, client_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, proximity_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, xuid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, audible_mask_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, voice_data_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, format_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, sequence_bytes_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, section_number_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, uncompressed_sample_offset_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_VoiceData, tick_), }; CSVCMsg_VoiceData_reflection_ = @@ -798,10 +968,11 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_VoiceData)); - CSVCMsg_PacketReliable_descriptor_ = file->message_type(31); - static const int CSVCMsg_PacketReliable_offsets_[2] = { + CSVCMsg_PacketReliable_descriptor_ = file->message_type(37); + static const int CSVCMsg_PacketReliable_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketReliable, tick_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketReliable, messagessize_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PacketReliable, state_), }; CSVCMsg_PacketReliable_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( @@ -814,7 +985,7 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_PacketReliable)); - CSVCMsg_FullFrameSplit_descriptor_ = file->message_type(32); + CSVCMsg_FullFrameSplit_descriptor_ = file->message_type(38); static const int CSVCMsg_FullFrameSplit_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FullFrameSplit, tick_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FullFrameSplit, section_), @@ -832,10 +1003,289 @@ void protobuf_AssignDesc_netmessages_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_FullFrameSplit)); + CSVCMsg_CmdKeyValues_descriptor_ = file->message_type(39); + static const int CSVCMsg_CmdKeyValues_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CmdKeyValues, data_), + }; + CSVCMsg_CmdKeyValues_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_CmdKeyValues_descriptor_, + CSVCMsg_CmdKeyValues::default_instance_, + CSVCMsg_CmdKeyValues_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CmdKeyValues, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_CmdKeyValues, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_CmdKeyValues)); + CMsgIPCAddress_descriptor_ = file->message_type(40); + static const int CMsgIPCAddress_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIPCAddress, computer_guid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIPCAddress, process_id_), + }; + CMsgIPCAddress_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsgIPCAddress_descriptor_, + CMsgIPCAddress::default_instance_, + CMsgIPCAddress_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIPCAddress, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgIPCAddress, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsgIPCAddress)); + CMsgServerPeer_descriptor_ = file->message_type(41); + static const int CMsgServerPeer_offsets_[6] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerPeer, player_slot_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerPeer, steamid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerPeer, ipc_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerPeer, they_hear_you_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerPeer, you_hear_them_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerPeer, is_listenserver_host_), + }; + CMsgServerPeer_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsgServerPeer_descriptor_, + CMsgServerPeer::default_instance_, + CMsgServerPeer_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerPeer, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgServerPeer, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsgServerPeer)); + CSVCMsg_PeerList_descriptor_ = file->message_type(42); + static const int CSVCMsg_PeerList_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PeerList, peer_), + }; + CSVCMsg_PeerList_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_PeerList_descriptor_, + CSVCMsg_PeerList::default_instance_, + CSVCMsg_PeerList_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PeerList, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_PeerList, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_PeerList)); + CSVCMsg_ClearAllStringTables_descriptor_ = file->message_type(43); + static const int CSVCMsg_ClearAllStringTables_offsets_[2] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClearAllStringTables, mapname_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClearAllStringTables, map_crc_), + }; + CSVCMsg_ClearAllStringTables_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_ClearAllStringTables_descriptor_, + CSVCMsg_ClearAllStringTables::default_instance_, + CSVCMsg_ClearAllStringTables_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClearAllStringTables, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_ClearAllStringTables, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_ClearAllStringTables)); + ProtoFlattenedSerializerField_t_descriptor_ = file->message_type(44); + static const int ProtoFlattenedSerializerField_t_offsets_[9] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, var_type_sym_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, var_name_sym_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, bit_count_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, low_value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, high_value_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, encode_flags_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, field_serializer_name_sym_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, field_serializer_version_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, send_node_sym_), + }; + ProtoFlattenedSerializerField_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ProtoFlattenedSerializerField_t_descriptor_, + ProtoFlattenedSerializerField_t::default_instance_, + ProtoFlattenedSerializerField_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializerField_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ProtoFlattenedSerializerField_t)); + ProtoFlattenedSerializer_t_descriptor_ = file->message_type(45); + static const int ProtoFlattenedSerializer_t_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializer_t, serializer_name_sym_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializer_t, serializer_version_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializer_t, fields_index_), + }; + ProtoFlattenedSerializer_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + ProtoFlattenedSerializer_t_descriptor_, + ProtoFlattenedSerializer_t::default_instance_, + ProtoFlattenedSerializer_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializer_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ProtoFlattenedSerializer_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(ProtoFlattenedSerializer_t)); + CSVCMsg_FlattenedSerializer_descriptor_ = file->message_type(46); + static const int CSVCMsg_FlattenedSerializer_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FlattenedSerializer, serializers_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FlattenedSerializer, symbols_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FlattenedSerializer, fields_), + }; + CSVCMsg_FlattenedSerializer_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_FlattenedSerializer_descriptor_, + CSVCMsg_FlattenedSerializer::default_instance_, + CSVCMsg_FlattenedSerializer_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FlattenedSerializer, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_FlattenedSerializer, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_FlattenedSerializer)); + CSVCMsg_StopSound_descriptor_ = file->message_type(47); + static const int CSVCMsg_StopSound_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_StopSound, guid_), + }; + CSVCMsg_StopSound_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_StopSound_descriptor_, + CSVCMsg_StopSound::default_instance_, + CSVCMsg_StopSound_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_StopSound, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_StopSound, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_StopSound)); + CBidirMsg_RebroadcastGameEvent_descriptor_ = file->message_type(48); + static const int CBidirMsg_RebroadcastGameEvent_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, posttoserver_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, buftype_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, clientbitcount_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, receivingclients_), + }; + CBidirMsg_RebroadcastGameEvent_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CBidirMsg_RebroadcastGameEvent_descriptor_, + CBidirMsg_RebroadcastGameEvent::default_instance_, + CBidirMsg_RebroadcastGameEvent_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastGameEvent, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CBidirMsg_RebroadcastGameEvent)); + CBidirMsg_RebroadcastSource_descriptor_ = file->message_type(49); + static const int CBidirMsg_RebroadcastSource_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastSource, eventsource_), + }; + CBidirMsg_RebroadcastSource_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CBidirMsg_RebroadcastSource_descriptor_, + CBidirMsg_RebroadcastSource::default_instance_, + CBidirMsg_RebroadcastSource_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastSource, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RebroadcastSource, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CBidirMsg_RebroadcastSource)); + SerializedNetAddress_t_descriptor_ = file->message_type(50); + static const int SerializedNetAddress_t_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SerializedNetAddress_t, serializedaddress_), + }; + SerializedNetAddress_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SerializedNetAddress_t_descriptor_, + SerializedNetAddress_t::default_instance_, + SerializedNetAddress_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SerializedNetAddress_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SerializedNetAddress_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SerializedNetAddress_t)); + CBidirMsg_RelayInfo_descriptor_ = file->message_type(51); + static const int CBidirMsg_RelayInfo_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayInfo, operation_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayInfo, serializedtargetaddress_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayInfo, additionalhops_), + }; + CBidirMsg_RelayInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CBidirMsg_RelayInfo_descriptor_, + CBidirMsg_RelayInfo::default_instance_, + CBidirMsg_RelayInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CBidirMsg_RelayInfo)); + CBidirMsg_RelayInfo_Operation_t_descriptor_ = CBidirMsg_RelayInfo_descriptor_->enum_type(0); + SignedPayload_t_descriptor_ = file->message_type(52); + static const int SignedPayload_t_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SignedPayload_t, payloaddata_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SignedPayload_t, signature_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SignedPayload_t, bpayloadencrypted_), + }; + SignedPayload_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + SignedPayload_t_descriptor_, + SignedPayload_t::default_instance_, + SignedPayload_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SignedPayload_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SignedPayload_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(SignedPayload_t)); + CBidirMsg_RelayPacket_descriptor_ = file->message_type(53); + static const int CBidirMsg_RelayPacket_offsets_[4] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket, prevhopcount_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket, originalsender_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket, signedpayload_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket, recipientlist_), + }; + CBidirMsg_RelayPacket_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CBidirMsg_RelayPacket_descriptor_, + CBidirMsg_RelayPacket::default_instance_, + CBidirMsg_RelayPacket_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CBidirMsg_RelayPacket)); + CBidirMsg_RelayPacket_SignedDestinationAddress_t_descriptor_ = CBidirMsg_RelayPacket_descriptor_->nested_type(0); + static const int CBidirMsg_RelayPacket_SignedDestinationAddress_t_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket_SignedDestinationAddress_t, serializedaddr_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket_SignedDestinationAddress_t, signature_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket_SignedDestinationAddress_t, encryptedpayloadkey_), + }; + CBidirMsg_RelayPacket_SignedDestinationAddress_t_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CBidirMsg_RelayPacket_SignedDestinationAddress_t_descriptor_, + CBidirMsg_RelayPacket_SignedDestinationAddress_t::default_instance_, + CBidirMsg_RelayPacket_SignedDestinationAddress_t_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket_SignedDestinationAddress_t, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CBidirMsg_RelayPacket_SignedDestinationAddress_t, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CBidirMsg_RelayPacket_SignedDestinationAddress_t)); CLC_Messages_descriptor_ = file->enum_type(0); - VoiceDataFormat_t_descriptor_ = file->enum_type(1); - SVC_Messages_descriptor_ = file->enum_type(2); - ESplitScreenMessageType_descriptor_ = file->enum_type(3); + SVC_Messages_descriptor_ = file->enum_type(1); + VoiceDataFormat_t_descriptor_ = file->enum_type(2); + RequestPause_t_descriptor_ = file->enum_type(3); + PrefetchType_descriptor_ = file->enum_type(4); + ESplitScreenMessageType_descriptor_ = file->enum_type(5); + EQueryCvarValueStatus_descriptor_ = file->enum_type(6); + DIALOG_TYPE_descriptor_ = file->enum_type(7); + SVC_Messages_LowFrequency_descriptor_ = file->enum_type(8); + Bidirectional_Messages_descriptor_ = file->enum_type(9); + Bidirectional_Messages_LowFrequency_descriptor_ = file->enum_type(10); } namespace { @@ -852,6 +1302,8 @@ void protobuf_RegisterTypes(const ::std::string&) { CCLCMsg_ClientInfo_descriptor_, &CCLCMsg_ClientInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CCLCMsg_Move_descriptor_, &CCLCMsg_Move::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsgVoiceAudio_descriptor_, &CMsgVoiceAudio::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CCLCMsg_VoiceData_descriptor_, &CCLCMsg_VoiceData::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( @@ -868,6 +1320,16 @@ void protobuf_RegisterTypes(const ::std::string&) { CCLCMsg_SplitPlayerConnect_descriptor_, &CCLCMsg_SplitPlayerConnect::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CCLCMsg_ClientMessage_descriptor_, &CCLCMsg_ClientMessage::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_SplitPlayerDisconnect_descriptor_, &CCLCMsg_SplitPlayerDisconnect::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_ServerStatus_descriptor_, &CCLCMsg_ServerStatus::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_ServerPing_descriptor_, &CCLCMsg_ServerPing::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_RequestPause_descriptor_, &CCLCMsg_RequestPause::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CCLCMsg_CmdKeyValues_descriptor_, &CCLCMsg_CmdKeyValues::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CSVCMsg_ServerInfo_descriptor_, &CSVCMsg_ServerInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( @@ -924,6 +1386,38 @@ void protobuf_RegisterTypes(const ::std::string&) { CSVCMsg_PacketReliable_descriptor_, &CSVCMsg_PacketReliable::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CSVCMsg_FullFrameSplit_descriptor_, &CSVCMsg_FullFrameSplit::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_CmdKeyValues_descriptor_, &CSVCMsg_CmdKeyValues::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsgIPCAddress_descriptor_, &CMsgIPCAddress::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsgServerPeer_descriptor_, &CMsgServerPeer::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_PeerList_descriptor_, &CSVCMsg_PeerList::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_ClearAllStringTables_descriptor_, &CSVCMsg_ClearAllStringTables::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ProtoFlattenedSerializerField_t_descriptor_, &ProtoFlattenedSerializerField_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + ProtoFlattenedSerializer_t_descriptor_, &ProtoFlattenedSerializer_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_FlattenedSerializer_descriptor_, &CSVCMsg_FlattenedSerializer::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_StopSound_descriptor_, &CSVCMsg_StopSound::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CBidirMsg_RebroadcastGameEvent_descriptor_, &CBidirMsg_RebroadcastGameEvent::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CBidirMsg_RebroadcastSource_descriptor_, &CBidirMsg_RebroadcastSource::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SerializedNetAddress_t_descriptor_, &SerializedNetAddress_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CBidirMsg_RelayInfo_descriptor_, &CBidirMsg_RelayInfo::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + SignedPayload_t_descriptor_, &SignedPayload_t::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CBidirMsg_RelayPacket_descriptor_, &CBidirMsg_RelayPacket::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CBidirMsg_RelayPacket_SignedDestinationAddress_t_descriptor_, &CBidirMsg_RelayPacket_SignedDestinationAddress_t::default_instance()); } } // namespace @@ -933,6 +1427,8 @@ void protobuf_ShutdownFile_netmessages_2eproto() { delete CCLCMsg_ClientInfo_reflection_; delete CCLCMsg_Move::default_instance_; delete CCLCMsg_Move_reflection_; + delete CMsgVoiceAudio::default_instance_; + delete CMsgVoiceAudio_reflection_; delete CCLCMsg_VoiceData::default_instance_; delete CCLCMsg_VoiceData_reflection_; delete CCLCMsg_BaselineAck::default_instance_; @@ -949,6 +1445,16 @@ void protobuf_ShutdownFile_netmessages_2eproto() { delete CCLCMsg_SplitPlayerConnect_reflection_; delete CCLCMsg_ClientMessage::default_instance_; delete CCLCMsg_ClientMessage_reflection_; + delete CCLCMsg_SplitPlayerDisconnect::default_instance_; + delete CCLCMsg_SplitPlayerDisconnect_reflection_; + delete CCLCMsg_ServerStatus::default_instance_; + delete CCLCMsg_ServerStatus_reflection_; + delete CCLCMsg_ServerPing::default_instance_; + delete CCLCMsg_ServerPing_reflection_; + delete CCLCMsg_RequestPause::default_instance_; + delete CCLCMsg_RequestPause_reflection_; + delete CCLCMsg_CmdKeyValues::default_instance_; + delete CCLCMsg_CmdKeyValues_reflection_; delete CSVCMsg_ServerInfo::default_instance_; delete CSVCMsg_ServerInfo_reflection_; delete CSVCMsg_ClassInfo::default_instance_; @@ -1005,6 +1511,38 @@ void protobuf_ShutdownFile_netmessages_2eproto() { delete CSVCMsg_PacketReliable_reflection_; delete CSVCMsg_FullFrameSplit::default_instance_; delete CSVCMsg_FullFrameSplit_reflection_; + delete CSVCMsg_CmdKeyValues::default_instance_; + delete CSVCMsg_CmdKeyValues_reflection_; + delete CMsgIPCAddress::default_instance_; + delete CMsgIPCAddress_reflection_; + delete CMsgServerPeer::default_instance_; + delete CMsgServerPeer_reflection_; + delete CSVCMsg_PeerList::default_instance_; + delete CSVCMsg_PeerList_reflection_; + delete CSVCMsg_ClearAllStringTables::default_instance_; + delete CSVCMsg_ClearAllStringTables_reflection_; + delete ProtoFlattenedSerializerField_t::default_instance_; + delete ProtoFlattenedSerializerField_t_reflection_; + delete ProtoFlattenedSerializer_t::default_instance_; + delete ProtoFlattenedSerializer_t_reflection_; + delete CSVCMsg_FlattenedSerializer::default_instance_; + delete CSVCMsg_FlattenedSerializer_reflection_; + delete CSVCMsg_StopSound::default_instance_; + delete CSVCMsg_StopSound_reflection_; + delete CBidirMsg_RebroadcastGameEvent::default_instance_; + delete CBidirMsg_RebroadcastGameEvent_reflection_; + delete CBidirMsg_RebroadcastSource::default_instance_; + delete CBidirMsg_RebroadcastSource_reflection_; + delete SerializedNetAddress_t::default_instance_; + delete SerializedNetAddress_t_reflection_; + delete CBidirMsg_RelayInfo::default_instance_; + delete CBidirMsg_RelayInfo_reflection_; + delete SignedPayload_t::default_instance_; + delete SignedPayload_t_reflection_; + delete CBidirMsg_RelayPacket::default_instance_; + delete CBidirMsg_RelayPacket_reflection_; + delete CBidirMsg_RelayPacket_SignedDestinationAddress_t::default_instance_; + delete CBidirMsg_RelayPacket_SignedDestinationAddress_t_reflection_; } void protobuf_AddDesc_netmessages_2eproto() { @@ -1022,133 +1560,213 @@ void protobuf_AddDesc_netmessages_2eproto() { "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_back" "up_commands\030\001 \001(\r\022\030\n\020num_new_commands\030\002 " - "\001(\r\022\014\n\004data\030\003 \001(\014\"\315\001\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.VoiceDataFormat_t:\026VOICEDATA_FORMA" - "T_STEAM\022\026\n\016sequence_bytes\030\004 \001(\005\022\026\n\016secti" - "on_number\030\005 \001(\r\022\"\n\032uncompressed_sample_o" - "ffset\030\006 \001(\r\022\014\n\004tick\030\007 \001(\r\"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\"\366\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\022\022\n\naddon_name\030\022 \001(\t" - "\"\244\001\n\021CSVCMsg_ClassInfo\022\030\n\020create_on_clie" - "nt\030\001 \001(\010\022+\n\007classes\030\002 \003(\0132\032.CSVCMsg_Clas" - "sInfo.class_t\032H\n\007class_t\022\020\n\010class_id\030\001 \001" - "(\005\022\027\n\017data_table_name\030\002 \001(\t\022\022\n\nclass_nam" - "e\030\003 \001(\t\"\"\n\020CSVCMsg_SetPause\022\016\n\006paused\030\001 " - "\001(\010\"G\n\021CSVCMsg_VoiceInit\022\017\n\007quality\030\001 \001(" - "\005\022\r\n\005codec\030\002 \001(\t\022\022\n\007version\030\003 \001(\005:\0010\"\035\n\r" - "CSVCMsg_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\013" - "sounddata_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\013delay_value\030\005 \001(\002\022\027\n\017sequence_numbe" - "r\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\t" - "sound_num\030\013 \001(\r\022\030\n\020sound_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_level\030\017 \001(\005\022\023\n\013is_senten" - "ce\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\020CSVCMs" - "g_FixAngle\022\020\n\010relative\030\001 \001(\010\022\032\n\005angle\030\002 " - "\001(\0132\013.CMsgQAngle\"4\n\026CSVCMsg_CrosshairAng" - "le\022\032\n\005angle\030\001 \001(\0132\013.CMsgQAngle\"\212\001\n\020CSVCM" - "sg_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_ind" - "ex\030\003 \001(\005\022\023\n\013model_index\030\004 \001(\005\022\024\n\014low_pri" - "ority\030\005 \001(\010\"z\n\023CSVCMsg_SplitScreen\022\?\n\004ty" - "pe\030\001 \001(\0162\030.ESplitScreenMessageType:\027MSG_" - "SPLITSCREEN_ADDUSER\022\014\n\004slot\030\002 \001(\005\022\024\n\014pla" - "yer_index\030\003 \001(\005\"9\n\024CSVCMsg_GetCvarValue\022" - "\016\n\006cookie\030\001 \001(\005\022\021\n\tcvar_name\030\002 \001(\t\"<\n\014CS" - "VCMsg_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\016net_table_name\030\002 \001(\t\022\025" - "\n\rneeds_decoder\030\003 \001(\010\022,\n\005props\030\004 \003(\0132\035.C" - "SVCMsg_SendTable.sendprop_t\032\255\001\n\nsendprop" - "_t\022\014\n\004type\030\001 \001(\005\022\020\n\010var_name\030\002 \001(\t\022\r\n\005fl" - "ags\030\003 \001(\005\022\020\n\010priority\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\"\321\001\n\025CSVCMsg_GameEventList\0228\n\013descrip" - "tors\030\001 \003(\0132#.CSVCMsg_GameEventList.descr" - "iptor_t\032#\n\005key_t\022\014\n\004type\030\001 \001(\005\022\014\n\004name\030\002" - " \001(\t\032Y\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_Game" - "EventList.key_t\"\310\001\n\026CSVCMsg_PacketEntiti" - "es\022\023\n\013max_entries\030\001 \001(\005\022\027\n\017updated_entri" - "es\030\002 \001(\005\022\020\n\010is_delta\030\003 \001(\010\022\027\n\017update_bas" - "eline\030\004 \001(\010\022\020\n\010baseline\030\005 \001(\005\022\022\n\ndelta_f" - "rom\030\006 \001(\005\022\023\n\013entity_data\030\007 \001(\014\022\032\n\022pendin" - "g_full_frame\030\010 \001(\010\"R\n\024CSVCMsg_TempEntiti" - "es\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_Creat" - "eStringTable\022\014\n\004name\030\001 \001(\t\022\023\n\013max_entrie" - "s\030\002 \001(\005\022\023\n\013num_entries\030\003 \001(\005\022\034\n\024user_dat" - "a_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\005flags" - "\030\007 \001(\005\022\023\n\013string_data\030\010 \001(\014\"_\n\031CSVCMsg_U" - "pdateStringTable\022\020\n\010table_id\030\001 \001(\005\022\033\n\023nu" - "m_changed_entries\030\002 \001(\005\022\023\n\013string_data\030\003" - " \001(\014\"\214\002\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\014a" - "udible_mask\030\004 \001(\005\022\022\n\nvoice_data\030\005 \001(\014\022:\n" - "\006format\030\006 \001(\0162\022.VoiceDataFormat_t:\026VOICE" - "DATA_FORMAT_STEAM\022\026\n\016sequence_bytes\030\007 \001(" - "\005\022\026\n\016section_number\030\010 \001(\r\022\"\n\032uncompresse" - "d_sample_offset\030\t \001(\r\022\014\n\004tick\030\n \001(\r\"<\n\026C" - "SVCMsg_PacketReliable\022\014\n\004tick\030\001 \001(\005\022\024\n\014m" - "essagessize\030\002 \001(\005\"T\n\026CSVCMsg_FullFrameSp" - "lit\022\014\n\004tick\030\001 \001(\005\022\017\n\007section\030\002 \001(\005\022\r\n\005to" - "tal\030\003 \001(\005\022\014\n\004data\030\004 \001(\014*\352\001\n\014CLC_Messages" - "\022\022\n\016clc_ClientInfo\020\010\022\014\n\010clc_Move\020\t\022\021\n\rcl" - "c_VoiceData\020\n\022\023\n\017clc_BaselineAck\020\013\022\024\n\020cl" - "c_ListenEvents\020\014\022\030\n\024clc_RespondCvarValue" - "\020\r\022\024\n\020clc_FileCRCCheck\020\016\022\027\n\023clc_LoadingP" - "rogress\020\017\022\032\n\026clc_SplitPlayerConnect\020\020\022\025\n" - "\021clc_ClientMessage\020\021*L\n\021VoiceDataFormat_" - "t\022\032\n\026VOICEDATA_FORMAT_STEAM\020\000\022\033\n\027VOICEDA" - "TA_FORMAT_ENGINE\020\001*\241\004\n\014SVC_Messages\022\022\n\016s" - "vc_ServerInfo\020\010\022\021\n\rsvc_SendTable\020\t\022\021\n\rsv" - "c_ClassInfo\020\n\022\020\n\014svc_SetPause\020\013\022\031\n\025svc_C" - "reateStringTable\020\014\022\031\n\025svc_UpdateStringTa" - "ble\020\r\022\021\n\rsvc_VoiceInit\020\016\022\021\n\rsvc_VoiceDat" - "a\020\017\022\r\n\tsvc_Print\020\020\022\016\n\nsvc_Sounds\020\021\022\017\n\013sv" - "c_SetView\020\022\022\020\n\014svc_FixAngle\020\023\022\026\n\022svc_Cro" - "sshairAngle\020\024\022\020\n\014svc_BSPDecal\020\025\022\023\n\017svc_S" - "plitScreen\020\026\022\023\n\017svc_UserMessage\020\027\022\025\n\021svc" - "_EntityMessage\020\030\022\021\n\rsvc_GameEvent\020\031\022\026\n\022s" - "vc_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_PacketReliable\020 \022\026\n\022svc_FullFrameS" - "plit\020!*V\n\027ESplitScreenMessageType\022\033\n\027MSG" - "_SPLITSCREEN_ADDUSER\020\000\022\036\n\032MSG_SPLITSCREE" - "N_REMOVEUSER\020\001B\003\200\001\000", 5179); + "\001(\r\022\014\n\004data\030\003 \001(\014\"\311\001\n\016CMsgVoiceAudio\022:\n\006" + "format\030\001 \001(\0162\022.VoiceDataFormat_t:\026VOICED" + "ATA_FORMAT_STEAM\022\022\n\nvoice_data\030\002 \001(\014\022\026\n\016" + "sequence_bytes\030\003 \001(\005\022\026\n\016section_number\030\004" + " \001(\r\022\023\n\013sample_rate\030\005 \001(\r\022\"\n\032uncompresse" + "d_sample_offset\030\006 \001(\r\"O\n\021CCLCMsg_VoiceDa" + "ta\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudio\022\014\n\004xu" + "id\030\002 \001(\006\022\014\n\004tick\030\003 \001(\r\"A\n\023CCLCMsg_Baseli" + "neAck\022\025\n\rbaseline_tick\030\001 \001(\005\022\023\n\013baseline" + "_nr\030\002 \001(\005\"*\n\024CCLCMsg_ListenEvents\022\022\n\neve" + "nt_mask\030\001 \003(\007\"\\\n\030CCLCMsg_RespondCvarValu" + "e\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\024CCLCMsg_F" + "ileCRCCheck\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\027CCLCMsg_LoadingPro" + "gress\022\020\n\010progress\030\001 \001(\005\"0\n\032CCLCMsg_Split" + "PlayerConnect\022\022\n\nplayername\030\001 \001(\t\"7\n\025CCL" + "CMsg_ClientMessage\022\020\n\010msg_type\030\001 \001(\005\022\014\n\004" + "data\030\002 \001(\014\"-\n\035CCLCMsg_SplitPlayerDisconn" + "ect\022\014\n\004slot\030\001 \001(\005\"*\n\024CCLCMsg_ServerStatu" + "s\022\022\n\nsimplified\030\001 \001(\010\"\024\n\022CCLCMsg_ServerP" + "ing\"Z\n\024CCLCMsg_RequestPause\022-\n\npause_typ" + "e\030\001 \001(\0162\017.RequestPause_t:\010RP_PAUSE\022\023\n\013pa" + "use_group\030\002 \001(\005\"$\n\024CCLCMsg_CmdKeyValues\022" + "\014\n\004data\030\001 \001(\014\"\325\003\n\022CSVCMsg_ServerInfo\022\020\n\010" + "protocol\030\001 \001(\005\022\024\n\014server_count\030\002 \001(\005\022\024\n\014" + "is_dedicated\030\003 \001(\010\022\017\n\007is_hltv\030\004 \001(\010\022\021\n\ti" + "s_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\020string_tabl" + "e_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\rti" + "ck_interval\030\r \001(\002\022\020\n\010game_dir\030\016 \001(\t\022\020\n\010m" + "ap_name\030\017 \001(\t\022\020\n\010sky_name\030\020 \001(\t\022\021\n\thost_" + "name\030\021 \001(\t\022\022\n\naddon_name\030\022 \001(\t\022>\n\023game_s" + "ession_config\030\023 \001(\0132!.CSVCMsg_GameSessio" + "nConfiguration\022\035\n\025game_session_manifest\030" + "\024 \001(\014\"\244\001\n\021CSVCMsg_ClassInfo\022\030\n\020create_on" + "_client\030\001 \001(\010\022+\n\007classes\030\002 \003(\0132\032.CSVCMsg" + "_ClassInfo.class_t\032H\n\007class_t\022\020\n\010class_i" + "d\030\001 \001(\005\022\027\n\017data_table_name\030\002 \001(\t\022\022\n\nclas" + "s_name\030\003 \001(\t\"\"\n\020CSVCMsg_SetPause\022\016\n\006paus" + "ed\030\001 \001(\010\"G\n\021CSVCMsg_VoiceInit\022\017\n\007quality" + "\030\001 \001(\005\022\r\n\005codec\030\002 \001(\t\022\022\n\007version\030\003 \001(\005:\001" + "0\"\035\n\rCSVCMsg_Print\022\014\n\004text\030\001 \001(\t\"\337\003\n\016CSV" + "CMsg_Sounds\022\026\n\016reliable_sound\030\001 \001(\010\022+\n\006s" + "ounds\030\002 \003(\0132\033.CSVCMsg_Sounds.sounddata_t" + "\032\207\003\n\013sounddata_t\022\020\n\010origin_x\030\001 \001(\021\022\020\n\010or" + "igin_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_index\030\007 \001(\005\022\017\n\007ch" + "annel\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\020sound_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_level\030\017 \001(\005\022\023\n\013is_s" + "entence\030\020 \001(\010\022\022\n\nis_ambient\030\021 \001(\010\022\014\n\004gui" + "d\030\022 \001(\r\022\031\n\021sound_resource_id\030\023 \001(\006\"X\n\020CS" + "VCMsg_Prefetch\022\023\n\013sound_index\030\001 \001(\005\022/\n\rr" + "esource_type\030\002 \001(\0162\r.PrefetchType:\tPFT_S" + "OUND\"5\n\017CSVCMsg_SetView\022\024\n\014entity_index\030" + "\001 \001(\005\022\014\n\004slot\030\002 \001(\005\"@\n\020CSVCMsg_FixAngle\022" + "\020\n\010relative\030\001 \001(\010\022\032\n\005angle\030\002 \001(\0132\013.CMsgQ" + "Angle\"4\n\026CSVCMsg_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_text" + "ure_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(\0162\030." + "ESplitScreenMessageType:\027MSG_SPLITSCREEN" + "_ADDUSER\022\014\n\004slot\030\002 \001(\005\022\024\n\014player_index\030\003" + " \001(\005\"9\n\024CSVCMsg_GetCvarValue\022\016\n\006cookie\030\001" + " \001(\005\022\021\n\tcvar_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\016net_table_name\030\002 \001(\t\022\025\n\rneeds_dec" + "oder\030\003 \001(\010\022,\n\005props\030\004 \003(\0132\035.CSVCMsg_Send" + "Table.sendprop_t\032\255\001\n\nsendprop_t\022\014\n\004type\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\014num" + "_elements\030\006 \001(\005\022\021\n\tlow_value\030\007 \001(\002\022\022\n\nhi" + "gh_value\030\010 \001(\002\022\020\n\010num_bits\030\t \001(\005\"\321\001\n\025CSV" + "CMsg_GameEventList\0228\n\013descriptors\030\001 \003(\0132" + "#.CSVCMsg_GameEventList.descriptor_t\032#\n\005" + "key_t\022\014\n\004type\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\032Y\n\014des" + "criptor_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_GameEventList.k" + "ey_t\"\223\002\n\026CSVCMsg_PacketEntities\022\023\n\013max_e" + "ntries\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\022\032\n\022pending_full_fram" + "e\030\010 \001(\010\022 \n\030active_spawngroup_handle\030\t \001(" + "\r\022\'\n\037max_spawngroup_creationsequence\030\n \001" + "(\r\"R\n\024CSVCMsg_TempEntities\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\"\351\001\n\031CSVCMsg_CreateStringTable\022\014\n\004" + "name\030\001 \001(\t\022\023\n\013num_entries\030\002 \001(\005\022\034\n\024user_" + "data_fixed_size\030\003 \001(\010\022\026\n\016user_data_size\030" + "\004 \001(\005\022\033\n\023user_data_size_bits\030\005 \001(\005\022\r\n\005fl" + "ags\030\006 \001(\005\022\023\n\013string_data\030\007 \001(\014\022\031\n\021uncomp" + "ressed_size\030\010 \001(\005\022\027\n\017data_compressed\030\t \001" + "(\010\"_\n\031CSVCMsg_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\"\210\001\n\021CSVCMsg_VoiceDat" + "a\022\036\n\005audio\030\001 \001(\0132\017.CMsgVoiceAudio\022\016\n\006cli" + "ent\030\002 \001(\005\022\021\n\tproximity\030\003 \001(\010\022\014\n\004xuid\030\004 \001" + "(\006\022\024\n\014audible_mask\030\005 \001(\005\022\014\n\004tick\030\006 \001(\r\"K" + "\n\026CSVCMsg_PacketReliable\022\014\n\004tick\030\001 \001(\005\022\024" + "\n\014messagessize\030\002 \001(\005\022\r\n\005state\030\003 \001(\010\"T\n\026C" + "SVCMsg_FullFrameSplit\022\014\n\004tick\030\001 \001(\005\022\017\n\007s" + "ection\030\002 \001(\005\022\r\n\005total\030\003 \001(\005\022\014\n\004data\030\004 \001(" + "\014\"$\n\024CSVCMsg_CmdKeyValues\022\014\n\004data\030\001 \001(\014\"" + ";\n\016CMsgIPCAddress\022\025\n\rcomputer_guid\030\001 \001(\006" + "\022\022\n\nprocess_id\030\002 \001(\r\"\240\001\n\016CMsgServerPeer\022" + "\023\n\013player_slot\030\001 \001(\005\022\017\n\007steamid\030\002 \001(\006\022\034\n" + "\003ipc\030\003 \001(\0132\017.CMsgIPCAddress\022\025\n\rthey_hear" + "_you\030\004 \001(\010\022\025\n\ryou_hear_them\030\005 \001(\010\022\034\n\024is_" + "listenserver_host\030\006 \001(\010\"1\n\020CSVCMsg_PeerL" + "ist\022\035\n\004peer\030\001 \003(\0132\017.CMsgServerPeer\"@\n\034CS" + "VCMsg_ClearAllStringTables\022\017\n\007mapname\030\001 " + "\001(\t\022\017\n\007map_crc\030\002 \001(\r\"\371\001\n\037ProtoFlattenedS" + "erializerField_t\022\024\n\014var_type_sym\030\001 \001(\005\022\024" + "\n\014var_name_sym\030\002 \001(\005\022\021\n\tbit_count\030\003 \001(\005\022" + "\021\n\tlow_value\030\004 \001(\002\022\022\n\nhigh_value\030\005 \001(\002\022\024" + "\n\014encode_flags\030\006 \001(\005\022!\n\031field_serializer" + "_name_sym\030\007 \001(\005\022 \n\030field_serializer_vers" + "ion\030\010 \001(\005\022\025\n\rsend_node_sym\030\t \001(\005\"k\n\032Prot" + "oFlattenedSerializer_t\022\033\n\023serializer_nam" + "e_sym\030\001 \001(\005\022\032\n\022serializer_version\030\002 \001(\005\022" + "\024\n\014fields_index\030\003 \003(\005\"\222\001\n\033CSVCMsg_Flatte" + "nedSerializer\0220\n\013serializers\030\001 \003(\0132\033.Pro" + "toFlattenedSerializer_t\022\017\n\007symbols\030\002 \003(\t" + "\0220\n\006fields\030\003 \003(\0132 .ProtoFlattenedSeriali" + "zerField_t\"!\n\021CSVCMsg_StopSound\022\014\n\004guid\030" + "\001 \001(\007\"y\n\036CBidirMsg_RebroadcastGameEvent\022" + "\024\n\014posttoserver\030\001 \001(\010\022\017\n\007buftype\030\002 \001(\005\022\026" + "\n\016clientbitcount\030\003 \001(\r\022\030\n\020receivingclien" + "ts\030\004 \001(\004\"2\n\033CBidirMsg_RebroadcastSource\022" + "\023\n\013eventsource\030\001 \001(\005\"3\n\026SerializedNetAdd" + "ress_t\022\031\n\021serializedAddress\030\001 \002(\014\"\257\002\n\023CB" + "idirMsg_RelayInfo\022F\n\toperation\030\001 \002(\0162 .C" + "BidirMsg_RelayInfo.Operation_t:\021RIO_REQU" + "EST_RELAY\0228\n\027serializedTargetAddress\030\002 \001" + "(\0132\027.SerializedNetAddress_t\022\026\n\016additiona" + "lHops\030\003 \001(\r\"~\n\013Operation_t\022\025\n\021RIO_REQUES" + "T_RELAY\020\000\022\022\n\016RIO_WILL_RELAY\020\001\022\020\n\014RIO_NO_" + "ROUTE\020\002\022\024\n\020RIO_REJECT_RELAY\020\003\022\034\n\030RIO_EST" + "ABLISH_CONNECTION\020\004\"T\n\017SignedPayload_t\022\023" + "\n\013payloadData\030\001 \002(\014\022\021\n\tsignature\030\002 \002(\r\022\031" + "\n\021bPayloadEncrypted\030\003 \002(\010\"\320\002\n\025CBidirMsg_" + "RelayPacket\022\024\n\014prevhopcount\030\001 \002(\r\022/\n\016ori" + "ginalSender\030\002 \002(\0132\027.SerializedNetAddress" + "_t\022\'\n\rsignedPayload\030\003 \002(\0132\020.SignedPayloa" + "d_t\022H\n\rrecipientList\030\004 \003(\01321.CBidirMsg_R" + "elayPacket.SignedDestinationAddress_t\032}\n" + "\032SignedDestinationAddress_t\022/\n\016serialize" + "dAddr\030\001 \002(\0132\027.SerializedNetAddress_t\022\021\n\t" + "signature\030\002 \002(\r\022\033\n\023encryptedPayloadKey\030\003" + " \001(\014*\337\002\n\014CLC_Messages\022\022\n\016clc_ClientInfo\020" + "\024\022\014\n\010clc_Move\020\025\022\021\n\rclc_VoiceData\020\026\022\023\n\017cl" + "c_BaselineAck\020\027\022\024\n\020clc_ListenEvents\020\030\022\030\n" + "\024clc_RespondCvarValue\020\031\022\024\n\020clc_FileCRCCh" + "eck\020\032\022\027\n\023clc_LoadingProgress\020\033\022\032\n\026clc_Sp" + "litPlayerConnect\020\034\022\025\n\021clc_ClientMessage\020" + "\035\022\035\n\031clc_SplitPlayerDisconnect\020\036\022\024\n\020clc_" + "ServerStatus\020\037\022\022\n\016clc_ServerPing\020 \022\024\n\020cl" + "c_RequestPause\020!\022\024\n\020clc_CmdKeyValues\020\"*\326" + "\004\n\014SVC_Messages\022\022\n\016svc_ServerInfo\020(\022\033\n\027s" + "vc_FlattenedSerializer\020)\022\021\n\rsvc_ClassInf" + "o\020*\022\020\n\014svc_SetPause\020+\022\031\n\025svc_CreateStrin" + "gTable\020,\022\031\n\025svc_UpdateStringTable\020-\022\021\n\rs" + "vc_VoiceInit\020.\022\021\n\rsvc_VoiceData\020/\022\r\n\tsvc" + "_Print\0200\022\016\n\nsvc_Sounds\0201\022\017\n\013svc_SetView\020" + "2\022\034\n\030svc_ClearAllStringTables\0203\022\024\n\020svc_C" + "mdKeyValues\0204\022\020\n\014svc_BSPDecal\0205\022\023\n\017svc_S" + "plitScreen\0206\022\026\n\022svc_PacketEntities\0207\022\020\n\014" + "svc_Prefetch\0208\022\014\n\010svc_Menu\0209\022\024\n\020svc_GetC" + "varValue\020:\022\021\n\rsvc_StopSound\020;\022\020\n\014svc_Pee" + "rList\020<\022\026\n\022svc_PacketReliable\020=\022\023\n\017svc_U" + "serMessage\020>\022\021\n\rsvc_SendTable\020\?\022\021\n\rsvc_G" + "ameEvent\020C\022\024\n\020svc_TempEntities\020D\022\025\n\021svc_" + "GameEventList\020E\022\026\n\022svc_FullFrameSplit\020F*" + "L\n\021VoiceDataFormat_t\022\032\n\026VOICEDATA_FORMAT" + "_STEAM\020\000\022\033\n\027VOICEDATA_FORMAT_ENGINE\020\001*B\n" + "\016RequestPause_t\022\014\n\010RP_PAUSE\020\000\022\016\n\nRP_UNPA" + "USE\020\001\022\022\n\016RP_TOGGLEPAUSE\020\002*\035\n\014PrefetchTyp" + "e\022\r\n\tPFT_SOUND\020\000*V\n\027ESplitScreenMessageT" + "ype\022\033\n\027MSG_SPLITSCREEN_ADDUSER\020\000\022\036\n\032MSG_" + "SPLITSCREEN_REMOVEUSER\020\001*\263\001\n\025EQueryCvarV" + "alueStatus\022%\n!eQueryCvarValueStatus_Valu" + "eIntact\020\000\022&\n\"eQueryCvarValueStatus_CvarN" + "otFound\020\001\022\"\n\036eQueryCvarValueStatus_NotAC" + "var\020\002\022\'\n#eQueryCvarValueStatus_CvarProte" + "cted\020\003*h\n\013DIALOG_TYPE\022\016\n\nDIALOG_MSG\020\000\022\017\n" + "\013DIALOG_MENU\020\001\022\017\n\013DIALOG_TEXT\020\002\022\020\n\014DIALO" + "G_ENTRY\020\003\022\025\n\021DIALOG_ASKCONNECT\020\004*+\n\031SVC_" + "Messages_LowFrequency\022\016\n\tsvc_dummy\020\330\004*a\n" + "\026Bidirectional_Messages\022\033\n\027bi_Rebroadcas" + "tGameEvent\020\020\022\030\n\024bi_RebroadcastSource\020\021\022\020" + "\n\014bi_GameEvent\020\022*M\n#Bidirectional_Messag" + "es_LowFrequency\022\021\n\014bi_RelayInfo\020\274\005\022\023\n\016bi" + "_RelayPacket\020\275\005B\003\200\001\000", 8340); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "netmessages.proto", &protobuf_RegisterTypes); CCLCMsg_ClientInfo::default_instance_ = new CCLCMsg_ClientInfo(); CCLCMsg_Move::default_instance_ = new CCLCMsg_Move(); + CMsgVoiceAudio::default_instance_ = new CMsgVoiceAudio(); CCLCMsg_VoiceData::default_instance_ = new CCLCMsg_VoiceData(); CCLCMsg_BaselineAck::default_instance_ = new CCLCMsg_BaselineAck(); CCLCMsg_ListenEvents::default_instance_ = new CCLCMsg_ListenEvents(); @@ -1157,6 +1775,11 @@ void protobuf_AddDesc_netmessages_2eproto() { CCLCMsg_LoadingProgress::default_instance_ = new CCLCMsg_LoadingProgress(); CCLCMsg_SplitPlayerConnect::default_instance_ = new CCLCMsg_SplitPlayerConnect(); CCLCMsg_ClientMessage::default_instance_ = new CCLCMsg_ClientMessage(); + CCLCMsg_SplitPlayerDisconnect::default_instance_ = new CCLCMsg_SplitPlayerDisconnect(); + CCLCMsg_ServerStatus::default_instance_ = new CCLCMsg_ServerStatus(); + CCLCMsg_ServerPing::default_instance_ = new CCLCMsg_ServerPing(); + CCLCMsg_RequestPause::default_instance_ = new CCLCMsg_RequestPause(); + CCLCMsg_CmdKeyValues::default_instance_ = new CCLCMsg_CmdKeyValues(); CSVCMsg_ServerInfo::default_instance_ = new CSVCMsg_ServerInfo(); CSVCMsg_ClassInfo::default_instance_ = new CSVCMsg_ClassInfo(); CSVCMsg_ClassInfo_class_t::default_instance_ = new CSVCMsg_ClassInfo_class_t(); @@ -1185,8 +1808,25 @@ void protobuf_AddDesc_netmessages_2eproto() { CSVCMsg_VoiceData::default_instance_ = new CSVCMsg_VoiceData(); CSVCMsg_PacketReliable::default_instance_ = new CSVCMsg_PacketReliable(); CSVCMsg_FullFrameSplit::default_instance_ = new CSVCMsg_FullFrameSplit(); + CSVCMsg_CmdKeyValues::default_instance_ = new CSVCMsg_CmdKeyValues(); + CMsgIPCAddress::default_instance_ = new CMsgIPCAddress(); + CMsgServerPeer::default_instance_ = new CMsgServerPeer(); + CSVCMsg_PeerList::default_instance_ = new CSVCMsg_PeerList(); + CSVCMsg_ClearAllStringTables::default_instance_ = new CSVCMsg_ClearAllStringTables(); + ProtoFlattenedSerializerField_t::default_instance_ = new ProtoFlattenedSerializerField_t(); + ProtoFlattenedSerializer_t::default_instance_ = new ProtoFlattenedSerializer_t(); + CSVCMsg_FlattenedSerializer::default_instance_ = new CSVCMsg_FlattenedSerializer(); + CSVCMsg_StopSound::default_instance_ = new CSVCMsg_StopSound(); + CBidirMsg_RebroadcastGameEvent::default_instance_ = new CBidirMsg_RebroadcastGameEvent(); + CBidirMsg_RebroadcastSource::default_instance_ = new CBidirMsg_RebroadcastSource(); + SerializedNetAddress_t::default_instance_ = new SerializedNetAddress_t(); + CBidirMsg_RelayInfo::default_instance_ = new CBidirMsg_RelayInfo(); + SignedPayload_t::default_instance_ = new SignedPayload_t(); + CBidirMsg_RelayPacket::default_instance_ = new CBidirMsg_RelayPacket(); + CBidirMsg_RelayPacket_SignedDestinationAddress_t::default_instance_ = new CBidirMsg_RelayPacket_SignedDestinationAddress_t(); CCLCMsg_ClientInfo::default_instance_->InitAsDefaultInstance(); CCLCMsg_Move::default_instance_->InitAsDefaultInstance(); + CMsgVoiceAudio::default_instance_->InitAsDefaultInstance(); CCLCMsg_VoiceData::default_instance_->InitAsDefaultInstance(); CCLCMsg_BaselineAck::default_instance_->InitAsDefaultInstance(); CCLCMsg_ListenEvents::default_instance_->InitAsDefaultInstance(); @@ -1195,6 +1835,11 @@ void protobuf_AddDesc_netmessages_2eproto() { CCLCMsg_LoadingProgress::default_instance_->InitAsDefaultInstance(); CCLCMsg_SplitPlayerConnect::default_instance_->InitAsDefaultInstance(); CCLCMsg_ClientMessage::default_instance_->InitAsDefaultInstance(); + CCLCMsg_SplitPlayerDisconnect::default_instance_->InitAsDefaultInstance(); + CCLCMsg_ServerStatus::default_instance_->InitAsDefaultInstance(); + CCLCMsg_ServerPing::default_instance_->InitAsDefaultInstance(); + CCLCMsg_RequestPause::default_instance_->InitAsDefaultInstance(); + CCLCMsg_CmdKeyValues::default_instance_->InitAsDefaultInstance(); CSVCMsg_ServerInfo::default_instance_->InitAsDefaultInstance(); CSVCMsg_ClassInfo::default_instance_->InitAsDefaultInstance(); CSVCMsg_ClassInfo_class_t::default_instance_->InitAsDefaultInstance(); @@ -1223,6 +1868,22 @@ void protobuf_AddDesc_netmessages_2eproto() { CSVCMsg_VoiceData::default_instance_->InitAsDefaultInstance(); CSVCMsg_PacketReliable::default_instance_->InitAsDefaultInstance(); CSVCMsg_FullFrameSplit::default_instance_->InitAsDefaultInstance(); + CSVCMsg_CmdKeyValues::default_instance_->InitAsDefaultInstance(); + CMsgIPCAddress::default_instance_->InitAsDefaultInstance(); + CMsgServerPeer::default_instance_->InitAsDefaultInstance(); + CSVCMsg_PeerList::default_instance_->InitAsDefaultInstance(); + CSVCMsg_ClearAllStringTables::default_instance_->InitAsDefaultInstance(); + ProtoFlattenedSerializerField_t::default_instance_->InitAsDefaultInstance(); + ProtoFlattenedSerializer_t::default_instance_->InitAsDefaultInstance(); + CSVCMsg_FlattenedSerializer::default_instance_->InitAsDefaultInstance(); + CSVCMsg_StopSound::default_instance_->InitAsDefaultInstance(); + CBidirMsg_RebroadcastGameEvent::default_instance_->InitAsDefaultInstance(); + CBidirMsg_RebroadcastSource::default_instance_->InitAsDefaultInstance(); + SerializedNetAddress_t::default_instance_->InitAsDefaultInstance(); + CBidirMsg_RelayInfo::default_instance_->InitAsDefaultInstance(); + SignedPayload_t::default_instance_->InitAsDefaultInstance(); + CBidirMsg_RelayPacket::default_instance_->InitAsDefaultInstance(); + CBidirMsg_RelayPacket_SignedDestinationAddress_t::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_netmessages_2eproto); } @@ -1238,16 +1899,61 @@ const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor() { } bool CLC_Messages_IsValid(int value) { switch(value) { - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: + case 20: + case 21: + case 22: + case 23: + case 24: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 32: + case 33: + case 34: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor() { + protobuf_AssignDescriptorsOnce(); + return SVC_Messages_descriptor_; +} +bool SVC_Messages_IsValid(int value) { + switch(value) { + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 67: + case 68: + case 69: + case 70: return true; default: return false; @@ -1268,38 +1974,28 @@ bool VoiceDataFormat_t_IsValid(int value) { } } -const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor() { +const ::google::protobuf::EnumDescriptor* RequestPause_t_descriptor() { protobuf_AssignDescriptorsOnce(); - return SVC_Messages_descriptor_; + return RequestPause_t_descriptor_; } -bool SVC_Messages_IsValid(int value) { +bool RequestPause_t_IsValid(int value) { switch(value) { - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: - case 19: - case 20: - case 21: - case 22: - case 23: - case 24: - case 25: - case 26: - case 27: - case 28: - case 29: - case 30: - case 31: - case 32: - case 33: + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* PrefetchType_descriptor() { + protobuf_AssignDescriptorsOnce(); + return PrefetchType_descriptor_; +} +bool PrefetchType_IsValid(int value) { + switch(value) { + case 0: return true; default: return false; @@ -1320,6 +2016,81 @@ bool ESplitScreenMessageType_IsValid(int value) { } } +const ::google::protobuf::EnumDescriptor* EQueryCvarValueStatus_descriptor() { + protobuf_AssignDescriptorsOnce(); + return EQueryCvarValueStatus_descriptor_; +} +bool EQueryCvarValueStatus_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* DIALOG_TYPE_descriptor() { + protobuf_AssignDescriptorsOnce(); + return DIALOG_TYPE_descriptor_; +} +bool DIALOG_TYPE_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* SVC_Messages_LowFrequency_descriptor() { + protobuf_AssignDescriptorsOnce(); + return SVC_Messages_LowFrequency_descriptor_; +} +bool SVC_Messages_LowFrequency_IsValid(int value) { + switch(value) { + case 600: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* Bidirectional_Messages_descriptor() { + protobuf_AssignDescriptorsOnce(); + return Bidirectional_Messages_descriptor_; +} +bool Bidirectional_Messages_IsValid(int value) { + switch(value) { + case 16: + case 17: + case 18: + return true; + default: + return false; + } +} + +const ::google::protobuf::EnumDescriptor* Bidirectional_Messages_LowFrequency_descriptor() { + protobuf_AssignDescriptorsOnce(); + return Bidirectional_Messages_LowFrequency_descriptor_; +} +bool Bidirectional_Messages_LowFrequency_IsValid(int value) { + switch(value) { + case 700: + case 701: + return true; + default: + return false; + } +} + // =================================================================== @@ -2134,12 +2905,452 @@ void CCLCMsg_Move::Swap(CCLCMsg_Move* other) { // =================================================================== #ifndef _MSC_VER -const int CCLCMsg_VoiceData::kDataFieldNumber; +const int CMsgVoiceAudio::kFormatFieldNumber; +const int CMsgVoiceAudio::kVoiceDataFieldNumber; +const int CMsgVoiceAudio::kSequenceBytesFieldNumber; +const int CMsgVoiceAudio::kSectionNumberFieldNumber; +const int CMsgVoiceAudio::kSampleRateFieldNumber; +const int CMsgVoiceAudio::kUncompressedSampleOffsetFieldNumber; +#endif // !_MSC_VER + +CMsgVoiceAudio::CMsgVoiceAudio() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CMsgVoiceAudio) +} + +void CMsgVoiceAudio::InitAsDefaultInstance() { +} + +CMsgVoiceAudio::CMsgVoiceAudio(const CMsgVoiceAudio& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CMsgVoiceAudio) +} + +void CMsgVoiceAudio::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + format_ = 0; + voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + sequence_bytes_ = 0; + section_number_ = 0u; + sample_rate_ = 0u; + uncompressed_sample_offset_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsgVoiceAudio::~CMsgVoiceAudio() { + // @@protoc_insertion_point(destructor:CMsgVoiceAudio) + SharedDtor(); +} + +void CMsgVoiceAudio::SharedDtor() { + if (voice_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete voice_data_; + } + if (this != default_instance_) { + } +} + +void CMsgVoiceAudio::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsgVoiceAudio::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsgVoiceAudio_descriptor_; +} + +const CMsgVoiceAudio& CMsgVoiceAudio::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CMsgVoiceAudio* CMsgVoiceAudio::default_instance_ = NULL; + +CMsgVoiceAudio* CMsgVoiceAudio::New() const { + return new CMsgVoiceAudio; +} + +void CMsgVoiceAudio::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 63) { + ZR_(format_, uncompressed_sample_offset_); + if (has_voice_data()) { + if (voice_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_data_->clear(); + } + } + } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsgVoiceAudio::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CMsgVoiceAudio) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + case 1: { + if (tag == 8) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::VoiceDataFormat_t_IsValid(value)) { + set_format(static_cast< ::VoiceDataFormat_t >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_unusual; + } + if (input->ExpectTag(18)) goto parse_voice_data; + break; + } + + // optional bytes voice_data = 2; + case 2: { + if (tag == 18) { + parse_voice_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_voice_data())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_sequence_bytes; + break; + } + + // optional int32 sequence_bytes = 3; + case 3: { + if (tag == 24) { + parse_sequence_bytes: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &sequence_bytes_))); + set_has_sequence_bytes(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(32)) goto parse_section_number; + break; + } + + // optional uint32 section_number = 4; + case 4: { + if (tag == 32) { + parse_section_number: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, §ion_number_))); + set_has_section_number(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(40)) goto parse_sample_rate; + break; + } + + // optional uint32 sample_rate = 5; + case 5: { + if (tag == 40) { + parse_sample_rate: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &sample_rate_))); + set_has_sample_rate(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(48)) goto parse_uncompressed_sample_offset; + break; + } + + // optional uint32 uncompressed_sample_offset = 6; + case 6: { + if (tag == 48) { + parse_uncompressed_sample_offset: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &uncompressed_sample_offset_))); + set_has_uncompressed_sample_offset(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CMsgVoiceAudio) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CMsgVoiceAudio) + return false; +#undef DO_ +} + +void CMsgVoiceAudio::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CMsgVoiceAudio) + // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->format(), output); + } + + // optional bytes voice_data = 2; + if (has_voice_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 2, this->voice_data(), output); + } + + // optional int32 sequence_bytes = 3; + if (has_sequence_bytes()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->sequence_bytes(), output); + } + + // optional uint32 section_number = 4; + if (has_section_number()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->section_number(), output); + } + + // optional uint32 sample_rate = 5; + if (has_sample_rate()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->sample_rate(), output); + } + + // optional uint32 uncompressed_sample_offset = 6; + if (has_uncompressed_sample_offset()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->uncompressed_sample_offset(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CMsgVoiceAudio) +} + +::google::protobuf::uint8* CMsgVoiceAudio::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgVoiceAudio) + // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->format(), target); + } + + // optional bytes voice_data = 2; + if (has_voice_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 2, this->voice_data(), target); + } + + // optional int32 sequence_bytes = 3; + if (has_sequence_bytes()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->sequence_bytes(), target); + } + + // optional uint32 section_number = 4; + if (has_section_number()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->section_number(), target); + } + + // optional uint32 sample_rate = 5; + if (has_sample_rate()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->sample_rate(), target); + } + + // optional uint32 uncompressed_sample_offset = 6; + if (has_uncompressed_sample_offset()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->uncompressed_sample_offset(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgVoiceAudio) + return target; +} + +int CMsgVoiceAudio::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + if (has_format()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->format()); + } + + // optional bytes voice_data = 2; + if (has_voice_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->voice_data()); + } + + // optional int32 sequence_bytes = 3; + if (has_sequence_bytes()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->sequence_bytes()); + } + + // optional uint32 section_number = 4; + if (has_section_number()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->section_number()); + } + + // optional uint32 sample_rate = 5; + if (has_sample_rate()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->sample_rate()); + } + + // optional uint32 uncompressed_sample_offset = 6; + if (has_uncompressed_sample_offset()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->uncompressed_sample_offset()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CMsgVoiceAudio::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsgVoiceAudio* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsgVoiceAudio::MergeFrom(const CMsgVoiceAudio& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_format()) { + set_format(from.format()); + } + if (from.has_voice_data()) { + set_voice_data(from.voice_data()); + } + if (from.has_sequence_bytes()) { + set_sequence_bytes(from.sequence_bytes()); + } + if (from.has_section_number()) { + set_section_number(from.section_number()); + } + if (from.has_sample_rate()) { + set_sample_rate(from.sample_rate()); + } + if (from.has_uncompressed_sample_offset()) { + set_uncompressed_sample_offset(from.uncompressed_sample_offset()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsgVoiceAudio::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsgVoiceAudio::CopyFrom(const CMsgVoiceAudio& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgVoiceAudio::IsInitialized() const { + + return true; +} + +void CMsgVoiceAudio::Swap(CMsgVoiceAudio* other) { + if (other != this) { + std::swap(format_, other->format_); + std::swap(voice_data_, other->voice_data_); + std::swap(sequence_bytes_, other->sequence_bytes_); + std::swap(section_number_, other->section_number_); + std::swap(sample_rate_, other->sample_rate_); + std::swap(uncompressed_sample_offset_, other->uncompressed_sample_offset_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CMsgVoiceAudio::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsgVoiceAudio_descriptor_; + metadata.reflection = CMsgVoiceAudio_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_VoiceData::kAudioFieldNumber; const int CCLCMsg_VoiceData::kXuidFieldNumber; -const int CCLCMsg_VoiceData::kFormatFieldNumber; -const int CCLCMsg_VoiceData::kSequenceBytesFieldNumber; -const int CCLCMsg_VoiceData::kSectionNumberFieldNumber; -const int CCLCMsg_VoiceData::kUncompressedSampleOffsetFieldNumber; const int CCLCMsg_VoiceData::kTickFieldNumber; #endif // !_MSC_VER @@ -2150,6 +3361,7 @@ CCLCMsg_VoiceData::CCLCMsg_VoiceData() } void CCLCMsg_VoiceData::InitAsDefaultInstance() { + audio_ = const_cast< ::CMsgVoiceAudio*>(&::CMsgVoiceAudio::default_instance()); } CCLCMsg_VoiceData::CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from) @@ -2160,14 +3372,9 @@ CCLCMsg_VoiceData::CCLCMsg_VoiceData(const CCLCMsg_VoiceData& from) } void CCLCMsg_VoiceData::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + audio_ = NULL; xuid_ = GOOGLE_ULONGLONG(0); - format_ = 0; - sequence_bytes_ = 0; - section_number_ = 0u; - uncompressed_sample_offset_ = 0u; tick_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -2178,10 +3385,8 @@ CCLCMsg_VoiceData::~CCLCMsg_VoiceData() { } void CCLCMsg_VoiceData::SharedDtor() { - if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete data_; - } if (this != default_instance_) { + delete audio_; } } @@ -2217,12 +3422,10 @@ void CCLCMsg_VoiceData::Clear() { ::memset(&first, 0, n); \ } while (0) - if (_has_bits_[0 / 32] & 127) { + if (_has_bits_[0 / 32] & 7) { ZR_(xuid_, tick_); - if (has_data()) { - if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - data_->clear(); - } + if (has_audio()) { + if (audio_ != NULL) audio_->::CMsgVoiceAudio::Clear(); } } @@ -2243,11 +3446,11 @@ bool CCLCMsg_VoiceData::MergePartialFromCodedStream( tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional bytes data = 1; + // optional .CMsgVoiceAudio audio = 1; case 1: { if (tag == 10) { - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_data())); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_audio())); } else { goto handle_unusual; } @@ -2266,78 +3469,13 @@ bool CCLCMsg_VoiceData::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(24)) goto parse_format; + if (input->ExpectTag(24)) goto parse_tick; break; } - // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; + // optional uint32 tick = 3; case 3: { if (tag == 24) { - parse_format: - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::VoiceDataFormat_t_IsValid(value)) { - set_format(static_cast< ::VoiceDataFormat_t >(value)); - } else { - mutable_unknown_fields()->AddVarint(3, value); - } - } else { - goto handle_unusual; - } - if (input->ExpectTag(32)) goto parse_sequence_bytes; - break; - } - - // optional int32 sequence_bytes = 4; - case 4: { - if (tag == 32) { - parse_sequence_bytes: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &sequence_bytes_))); - set_has_sequence_bytes(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(40)) goto parse_section_number; - break; - } - - // optional uint32 section_number = 5; - case 5: { - if (tag == 40) { - parse_section_number: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, §ion_number_))); - set_has_section_number(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(48)) goto parse_uncompressed_sample_offset; - break; - } - - // optional uint32 uncompressed_sample_offset = 6; - case 6: { - if (tag == 48) { - parse_uncompressed_sample_offset: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &uncompressed_sample_offset_))); - set_has_uncompressed_sample_offset(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(56)) goto parse_tick; - break; - } - - // optional uint32 tick = 7; - case 7: { - if (tag == 56) { parse_tick: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( @@ -2375,10 +3513,10 @@ failure: void CCLCMsg_VoiceData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:CCLCMsg_VoiceData) - // optional bytes data = 1; - if (has_data()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 1, this->data(), output); + // optional .CMsgVoiceAudio audio = 1; + if (has_audio()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->audio(), output); } // optional fixed64 xuid = 2; @@ -2386,30 +3524,9 @@ void CCLCMsg_VoiceData::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->xuid(), output); } - // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; - if (has_format()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 3, this->format(), output); - } - - // optional int32 sequence_bytes = 4; - if (has_sequence_bytes()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->sequence_bytes(), output); - } - - // optional uint32 section_number = 5; - if (has_section_number()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->section_number(), output); - } - - // optional uint32 uncompressed_sample_offset = 6; - if (has_uncompressed_sample_offset()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->uncompressed_sample_offset(), output); - } - - // optional uint32 tick = 7; + // optional uint32 tick = 3; if (has_tick()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->tick(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->tick(), output); } if (!unknown_fields().empty()) { @@ -2422,11 +3539,11 @@ void CCLCMsg_VoiceData::SerializeWithCachedSizes( ::google::protobuf::uint8* CCLCMsg_VoiceData::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_VoiceData) - // optional bytes data = 1; - if (has_data()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 1, this->data(), target); + // optional .CMsgVoiceAudio audio = 1; + if (has_audio()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->audio(), target); } // optional fixed64 xuid = 2; @@ -2434,30 +3551,9 @@ void CCLCMsg_VoiceData::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->xuid(), target); } - // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; - if (has_format()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 3, this->format(), target); - } - - // optional int32 sequence_bytes = 4; - if (has_sequence_bytes()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->sequence_bytes(), target); - } - - // optional uint32 section_number = 5; - if (has_section_number()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->section_number(), target); - } - - // optional uint32 uncompressed_sample_offset = 6; - if (has_uncompressed_sample_offset()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->uncompressed_sample_offset(), target); - } - - // optional uint32 tick = 7; + // optional uint32 tick = 3; if (has_tick()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->tick(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->tick(), target); } if (!unknown_fields().empty()) { @@ -2472,11 +3568,11 @@ int CCLCMsg_VoiceData::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional bytes data = 1; - if (has_data()) { + // optional .CMsgVoiceAudio audio = 1; + if (has_audio()) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->data()); + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->audio()); } // optional fixed64 xuid = 2; @@ -2484,34 +3580,7 @@ int CCLCMsg_VoiceData::ByteSize() const { total_size += 1 + 8; } - // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; - if (has_format()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->format()); - } - - // optional int32 sequence_bytes = 4; - if (has_sequence_bytes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->sequence_bytes()); - } - - // optional uint32 section_number = 5; - if (has_section_number()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->section_number()); - } - - // optional uint32 uncompressed_sample_offset = 6; - if (has_uncompressed_sample_offset()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->uncompressed_sample_offset()); - } - - // optional uint32 tick = 7; + // optional uint32 tick = 3; if (has_tick()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -2545,24 +3614,12 @@ void CCLCMsg_VoiceData::MergeFrom(const ::google::protobuf::Message& from) { void CCLCMsg_VoiceData::MergeFrom(const CCLCMsg_VoiceData& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_data()) { - set_data(from.data()); + if (from.has_audio()) { + mutable_audio()->::CMsgVoiceAudio::MergeFrom(from.audio()); } if (from.has_xuid()) { set_xuid(from.xuid()); } - if (from.has_format()) { - set_format(from.format()); - } - if (from.has_sequence_bytes()) { - set_sequence_bytes(from.sequence_bytes()); - } - if (from.has_section_number()) { - set_section_number(from.section_number()); - } - if (from.has_uncompressed_sample_offset()) { - set_uncompressed_sample_offset(from.uncompressed_sample_offset()); - } if (from.has_tick()) { set_tick(from.tick()); } @@ -2589,12 +3646,8 @@ bool CCLCMsg_VoiceData::IsInitialized() const { void CCLCMsg_VoiceData::Swap(CCLCMsg_VoiceData* other) { if (other != this) { - std::swap(data_, other->data_); + std::swap(audio_, other->audio_); std::swap(xuid_, other->xuid_); - std::swap(format_, other->format_); - std::swap(sequence_bytes_, other->sequence_bytes_); - std::swap(section_number_, other->section_number_); - std::swap(uncompressed_sample_offset_, other->uncompressed_sample_offset_); std::swap(tick_, other->tick_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); @@ -4159,7 +5212,7 @@ void CCLCMsg_LoadingProgress::Swap(CCLCMsg_LoadingProgress* other) { // =================================================================== #ifndef _MSC_VER -const int CCLCMsg_SplitPlayerConnect::kConvarsFieldNumber; +const int CCLCMsg_SplitPlayerConnect::kPlayernameFieldNumber; #endif // !_MSC_VER CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect() @@ -4169,7 +5222,6 @@ CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect() } void CCLCMsg_SplitPlayerConnect::InitAsDefaultInstance() { - convars_ = const_cast< ::CMsg_CVars*>(&::CMsg_CVars::default_instance()); } CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayerConnect& from) @@ -4180,8 +5232,9 @@ CCLCMsg_SplitPlayerConnect::CCLCMsg_SplitPlayerConnect(const CCLCMsg_SplitPlayer } void CCLCMsg_SplitPlayerConnect::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; - convars_ = NULL; + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -4191,8 +5244,10 @@ CCLCMsg_SplitPlayerConnect::~CCLCMsg_SplitPlayerConnect() { } void CCLCMsg_SplitPlayerConnect::SharedDtor() { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete playername_; + } if (this != default_instance_) { - delete convars_; } } @@ -4218,8 +5273,10 @@ CCLCMsg_SplitPlayerConnect* CCLCMsg_SplitPlayerConnect::New() const { } void CCLCMsg_SplitPlayerConnect::Clear() { - if (has_convars()) { - if (convars_ != NULL) convars_->::CMsg_CVars::Clear(); + if (has_playername()) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + playername_->clear(); + } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); @@ -4235,11 +5292,15 @@ bool CCLCMsg_SplitPlayerConnect::MergePartialFromCodedStream( tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional .CMsg_CVars convars = 1; + // optional string playername = 1; case 1: { if (tag == 10) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_convars())); + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_playername())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->playername().data(), this->playername().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "playername"); } else { goto handle_unusual; } @@ -4272,10 +5333,14 @@ failure: void CCLCMsg_SplitPlayerConnect::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:CCLCMsg_SplitPlayerConnect) - // optional .CMsg_CVars convars = 1; - if (has_convars()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, this->convars(), output); + // optional string playername = 1; + if (has_playername()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->playername().data(), this->playername().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "playername"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->playername(), output); } if (!unknown_fields().empty()) { @@ -4288,11 +5353,15 @@ void CCLCMsg_SplitPlayerConnect::SerializeWithCachedSizes( ::google::protobuf::uint8* CCLCMsg_SplitPlayerConnect::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_SplitPlayerConnect) - // optional .CMsg_CVars convars = 1; - if (has_convars()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 1, this->convars(), target); + // optional string playername = 1; + if (has_playername()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->playername().data(), this->playername().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "playername"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->playername(), target); } if (!unknown_fields().empty()) { @@ -4307,11 +5376,11 @@ int CCLCMsg_SplitPlayerConnect::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional .CMsg_CVars convars = 1; - if (has_convars()) { + // optional string playername = 1; + if (has_playername()) { total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->convars()); + ::google::protobuf::internal::WireFormatLite::StringSize( + this->playername()); } } @@ -4341,8 +5410,8 @@ void CCLCMsg_SplitPlayerConnect::MergeFrom(const ::google::protobuf::Message& fr void CCLCMsg_SplitPlayerConnect::MergeFrom(const CCLCMsg_SplitPlayerConnect& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_convars()) { - mutable_convars()->::CMsg_CVars::MergeFrom(from.convars()); + if (from.has_playername()) { + set_playername(from.playername()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); @@ -4367,7 +5436,7 @@ bool CCLCMsg_SplitPlayerConnect::IsInitialized() const { void CCLCMsg_SplitPlayerConnect::Swap(CCLCMsg_SplitPlayerConnect* other) { if (other != this) { - std::swap(convars_, other->convars_); + std::swap(playername_, other->playername_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -4655,6 +5724,1133 @@ void CCLCMsg_ClientMessage::Swap(CCLCMsg_ClientMessage* other) { } +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_SplitPlayerDisconnect::kSlotFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_SplitPlayerDisconnect::CCLCMsg_SplitPlayerDisconnect() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CCLCMsg_SplitPlayerDisconnect) +} + +void CCLCMsg_SplitPlayerDisconnect::InitAsDefaultInstance() { +} + +CCLCMsg_SplitPlayerDisconnect::CCLCMsg_SplitPlayerDisconnect(const CCLCMsg_SplitPlayerDisconnect& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_SplitPlayerDisconnect) +} + +void CCLCMsg_SplitPlayerDisconnect::SharedCtor() { + _cached_size_ = 0; + slot_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_SplitPlayerDisconnect::~CCLCMsg_SplitPlayerDisconnect() { + // @@protoc_insertion_point(destructor:CCLCMsg_SplitPlayerDisconnect) + SharedDtor(); +} + +void CCLCMsg_SplitPlayerDisconnect::SharedDtor() { + if (this != default_instance_) { + } +} + +void CCLCMsg_SplitPlayerDisconnect::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_SplitPlayerDisconnect::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_SplitPlayerDisconnect_descriptor_; +} + +const CCLCMsg_SplitPlayerDisconnect& CCLCMsg_SplitPlayerDisconnect::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CCLCMsg_SplitPlayerDisconnect* CCLCMsg_SplitPlayerDisconnect::default_instance_ = NULL; + +CCLCMsg_SplitPlayerDisconnect* CCLCMsg_SplitPlayerDisconnect::New() const { + return new CCLCMsg_SplitPlayerDisconnect; +} + +void CCLCMsg_SplitPlayerDisconnect::Clear() { + slot_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_SplitPlayerDisconnect::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CCLCMsg_SplitPlayerDisconnect) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 slot = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &slot_))); + set_has_slot(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CCLCMsg_SplitPlayerDisconnect) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CCLCMsg_SplitPlayerDisconnect) + return false; +#undef DO_ +} + +void CCLCMsg_SplitPlayerDisconnect::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CCLCMsg_SplitPlayerDisconnect) + // optional int32 slot = 1; + if (has_slot()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->slot(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CCLCMsg_SplitPlayerDisconnect) +} + +::google::protobuf::uint8* CCLCMsg_SplitPlayerDisconnect::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_SplitPlayerDisconnect) + // optional int32 slot = 1; + if (has_slot()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->slot(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_SplitPlayerDisconnect) + return target; +} + +int CCLCMsg_SplitPlayerDisconnect::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 slot = 1; + if (has_slot()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->slot()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CCLCMsg_SplitPlayerDisconnect::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_SplitPlayerDisconnect* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_SplitPlayerDisconnect::MergeFrom(const CCLCMsg_SplitPlayerDisconnect& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_slot()) { + set_slot(from.slot()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_SplitPlayerDisconnect::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_SplitPlayerDisconnect::CopyFrom(const CCLCMsg_SplitPlayerDisconnect& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_SplitPlayerDisconnect::IsInitialized() const { + + return true; +} + +void CCLCMsg_SplitPlayerDisconnect::Swap(CCLCMsg_SplitPlayerDisconnect* other) { + if (other != this) { + std::swap(slot_, other->slot_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CCLCMsg_SplitPlayerDisconnect::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_SplitPlayerDisconnect_descriptor_; + metadata.reflection = CCLCMsg_SplitPlayerDisconnect_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_ServerStatus::kSimplifiedFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_ServerStatus::CCLCMsg_ServerStatus() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CCLCMsg_ServerStatus) +} + +void CCLCMsg_ServerStatus::InitAsDefaultInstance() { +} + +CCLCMsg_ServerStatus::CCLCMsg_ServerStatus(const CCLCMsg_ServerStatus& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_ServerStatus) +} + +void CCLCMsg_ServerStatus::SharedCtor() { + _cached_size_ = 0; + simplified_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_ServerStatus::~CCLCMsg_ServerStatus() { + // @@protoc_insertion_point(destructor:CCLCMsg_ServerStatus) + SharedDtor(); +} + +void CCLCMsg_ServerStatus::SharedDtor() { + if (this != default_instance_) { + } +} + +void CCLCMsg_ServerStatus::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_ServerStatus::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_ServerStatus_descriptor_; +} + +const CCLCMsg_ServerStatus& CCLCMsg_ServerStatus::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CCLCMsg_ServerStatus* CCLCMsg_ServerStatus::default_instance_ = NULL; + +CCLCMsg_ServerStatus* CCLCMsg_ServerStatus::New() const { + return new CCLCMsg_ServerStatus; +} + +void CCLCMsg_ServerStatus::Clear() { + simplified_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_ServerStatus::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CCLCMsg_ServerStatus) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional bool simplified = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &simplified_))); + set_has_simplified(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CCLCMsg_ServerStatus) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CCLCMsg_ServerStatus) + return false; +#undef DO_ +} + +void CCLCMsg_ServerStatus::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CCLCMsg_ServerStatus) + // optional bool simplified = 1; + if (has_simplified()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->simplified(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CCLCMsg_ServerStatus) +} + +::google::protobuf::uint8* CCLCMsg_ServerStatus::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_ServerStatus) + // optional bool simplified = 1; + if (has_simplified()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->simplified(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_ServerStatus) + return target; +} + +int CCLCMsg_ServerStatus::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool simplified = 1; + if (has_simplified()) { + 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 CCLCMsg_ServerStatus::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_ServerStatus* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_ServerStatus::MergeFrom(const CCLCMsg_ServerStatus& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_simplified()) { + set_simplified(from.simplified()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_ServerStatus::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_ServerStatus::CopyFrom(const CCLCMsg_ServerStatus& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_ServerStatus::IsInitialized() const { + + return true; +} + +void CCLCMsg_ServerStatus::Swap(CCLCMsg_ServerStatus* other) { + if (other != this) { + std::swap(simplified_, other->simplified_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CCLCMsg_ServerStatus::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_ServerStatus_descriptor_; + metadata.reflection = CCLCMsg_ServerStatus_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CCLCMsg_ServerPing::CCLCMsg_ServerPing() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CCLCMsg_ServerPing) +} + +void CCLCMsg_ServerPing::InitAsDefaultInstance() { +} + +CCLCMsg_ServerPing::CCLCMsg_ServerPing(const CCLCMsg_ServerPing& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_ServerPing) +} + +void CCLCMsg_ServerPing::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_ServerPing::~CCLCMsg_ServerPing() { + // @@protoc_insertion_point(destructor:CCLCMsg_ServerPing) + SharedDtor(); +} + +void CCLCMsg_ServerPing::SharedDtor() { + if (this != default_instance_) { + } +} + +void CCLCMsg_ServerPing::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_ServerPing::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_ServerPing_descriptor_; +} + +const CCLCMsg_ServerPing& CCLCMsg_ServerPing::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CCLCMsg_ServerPing* CCLCMsg_ServerPing::default_instance_ = NULL; + +CCLCMsg_ServerPing* CCLCMsg_ServerPing::New() const { + return new CCLCMsg_ServerPing; +} + +void CCLCMsg_ServerPing::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_ServerPing::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CCLCMsg_ServerPing) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:CCLCMsg_ServerPing) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CCLCMsg_ServerPing) + return false; +#undef DO_ +} + +void CCLCMsg_ServerPing::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CCLCMsg_ServerPing) + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CCLCMsg_ServerPing) +} + +::google::protobuf::uint8* CCLCMsg_ServerPing::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_ServerPing) + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_ServerPing) + return target; +} + +int CCLCMsg_ServerPing::ByteSize() const { + int total_size = 0; + + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CCLCMsg_ServerPing::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_ServerPing* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_ServerPing::MergeFrom(const CCLCMsg_ServerPing& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_ServerPing::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_ServerPing::CopyFrom(const CCLCMsg_ServerPing& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_ServerPing::IsInitialized() const { + + return true; +} + +void CCLCMsg_ServerPing::Swap(CCLCMsg_ServerPing* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CCLCMsg_ServerPing::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_ServerPing_descriptor_; + metadata.reflection = CCLCMsg_ServerPing_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_RequestPause::kPauseTypeFieldNumber; +const int CCLCMsg_RequestPause::kPauseGroupFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_RequestPause::CCLCMsg_RequestPause() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CCLCMsg_RequestPause) +} + +void CCLCMsg_RequestPause::InitAsDefaultInstance() { +} + +CCLCMsg_RequestPause::CCLCMsg_RequestPause(const CCLCMsg_RequestPause& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_RequestPause) +} + +void CCLCMsg_RequestPause::SharedCtor() { + _cached_size_ = 0; + pause_type_ = 0; + pause_group_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_RequestPause::~CCLCMsg_RequestPause() { + // @@protoc_insertion_point(destructor:CCLCMsg_RequestPause) + SharedDtor(); +} + +void CCLCMsg_RequestPause::SharedDtor() { + if (this != default_instance_) { + } +} + +void CCLCMsg_RequestPause::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_RequestPause::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_RequestPause_descriptor_; +} + +const CCLCMsg_RequestPause& CCLCMsg_RequestPause::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CCLCMsg_RequestPause* CCLCMsg_RequestPause::default_instance_ = NULL; + +CCLCMsg_RequestPause* CCLCMsg_RequestPause::New() const { + return new CCLCMsg_RequestPause; +} + +void CCLCMsg_RequestPause::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(pause_type_, pause_group_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_RequestPause::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CCLCMsg_RequestPause) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + case 1: { + if (tag == 8) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::RequestPause_t_IsValid(value)) { + set_pause_type(static_cast< ::RequestPause_t >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_pause_group; + break; + } + + // optional int32 pause_group = 2; + case 2: { + if (tag == 16) { + parse_pause_group: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &pause_group_))); + set_has_pause_group(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CCLCMsg_RequestPause) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CCLCMsg_RequestPause) + return false; +#undef DO_ +} + +void CCLCMsg_RequestPause::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CCLCMsg_RequestPause) + // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + if (has_pause_type()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->pause_type(), output); + } + + // optional int32 pause_group = 2; + if (has_pause_group()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->pause_group(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CCLCMsg_RequestPause) +} + +::google::protobuf::uint8* CCLCMsg_RequestPause::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_RequestPause) + // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + if (has_pause_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->pause_type(), target); + } + + // optional int32 pause_group = 2; + if (has_pause_group()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->pause_group(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_RequestPause) + return target; +} + +int CCLCMsg_RequestPause::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + if (has_pause_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->pause_type()); + } + + // optional int32 pause_group = 2; + if (has_pause_group()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->pause_group()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CCLCMsg_RequestPause::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_RequestPause* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_RequestPause::MergeFrom(const CCLCMsg_RequestPause& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_pause_type()) { + set_pause_type(from.pause_type()); + } + if (from.has_pause_group()) { + set_pause_group(from.pause_group()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_RequestPause::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_RequestPause::CopyFrom(const CCLCMsg_RequestPause& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_RequestPause::IsInitialized() const { + + return true; +} + +void CCLCMsg_RequestPause::Swap(CCLCMsg_RequestPause* other) { + if (other != this) { + std::swap(pause_type_, other->pause_type_); + std::swap(pause_group_, other->pause_group_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CCLCMsg_RequestPause::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_RequestPause_descriptor_; + metadata.reflection = CCLCMsg_RequestPause_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CCLCMsg_CmdKeyValues::kDataFieldNumber; +#endif // !_MSC_VER + +CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CCLCMsg_CmdKeyValues) +} + +void CCLCMsg_CmdKeyValues::InitAsDefaultInstance() { +} + +CCLCMsg_CmdKeyValues::CCLCMsg_CmdKeyValues(const CCLCMsg_CmdKeyValues& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CCLCMsg_CmdKeyValues) +} + +void CCLCMsg_CmdKeyValues::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CCLCMsg_CmdKeyValues::~CCLCMsg_CmdKeyValues() { + // @@protoc_insertion_point(destructor:CCLCMsg_CmdKeyValues) + SharedDtor(); +} + +void CCLCMsg_CmdKeyValues::SharedDtor() { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete data_; + } + if (this != default_instance_) { + } +} + +void CCLCMsg_CmdKeyValues::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CCLCMsg_CmdKeyValues::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CCLCMsg_CmdKeyValues_descriptor_; +} + +const CCLCMsg_CmdKeyValues& CCLCMsg_CmdKeyValues::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CCLCMsg_CmdKeyValues* CCLCMsg_CmdKeyValues::default_instance_ = NULL; + +CCLCMsg_CmdKeyValues* CCLCMsg_CmdKeyValues::New() const { + return new CCLCMsg_CmdKeyValues; +} + +void CCLCMsg_CmdKeyValues::Clear() { + if (has_data()) { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_->clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CCLCMsg_CmdKeyValues::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CCLCMsg_CmdKeyValues) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional bytes data = 1; + case 1: { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_data())); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CCLCMsg_CmdKeyValues) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CCLCMsg_CmdKeyValues) + return false; +#undef DO_ +} + +void CCLCMsg_CmdKeyValues::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CCLCMsg_CmdKeyValues) + // optional bytes data = 1; + if (has_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 1, this->data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CCLCMsg_CmdKeyValues) +} + +::google::protobuf::uint8* CCLCMsg_CmdKeyValues::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CCLCMsg_CmdKeyValues) + // optional bytes data = 1; + if (has_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 1, this->data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CCLCMsg_CmdKeyValues) + return target; +} + +int CCLCMsg_CmdKeyValues::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bytes data = 1; + if (has_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->data()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CCLCMsg_CmdKeyValues::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CCLCMsg_CmdKeyValues* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CCLCMsg_CmdKeyValues::MergeFrom(const CCLCMsg_CmdKeyValues& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_data()) { + set_data(from.data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CCLCMsg_CmdKeyValues::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CCLCMsg_CmdKeyValues::CopyFrom(const CCLCMsg_CmdKeyValues& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CCLCMsg_CmdKeyValues::IsInitialized() const { + + return true; +} + +void CCLCMsg_CmdKeyValues::Swap(CCLCMsg_CmdKeyValues* other) { + if (other != this) { + std::swap(data_, other->data_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CCLCMsg_CmdKeyValues::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CCLCMsg_CmdKeyValues_descriptor_; + metadata.reflection = CCLCMsg_CmdKeyValues_reflection_; + return metadata; +} + + // =================================================================== #ifndef _MSC_VER @@ -4676,6 +6872,8 @@ const int CSVCMsg_ServerInfo::kMapNameFieldNumber; const int CSVCMsg_ServerInfo::kSkyNameFieldNumber; const int CSVCMsg_ServerInfo::kHostNameFieldNumber; const int CSVCMsg_ServerInfo::kAddonNameFieldNumber; +const int CSVCMsg_ServerInfo::kGameSessionConfigFieldNumber; +const int CSVCMsg_ServerInfo::kGameSessionManifestFieldNumber; #endif // !_MSC_VER CSVCMsg_ServerInfo::CSVCMsg_ServerInfo() @@ -4685,6 +6883,7 @@ CSVCMsg_ServerInfo::CSVCMsg_ServerInfo() } void CSVCMsg_ServerInfo::InitAsDefaultInstance() { + game_session_config_ = const_cast< ::CSVCMsg_GameSessionConfiguration*>(&::CSVCMsg_GameSessionConfiguration::default_instance()); } CSVCMsg_ServerInfo::CSVCMsg_ServerInfo(const CSVCMsg_ServerInfo& from) @@ -4715,6 +6914,8 @@ void CSVCMsg_ServerInfo::SharedCtor() { sky_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); host_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); addon_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + game_session_config_ = NULL; + game_session_manifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -4739,7 +6940,11 @@ void CSVCMsg_ServerInfo::SharedDtor() { if (addon_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete addon_name_; } + if (game_session_manifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete game_session_manifest_; + } if (this != default_instance_) { + delete game_session_config_; } } @@ -4797,7 +7002,7 @@ void CSVCMsg_ServerInfo::Clear() { } } } - if (_has_bits_[16 / 32] & 196608) { + if (_has_bits_[16 / 32] & 983040) { if (has_host_name()) { if (host_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { host_name_->clear(); @@ -4808,6 +7013,14 @@ void CSVCMsg_ServerInfo::Clear() { addon_name_->clear(); } } + if (has_game_session_config()) { + if (game_session_config_ != NULL) game_session_config_->::CSVCMsg_GameSessionConfiguration::Clear(); + } + if (has_game_session_manifest()) { + if (game_session_manifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + game_session_manifest_->clear(); + } + } } #undef OFFSET_OF_FIELD_ @@ -5102,6 +7315,32 @@ bool CSVCMsg_ServerInfo::MergePartialFromCodedStream( } else { goto handle_unusual; } + if (input->ExpectTag(154)) goto parse_game_session_config; + break; + } + + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + case 19: { + if (tag == 154) { + parse_game_session_config: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_game_session_config())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(162)) goto parse_game_session_manifest; + break; + } + + // optional bytes game_session_manifest = 20; + case 20: { + if (tag == 162) { + parse_game_session_manifest: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_game_session_manifest())); + } else { + goto handle_unusual; + } if (input->ExpectAtEnd()) goto success; break; } @@ -5246,6 +7485,18 @@ void CSVCMsg_ServerInfo::SerializeWithCachedSizes( 18, this->addon_name(), output); } + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + if (has_game_session_config()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 19, this->game_session_config(), output); + } + + // optional bytes game_session_manifest = 20; + if (has_game_session_manifest()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 20, this->game_session_manifest(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -5376,6 +7627,20 @@ void CSVCMsg_ServerInfo::SerializeWithCachedSizes( 18, this->addon_name(), target); } + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + if (has_game_session_config()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 19, this->game_session_config(), target); + } + + // optional bytes game_session_manifest = 20; + if (has_game_session_manifest()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 20, this->game_session_manifest(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -5504,6 +7769,20 @@ int CSVCMsg_ServerInfo::ByteSize() const { this->addon_name()); } + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + if (has_game_session_config()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->game_session_config()); + } + + // optional bytes game_session_manifest = 20; + if (has_game_session_manifest()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->game_session_manifest()); + } + } if (!unknown_fields().empty()) { total_size += @@ -5589,6 +7868,12 @@ void CSVCMsg_ServerInfo::MergeFrom(const CSVCMsg_ServerInfo& from) { if (from.has_addon_name()) { set_addon_name(from.addon_name()); } + if (from.has_game_session_config()) { + mutable_game_session_config()->::CSVCMsg_GameSessionConfiguration::MergeFrom(from.game_session_config()); + } + if (from.has_game_session_manifest()) { + set_game_session_manifest(from.game_session_manifest()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -5630,6 +7915,8 @@ void CSVCMsg_ServerInfo::Swap(CSVCMsg_ServerInfo* other) { std::swap(sky_name_, other->sky_name_); std::swap(host_name_, other->host_name_); std::swap(addon_name_, other->addon_name_); + std::swap(game_session_config_, other->game_session_config_); + std::swap(game_session_manifest_, other->game_session_manifest_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -7066,6 +9353,8 @@ const int CSVCMsg_Sounds_sounddata_t::kRandomSeedFieldNumber; const int CSVCMsg_Sounds_sounddata_t::kSoundLevelFieldNumber; const int CSVCMsg_Sounds_sounddata_t::kIsSentenceFieldNumber; const int CSVCMsg_Sounds_sounddata_t::kIsAmbientFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kGuidFieldNumber; +const int CSVCMsg_Sounds_sounddata_t::kSoundResourceIdFieldNumber; #endif // !_MSC_VER CSVCMsg_Sounds_sounddata_t::CSVCMsg_Sounds_sounddata_t() @@ -7103,6 +9392,8 @@ void CSVCMsg_Sounds_sounddata_t::SharedCtor() { sound_level_ = 0; is_sentence_ = false; is_ambient_ = false; + guid_ = 0u; + sound_resource_id_ = GOOGLE_ULONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -7154,7 +9445,7 @@ void CSVCMsg_Sounds_sounddata_t::Clear() { if (_has_bits_[8 / 32] & 65280) { ZR_(pitch_, is_sentence_); } - is_ambient_ = false; + ZR_(is_ambient_, guid_); #undef OFFSET_OF_FIELD_ #undef ZR_ @@ -7423,6 +9714,36 @@ bool CSVCMsg_Sounds_sounddata_t::MergePartialFromCodedStream( } else { goto handle_unusual; } + if (input->ExpectTag(144)) goto parse_guid; + break; + } + + // optional uint32 guid = 18; + case 18: { + if (tag == 144) { + parse_guid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &guid_))); + set_has_guid(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(153)) goto parse_sound_resource_id; + break; + } + + // optional fixed64 sound_resource_id = 19; + case 19: { + if (tag == 153) { + parse_sound_resource_id: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( + input, &sound_resource_id_))); + set_has_sound_resource_id(); + } else { + goto handle_unusual; + } if (input->ExpectAtEnd()) goto success; break; } @@ -7537,6 +9858,16 @@ void CSVCMsg_Sounds_sounddata_t::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->is_ambient(), output); } + // optional uint32 guid = 18; + if (has_guid()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(18, this->guid(), output); + } + + // optional fixed64 sound_resource_id = 19; + if (has_sound_resource_id()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed64(19, this->sound_resource_id(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -7632,6 +9963,16 @@ void CSVCMsg_Sounds_sounddata_t::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->is_ambient(), target); } + // optional uint32 guid = 18; + if (has_guid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(18, this->guid(), target); + } + + // optional fixed64 sound_resource_id = 19; + if (has_sound_resource_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(19, this->sound_resource_id(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -7759,6 +10100,18 @@ int CSVCMsg_Sounds_sounddata_t::ByteSize() const { total_size += 2 + 1; } + // optional uint32 guid = 18; + if (has_guid()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->guid()); + } + + // optional fixed64 sound_resource_id = 19; + if (has_sound_resource_id()) { + total_size += 2 + 8; + } + } if (!unknown_fields().empty()) { total_size += @@ -7841,6 +10194,12 @@ void CSVCMsg_Sounds_sounddata_t::MergeFrom(const CSVCMsg_Sounds_sounddata_t& fro if (from.has_is_ambient()) { set_is_ambient(from.is_ambient()); } + if (from.has_guid()) { + set_guid(from.guid()); + } + if (from.has_sound_resource_id()) { + set_sound_resource_id(from.sound_resource_id()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -7881,6 +10240,8 @@ void CSVCMsg_Sounds_sounddata_t::Swap(CSVCMsg_Sounds_sounddata_t* other) { std::swap(sound_level_, other->sound_level_); std::swap(is_sentence_, other->is_sentence_); std::swap(is_ambient_, other->is_ambient_); + std::swap(guid_, other->guid_); + std::swap(sound_resource_id_, other->sound_resource_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -8159,6 +10520,7 @@ void CSVCMsg_Sounds::Swap(CSVCMsg_Sounds* other) { #ifndef _MSC_VER const int CSVCMsg_Prefetch::kSoundIndexFieldNumber; +const int CSVCMsg_Prefetch::kResourceTypeFieldNumber; #endif // !_MSC_VER CSVCMsg_Prefetch::CSVCMsg_Prefetch() @@ -8180,6 +10542,7 @@ CSVCMsg_Prefetch::CSVCMsg_Prefetch(const CSVCMsg_Prefetch& from) void CSVCMsg_Prefetch::SharedCtor() { _cached_size_ = 0; sound_index_ = 0; + resource_type_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -8215,7 +10578,21 @@ CSVCMsg_Prefetch* CSVCMsg_Prefetch::New() const { } void CSVCMsg_Prefetch::Clear() { - sound_index_ = 0; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(sound_index_, resource_type_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } @@ -8240,6 +10617,26 @@ bool CSVCMsg_Prefetch::MergePartialFromCodedStream( } else { goto handle_unusual; } + if (input->ExpectTag(16)) goto parse_resource_type; + break; + } + + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + case 2: { + if (tag == 16) { + parse_resource_type: + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::PrefetchType_IsValid(value)) { + set_resource_type(static_cast< ::PrefetchType >(value)); + } else { + mutable_unknown_fields()->AddVarint(2, value); + } + } else { + goto handle_unusual; + } if (input->ExpectAtEnd()) goto success; break; } @@ -8274,6 +10671,12 @@ void CSVCMsg_Prefetch::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->sound_index(), output); } + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + if (has_resource_type()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 2, this->resource_type(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -8289,6 +10692,12 @@ void CSVCMsg_Prefetch::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->sound_index(), target); } + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + if (has_resource_type()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 2, this->resource_type(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -8308,6 +10717,12 @@ int CSVCMsg_Prefetch::ByteSize() const { this->sound_index()); } + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + if (has_resource_type()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->resource_type()); + } + } if (!unknown_fields().empty()) { total_size += @@ -8338,6 +10753,9 @@ void CSVCMsg_Prefetch::MergeFrom(const CSVCMsg_Prefetch& from) { if (from.has_sound_index()) { set_sound_index(from.sound_index()); } + if (from.has_resource_type()) { + set_resource_type(from.resource_type()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -8362,6 +10780,7 @@ bool CSVCMsg_Prefetch::IsInitialized() const { void CSVCMsg_Prefetch::Swap(CSVCMsg_Prefetch* other) { if (other != this) { std::swap(sound_index_, other->sound_index_); + std::swap(resource_type_, other->resource_type_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -8381,6 +10800,7 @@ void CSVCMsg_Prefetch::Swap(CSVCMsg_Prefetch* other) { #ifndef _MSC_VER const int CSVCMsg_SetView::kEntityIndexFieldNumber; +const int CSVCMsg_SetView::kSlotFieldNumber; #endif // !_MSC_VER CSVCMsg_SetView::CSVCMsg_SetView() @@ -8402,6 +10822,7 @@ CSVCMsg_SetView::CSVCMsg_SetView(const CSVCMsg_SetView& from) void CSVCMsg_SetView::SharedCtor() { _cached_size_ = 0; entity_index_ = 0; + slot_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -8437,7 +10858,21 @@ CSVCMsg_SetView* CSVCMsg_SetView::New() const { } void CSVCMsg_SetView::Clear() { - entity_index_ = 0; +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(entity_index_, slot_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } @@ -8462,6 +10897,21 @@ bool CSVCMsg_SetView::MergePartialFromCodedStream( } else { goto handle_unusual; } + if (input->ExpectTag(16)) goto parse_slot; + break; + } + + // optional int32 slot = 2; + case 2: { + if (tag == 16) { + parse_slot: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &slot_))); + set_has_slot(); + } else { + goto handle_unusual; + } if (input->ExpectAtEnd()) goto success; break; } @@ -8496,6 +10946,11 @@ void CSVCMsg_SetView::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->entity_index(), output); } + // optional int32 slot = 2; + if (has_slot()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->slot(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -8511,6 +10966,11 @@ void CSVCMsg_SetView::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->entity_index(), target); } + // optional int32 slot = 2; + if (has_slot()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->slot(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -8530,6 +10990,13 @@ int CSVCMsg_SetView::ByteSize() const { this->entity_index()); } + // optional int32 slot = 2; + if (has_slot()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->slot()); + } + } if (!unknown_fields().empty()) { total_size += @@ -8560,6 +11027,9 @@ void CSVCMsg_SetView::MergeFrom(const CSVCMsg_SetView& from) { if (from.has_entity_index()) { set_entity_index(from.entity_index()); } + if (from.has_slot()) { + set_slot(from.slot()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -8584,6 +11054,7 @@ bool CSVCMsg_SetView::IsInitialized() const { void CSVCMsg_SetView::Swap(CSVCMsg_SetView* other) { if (other != this) { std::swap(entity_index_, other->entity_index_); + std::swap(slot_, other->slot_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -12155,6 +14626,8 @@ const int CSVCMsg_PacketEntities::kBaselineFieldNumber; const int CSVCMsg_PacketEntities::kDeltaFromFieldNumber; const int CSVCMsg_PacketEntities::kEntityDataFieldNumber; const int CSVCMsg_PacketEntities::kPendingFullFrameFieldNumber; +const int CSVCMsg_PacketEntities::kActiveSpawngroupHandleFieldNumber; +const int CSVCMsg_PacketEntities::kMaxSpawngroupCreationsequenceFieldNumber; #endif // !_MSC_VER CSVCMsg_PacketEntities::CSVCMsg_PacketEntities() @@ -12184,6 +14657,8 @@ void CSVCMsg_PacketEntities::SharedCtor() { delta_from_ = 0; entity_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); pending_full_frame_ = false; + active_spawngroup_handle_ = 0u; + max_spawngroup_creationsequence_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -12241,6 +14716,7 @@ void CSVCMsg_PacketEntities::Clear() { } } } + ZR_(active_spawngroup_handle_, max_spawngroup_creationsequence_); #undef OFFSET_OF_FIELD_ #undef ZR_ @@ -12372,6 +14848,36 @@ bool CSVCMsg_PacketEntities::MergePartialFromCodedStream( } else { goto handle_unusual; } + if (input->ExpectTag(72)) goto parse_active_spawngroup_handle; + break; + } + + // optional uint32 active_spawngroup_handle = 9; + case 9: { + if (tag == 72) { + parse_active_spawngroup_handle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &active_spawngroup_handle_))); + set_has_active_spawngroup_handle(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(80)) goto parse_max_spawngroup_creationsequence; + break; + } + + // optional uint32 max_spawngroup_creationsequence = 10; + case 10: { + if (tag == 80) { + parse_max_spawngroup_creationsequence: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &max_spawngroup_creationsequence_))); + set_has_max_spawngroup_creationsequence(); + } else { + goto handle_unusual; + } if (input->ExpectAtEnd()) goto success; break; } @@ -12442,6 +14948,16 @@ void CSVCMsg_PacketEntities::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->pending_full_frame(), output); } + // optional uint32 active_spawngroup_handle = 9; + if (has_active_spawngroup_handle()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->active_spawngroup_handle(), output); + } + + // optional uint32 max_spawngroup_creationsequence = 10; + if (has_max_spawngroup_creationsequence()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->max_spawngroup_creationsequence(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -12494,6 +15010,16 @@ void CSVCMsg_PacketEntities::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->pending_full_frame(), target); } + // optional uint32 active_spawngroup_handle = 9; + if (has_active_spawngroup_handle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->active_spawngroup_handle(), target); + } + + // optional uint32 max_spawngroup_creationsequence = 10; + if (has_max_spawngroup_creationsequence()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(10, this->max_spawngroup_creationsequence(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -12556,6 +15082,22 @@ int CSVCMsg_PacketEntities::ByteSize() const { total_size += 1 + 1; } + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional uint32 active_spawngroup_handle = 9; + if (has_active_spawngroup_handle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->active_spawngroup_handle()); + } + + // optional uint32 max_spawngroup_creationsequence = 10; + if (has_max_spawngroup_creationsequence()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->max_spawngroup_creationsequence()); + } + } if (!unknown_fields().empty()) { total_size += @@ -12608,6 +15150,14 @@ void CSVCMsg_PacketEntities::MergeFrom(const CSVCMsg_PacketEntities& from) { set_pending_full_frame(from.pending_full_frame()); } } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_active_spawngroup_handle()) { + set_active_spawngroup_handle(from.active_spawngroup_handle()); + } + if (from.has_max_spawngroup_creationsequence()) { + set_max_spawngroup_creationsequence(from.max_spawngroup_creationsequence()); + } + } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -12638,6 +15188,8 @@ void CSVCMsg_PacketEntities::Swap(CSVCMsg_PacketEntities* other) { std::swap(delta_from_, other->delta_from_); std::swap(entity_data_, other->entity_data_); std::swap(pending_full_frame_, other->pending_full_frame_); + std::swap(active_spawngroup_handle_, other->active_spawngroup_handle_); + std::swap(max_spawngroup_creationsequence_, other->max_spawngroup_creationsequence_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -12979,13 +15531,14 @@ void CSVCMsg_TempEntities::Swap(CSVCMsg_TempEntities* other) { #ifndef _MSC_VER const int CSVCMsg_CreateStringTable::kNameFieldNumber; -const int CSVCMsg_CreateStringTable::kMaxEntriesFieldNumber; const int CSVCMsg_CreateStringTable::kNumEntriesFieldNumber; const int CSVCMsg_CreateStringTable::kUserDataFixedSizeFieldNumber; const int CSVCMsg_CreateStringTable::kUserDataSizeFieldNumber; const int CSVCMsg_CreateStringTable::kUserDataSizeBitsFieldNumber; const int CSVCMsg_CreateStringTable::kFlagsFieldNumber; const int CSVCMsg_CreateStringTable::kStringDataFieldNumber; +const int CSVCMsg_CreateStringTable::kUncompressedSizeFieldNumber; +const int CSVCMsg_CreateStringTable::kDataCompressedFieldNumber; #endif // !_MSC_VER CSVCMsg_CreateStringTable::CSVCMsg_CreateStringTable() @@ -13008,13 +15561,14 @@ void CSVCMsg_CreateStringTable::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - max_entries_ = 0; num_entries_ = 0; user_data_fixed_size_ = false; user_data_size_ = 0; user_data_size_bits_ = 0; flags_ = 0; string_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + uncompressed_size_ = 0; + data_compressed_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -13067,7 +15621,7 @@ void CSVCMsg_CreateStringTable::Clear() { } while (0) if (_has_bits_[0 / 32] & 255) { - ZR_(max_entries_, flags_); + ZR_(num_entries_, user_data_fixed_size_); if (has_name()) { if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { name_->clear(); @@ -13078,7 +15632,9 @@ void CSVCMsg_CreateStringTable::Clear() { string_data_->clear(); } } + uncompressed_size_ = 0; } + data_compressed_ = false; #undef OFFSET_OF_FIELD_ #undef ZR_ @@ -13109,28 +15665,13 @@ bool CSVCMsg_CreateStringTable::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(16)) goto parse_max_entries; + if (input->ExpectTag(16)) goto parse_num_entries; break; } - // optional int32 max_entries = 2; + // optional int32 num_entries = 2; case 2: { if (tag == 16) { - parse_max_entries: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &max_entries_))); - set_has_max_entries(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(24)) goto parse_num_entries; - break; - } - - // optional int32 num_entries = 3; - case 3: { - if (tag == 24) { parse_num_entries: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( @@ -13139,13 +15680,13 @@ bool CSVCMsg_CreateStringTable::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(32)) goto parse_user_data_fixed_size; + if (input->ExpectTag(24)) goto parse_user_data_fixed_size; break; } - // optional bool user_data_fixed_size = 4; - case 4: { - if (tag == 32) { + // optional bool user_data_fixed_size = 3; + case 3: { + if (tag == 24) { parse_user_data_fixed_size: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( @@ -13154,13 +15695,13 @@ bool CSVCMsg_CreateStringTable::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(40)) goto parse_user_data_size; + if (input->ExpectTag(32)) goto parse_user_data_size; break; } - // optional int32 user_data_size = 5; - case 5: { - if (tag == 40) { + // optional int32 user_data_size = 4; + case 4: { + if (tag == 32) { parse_user_data_size: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( @@ -13169,13 +15710,13 @@ bool CSVCMsg_CreateStringTable::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(48)) goto parse_user_data_size_bits; + if (input->ExpectTag(40)) goto parse_user_data_size_bits; break; } - // optional int32 user_data_size_bits = 6; - case 6: { - if (tag == 48) { + // optional int32 user_data_size_bits = 5; + case 5: { + if (tag == 40) { parse_user_data_size_bits: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( @@ -13184,13 +15725,13 @@ bool CSVCMsg_CreateStringTable::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(56)) goto parse_flags; + if (input->ExpectTag(48)) goto parse_flags; break; } - // optional int32 flags = 7; - case 7: { - if (tag == 56) { + // optional int32 flags = 6; + case 6: { + if (tag == 48) { parse_flags: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( @@ -13199,19 +15740,49 @@ bool CSVCMsg_CreateStringTable::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(66)) goto parse_string_data; + if (input->ExpectTag(58)) goto parse_string_data; break; } - // optional bytes string_data = 8; - case 8: { - if (tag == 66) { + // optional bytes string_data = 7; + case 7: { + if (tag == 58) { parse_string_data: DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( input, this->mutable_string_data())); } else { goto handle_unusual; } + if (input->ExpectTag(64)) goto parse_uncompressed_size; + break; + } + + // optional int32 uncompressed_size = 8; + case 8: { + if (tag == 64) { + parse_uncompressed_size: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &uncompressed_size_))); + set_has_uncompressed_size(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(72)) goto parse_data_compressed; + break; + } + + // optional bool data_compressed = 9; + case 9: { + if (tag == 72) { + parse_data_compressed: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &data_compressed_))); + set_has_data_compressed(); + } else { + goto handle_unusual; + } if (input->ExpectAtEnd()) goto success; break; } @@ -13251,40 +15822,45 @@ void CSVCMsg_CreateStringTable::SerializeWithCachedSizes( 1, this->name(), output); } - // optional int32 max_entries = 2; - if (has_max_entries()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->max_entries(), output); - } - - // optional int32 num_entries = 3; + // optional int32 num_entries = 2; if (has_num_entries()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->num_entries(), output); + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_entries(), output); } - // optional bool user_data_fixed_size = 4; + // optional bool user_data_fixed_size = 3; if (has_user_data_fixed_size()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->user_data_fixed_size(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->user_data_fixed_size(), output); } - // optional int32 user_data_size = 5; + // optional int32 user_data_size = 4; if (has_user_data_size()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->user_data_size(), output); + ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->user_data_size(), output); } - // optional int32 user_data_size_bits = 6; + // optional int32 user_data_size_bits = 5; if (has_user_data_size_bits()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->user_data_size_bits(), output); + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->user_data_size_bits(), output); } - // optional int32 flags = 7; + // optional int32 flags = 6; if (has_flags()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->flags(), output); + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->flags(), output); } - // optional bytes string_data = 8; + // optional bytes string_data = 7; if (has_string_data()) { ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 8, this->string_data(), output); + 7, this->string_data(), output); + } + + // optional int32 uncompressed_size = 8; + if (has_uncompressed_size()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->uncompressed_size(), output); + } + + // optional bool data_compressed = 9; + if (has_data_compressed()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->data_compressed(), output); } if (!unknown_fields().empty()) { @@ -13308,41 +15884,46 @@ void CSVCMsg_CreateStringTable::SerializeWithCachedSizes( 1, this->name(), target); } - // optional int32 max_entries = 2; - if (has_max_entries()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->max_entries(), target); - } - - // optional int32 num_entries = 3; + // optional int32 num_entries = 2; if (has_num_entries()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->num_entries(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_entries(), target); } - // optional bool user_data_fixed_size = 4; + // optional bool user_data_fixed_size = 3; if (has_user_data_fixed_size()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->user_data_fixed_size(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->user_data_fixed_size(), target); } - // optional int32 user_data_size = 5; + // optional int32 user_data_size = 4; if (has_user_data_size()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->user_data_size(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->user_data_size(), target); } - // optional int32 user_data_size_bits = 6; + // optional int32 user_data_size_bits = 5; if (has_user_data_size_bits()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->user_data_size_bits(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->user_data_size_bits(), target); } - // optional int32 flags = 7; + // optional int32 flags = 6; if (has_flags()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->flags(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->flags(), target); } - // optional bytes string_data = 8; + // optional bytes string_data = 7; if (has_string_data()) { target = ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 8, this->string_data(), target); + 7, this->string_data(), target); + } + + // optional int32 uncompressed_size = 8; + if (has_uncompressed_size()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->uncompressed_size(), target); + } + + // optional bool data_compressed = 9; + if (has_data_compressed()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->data_compressed(), target); } if (!unknown_fields().empty()) { @@ -13364,53 +15945,60 @@ int CSVCMsg_CreateStringTable::ByteSize() const { this->name()); } - // optional int32 max_entries = 2; - if (has_max_entries()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->max_entries()); - } - - // optional int32 num_entries = 3; + // optional int32 num_entries = 2; if (has_num_entries()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->num_entries()); } - // optional bool user_data_fixed_size = 4; + // optional bool user_data_fixed_size = 3; if (has_user_data_fixed_size()) { total_size += 1 + 1; } - // optional int32 user_data_size = 5; + // optional int32 user_data_size = 4; if (has_user_data_size()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->user_data_size()); } - // optional int32 user_data_size_bits = 6; + // optional int32 user_data_size_bits = 5; if (has_user_data_size_bits()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->user_data_size_bits()); } - // optional int32 flags = 7; + // optional int32 flags = 6; if (has_flags()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->flags()); } - // optional bytes string_data = 8; + // optional bytes string_data = 7; if (has_string_data()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->string_data()); } + // optional int32 uncompressed_size = 8; + if (has_uncompressed_size()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->uncompressed_size()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional bool data_compressed = 9; + if (has_data_compressed()) { + total_size += 1 + 1; + } + } if (!unknown_fields().empty()) { total_size += @@ -13441,9 +16029,6 @@ void CSVCMsg_CreateStringTable::MergeFrom(const CSVCMsg_CreateStringTable& from) if (from.has_name()) { set_name(from.name()); } - if (from.has_max_entries()) { - set_max_entries(from.max_entries()); - } if (from.has_num_entries()) { set_num_entries(from.num_entries()); } @@ -13462,6 +16047,14 @@ void CSVCMsg_CreateStringTable::MergeFrom(const CSVCMsg_CreateStringTable& from) if (from.has_string_data()) { set_string_data(from.string_data()); } + if (from.has_uncompressed_size()) { + set_uncompressed_size(from.uncompressed_size()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_data_compressed()) { + set_data_compressed(from.data_compressed()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -13486,13 +16079,14 @@ bool CSVCMsg_CreateStringTable::IsInitialized() const { void CSVCMsg_CreateStringTable::Swap(CSVCMsg_CreateStringTable* other) { if (other != this) { std::swap(name_, other->name_); - std::swap(max_entries_, other->max_entries_); std::swap(num_entries_, other->num_entries_); std::swap(user_data_fixed_size_, other->user_data_fixed_size_); std::swap(user_data_size_, other->user_data_size_); std::swap(user_data_size_bits_, other->user_data_size_bits_); std::swap(flags_, other->flags_); std::swap(string_data_, other->string_data_); + std::swap(uncompressed_size_, other->uncompressed_size_); + std::swap(data_compressed_, other->data_compressed_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -13835,15 +16429,11 @@ void CSVCMsg_UpdateStringTable::Swap(CSVCMsg_UpdateStringTable* other) { // =================================================================== #ifndef _MSC_VER +const int CSVCMsg_VoiceData::kAudioFieldNumber; const int CSVCMsg_VoiceData::kClientFieldNumber; const int CSVCMsg_VoiceData::kProximityFieldNumber; const int CSVCMsg_VoiceData::kXuidFieldNumber; const int CSVCMsg_VoiceData::kAudibleMaskFieldNumber; -const int CSVCMsg_VoiceData::kVoiceDataFieldNumber; -const int CSVCMsg_VoiceData::kFormatFieldNumber; -const int CSVCMsg_VoiceData::kSequenceBytesFieldNumber; -const int CSVCMsg_VoiceData::kSectionNumberFieldNumber; -const int CSVCMsg_VoiceData::kUncompressedSampleOffsetFieldNumber; const int CSVCMsg_VoiceData::kTickFieldNumber; #endif // !_MSC_VER @@ -13854,6 +16444,7 @@ CSVCMsg_VoiceData::CSVCMsg_VoiceData() } void CSVCMsg_VoiceData::InitAsDefaultInstance() { + audio_ = const_cast< ::CMsgVoiceAudio*>(&::CMsgVoiceAudio::default_instance()); } CSVCMsg_VoiceData::CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from) @@ -13864,17 +16455,12 @@ CSVCMsg_VoiceData::CSVCMsg_VoiceData(const CSVCMsg_VoiceData& from) } void CSVCMsg_VoiceData::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; + audio_ = NULL; client_ = 0; proximity_ = false; xuid_ = GOOGLE_ULONGLONG(0); audible_mask_ = 0; - voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - format_ = 0; - sequence_bytes_ = 0; - section_number_ = 0u; - uncompressed_sample_offset_ = 0u; tick_ = 0u; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -13885,10 +16471,8 @@ CSVCMsg_VoiceData::~CSVCMsg_VoiceData() { } void CSVCMsg_VoiceData::SharedDtor() { - if (voice_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete voice_data_; - } if (this != default_instance_) { + delete audio_; } } @@ -13924,16 +16508,12 @@ void CSVCMsg_VoiceData::Clear() { ::memset(&first, 0, n); \ } while (0) - if (_has_bits_[0 / 32] & 255) { - ZR_(client_, xuid_); - ZR_(audible_mask_, section_number_); - if (has_voice_data()) { - if (voice_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_data_->clear(); - } + if (_has_bits_[0 / 32] & 63) { + ZR_(client_, tick_); + if (has_audio()) { + if (audio_ != NULL) audio_->::CMsgVoiceAudio::Clear(); } } - ZR_(uncompressed_sample_offset_, tick_); #undef OFFSET_OF_FIELD_ #undef ZR_ @@ -13952,9 +16532,22 @@ bool CSVCMsg_VoiceData::MergePartialFromCodedStream( tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional int32 client = 1; + // optional .CMsgVoiceAudio audio = 1; case 1: { - if (tag == 8) { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_audio())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_client; + break; + } + + // optional int32 client = 2; + case 2: { + if (tag == 16) { + parse_client: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &client_))); @@ -13962,13 +16555,13 @@ bool CSVCMsg_VoiceData::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(16)) goto parse_proximity; + if (input->ExpectTag(24)) goto parse_proximity; break; } - // optional bool proximity = 2; - case 2: { - if (tag == 16) { + // optional bool proximity = 3; + case 3: { + if (tag == 24) { parse_proximity: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( @@ -13977,13 +16570,13 @@ bool CSVCMsg_VoiceData::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(25)) goto parse_xuid; + if (input->ExpectTag(33)) goto parse_xuid; break; } - // optional fixed64 xuid = 3; - case 3: { - if (tag == 25) { + // optional fixed64 xuid = 4; + case 4: { + if (tag == 33) { parse_xuid: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( @@ -13992,13 +16585,13 @@ bool CSVCMsg_VoiceData::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(32)) goto parse_audible_mask; + if (input->ExpectTag(40)) goto parse_audible_mask; break; } - // optional int32 audible_mask = 4; - case 4: { - if (tag == 32) { + // optional int32 audible_mask = 5; + case 5: { + if (tag == 40) { parse_audible_mask: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( @@ -14007,91 +16600,13 @@ bool CSVCMsg_VoiceData::MergePartialFromCodedStream( } else { goto handle_unusual; } - if (input->ExpectTag(42)) goto parse_voice_data; + if (input->ExpectTag(48)) goto parse_tick; break; } - // optional bytes voice_data = 5; - case 5: { - if (tag == 42) { - parse_voice_data: - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_voice_data())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(48)) goto parse_format; - break; - } - - // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; + // optional uint32 tick = 6; case 6: { if (tag == 48) { - parse_format: - int value; - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( - input, &value))); - if (::VoiceDataFormat_t_IsValid(value)) { - set_format(static_cast< ::VoiceDataFormat_t >(value)); - } else { - mutable_unknown_fields()->AddVarint(6, value); - } - } else { - goto handle_unusual; - } - if (input->ExpectTag(56)) goto parse_sequence_bytes; - break; - } - - // optional int32 sequence_bytes = 7; - case 7: { - if (tag == 56) { - parse_sequence_bytes: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( - input, &sequence_bytes_))); - set_has_sequence_bytes(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(64)) goto parse_section_number; - break; - } - - // optional uint32 section_number = 8; - case 8: { - if (tag == 64) { - parse_section_number: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, §ion_number_))); - set_has_section_number(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(72)) goto parse_uncompressed_sample_offset; - break; - } - - // optional uint32 uncompressed_sample_offset = 9; - case 9: { - if (tag == 72) { - parse_uncompressed_sample_offset: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &uncompressed_sample_offset_))); - set_has_uncompressed_sample_offset(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(80)) goto parse_tick; - break; - } - - // optional uint32 tick = 10; - case 10: { - if (tag == 80) { parse_tick: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( @@ -14129,56 +16644,35 @@ failure: void CSVCMsg_VoiceData::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:CSVCMsg_VoiceData) - // optional int32 client = 1; + // optional .CMsgVoiceAudio audio = 1; + if (has_audio()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->audio(), output); + } + + // optional int32 client = 2; if (has_client()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->client(), output); + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->client(), output); } - // optional bool proximity = 2; + // optional bool proximity = 3; if (has_proximity()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->proximity(), output); + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->proximity(), output); } - // optional fixed64 xuid = 3; + // optional fixed64 xuid = 4; if (has_xuid()) { - ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->xuid(), output); + ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->xuid(), output); } - // optional int32 audible_mask = 4; + // optional int32 audible_mask = 5; if (has_audible_mask()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->audible_mask(), output); + ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->audible_mask(), output); } - // optional bytes voice_data = 5; - if (has_voice_data()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 5, this->voice_data(), output); - } - - // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; - if (has_format()) { - ::google::protobuf::internal::WireFormatLite::WriteEnum( - 6, this->format(), output); - } - - // optional int32 sequence_bytes = 7; - if (has_sequence_bytes()) { - ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->sequence_bytes(), output); - } - - // optional uint32 section_number = 8; - if (has_section_number()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->section_number(), output); - } - - // optional uint32 uncompressed_sample_offset = 9; - if (has_uncompressed_sample_offset()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->uncompressed_sample_offset(), output); - } - - // optional uint32 tick = 10; + // optional uint32 tick = 6; if (has_tick()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->tick(), output); + ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->tick(), output); } if (!unknown_fields().empty()) { @@ -14191,57 +16685,36 @@ void CSVCMsg_VoiceData::SerializeWithCachedSizes( ::google::protobuf::uint8* CSVCMsg_VoiceData::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_VoiceData) - // optional int32 client = 1; + // optional .CMsgVoiceAudio audio = 1; + if (has_audio()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->audio(), target); + } + + // optional int32 client = 2; if (has_client()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->client(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->client(), target); } - // optional bool proximity = 2; + // optional bool proximity = 3; if (has_proximity()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->proximity(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->proximity(), target); } - // optional fixed64 xuid = 3; + // optional fixed64 xuid = 4; if (has_xuid()) { - target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->xuid(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->xuid(), target); } - // optional int32 audible_mask = 4; + // optional int32 audible_mask = 5; if (has_audible_mask()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->audible_mask(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->audible_mask(), target); } - // optional bytes voice_data = 5; - if (has_voice_data()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 5, this->voice_data(), target); - } - - // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; - if (has_format()) { - target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( - 6, this->format(), target); - } - - // optional int32 sequence_bytes = 7; - if (has_sequence_bytes()) { - target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->sequence_bytes(), target); - } - - // optional uint32 section_number = 8; - if (has_section_number()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->section_number(), target); - } - - // optional uint32 uncompressed_sample_offset = 9; - if (has_uncompressed_sample_offset()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->uncompressed_sample_offset(), target); - } - - // optional uint32 tick = 10; + // optional uint32 tick = 6; if (has_tick()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(10, this->tick(), target); + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->tick(), target); } if (!unknown_fields().empty()) { @@ -14256,67 +16729,38 @@ int CSVCMsg_VoiceData::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional int32 client = 1; + // optional .CMsgVoiceAudio audio = 1; + if (has_audio()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->audio()); + } + + // optional int32 client = 2; if (has_client()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->client()); } - // optional bool proximity = 2; + // optional bool proximity = 3; if (has_proximity()) { total_size += 1 + 1; } - // optional fixed64 xuid = 3; + // optional fixed64 xuid = 4; if (has_xuid()) { total_size += 1 + 8; } - // optional int32 audible_mask = 4; + // optional int32 audible_mask = 5; if (has_audible_mask()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->audible_mask()); } - // optional bytes voice_data = 5; - if (has_voice_data()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->voice_data()); - } - - // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; - if (has_format()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::EnumSize(this->format()); - } - - // optional int32 sequence_bytes = 7; - if (has_sequence_bytes()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::Int32Size( - this->sequence_bytes()); - } - - // optional uint32 section_number = 8; - if (has_section_number()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->section_number()); - } - - } - if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { - // optional uint32 uncompressed_sample_offset = 9; - if (has_uncompressed_sample_offset()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->uncompressed_sample_offset()); - } - - // optional uint32 tick = 10; + // optional uint32 tick = 6; if (has_tick()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( @@ -14350,6 +16794,9 @@ void CSVCMsg_VoiceData::MergeFrom(const ::google::protobuf::Message& from) { void CSVCMsg_VoiceData::MergeFrom(const CSVCMsg_VoiceData& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_audio()) { + mutable_audio()->::CMsgVoiceAudio::MergeFrom(from.audio()); + } if (from.has_client()) { set_client(from.client()); } @@ -14362,23 +16809,6 @@ void CSVCMsg_VoiceData::MergeFrom(const CSVCMsg_VoiceData& from) { if (from.has_audible_mask()) { set_audible_mask(from.audible_mask()); } - if (from.has_voice_data()) { - set_voice_data(from.voice_data()); - } - if (from.has_format()) { - set_format(from.format()); - } - if (from.has_sequence_bytes()) { - set_sequence_bytes(from.sequence_bytes()); - } - if (from.has_section_number()) { - set_section_number(from.section_number()); - } - } - if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { - if (from.has_uncompressed_sample_offset()) { - set_uncompressed_sample_offset(from.uncompressed_sample_offset()); - } if (from.has_tick()) { set_tick(from.tick()); } @@ -14405,15 +16835,11 @@ bool CSVCMsg_VoiceData::IsInitialized() const { void CSVCMsg_VoiceData::Swap(CSVCMsg_VoiceData* other) { if (other != this) { + std::swap(audio_, other->audio_); std::swap(client_, other->client_); std::swap(proximity_, other->proximity_); std::swap(xuid_, other->xuid_); std::swap(audible_mask_, other->audible_mask_); - std::swap(voice_data_, other->voice_data_); - std::swap(format_, other->format_); - std::swap(sequence_bytes_, other->sequence_bytes_); - std::swap(section_number_, other->section_number_); - std::swap(uncompressed_sample_offset_, other->uncompressed_sample_offset_); std::swap(tick_, other->tick_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); @@ -14435,6 +16861,7 @@ void CSVCMsg_VoiceData::Swap(CSVCMsg_VoiceData* other) { #ifndef _MSC_VER const int CSVCMsg_PacketReliable::kTickFieldNumber; const int CSVCMsg_PacketReliable::kMessagessizeFieldNumber; +const int CSVCMsg_PacketReliable::kStateFieldNumber; #endif // !_MSC_VER CSVCMsg_PacketReliable::CSVCMsg_PacketReliable() @@ -14457,6 +16884,7 @@ void CSVCMsg_PacketReliable::SharedCtor() { _cached_size_ = 0; tick_ = 0; messagessize_ = 0; + state_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } @@ -14502,7 +16930,7 @@ void CSVCMsg_PacketReliable::Clear() { ::memset(&first, 0, n); \ } while (0) - ZR_(tick_, messagessize_); + ZR_(tick_, state_); #undef OFFSET_OF_FIELD_ #undef ZR_ @@ -14546,6 +16974,21 @@ bool CSVCMsg_PacketReliable::MergePartialFromCodedStream( } else { goto handle_unusual; } + if (input->ExpectTag(24)) goto parse_state; + break; + } + + // optional bool state = 3; + case 3: { + if (tag == 24) { + parse_state: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &state_))); + set_has_state(); + } else { + goto handle_unusual; + } if (input->ExpectAtEnd()) goto success; break; } @@ -14585,6 +17028,11 @@ void CSVCMsg_PacketReliable::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->messagessize(), output); } + // optional bool state = 3; + if (has_state()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->state(), output); + } + if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); @@ -14605,6 +17053,11 @@ void CSVCMsg_PacketReliable::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->messagessize(), target); } + // optional bool state = 3; + if (has_state()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->state(), target); + } + if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); @@ -14631,6 +17084,11 @@ int CSVCMsg_PacketReliable::ByteSize() const { this->messagessize()); } + // optional bool state = 3; + if (has_state()) { + total_size += 1 + 1; + } + } if (!unknown_fields().empty()) { total_size += @@ -14664,6 +17122,9 @@ void CSVCMsg_PacketReliable::MergeFrom(const CSVCMsg_PacketReliable& from) { if (from.has_messagessize()) { set_messagessize(from.messagessize()); } + if (from.has_state()) { + set_state(from.state()); + } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } @@ -14689,6 +17150,7 @@ void CSVCMsg_PacketReliable::Swap(CSVCMsg_PacketReliable* other) { if (other != this) { std::swap(tick_, other->tick_); std::swap(messagessize_, other->messagessize_); + std::swap(state_, other->state_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); @@ -15067,6 +17529,4991 @@ void CSVCMsg_FullFrameSplit::Swap(CSVCMsg_FullFrameSplit* other) { } +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_CmdKeyValues::kDataFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CSVCMsg_CmdKeyValues) +} + +void CSVCMsg_CmdKeyValues::InitAsDefaultInstance() { +} + +CSVCMsg_CmdKeyValues::CSVCMsg_CmdKeyValues(const CSVCMsg_CmdKeyValues& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_CmdKeyValues) +} + +void CSVCMsg_CmdKeyValues::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_CmdKeyValues::~CSVCMsg_CmdKeyValues() { + // @@protoc_insertion_point(destructor:CSVCMsg_CmdKeyValues) + SharedDtor(); +} + +void CSVCMsg_CmdKeyValues::SharedDtor() { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete data_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_CmdKeyValues::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_CmdKeyValues::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_CmdKeyValues_descriptor_; +} + +const CSVCMsg_CmdKeyValues& CSVCMsg_CmdKeyValues::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CSVCMsg_CmdKeyValues* CSVCMsg_CmdKeyValues::default_instance_ = NULL; + +CSVCMsg_CmdKeyValues* CSVCMsg_CmdKeyValues::New() const { + return new CSVCMsg_CmdKeyValues; +} + +void CSVCMsg_CmdKeyValues::Clear() { + if (has_data()) { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_->clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_CmdKeyValues::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CSVCMsg_CmdKeyValues) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional bytes data = 1; + case 1: { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_data())); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CSVCMsg_CmdKeyValues) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CSVCMsg_CmdKeyValues) + return false; +#undef DO_ +} + +void CSVCMsg_CmdKeyValues::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CSVCMsg_CmdKeyValues) + // optional bytes data = 1; + if (has_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 1, this->data(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CSVCMsg_CmdKeyValues) +} + +::google::protobuf::uint8* CSVCMsg_CmdKeyValues::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_CmdKeyValues) + // optional bytes data = 1; + if (has_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 1, this->data(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_CmdKeyValues) + return target; +} + +int CSVCMsg_CmdKeyValues::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bytes data = 1; + if (has_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->data()); + } + + } + 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_CmdKeyValues::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_CmdKeyValues* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_CmdKeyValues::MergeFrom(const CSVCMsg_CmdKeyValues& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_data()) { + set_data(from.data()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_CmdKeyValues::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_CmdKeyValues::CopyFrom(const CSVCMsg_CmdKeyValues& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_CmdKeyValues::IsInitialized() const { + + return true; +} + +void CSVCMsg_CmdKeyValues::Swap(CSVCMsg_CmdKeyValues* other) { + if (other != this) { + std::swap(data_, other->data_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CSVCMsg_CmdKeyValues::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_CmdKeyValues_descriptor_; + metadata.reflection = CSVCMsg_CmdKeyValues_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CMsgIPCAddress::kComputerGuidFieldNumber; +const int CMsgIPCAddress::kProcessIdFieldNumber; +#endif // !_MSC_VER + +CMsgIPCAddress::CMsgIPCAddress() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CMsgIPCAddress) +} + +void CMsgIPCAddress::InitAsDefaultInstance() { +} + +CMsgIPCAddress::CMsgIPCAddress(const CMsgIPCAddress& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CMsgIPCAddress) +} + +void CMsgIPCAddress::SharedCtor() { + _cached_size_ = 0; + computer_guid_ = GOOGLE_ULONGLONG(0); + process_id_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsgIPCAddress::~CMsgIPCAddress() { + // @@protoc_insertion_point(destructor:CMsgIPCAddress) + SharedDtor(); +} + +void CMsgIPCAddress::SharedDtor() { + if (this != default_instance_) { + } +} + +void CMsgIPCAddress::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsgIPCAddress::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsgIPCAddress_descriptor_; +} + +const CMsgIPCAddress& CMsgIPCAddress::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CMsgIPCAddress* CMsgIPCAddress::default_instance_ = NULL; + +CMsgIPCAddress* CMsgIPCAddress::New() const { + return new CMsgIPCAddress; +} + +void CMsgIPCAddress::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(computer_guid_, process_id_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsgIPCAddress::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CMsgIPCAddress) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional fixed64 computer_guid = 1; + case 1: { + if (tag == 9) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( + input, &computer_guid_))); + set_has_computer_guid(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_process_id; + break; + } + + // optional uint32 process_id = 2; + case 2: { + if (tag == 16) { + parse_process_id: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &process_id_))); + set_has_process_id(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CMsgIPCAddress) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CMsgIPCAddress) + return false; +#undef DO_ +} + +void CMsgIPCAddress::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CMsgIPCAddress) + // optional fixed64 computer_guid = 1; + if (has_computer_guid()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed64(1, this->computer_guid(), output); + } + + // optional uint32 process_id = 2; + if (has_process_id()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->process_id(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CMsgIPCAddress) +} + +::google::protobuf::uint8* CMsgIPCAddress::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgIPCAddress) + // optional fixed64 computer_guid = 1; + if (has_computer_guid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(1, this->computer_guid(), target); + } + + // optional uint32 process_id = 2; + if (has_process_id()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->process_id(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgIPCAddress) + return target; +} + +int CMsgIPCAddress::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional fixed64 computer_guid = 1; + if (has_computer_guid()) { + total_size += 1 + 8; + } + + // optional uint32 process_id = 2; + if (has_process_id()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->process_id()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CMsgIPCAddress::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsgIPCAddress* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsgIPCAddress::MergeFrom(const CMsgIPCAddress& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_computer_guid()) { + set_computer_guid(from.computer_guid()); + } + if (from.has_process_id()) { + set_process_id(from.process_id()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsgIPCAddress::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsgIPCAddress::CopyFrom(const CMsgIPCAddress& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgIPCAddress::IsInitialized() const { + + return true; +} + +void CMsgIPCAddress::Swap(CMsgIPCAddress* other) { + if (other != this) { + std::swap(computer_guid_, other->computer_guid_); + std::swap(process_id_, other->process_id_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CMsgIPCAddress::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsgIPCAddress_descriptor_; + metadata.reflection = CMsgIPCAddress_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CMsgServerPeer::kPlayerSlotFieldNumber; +const int CMsgServerPeer::kSteamidFieldNumber; +const int CMsgServerPeer::kIpcFieldNumber; +const int CMsgServerPeer::kTheyHearYouFieldNumber; +const int CMsgServerPeer::kYouHearThemFieldNumber; +const int CMsgServerPeer::kIsListenserverHostFieldNumber; +#endif // !_MSC_VER + +CMsgServerPeer::CMsgServerPeer() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CMsgServerPeer) +} + +void CMsgServerPeer::InitAsDefaultInstance() { + ipc_ = const_cast< ::CMsgIPCAddress*>(&::CMsgIPCAddress::default_instance()); +} + +CMsgServerPeer::CMsgServerPeer(const CMsgServerPeer& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CMsgServerPeer) +} + +void CMsgServerPeer::SharedCtor() { + _cached_size_ = 0; + player_slot_ = 0; + steamid_ = GOOGLE_ULONGLONG(0); + ipc_ = NULL; + they_hear_you_ = false; + you_hear_them_ = false; + is_listenserver_host_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsgServerPeer::~CMsgServerPeer() { + // @@protoc_insertion_point(destructor:CMsgServerPeer) + SharedDtor(); +} + +void CMsgServerPeer::SharedDtor() { + if (this != default_instance_) { + delete ipc_; + } +} + +void CMsgServerPeer::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsgServerPeer::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsgServerPeer_descriptor_; +} + +const CMsgServerPeer& CMsgServerPeer::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CMsgServerPeer* CMsgServerPeer::default_instance_ = NULL; + +CMsgServerPeer* CMsgServerPeer::New() const { + return new CMsgServerPeer; +} + +void CMsgServerPeer::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 63) { + ZR_(player_slot_, is_listenserver_host_); + steamid_ = GOOGLE_ULONGLONG(0); + if (has_ipc()) { + if (ipc_ != NULL) ipc_->::CMsgIPCAddress::Clear(); + } + } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsgServerPeer::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CMsgServerPeer) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 player_slot = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &player_slot_))); + set_has_player_slot(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(17)) goto parse_steamid; + break; + } + + // optional fixed64 steamid = 2; + case 2: { + if (tag == 17) { + parse_steamid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( + input, &steamid_))); + set_has_steamid(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(26)) goto parse_ipc; + break; + } + + // optional .CMsgIPCAddress ipc = 3; + case 3: { + if (tag == 26) { + parse_ipc: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_ipc())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(32)) goto parse_they_hear_you; + break; + } + + // optional bool they_hear_you = 4; + case 4: { + if (tag == 32) { + parse_they_hear_you: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &they_hear_you_))); + set_has_they_hear_you(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(40)) goto parse_you_hear_them; + break; + } + + // optional bool you_hear_them = 5; + case 5: { + if (tag == 40) { + parse_you_hear_them: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &you_hear_them_))); + set_has_you_hear_them(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(48)) goto parse_is_listenserver_host; + break; + } + + // optional bool is_listenserver_host = 6; + case 6: { + if (tag == 48) { + parse_is_listenserver_host: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_listenserver_host_))); + set_has_is_listenserver_host(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CMsgServerPeer) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CMsgServerPeer) + return false; +#undef DO_ +} + +void CMsgServerPeer::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CMsgServerPeer) + // optional int32 player_slot = 1; + if (has_player_slot()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->player_slot(), output); + } + + // optional fixed64 steamid = 2; + if (has_steamid()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->steamid(), output); + } + + // optional .CMsgIPCAddress ipc = 3; + if (has_ipc()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->ipc(), output); + } + + // optional bool they_hear_you = 4; + if (has_they_hear_you()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->they_hear_you(), output); + } + + // optional bool you_hear_them = 5; + if (has_you_hear_them()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->you_hear_them(), output); + } + + // optional bool is_listenserver_host = 6; + if (has_is_listenserver_host()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->is_listenserver_host(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CMsgServerPeer) +} + +::google::protobuf::uint8* CMsgServerPeer::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgServerPeer) + // optional int32 player_slot = 1; + if (has_player_slot()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->player_slot(), target); + } + + // optional fixed64 steamid = 2; + if (has_steamid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->steamid(), target); + } + + // optional .CMsgIPCAddress ipc = 3; + if (has_ipc()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->ipc(), target); + } + + // optional bool they_hear_you = 4; + if (has_they_hear_you()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->they_hear_you(), target); + } + + // optional bool you_hear_them = 5; + if (has_you_hear_them()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->you_hear_them(), target); + } + + // optional bool is_listenserver_host = 6; + if (has_is_listenserver_host()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->is_listenserver_host(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgServerPeer) + return target; +} + +int CMsgServerPeer::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 player_slot = 1; + if (has_player_slot()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->player_slot()); + } + + // optional fixed64 steamid = 2; + if (has_steamid()) { + total_size += 1 + 8; + } + + // optional .CMsgIPCAddress ipc = 3; + if (has_ipc()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->ipc()); + } + + // optional bool they_hear_you = 4; + if (has_they_hear_you()) { + total_size += 1 + 1; + } + + // optional bool you_hear_them = 5; + if (has_you_hear_them()) { + total_size += 1 + 1; + } + + // optional bool is_listenserver_host = 6; + if (has_is_listenserver_host()) { + 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 CMsgServerPeer::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsgServerPeer* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsgServerPeer::MergeFrom(const CMsgServerPeer& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_player_slot()) { + set_player_slot(from.player_slot()); + } + if (from.has_steamid()) { + set_steamid(from.steamid()); + } + if (from.has_ipc()) { + mutable_ipc()->::CMsgIPCAddress::MergeFrom(from.ipc()); + } + if (from.has_they_hear_you()) { + set_they_hear_you(from.they_hear_you()); + } + if (from.has_you_hear_them()) { + set_you_hear_them(from.you_hear_them()); + } + if (from.has_is_listenserver_host()) { + set_is_listenserver_host(from.is_listenserver_host()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsgServerPeer::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsgServerPeer::CopyFrom(const CMsgServerPeer& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgServerPeer::IsInitialized() const { + + return true; +} + +void CMsgServerPeer::Swap(CMsgServerPeer* other) { + if (other != this) { + std::swap(player_slot_, other->player_slot_); + std::swap(steamid_, other->steamid_); + std::swap(ipc_, other->ipc_); + std::swap(they_hear_you_, other->they_hear_you_); + std::swap(you_hear_them_, other->you_hear_them_); + std::swap(is_listenserver_host_, other->is_listenserver_host_); + 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 CMsgServerPeer::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsgServerPeer_descriptor_; + metadata.reflection = CMsgServerPeer_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_PeerList::kPeerFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_PeerList::CSVCMsg_PeerList() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CSVCMsg_PeerList) +} + +void CSVCMsg_PeerList::InitAsDefaultInstance() { +} + +CSVCMsg_PeerList::CSVCMsg_PeerList(const CSVCMsg_PeerList& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_PeerList) +} + +void CSVCMsg_PeerList::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_PeerList::~CSVCMsg_PeerList() { + // @@protoc_insertion_point(destructor:CSVCMsg_PeerList) + SharedDtor(); +} + +void CSVCMsg_PeerList::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_PeerList::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_PeerList::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_PeerList_descriptor_; +} + +const CSVCMsg_PeerList& CSVCMsg_PeerList::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CSVCMsg_PeerList* CSVCMsg_PeerList::default_instance_ = NULL; + +CSVCMsg_PeerList* CSVCMsg_PeerList::New() const { + return new CSVCMsg_PeerList; +} + +void CSVCMsg_PeerList::Clear() { + peer_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_PeerList::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CSVCMsg_PeerList) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .CMsgServerPeer peer = 1; + case 1: { + if (tag == 10) { + parse_peer: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_peer())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(10)) goto parse_peer; + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CSVCMsg_PeerList) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CSVCMsg_PeerList) + return false; +#undef DO_ +} + +void CSVCMsg_PeerList::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CSVCMsg_PeerList) + // repeated .CMsgServerPeer peer = 1; + for (int i = 0; i < this->peer_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->peer(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CSVCMsg_PeerList) +} + +::google::protobuf::uint8* CSVCMsg_PeerList::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_PeerList) + // repeated .CMsgServerPeer peer = 1; + for (int i = 0; i < this->peer_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->peer(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_PeerList) + return target; +} + +int CSVCMsg_PeerList::ByteSize() const { + int total_size = 0; + + // repeated .CMsgServerPeer peer = 1; + total_size += 1 * this->peer_size(); + for (int i = 0; i < this->peer_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->peer(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_PeerList::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_PeerList* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_PeerList::MergeFrom(const CSVCMsg_PeerList& from) { + GOOGLE_CHECK_NE(&from, this); + peer_.MergeFrom(from.peer_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_PeerList::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_PeerList::CopyFrom(const CSVCMsg_PeerList& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_PeerList::IsInitialized() const { + + return true; +} + +void CSVCMsg_PeerList::Swap(CSVCMsg_PeerList* other) { + if (other != this) { + peer_.Swap(&other->peer_); + 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_PeerList::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_PeerList_descriptor_; + metadata.reflection = CSVCMsg_PeerList_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_ClearAllStringTables::kMapnameFieldNumber; +const int CSVCMsg_ClearAllStringTables::kMapCrcFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_ClearAllStringTables::CSVCMsg_ClearAllStringTables() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CSVCMsg_ClearAllStringTables) +} + +void CSVCMsg_ClearAllStringTables::InitAsDefaultInstance() { +} + +CSVCMsg_ClearAllStringTables::CSVCMsg_ClearAllStringTables(const CSVCMsg_ClearAllStringTables& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_ClearAllStringTables) +} + +void CSVCMsg_ClearAllStringTables::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + mapname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + map_crc_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_ClearAllStringTables::~CSVCMsg_ClearAllStringTables() { + // @@protoc_insertion_point(destructor:CSVCMsg_ClearAllStringTables) + SharedDtor(); +} + +void CSVCMsg_ClearAllStringTables::SharedDtor() { + if (mapname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete mapname_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_ClearAllStringTables::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_ClearAllStringTables::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_ClearAllStringTables_descriptor_; +} + +const CSVCMsg_ClearAllStringTables& CSVCMsg_ClearAllStringTables::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CSVCMsg_ClearAllStringTables* CSVCMsg_ClearAllStringTables::default_instance_ = NULL; + +CSVCMsg_ClearAllStringTables* CSVCMsg_ClearAllStringTables::New() const { + return new CSVCMsg_ClearAllStringTables; +} + +void CSVCMsg_ClearAllStringTables::Clear() { + if (_has_bits_[0 / 32] & 3) { + if (has_mapname()) { + if (mapname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + mapname_->clear(); + } + } + map_crc_ = 0u; + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_ClearAllStringTables::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CSVCMsg_ClearAllStringTables) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional string mapname = 1; + case 1: { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_mapname())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->mapname().data(), this->mapname().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "mapname"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_map_crc; + break; + } + + // optional uint32 map_crc = 2; + case 2: { + if (tag == 16) { + parse_map_crc: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &map_crc_))); + set_has_map_crc(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CSVCMsg_ClearAllStringTables) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CSVCMsg_ClearAllStringTables) + return false; +#undef DO_ +} + +void CSVCMsg_ClearAllStringTables::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CSVCMsg_ClearAllStringTables) + // optional string mapname = 1; + if (has_mapname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->mapname().data(), this->mapname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "mapname"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->mapname(), output); + } + + // optional uint32 map_crc = 2; + if (has_map_crc()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->map_crc(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CSVCMsg_ClearAllStringTables) +} + +::google::protobuf::uint8* CSVCMsg_ClearAllStringTables::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_ClearAllStringTables) + // optional string mapname = 1; + if (has_mapname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->mapname().data(), this->mapname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "mapname"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->mapname(), target); + } + + // optional uint32 map_crc = 2; + if (has_map_crc()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->map_crc(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_ClearAllStringTables) + return target; +} + +int CSVCMsg_ClearAllStringTables::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string mapname = 1; + if (has_mapname()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->mapname()); + } + + // optional uint32 map_crc = 2; + if (has_map_crc()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->map_crc()); + } + + } + 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_ClearAllStringTables::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_ClearAllStringTables* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_ClearAllStringTables::MergeFrom(const CSVCMsg_ClearAllStringTables& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_mapname()) { + set_mapname(from.mapname()); + } + if (from.has_map_crc()) { + set_map_crc(from.map_crc()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_ClearAllStringTables::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_ClearAllStringTables::CopyFrom(const CSVCMsg_ClearAllStringTables& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_ClearAllStringTables::IsInitialized() const { + + return true; +} + +void CSVCMsg_ClearAllStringTables::Swap(CSVCMsg_ClearAllStringTables* other) { + if (other != this) { + std::swap(mapname_, other->mapname_); + std::swap(map_crc_, other->map_crc_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CSVCMsg_ClearAllStringTables::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_ClearAllStringTables_descriptor_; + metadata.reflection = CSVCMsg_ClearAllStringTables_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int ProtoFlattenedSerializerField_t::kVarTypeSymFieldNumber; +const int ProtoFlattenedSerializerField_t::kVarNameSymFieldNumber; +const int ProtoFlattenedSerializerField_t::kBitCountFieldNumber; +const int ProtoFlattenedSerializerField_t::kLowValueFieldNumber; +const int ProtoFlattenedSerializerField_t::kHighValueFieldNumber; +const int ProtoFlattenedSerializerField_t::kEncodeFlagsFieldNumber; +const int ProtoFlattenedSerializerField_t::kFieldSerializerNameSymFieldNumber; +const int ProtoFlattenedSerializerField_t::kFieldSerializerVersionFieldNumber; +const int ProtoFlattenedSerializerField_t::kSendNodeSymFieldNumber; +#endif // !_MSC_VER + +ProtoFlattenedSerializerField_t::ProtoFlattenedSerializerField_t() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:ProtoFlattenedSerializerField_t) +} + +void ProtoFlattenedSerializerField_t::InitAsDefaultInstance() { +} + +ProtoFlattenedSerializerField_t::ProtoFlattenedSerializerField_t(const ProtoFlattenedSerializerField_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ProtoFlattenedSerializerField_t) +} + +void ProtoFlattenedSerializerField_t::SharedCtor() { + _cached_size_ = 0; + var_type_sym_ = 0; + var_name_sym_ = 0; + bit_count_ = 0; + low_value_ = 0; + high_value_ = 0; + encode_flags_ = 0; + field_serializer_name_sym_ = 0; + field_serializer_version_ = 0; + send_node_sym_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ProtoFlattenedSerializerField_t::~ProtoFlattenedSerializerField_t() { + // @@protoc_insertion_point(destructor:ProtoFlattenedSerializerField_t) + SharedDtor(); +} + +void ProtoFlattenedSerializerField_t::SharedDtor() { + if (this != default_instance_) { + } +} + +void ProtoFlattenedSerializerField_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ProtoFlattenedSerializerField_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ProtoFlattenedSerializerField_t_descriptor_; +} + +const ProtoFlattenedSerializerField_t& ProtoFlattenedSerializerField_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +ProtoFlattenedSerializerField_t* ProtoFlattenedSerializerField_t::default_instance_ = NULL; + +ProtoFlattenedSerializerField_t* ProtoFlattenedSerializerField_t::New() const { + return new ProtoFlattenedSerializerField_t; +} + +void ProtoFlattenedSerializerField_t::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 255) { + ZR_(var_type_sym_, field_serializer_version_); + } + send_node_sym_ = 0; + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool ProtoFlattenedSerializerField_t::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:ProtoFlattenedSerializerField_t) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 var_type_sym = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &var_type_sym_))); + set_has_var_type_sym(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_var_name_sym; + break; + } + + // optional int32 var_name_sym = 2; + case 2: { + if (tag == 16) { + parse_var_name_sym: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &var_name_sym_))); + set_has_var_name_sym(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_bit_count; + break; + } + + // optional int32 bit_count = 3; + case 3: { + if (tag == 24) { + parse_bit_count: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &bit_count_))); + set_has_bit_count(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(37)) goto parse_low_value; + break; + } + + // optional float low_value = 4; + case 4: { + if (tag == 37) { + parse_low_value: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &low_value_))); + set_has_low_value(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(45)) goto parse_high_value; + break; + } + + // optional float high_value = 5; + case 5: { + if (tag == 45) { + parse_high_value: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( + input, &high_value_))); + set_has_high_value(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(48)) goto parse_encode_flags; + break; + } + + // optional int32 encode_flags = 6; + case 6: { + if (tag == 48) { + parse_encode_flags: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &encode_flags_))); + set_has_encode_flags(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(56)) goto parse_field_serializer_name_sym; + break; + } + + // optional int32 field_serializer_name_sym = 7; + case 7: { + if (tag == 56) { + parse_field_serializer_name_sym: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &field_serializer_name_sym_))); + set_has_field_serializer_name_sym(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(64)) goto parse_field_serializer_version; + break; + } + + // optional int32 field_serializer_version = 8; + case 8: { + if (tag == 64) { + parse_field_serializer_version: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &field_serializer_version_))); + set_has_field_serializer_version(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(72)) goto parse_send_node_sym; + break; + } + + // optional int32 send_node_sym = 9; + case 9: { + if (tag == 72) { + parse_send_node_sym: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &send_node_sym_))); + set_has_send_node_sym(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:ProtoFlattenedSerializerField_t) + return true; +failure: + // @@protoc_insertion_point(parse_failure:ProtoFlattenedSerializerField_t) + return false; +#undef DO_ +} + +void ProtoFlattenedSerializerField_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ProtoFlattenedSerializerField_t) + // optional int32 var_type_sym = 1; + if (has_var_type_sym()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->var_type_sym(), output); + } + + // optional int32 var_name_sym = 2; + if (has_var_name_sym()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->var_name_sym(), output); + } + + // optional int32 bit_count = 3; + if (has_bit_count()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bit_count(), output); + } + + // optional float low_value = 4; + if (has_low_value()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(4, this->low_value(), output); + } + + // optional float high_value = 5; + if (has_high_value()) { + ::google::protobuf::internal::WireFormatLite::WriteFloat(5, this->high_value(), output); + } + + // optional int32 encode_flags = 6; + if (has_encode_flags()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->encode_flags(), output); + } + + // optional int32 field_serializer_name_sym = 7; + if (has_field_serializer_name_sym()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->field_serializer_name_sym(), output); + } + + // optional int32 field_serializer_version = 8; + if (has_field_serializer_version()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->field_serializer_version(), output); + } + + // optional int32 send_node_sym = 9; + if (has_send_node_sym()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->send_node_sym(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:ProtoFlattenedSerializerField_t) +} + +::google::protobuf::uint8* ProtoFlattenedSerializerField_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:ProtoFlattenedSerializerField_t) + // optional int32 var_type_sym = 1; + if (has_var_type_sym()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->var_type_sym(), target); + } + + // optional int32 var_name_sym = 2; + if (has_var_name_sym()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->var_name_sym(), target); + } + + // optional int32 bit_count = 3; + if (has_bit_count()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bit_count(), target); + } + + // optional float low_value = 4; + if (has_low_value()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(4, this->low_value(), target); + } + + // optional float high_value = 5; + if (has_high_value()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(5, this->high_value(), target); + } + + // optional int32 encode_flags = 6; + if (has_encode_flags()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->encode_flags(), target); + } + + // optional int32 field_serializer_name_sym = 7; + if (has_field_serializer_name_sym()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->field_serializer_name_sym(), target); + } + + // optional int32 field_serializer_version = 8; + if (has_field_serializer_version()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->field_serializer_version(), target); + } + + // optional int32 send_node_sym = 9; + if (has_send_node_sym()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->send_node_sym(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:ProtoFlattenedSerializerField_t) + return target; +} + +int ProtoFlattenedSerializerField_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 var_type_sym = 1; + if (has_var_type_sym()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->var_type_sym()); + } + + // optional int32 var_name_sym = 2; + if (has_var_name_sym()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->var_name_sym()); + } + + // optional int32 bit_count = 3; + if (has_bit_count()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->bit_count()); + } + + // optional float low_value = 4; + if (has_low_value()) { + total_size += 1 + 4; + } + + // optional float high_value = 5; + if (has_high_value()) { + total_size += 1 + 4; + } + + // optional int32 encode_flags = 6; + if (has_encode_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->encode_flags()); + } + + // optional int32 field_serializer_name_sym = 7; + if (has_field_serializer_name_sym()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->field_serializer_name_sym()); + } + + // optional int32 field_serializer_version = 8; + if (has_field_serializer_version()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->field_serializer_version()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional int32 send_node_sym = 9; + if (has_send_node_sym()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->send_node_sym()); + } + + } + 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 ProtoFlattenedSerializerField_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const ProtoFlattenedSerializerField_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void ProtoFlattenedSerializerField_t::MergeFrom(const ProtoFlattenedSerializerField_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_var_type_sym()) { + set_var_type_sym(from.var_type_sym()); + } + if (from.has_var_name_sym()) { + set_var_name_sym(from.var_name_sym()); + } + if (from.has_bit_count()) { + set_bit_count(from.bit_count()); + } + if (from.has_low_value()) { + set_low_value(from.low_value()); + } + if (from.has_high_value()) { + set_high_value(from.high_value()); + } + if (from.has_encode_flags()) { + set_encode_flags(from.encode_flags()); + } + if (from.has_field_serializer_name_sym()) { + set_field_serializer_name_sym(from.field_serializer_name_sym()); + } + if (from.has_field_serializer_version()) { + set_field_serializer_version(from.field_serializer_version()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_send_node_sym()) { + set_send_node_sym(from.send_node_sym()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void ProtoFlattenedSerializerField_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProtoFlattenedSerializerField_t::CopyFrom(const ProtoFlattenedSerializerField_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProtoFlattenedSerializerField_t::IsInitialized() const { + + return true; +} + +void ProtoFlattenedSerializerField_t::Swap(ProtoFlattenedSerializerField_t* other) { + if (other != this) { + std::swap(var_type_sym_, other->var_type_sym_); + std::swap(var_name_sym_, other->var_name_sym_); + std::swap(bit_count_, other->bit_count_); + std::swap(low_value_, other->low_value_); + std::swap(high_value_, other->high_value_); + std::swap(encode_flags_, other->encode_flags_); + std::swap(field_serializer_name_sym_, other->field_serializer_name_sym_); + std::swap(field_serializer_version_, other->field_serializer_version_); + std::swap(send_node_sym_, other->send_node_sym_); + 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 ProtoFlattenedSerializerField_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ProtoFlattenedSerializerField_t_descriptor_; + metadata.reflection = ProtoFlattenedSerializerField_t_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int ProtoFlattenedSerializer_t::kSerializerNameSymFieldNumber; +const int ProtoFlattenedSerializer_t::kSerializerVersionFieldNumber; +const int ProtoFlattenedSerializer_t::kFieldsIndexFieldNumber; +#endif // !_MSC_VER + +ProtoFlattenedSerializer_t::ProtoFlattenedSerializer_t() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:ProtoFlattenedSerializer_t) +} + +void ProtoFlattenedSerializer_t::InitAsDefaultInstance() { +} + +ProtoFlattenedSerializer_t::ProtoFlattenedSerializer_t(const ProtoFlattenedSerializer_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:ProtoFlattenedSerializer_t) +} + +void ProtoFlattenedSerializer_t::SharedCtor() { + _cached_size_ = 0; + serializer_name_sym_ = 0; + serializer_version_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +ProtoFlattenedSerializer_t::~ProtoFlattenedSerializer_t() { + // @@protoc_insertion_point(destructor:ProtoFlattenedSerializer_t) + SharedDtor(); +} + +void ProtoFlattenedSerializer_t::SharedDtor() { + if (this != default_instance_) { + } +} + +void ProtoFlattenedSerializer_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* ProtoFlattenedSerializer_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return ProtoFlattenedSerializer_t_descriptor_; +} + +const ProtoFlattenedSerializer_t& ProtoFlattenedSerializer_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +ProtoFlattenedSerializer_t* ProtoFlattenedSerializer_t::default_instance_ = NULL; + +ProtoFlattenedSerializer_t* ProtoFlattenedSerializer_t::New() const { + return new ProtoFlattenedSerializer_t; +} + +void ProtoFlattenedSerializer_t::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(serializer_name_sym_, serializer_version_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + fields_index_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool ProtoFlattenedSerializer_t::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:ProtoFlattenedSerializer_t) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 serializer_name_sym = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &serializer_name_sym_))); + set_has_serializer_name_sym(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_serializer_version; + break; + } + + // optional int32 serializer_version = 2; + case 2: { + if (tag == 16) { + parse_serializer_version: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &serializer_version_))); + set_has_serializer_version(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_fields_index; + break; + } + + // repeated int32 fields_index = 3; + case 3: { + if (tag == 24) { + parse_fields_index: + DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + 1, 24, input, this->mutable_fields_index()))); + } else if (tag == 26) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, this->mutable_fields_index()))); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_fields_index; + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:ProtoFlattenedSerializer_t) + return true; +failure: + // @@protoc_insertion_point(parse_failure:ProtoFlattenedSerializer_t) + return false; +#undef DO_ +} + +void ProtoFlattenedSerializer_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:ProtoFlattenedSerializer_t) + // optional int32 serializer_name_sym = 1; + if (has_serializer_name_sym()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->serializer_name_sym(), output); + } + + // optional int32 serializer_version = 2; + if (has_serializer_version()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->serializer_version(), output); + } + + // repeated int32 fields_index = 3; + for (int i = 0; i < this->fields_index_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteInt32( + 3, this->fields_index(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:ProtoFlattenedSerializer_t) +} + +::google::protobuf::uint8* ProtoFlattenedSerializer_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:ProtoFlattenedSerializer_t) + // optional int32 serializer_name_sym = 1; + if (has_serializer_name_sym()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->serializer_name_sym(), target); + } + + // optional int32 serializer_version = 2; + if (has_serializer_version()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->serializer_version(), target); + } + + // repeated int32 fields_index = 3; + for (int i = 0; i < this->fields_index_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteInt32ToArray(3, this->fields_index(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:ProtoFlattenedSerializer_t) + return target; +} + +int ProtoFlattenedSerializer_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 serializer_name_sym = 1; + if (has_serializer_name_sym()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->serializer_name_sym()); + } + + // optional int32 serializer_version = 2; + if (has_serializer_version()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->serializer_version()); + } + + } + // repeated int32 fields_index = 3; + { + int data_size = 0; + for (int i = 0; i < this->fields_index_size(); i++) { + data_size += ::google::protobuf::internal::WireFormatLite:: + Int32Size(this->fields_index(i)); + } + total_size += 1 * this->fields_index_size() + data_size; + } + + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void ProtoFlattenedSerializer_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const ProtoFlattenedSerializer_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void ProtoFlattenedSerializer_t::MergeFrom(const ProtoFlattenedSerializer_t& from) { + GOOGLE_CHECK_NE(&from, this); + fields_index_.MergeFrom(from.fields_index_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_serializer_name_sym()) { + set_serializer_name_sym(from.serializer_name_sym()); + } + if (from.has_serializer_version()) { + set_serializer_version(from.serializer_version()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void ProtoFlattenedSerializer_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProtoFlattenedSerializer_t::CopyFrom(const ProtoFlattenedSerializer_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProtoFlattenedSerializer_t::IsInitialized() const { + + return true; +} + +void ProtoFlattenedSerializer_t::Swap(ProtoFlattenedSerializer_t* other) { + if (other != this) { + std::swap(serializer_name_sym_, other->serializer_name_sym_); + std::swap(serializer_version_, other->serializer_version_); + fields_index_.Swap(&other->fields_index_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata ProtoFlattenedSerializer_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = ProtoFlattenedSerializer_t_descriptor_; + metadata.reflection = ProtoFlattenedSerializer_t_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_FlattenedSerializer::kSerializersFieldNumber; +const int CSVCMsg_FlattenedSerializer::kSymbolsFieldNumber; +const int CSVCMsg_FlattenedSerializer::kFieldsFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_FlattenedSerializer::CSVCMsg_FlattenedSerializer() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CSVCMsg_FlattenedSerializer) +} + +void CSVCMsg_FlattenedSerializer::InitAsDefaultInstance() { +} + +CSVCMsg_FlattenedSerializer::CSVCMsg_FlattenedSerializer(const CSVCMsg_FlattenedSerializer& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_FlattenedSerializer) +} + +void CSVCMsg_FlattenedSerializer::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_FlattenedSerializer::~CSVCMsg_FlattenedSerializer() { + // @@protoc_insertion_point(destructor:CSVCMsg_FlattenedSerializer) + SharedDtor(); +} + +void CSVCMsg_FlattenedSerializer::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_FlattenedSerializer::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_FlattenedSerializer::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_FlattenedSerializer_descriptor_; +} + +const CSVCMsg_FlattenedSerializer& CSVCMsg_FlattenedSerializer::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CSVCMsg_FlattenedSerializer* CSVCMsg_FlattenedSerializer::default_instance_ = NULL; + +CSVCMsg_FlattenedSerializer* CSVCMsg_FlattenedSerializer::New() const { + return new CSVCMsg_FlattenedSerializer; +} + +void CSVCMsg_FlattenedSerializer::Clear() { + serializers_.Clear(); + symbols_.Clear(); + fields_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_FlattenedSerializer::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CSVCMsg_FlattenedSerializer) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated .ProtoFlattenedSerializer_t serializers = 1; + case 1: { + if (tag == 10) { + parse_serializers: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_serializers())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(10)) goto parse_serializers; + if (input->ExpectTag(18)) goto parse_symbols; + break; + } + + // repeated string symbols = 2; + case 2: { + if (tag == 18) { + parse_symbols: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_symbols())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->symbols(this->symbols_size() - 1).data(), + this->symbols(this->symbols_size() - 1).length(), + ::google::protobuf::internal::WireFormat::PARSE, + "symbols"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(18)) goto parse_symbols; + if (input->ExpectTag(26)) goto parse_fields; + break; + } + + // repeated .ProtoFlattenedSerializerField_t fields = 3; + case 3: { + if (tag == 26) { + parse_fields: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_fields())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(26)) goto parse_fields; + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CSVCMsg_FlattenedSerializer) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CSVCMsg_FlattenedSerializer) + return false; +#undef DO_ +} + +void CSVCMsg_FlattenedSerializer::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CSVCMsg_FlattenedSerializer) + // repeated .ProtoFlattenedSerializer_t serializers = 1; + for (int i = 0; i < this->serializers_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->serializers(i), output); + } + + // repeated string symbols = 2; + for (int i = 0; i < this->symbols_size(); i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->symbols(i).data(), this->symbols(i).length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "symbols"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 2, this->symbols(i), output); + } + + // repeated .ProtoFlattenedSerializerField_t fields = 3; + for (int i = 0; i < this->fields_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->fields(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CSVCMsg_FlattenedSerializer) +} + +::google::protobuf::uint8* CSVCMsg_FlattenedSerializer::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_FlattenedSerializer) + // repeated .ProtoFlattenedSerializer_t serializers = 1; + for (int i = 0; i < this->serializers_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->serializers(i), target); + } + + // repeated string symbols = 2; + for (int i = 0; i < this->symbols_size(); i++) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->symbols(i).data(), this->symbols(i).length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "symbols"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(2, this->symbols(i), target); + } + + // repeated .ProtoFlattenedSerializerField_t fields = 3; + for (int i = 0; i < this->fields_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->fields(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_FlattenedSerializer) + return target; +} + +int CSVCMsg_FlattenedSerializer::ByteSize() const { + int total_size = 0; + + // repeated .ProtoFlattenedSerializer_t serializers = 1; + total_size += 1 * this->serializers_size(); + for (int i = 0; i < this->serializers_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->serializers(i)); + } + + // repeated string symbols = 2; + total_size += 1 * this->symbols_size(); + for (int i = 0; i < this->symbols_size(); i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->symbols(i)); + } + + // repeated .ProtoFlattenedSerializerField_t fields = 3; + total_size += 1 * this->fields_size(); + for (int i = 0; i < this->fields_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->fields(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_FlattenedSerializer::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_FlattenedSerializer* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_FlattenedSerializer::MergeFrom(const CSVCMsg_FlattenedSerializer& from) { + GOOGLE_CHECK_NE(&from, this); + serializers_.MergeFrom(from.serializers_); + symbols_.MergeFrom(from.symbols_); + fields_.MergeFrom(from.fields_); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_FlattenedSerializer::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_FlattenedSerializer::CopyFrom(const CSVCMsg_FlattenedSerializer& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_FlattenedSerializer::IsInitialized() const { + + return true; +} + +void CSVCMsg_FlattenedSerializer::Swap(CSVCMsg_FlattenedSerializer* other) { + if (other != this) { + serializers_.Swap(&other->serializers_); + symbols_.Swap(&other->symbols_); + fields_.Swap(&other->fields_); + 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_FlattenedSerializer::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_FlattenedSerializer_descriptor_; + metadata.reflection = CSVCMsg_FlattenedSerializer_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_StopSound::kGuidFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_StopSound::CSVCMsg_StopSound() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CSVCMsg_StopSound) +} + +void CSVCMsg_StopSound::InitAsDefaultInstance() { +} + +CSVCMsg_StopSound::CSVCMsg_StopSound(const CSVCMsg_StopSound& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_StopSound) +} + +void CSVCMsg_StopSound::SharedCtor() { + _cached_size_ = 0; + guid_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_StopSound::~CSVCMsg_StopSound() { + // @@protoc_insertion_point(destructor:CSVCMsg_StopSound) + SharedDtor(); +} + +void CSVCMsg_StopSound::SharedDtor() { + if (this != default_instance_) { + } +} + +void CSVCMsg_StopSound::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_StopSound::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_StopSound_descriptor_; +} + +const CSVCMsg_StopSound& CSVCMsg_StopSound::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CSVCMsg_StopSound* CSVCMsg_StopSound::default_instance_ = NULL; + +CSVCMsg_StopSound* CSVCMsg_StopSound::New() const { + return new CSVCMsg_StopSound; +} + +void CSVCMsg_StopSound::Clear() { + guid_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_StopSound::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CSVCMsg_StopSound) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional fixed32 guid = 1; + case 1: { + if (tag == 13) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &guid_))); + set_has_guid(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CSVCMsg_StopSound) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CSVCMsg_StopSound) + return false; +#undef DO_ +} + +void CSVCMsg_StopSound::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CSVCMsg_StopSound) + // optional fixed32 guid = 1; + if (has_guid()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(1, this->guid(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CSVCMsg_StopSound) +} + +::google::protobuf::uint8* CSVCMsg_StopSound::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_StopSound) + // optional fixed32 guid = 1; + if (has_guid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(1, this->guid(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_StopSound) + return target; +} + +int CSVCMsg_StopSound::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional fixed32 guid = 1; + if (has_guid()) { + 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 CSVCMsg_StopSound::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_StopSound* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_StopSound::MergeFrom(const CSVCMsg_StopSound& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_guid()) { + set_guid(from.guid()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_StopSound::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_StopSound::CopyFrom(const CSVCMsg_StopSound& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_StopSound::IsInitialized() const { + + return true; +} + +void CSVCMsg_StopSound::Swap(CSVCMsg_StopSound* other) { + if (other != this) { + std::swap(guid_, other->guid_); + 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_StopSound::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_StopSound_descriptor_; + metadata.reflection = CSVCMsg_StopSound_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CBidirMsg_RebroadcastGameEvent::kPosttoserverFieldNumber; +const int CBidirMsg_RebroadcastGameEvent::kBuftypeFieldNumber; +const int CBidirMsg_RebroadcastGameEvent::kClientbitcountFieldNumber; +const int CBidirMsg_RebroadcastGameEvent::kReceivingclientsFieldNumber; +#endif // !_MSC_VER + +CBidirMsg_RebroadcastGameEvent::CBidirMsg_RebroadcastGameEvent() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CBidirMsg_RebroadcastGameEvent) +} + +void CBidirMsg_RebroadcastGameEvent::InitAsDefaultInstance() { +} + +CBidirMsg_RebroadcastGameEvent::CBidirMsg_RebroadcastGameEvent(const CBidirMsg_RebroadcastGameEvent& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CBidirMsg_RebroadcastGameEvent) +} + +void CBidirMsg_RebroadcastGameEvent::SharedCtor() { + _cached_size_ = 0; + posttoserver_ = false; + buftype_ = 0; + clientbitcount_ = 0u; + receivingclients_ = GOOGLE_ULONGLONG(0); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CBidirMsg_RebroadcastGameEvent::~CBidirMsg_RebroadcastGameEvent() { + // @@protoc_insertion_point(destructor:CBidirMsg_RebroadcastGameEvent) + SharedDtor(); +} + +void CBidirMsg_RebroadcastGameEvent::SharedDtor() { + if (this != default_instance_) { + } +} + +void CBidirMsg_RebroadcastGameEvent::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CBidirMsg_RebroadcastGameEvent::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CBidirMsg_RebroadcastGameEvent_descriptor_; +} + +const CBidirMsg_RebroadcastGameEvent& CBidirMsg_RebroadcastGameEvent::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CBidirMsg_RebroadcastGameEvent* CBidirMsg_RebroadcastGameEvent::default_instance_ = NULL; + +CBidirMsg_RebroadcastGameEvent* CBidirMsg_RebroadcastGameEvent::New() const { + return new CBidirMsg_RebroadcastGameEvent; +} + +void CBidirMsg_RebroadcastGameEvent::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(posttoserver_, clientbitcount_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CBidirMsg_RebroadcastGameEvent::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CBidirMsg_RebroadcastGameEvent) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional bool posttoserver = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &posttoserver_))); + set_has_posttoserver(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_buftype; + break; + } + + // optional int32 buftype = 2; + case 2: { + if (tag == 16) { + parse_buftype: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &buftype_))); + set_has_buftype(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_clientbitcount; + break; + } + + // optional uint32 clientbitcount = 3; + case 3: { + if (tag == 24) { + parse_clientbitcount: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &clientbitcount_))); + set_has_clientbitcount(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(32)) goto parse_receivingclients; + break; + } + + // optional uint64 receivingclients = 4; + case 4: { + if (tag == 32) { + parse_receivingclients: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( + input, &receivingclients_))); + set_has_receivingclients(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CBidirMsg_RebroadcastGameEvent) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CBidirMsg_RebroadcastGameEvent) + return false; +#undef DO_ +} + +void CBidirMsg_RebroadcastGameEvent::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CBidirMsg_RebroadcastGameEvent) + // optional bool posttoserver = 1; + if (has_posttoserver()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->posttoserver(), output); + } + + // optional int32 buftype = 2; + if (has_buftype()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->buftype(), output); + } + + // optional uint32 clientbitcount = 3; + if (has_clientbitcount()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->clientbitcount(), output); + } + + // optional uint64 receivingclients = 4; + if (has_receivingclients()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->receivingclients(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CBidirMsg_RebroadcastGameEvent) +} + +::google::protobuf::uint8* CBidirMsg_RebroadcastGameEvent::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RebroadcastGameEvent) + // optional bool posttoserver = 1; + if (has_posttoserver()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->posttoserver(), target); + } + + // optional int32 buftype = 2; + if (has_buftype()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->buftype(), target); + } + + // optional uint32 clientbitcount = 3; + if (has_clientbitcount()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->clientbitcount(), target); + } + + // optional uint64 receivingclients = 4; + if (has_receivingclients()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->receivingclients(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CBidirMsg_RebroadcastGameEvent) + return target; +} + +int CBidirMsg_RebroadcastGameEvent::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool posttoserver = 1; + if (has_posttoserver()) { + total_size += 1 + 1; + } + + // optional int32 buftype = 2; + if (has_buftype()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->buftype()); + } + + // optional uint32 clientbitcount = 3; + if (has_clientbitcount()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->clientbitcount()); + } + + // optional uint64 receivingclients = 4; + if (has_receivingclients()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt64Size( + this->receivingclients()); + } + + } + 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 CBidirMsg_RebroadcastGameEvent::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CBidirMsg_RebroadcastGameEvent* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CBidirMsg_RebroadcastGameEvent::MergeFrom(const CBidirMsg_RebroadcastGameEvent& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_posttoserver()) { + set_posttoserver(from.posttoserver()); + } + if (from.has_buftype()) { + set_buftype(from.buftype()); + } + if (from.has_clientbitcount()) { + set_clientbitcount(from.clientbitcount()); + } + if (from.has_receivingclients()) { + set_receivingclients(from.receivingclients()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CBidirMsg_RebroadcastGameEvent::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CBidirMsg_RebroadcastGameEvent::CopyFrom(const CBidirMsg_RebroadcastGameEvent& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBidirMsg_RebroadcastGameEvent::IsInitialized() const { + + return true; +} + +void CBidirMsg_RebroadcastGameEvent::Swap(CBidirMsg_RebroadcastGameEvent* other) { + if (other != this) { + std::swap(posttoserver_, other->posttoserver_); + std::swap(buftype_, other->buftype_); + std::swap(clientbitcount_, other->clientbitcount_); + std::swap(receivingclients_, other->receivingclients_); + 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 CBidirMsg_RebroadcastGameEvent::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CBidirMsg_RebroadcastGameEvent_descriptor_; + metadata.reflection = CBidirMsg_RebroadcastGameEvent_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CBidirMsg_RebroadcastSource::kEventsourceFieldNumber; +#endif // !_MSC_VER + +CBidirMsg_RebroadcastSource::CBidirMsg_RebroadcastSource() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CBidirMsg_RebroadcastSource) +} + +void CBidirMsg_RebroadcastSource::InitAsDefaultInstance() { +} + +CBidirMsg_RebroadcastSource::CBidirMsg_RebroadcastSource(const CBidirMsg_RebroadcastSource& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CBidirMsg_RebroadcastSource) +} + +void CBidirMsg_RebroadcastSource::SharedCtor() { + _cached_size_ = 0; + eventsource_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CBidirMsg_RebroadcastSource::~CBidirMsg_RebroadcastSource() { + // @@protoc_insertion_point(destructor:CBidirMsg_RebroadcastSource) + SharedDtor(); +} + +void CBidirMsg_RebroadcastSource::SharedDtor() { + if (this != default_instance_) { + } +} + +void CBidirMsg_RebroadcastSource::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CBidirMsg_RebroadcastSource::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CBidirMsg_RebroadcastSource_descriptor_; +} + +const CBidirMsg_RebroadcastSource& CBidirMsg_RebroadcastSource::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CBidirMsg_RebroadcastSource* CBidirMsg_RebroadcastSource::default_instance_ = NULL; + +CBidirMsg_RebroadcastSource* CBidirMsg_RebroadcastSource::New() const { + return new CBidirMsg_RebroadcastSource; +} + +void CBidirMsg_RebroadcastSource::Clear() { + eventsource_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CBidirMsg_RebroadcastSource::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CBidirMsg_RebroadcastSource) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional int32 eventsource = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &eventsource_))); + set_has_eventsource(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CBidirMsg_RebroadcastSource) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CBidirMsg_RebroadcastSource) + return false; +#undef DO_ +} + +void CBidirMsg_RebroadcastSource::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CBidirMsg_RebroadcastSource) + // optional int32 eventsource = 1; + if (has_eventsource()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->eventsource(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CBidirMsg_RebroadcastSource) +} + +::google::protobuf::uint8* CBidirMsg_RebroadcastSource::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RebroadcastSource) + // optional int32 eventsource = 1; + if (has_eventsource()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->eventsource(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CBidirMsg_RebroadcastSource) + return target; +} + +int CBidirMsg_RebroadcastSource::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional int32 eventsource = 1; + if (has_eventsource()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->eventsource()); + } + + } + 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 CBidirMsg_RebroadcastSource::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CBidirMsg_RebroadcastSource* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CBidirMsg_RebroadcastSource::MergeFrom(const CBidirMsg_RebroadcastSource& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_eventsource()) { + set_eventsource(from.eventsource()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CBidirMsg_RebroadcastSource::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CBidirMsg_RebroadcastSource::CopyFrom(const CBidirMsg_RebroadcastSource& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBidirMsg_RebroadcastSource::IsInitialized() const { + + return true; +} + +void CBidirMsg_RebroadcastSource::Swap(CBidirMsg_RebroadcastSource* other) { + if (other != this) { + std::swap(eventsource_, other->eventsource_); + 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 CBidirMsg_RebroadcastSource::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CBidirMsg_RebroadcastSource_descriptor_; + metadata.reflection = CBidirMsg_RebroadcastSource_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int SerializedNetAddress_t::kSerializedAddressFieldNumber; +#endif // !_MSC_VER + +SerializedNetAddress_t::SerializedNetAddress_t() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:SerializedNetAddress_t) +} + +void SerializedNetAddress_t::InitAsDefaultInstance() { +} + +SerializedNetAddress_t::SerializedNetAddress_t(const SerializedNetAddress_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:SerializedNetAddress_t) +} + +void SerializedNetAddress_t::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + serializedaddress_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SerializedNetAddress_t::~SerializedNetAddress_t() { + // @@protoc_insertion_point(destructor:SerializedNetAddress_t) + SharedDtor(); +} + +void SerializedNetAddress_t::SharedDtor() { + if (serializedaddress_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete serializedaddress_; + } + if (this != default_instance_) { + } +} + +void SerializedNetAddress_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SerializedNetAddress_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SerializedNetAddress_t_descriptor_; +} + +const SerializedNetAddress_t& SerializedNetAddress_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +SerializedNetAddress_t* SerializedNetAddress_t::default_instance_ = NULL; + +SerializedNetAddress_t* SerializedNetAddress_t::New() const { + return new SerializedNetAddress_t; +} + +void SerializedNetAddress_t::Clear() { + if (has_serializedaddress()) { + if (serializedaddress_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + serializedaddress_->clear(); + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool SerializedNetAddress_t::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:SerializedNetAddress_t) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required bytes serializedAddress = 1; + case 1: { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_serializedaddress())); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:SerializedNetAddress_t) + return true; +failure: + // @@protoc_insertion_point(parse_failure:SerializedNetAddress_t) + return false; +#undef DO_ +} + +void SerializedNetAddress_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:SerializedNetAddress_t) + // required bytes serializedAddress = 1; + if (has_serializedaddress()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 1, this->serializedaddress(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:SerializedNetAddress_t) +} + +::google::protobuf::uint8* SerializedNetAddress_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:SerializedNetAddress_t) + // required bytes serializedAddress = 1; + if (has_serializedaddress()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 1, this->serializedaddress(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:SerializedNetAddress_t) + return target; +} + +int SerializedNetAddress_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required bytes serializedAddress = 1; + if (has_serializedaddress()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->serializedaddress()); + } + + } + 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 SerializedNetAddress_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const SerializedNetAddress_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void SerializedNetAddress_t::MergeFrom(const SerializedNetAddress_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_serializedaddress()) { + set_serializedaddress(from.serializedaddress()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void SerializedNetAddress_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SerializedNetAddress_t::CopyFrom(const SerializedNetAddress_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SerializedNetAddress_t::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + return true; +} + +void SerializedNetAddress_t::Swap(SerializedNetAddress_t* other) { + if (other != this) { + std::swap(serializedaddress_, other->serializedaddress_); + 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 SerializedNetAddress_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SerializedNetAddress_t_descriptor_; + metadata.reflection = SerializedNetAddress_t_reflection_; + return metadata; +} + + +// =================================================================== + +const ::google::protobuf::EnumDescriptor* CBidirMsg_RelayInfo_Operation_t_descriptor() { + protobuf_AssignDescriptorsOnce(); + return CBidirMsg_RelayInfo_Operation_t_descriptor_; +} +bool CBidirMsg_RelayInfo_Operation_t_IsValid(int value) { + switch(value) { + case 0: + case 1: + case 2: + case 3: + case 4: + return true; + default: + return false; + } +} + +#ifndef _MSC_VER +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo::RIO_REQUEST_RELAY; +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo::RIO_WILL_RELAY; +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo::RIO_NO_ROUTE; +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo::RIO_REJECT_RELAY; +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo::RIO_ESTABLISH_CONNECTION; +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo::Operation_t_MIN; +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo::Operation_t_MAX; +const int CBidirMsg_RelayInfo::Operation_t_ARRAYSIZE; +#endif // _MSC_VER +#ifndef _MSC_VER +const int CBidirMsg_RelayInfo::kOperationFieldNumber; +const int CBidirMsg_RelayInfo::kSerializedTargetAddressFieldNumber; +const int CBidirMsg_RelayInfo::kAdditionalHopsFieldNumber; +#endif // !_MSC_VER + +CBidirMsg_RelayInfo::CBidirMsg_RelayInfo() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CBidirMsg_RelayInfo) +} + +void CBidirMsg_RelayInfo::InitAsDefaultInstance() { + serializedtargetaddress_ = const_cast< ::SerializedNetAddress_t*>(&::SerializedNetAddress_t::default_instance()); +} + +CBidirMsg_RelayInfo::CBidirMsg_RelayInfo(const CBidirMsg_RelayInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CBidirMsg_RelayInfo) +} + +void CBidirMsg_RelayInfo::SharedCtor() { + _cached_size_ = 0; + operation_ = 0; + serializedtargetaddress_ = NULL; + additionalhops_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CBidirMsg_RelayInfo::~CBidirMsg_RelayInfo() { + // @@protoc_insertion_point(destructor:CBidirMsg_RelayInfo) + SharedDtor(); +} + +void CBidirMsg_RelayInfo::SharedDtor() { + if (this != default_instance_) { + delete serializedtargetaddress_; + } +} + +void CBidirMsg_RelayInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CBidirMsg_RelayInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CBidirMsg_RelayInfo_descriptor_; +} + +const CBidirMsg_RelayInfo& CBidirMsg_RelayInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CBidirMsg_RelayInfo* CBidirMsg_RelayInfo::default_instance_ = NULL; + +CBidirMsg_RelayInfo* CBidirMsg_RelayInfo::New() const { + return new CBidirMsg_RelayInfo; +} + +void CBidirMsg_RelayInfo::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 7) { + ZR_(operation_, additionalhops_); + if (has_serializedtargetaddress()) { + if (serializedtargetaddress_ != NULL) serializedtargetaddress_->::SerializedNetAddress_t::Clear(); + } + } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CBidirMsg_RelayInfo::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CBidirMsg_RelayInfo) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required .CBidirMsg_RelayInfo.Operation_t operation = 1 [default = RIO_REQUEST_RELAY]; + case 1: { + if (tag == 8) { + int value; + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + if (::CBidirMsg_RelayInfo_Operation_t_IsValid(value)) { + set_operation(static_cast< ::CBidirMsg_RelayInfo_Operation_t >(value)); + } else { + mutable_unknown_fields()->AddVarint(1, value); + } + } else { + goto handle_unusual; + } + if (input->ExpectTag(18)) goto parse_serializedTargetAddress; + break; + } + + // optional .SerializedNetAddress_t serializedTargetAddress = 2; + case 2: { + if (tag == 18) { + parse_serializedTargetAddress: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_serializedtargetaddress())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_additionalHops; + break; + } + + // optional uint32 additionalHops = 3; + case 3: { + if (tag == 24) { + parse_additionalHops: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &additionalhops_))); + set_has_additionalhops(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CBidirMsg_RelayInfo) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CBidirMsg_RelayInfo) + return false; +#undef DO_ +} + +void CBidirMsg_RelayInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CBidirMsg_RelayInfo) + // required .CBidirMsg_RelayInfo.Operation_t operation = 1 [default = RIO_REQUEST_RELAY]; + if (has_operation()) { + ::google::protobuf::internal::WireFormatLite::WriteEnum( + 1, this->operation(), output); + } + + // optional .SerializedNetAddress_t serializedTargetAddress = 2; + if (has_serializedtargetaddress()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->serializedtargetaddress(), output); + } + + // optional uint32 additionalHops = 3; + if (has_additionalhops()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->additionalhops(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CBidirMsg_RelayInfo) +} + +::google::protobuf::uint8* CBidirMsg_RelayInfo::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RelayInfo) + // required .CBidirMsg_RelayInfo.Operation_t operation = 1 [default = RIO_REQUEST_RELAY]; + if (has_operation()) { + target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( + 1, this->operation(), target); + } + + // optional .SerializedNetAddress_t serializedTargetAddress = 2; + if (has_serializedtargetaddress()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->serializedtargetaddress(), target); + } + + // optional uint32 additionalHops = 3; + if (has_additionalhops()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->additionalhops(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CBidirMsg_RelayInfo) + return target; +} + +int CBidirMsg_RelayInfo::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .CBidirMsg_RelayInfo.Operation_t operation = 1 [default = RIO_REQUEST_RELAY]; + if (has_operation()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::EnumSize(this->operation()); + } + + // optional .SerializedNetAddress_t serializedTargetAddress = 2; + if (has_serializedtargetaddress()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->serializedtargetaddress()); + } + + // optional uint32 additionalHops = 3; + if (has_additionalhops()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->additionalhops()); + } + + } + 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 CBidirMsg_RelayInfo::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CBidirMsg_RelayInfo* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CBidirMsg_RelayInfo::MergeFrom(const CBidirMsg_RelayInfo& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_operation()) { + set_operation(from.operation()); + } + if (from.has_serializedtargetaddress()) { + mutable_serializedtargetaddress()->::SerializedNetAddress_t::MergeFrom(from.serializedtargetaddress()); + } + if (from.has_additionalhops()) { + set_additionalhops(from.additionalhops()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CBidirMsg_RelayInfo::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CBidirMsg_RelayInfo::CopyFrom(const CBidirMsg_RelayInfo& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBidirMsg_RelayInfo::IsInitialized() const { + if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; + + if (has_serializedtargetaddress()) { + if (!this->serializedtargetaddress().IsInitialized()) return false; + } + return true; +} + +void CBidirMsg_RelayInfo::Swap(CBidirMsg_RelayInfo* other) { + if (other != this) { + std::swap(operation_, other->operation_); + std::swap(serializedtargetaddress_, other->serializedtargetaddress_); + std::swap(additionalhops_, other->additionalhops_); + 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 CBidirMsg_RelayInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CBidirMsg_RelayInfo_descriptor_; + metadata.reflection = CBidirMsg_RelayInfo_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int SignedPayload_t::kPayloadDataFieldNumber; +const int SignedPayload_t::kSignatureFieldNumber; +const int SignedPayload_t::kBPayloadEncryptedFieldNumber; +#endif // !_MSC_VER + +SignedPayload_t::SignedPayload_t() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:SignedPayload_t) +} + +void SignedPayload_t::InitAsDefaultInstance() { +} + +SignedPayload_t::SignedPayload_t(const SignedPayload_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:SignedPayload_t) +} + +void SignedPayload_t::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + payloaddata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + signature_ = 0u; + bpayloadencrypted_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +SignedPayload_t::~SignedPayload_t() { + // @@protoc_insertion_point(destructor:SignedPayload_t) + SharedDtor(); +} + +void SignedPayload_t::SharedDtor() { + if (payloaddata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete payloaddata_; + } + if (this != default_instance_) { + } +} + +void SignedPayload_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* SignedPayload_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return SignedPayload_t_descriptor_; +} + +const SignedPayload_t& SignedPayload_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +SignedPayload_t* SignedPayload_t::default_instance_ = NULL; + +SignedPayload_t* SignedPayload_t::New() const { + return new SignedPayload_t; +} + +void SignedPayload_t::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 7) { + ZR_(signature_, bpayloadencrypted_); + if (has_payloaddata()) { + if (payloaddata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + payloaddata_->clear(); + } + } + } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool SignedPayload_t::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:SignedPayload_t) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required bytes payloadData = 1; + case 1: { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_payloaddata())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_signature; + break; + } + + // required uint32 signature = 2; + case 2: { + if (tag == 16) { + parse_signature: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &signature_))); + set_has_signature(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_bPayloadEncrypted; + break; + } + + // required bool bPayloadEncrypted = 3; + case 3: { + if (tag == 24) { + parse_bPayloadEncrypted: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &bpayloadencrypted_))); + set_has_bpayloadencrypted(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:SignedPayload_t) + return true; +failure: + // @@protoc_insertion_point(parse_failure:SignedPayload_t) + return false; +#undef DO_ +} + +void SignedPayload_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:SignedPayload_t) + // required bytes payloadData = 1; + if (has_payloaddata()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 1, this->payloaddata(), output); + } + + // required uint32 signature = 2; + if (has_signature()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->signature(), output); + } + + // required bool bPayloadEncrypted = 3; + if (has_bpayloadencrypted()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->bpayloadencrypted(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:SignedPayload_t) +} + +::google::protobuf::uint8* SignedPayload_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:SignedPayload_t) + // required bytes payloadData = 1; + if (has_payloaddata()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 1, this->payloaddata(), target); + } + + // required uint32 signature = 2; + if (has_signature()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->signature(), target); + } + + // required bool bPayloadEncrypted = 3; + if (has_bpayloadencrypted()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->bpayloadencrypted(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:SignedPayload_t) + return target; +} + +int SignedPayload_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required bytes payloadData = 1; + if (has_payloaddata()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->payloaddata()); + } + + // required uint32 signature = 2; + if (has_signature()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->signature()); + } + + // required bool bPayloadEncrypted = 3; + if (has_bpayloadencrypted()) { + 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 SignedPayload_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const SignedPayload_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void SignedPayload_t::MergeFrom(const SignedPayload_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_payloaddata()) { + set_payloaddata(from.payloaddata()); + } + if (from.has_signature()) { + set_signature(from.signature()); + } + if (from.has_bpayloadencrypted()) { + set_bpayloadencrypted(from.bpayloadencrypted()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void SignedPayload_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SignedPayload_t::CopyFrom(const SignedPayload_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SignedPayload_t::IsInitialized() const { + if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + + return true; +} + +void SignedPayload_t::Swap(SignedPayload_t* other) { + if (other != this) { + std::swap(payloaddata_, other->payloaddata_); + std::swap(signature_, other->signature_); + std::swap(bpayloadencrypted_, other->bpayloadencrypted_); + 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 SignedPayload_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = SignedPayload_t_descriptor_; + metadata.reflection = SignedPayload_t_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CBidirMsg_RelayPacket_SignedDestinationAddress_t::kSerializedAddrFieldNumber; +const int CBidirMsg_RelayPacket_SignedDestinationAddress_t::kSignatureFieldNumber; +const int CBidirMsg_RelayPacket_SignedDestinationAddress_t::kEncryptedPayloadKeyFieldNumber; +#endif // !_MSC_VER + +CBidirMsg_RelayPacket_SignedDestinationAddress_t::CBidirMsg_RelayPacket_SignedDestinationAddress_t() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CBidirMsg_RelayPacket.SignedDestinationAddress_t) +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::InitAsDefaultInstance() { + serializedaddr_ = const_cast< ::SerializedNetAddress_t*>(&::SerializedNetAddress_t::default_instance()); +} + +CBidirMsg_RelayPacket_SignedDestinationAddress_t::CBidirMsg_RelayPacket_SignedDestinationAddress_t(const CBidirMsg_RelayPacket_SignedDestinationAddress_t& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CBidirMsg_RelayPacket.SignedDestinationAddress_t) +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + serializedaddr_ = NULL; + signature_ = 0u; + encryptedpayloadkey_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CBidirMsg_RelayPacket_SignedDestinationAddress_t::~CBidirMsg_RelayPacket_SignedDestinationAddress_t() { + // @@protoc_insertion_point(destructor:CBidirMsg_RelayPacket.SignedDestinationAddress_t) + SharedDtor(); +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::SharedDtor() { + if (encryptedpayloadkey_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete encryptedpayloadkey_; + } + if (this != default_instance_) { + delete serializedaddr_; + } +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CBidirMsg_RelayPacket_SignedDestinationAddress_t::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CBidirMsg_RelayPacket_SignedDestinationAddress_t_descriptor_; +} + +const CBidirMsg_RelayPacket_SignedDestinationAddress_t& CBidirMsg_RelayPacket_SignedDestinationAddress_t::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CBidirMsg_RelayPacket_SignedDestinationAddress_t* CBidirMsg_RelayPacket_SignedDestinationAddress_t::default_instance_ = NULL; + +CBidirMsg_RelayPacket_SignedDestinationAddress_t* CBidirMsg_RelayPacket_SignedDestinationAddress_t::New() const { + return new CBidirMsg_RelayPacket_SignedDestinationAddress_t; +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::Clear() { + if (_has_bits_[0 / 32] & 7) { + if (has_serializedaddr()) { + if (serializedaddr_ != NULL) serializedaddr_->::SerializedNetAddress_t::Clear(); + } + signature_ = 0u; + if (has_encryptedpayloadkey()) { + if (encryptedpayloadkey_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + encryptedpayloadkey_->clear(); + } + } + } + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CBidirMsg_RelayPacket_SignedDestinationAddress_t::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CBidirMsg_RelayPacket.SignedDestinationAddress_t) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required .SerializedNetAddress_t serializedAddr = 1; + case 1: { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_serializedaddr())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_signature; + break; + } + + // required uint32 signature = 2; + case 2: { + if (tag == 16) { + parse_signature: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &signature_))); + set_has_signature(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(26)) goto parse_encryptedPayloadKey; + break; + } + + // optional bytes encryptedPayloadKey = 3; + case 3: { + if (tag == 26) { + parse_encryptedPayloadKey: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_encryptedpayloadkey())); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CBidirMsg_RelayPacket.SignedDestinationAddress_t) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CBidirMsg_RelayPacket.SignedDestinationAddress_t) + return false; +#undef DO_ +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CBidirMsg_RelayPacket.SignedDestinationAddress_t) + // required .SerializedNetAddress_t serializedAddr = 1; + if (has_serializedaddr()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, this->serializedaddr(), output); + } + + // required uint32 signature = 2; + if (has_signature()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->signature(), output); + } + + // optional bytes encryptedPayloadKey = 3; + if (has_encryptedpayloadkey()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 3, this->encryptedpayloadkey(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CBidirMsg_RelayPacket.SignedDestinationAddress_t) +} + +::google::protobuf::uint8* CBidirMsg_RelayPacket_SignedDestinationAddress_t::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RelayPacket.SignedDestinationAddress_t) + // required .SerializedNetAddress_t serializedAddr = 1; + if (has_serializedaddr()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 1, this->serializedaddr(), target); + } + + // required uint32 signature = 2; + if (has_signature()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->signature(), target); + } + + // optional bytes encryptedPayloadKey = 3; + if (has_encryptedpayloadkey()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 3, this->encryptedpayloadkey(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CBidirMsg_RelayPacket.SignedDestinationAddress_t) + return target; +} + +int CBidirMsg_RelayPacket_SignedDestinationAddress_t::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required .SerializedNetAddress_t serializedAddr = 1; + if (has_serializedaddr()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->serializedaddr()); + } + + // required uint32 signature = 2; + if (has_signature()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->signature()); + } + + // optional bytes encryptedPayloadKey = 3; + if (has_encryptedpayloadkey()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->encryptedpayloadkey()); + } + + } + 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 CBidirMsg_RelayPacket_SignedDestinationAddress_t::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CBidirMsg_RelayPacket_SignedDestinationAddress_t* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::MergeFrom(const CBidirMsg_RelayPacket_SignedDestinationAddress_t& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_serializedaddr()) { + mutable_serializedaddr()->::SerializedNetAddress_t::MergeFrom(from.serializedaddr()); + } + if (from.has_signature()) { + set_signature(from.signature()); + } + if (from.has_encryptedpayloadkey()) { + set_encryptedpayloadkey(from.encryptedpayloadkey()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::CopyFrom(const CBidirMsg_RelayPacket_SignedDestinationAddress_t& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBidirMsg_RelayPacket_SignedDestinationAddress_t::IsInitialized() const { + if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; + + if (has_serializedaddr()) { + if (!this->serializedaddr().IsInitialized()) return false; + } + return true; +} + +void CBidirMsg_RelayPacket_SignedDestinationAddress_t::Swap(CBidirMsg_RelayPacket_SignedDestinationAddress_t* other) { + if (other != this) { + std::swap(serializedaddr_, other->serializedaddr_); + std::swap(signature_, other->signature_); + std::swap(encryptedpayloadkey_, other->encryptedpayloadkey_); + 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 CBidirMsg_RelayPacket_SignedDestinationAddress_t::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CBidirMsg_RelayPacket_SignedDestinationAddress_t_descriptor_; + metadata.reflection = CBidirMsg_RelayPacket_SignedDestinationAddress_t_reflection_; + return metadata; +} + + +// ------------------------------------------------------------------- + +#ifndef _MSC_VER +const int CBidirMsg_RelayPacket::kPrevhopcountFieldNumber; +const int CBidirMsg_RelayPacket::kOriginalSenderFieldNumber; +const int CBidirMsg_RelayPacket::kSignedPayloadFieldNumber; +const int CBidirMsg_RelayPacket::kRecipientListFieldNumber; +#endif // !_MSC_VER + +CBidirMsg_RelayPacket::CBidirMsg_RelayPacket() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CBidirMsg_RelayPacket) +} + +void CBidirMsg_RelayPacket::InitAsDefaultInstance() { + originalsender_ = const_cast< ::SerializedNetAddress_t*>(&::SerializedNetAddress_t::default_instance()); + signedpayload_ = const_cast< ::SignedPayload_t*>(&::SignedPayload_t::default_instance()); +} + +CBidirMsg_RelayPacket::CBidirMsg_RelayPacket(const CBidirMsg_RelayPacket& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CBidirMsg_RelayPacket) +} + +void CBidirMsg_RelayPacket::SharedCtor() { + _cached_size_ = 0; + prevhopcount_ = 0u; + originalsender_ = NULL; + signedpayload_ = NULL; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CBidirMsg_RelayPacket::~CBidirMsg_RelayPacket() { + // @@protoc_insertion_point(destructor:CBidirMsg_RelayPacket) + SharedDtor(); +} + +void CBidirMsg_RelayPacket::SharedDtor() { + if (this != default_instance_) { + delete originalsender_; + delete signedpayload_; + } +} + +void CBidirMsg_RelayPacket::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CBidirMsg_RelayPacket::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CBidirMsg_RelayPacket_descriptor_; +} + +const CBidirMsg_RelayPacket& CBidirMsg_RelayPacket::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_netmessages_2eproto(); + return *default_instance_; +} + +CBidirMsg_RelayPacket* CBidirMsg_RelayPacket::default_instance_ = NULL; + +CBidirMsg_RelayPacket* CBidirMsg_RelayPacket::New() const { + return new CBidirMsg_RelayPacket; +} + +void CBidirMsg_RelayPacket::Clear() { + if (_has_bits_[0 / 32] & 7) { + prevhopcount_ = 0u; + if (has_originalsender()) { + if (originalsender_ != NULL) originalsender_->::SerializedNetAddress_t::Clear(); + } + if (has_signedpayload()) { + if (signedpayload_ != NULL) signedpayload_->::SignedPayload_t::Clear(); + } + } + recipientlist_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CBidirMsg_RelayPacket::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CBidirMsg_RelayPacket) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // required uint32 prevhopcount = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &prevhopcount_))); + set_has_prevhopcount(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(18)) goto parse_originalSender; + break; + } + + // required .SerializedNetAddress_t originalSender = 2; + case 2: { + if (tag == 18) { + parse_originalSender: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_originalsender())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(26)) goto parse_signedPayload; + break; + } + + // required .SignedPayload_t signedPayload = 3; + case 3: { + if (tag == 26) { + parse_signedPayload: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_signedpayload())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(34)) goto parse_recipientList; + break; + } + + // repeated .CBidirMsg_RelayPacket.SignedDestinationAddress_t recipientList = 4; + case 4: { + if (tag == 34) { + parse_recipientList: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, add_recipientlist())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(34)) goto parse_recipientList; + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CBidirMsg_RelayPacket) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CBidirMsg_RelayPacket) + return false; +#undef DO_ +} + +void CBidirMsg_RelayPacket::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CBidirMsg_RelayPacket) + // required uint32 prevhopcount = 1; + if (has_prevhopcount()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->prevhopcount(), output); + } + + // required .SerializedNetAddress_t originalSender = 2; + if (has_originalsender()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, this->originalsender(), output); + } + + // required .SignedPayload_t signedPayload = 3; + if (has_signedpayload()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, this->signedpayload(), output); + } + + // repeated .CBidirMsg_RelayPacket.SignedDestinationAddress_t recipientList = 4; + for (int i = 0; i < this->recipientlist_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, this->recipientlist(i), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CBidirMsg_RelayPacket) +} + +::google::protobuf::uint8* CBidirMsg_RelayPacket::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CBidirMsg_RelayPacket) + // required uint32 prevhopcount = 1; + if (has_prevhopcount()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->prevhopcount(), target); + } + + // required .SerializedNetAddress_t originalSender = 2; + if (has_originalsender()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 2, this->originalsender(), target); + } + + // required .SignedPayload_t signedPayload = 3; + if (has_signedpayload()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 3, this->signedpayload(), target); + } + + // repeated .CBidirMsg_RelayPacket.SignedDestinationAddress_t recipientList = 4; + for (int i = 0; i < this->recipientlist_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 4, this->recipientlist(i), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CBidirMsg_RelayPacket) + return target; +} + +int CBidirMsg_RelayPacket::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // required uint32 prevhopcount = 1; + if (has_prevhopcount()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->prevhopcount()); + } + + // required .SerializedNetAddress_t originalSender = 2; + if (has_originalsender()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->originalsender()); + } + + // required .SignedPayload_t signedPayload = 3; + if (has_signedpayload()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->signedpayload()); + } + + } + // repeated .CBidirMsg_RelayPacket.SignedDestinationAddress_t recipientList = 4; + total_size += 1 * this->recipientlist_size(); + for (int i = 0; i < this->recipientlist_size(); i++) { + total_size += + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->recipientlist(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 CBidirMsg_RelayPacket::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CBidirMsg_RelayPacket* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CBidirMsg_RelayPacket::MergeFrom(const CBidirMsg_RelayPacket& from) { + GOOGLE_CHECK_NE(&from, this); + recipientlist_.MergeFrom(from.recipientlist_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_prevhopcount()) { + set_prevhopcount(from.prevhopcount()); + } + if (from.has_originalsender()) { + mutable_originalsender()->::SerializedNetAddress_t::MergeFrom(from.originalsender()); + } + if (from.has_signedpayload()) { + mutable_signedpayload()->::SignedPayload_t::MergeFrom(from.signedpayload()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CBidirMsg_RelayPacket::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CBidirMsg_RelayPacket::CopyFrom(const CBidirMsg_RelayPacket& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CBidirMsg_RelayPacket::IsInitialized() const { + if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; + + if (has_originalsender()) { + if (!this->originalsender().IsInitialized()) return false; + } + if (has_signedpayload()) { + if (!this->signedpayload().IsInitialized()) return false; + } + if (!::google::protobuf::internal::AllAreInitialized(this->recipientlist())) return false; + return true; +} + +void CBidirMsg_RelayPacket::Swap(CBidirMsg_RelayPacket* other) { + if (other != this) { + std::swap(prevhopcount_, other->prevhopcount_); + std::swap(originalsender_, other->originalsender_); + std::swap(signedpayload_, other->signedpayload_); + recipientlist_.Swap(&other->recipientlist_); + 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 CBidirMsg_RelayPacket::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CBidirMsg_RelayPacket_descriptor_; + metadata.reflection = CBidirMsg_RelayPacket_reflection_; + return metadata; +} + + // @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(global_scope) diff --git a/public/engine/protobuf/netmessages.pb.h b/public/engine/protobuf/netmessages.pb.h index e57eb0c1..fff64126 100644 --- a/public/engine/protobuf/netmessages.pb.h +++ b/public/engine/protobuf/netmessages.pb.h @@ -35,6 +35,7 @@ void protobuf_ShutdownFile_netmessages_2eproto(); class CCLCMsg_ClientInfo; class CCLCMsg_Move; +class CMsgVoiceAudio; class CCLCMsg_VoiceData; class CCLCMsg_BaselineAck; class CCLCMsg_ListenEvents; @@ -43,6 +44,11 @@ class CCLCMsg_FileCRCCheck; class CCLCMsg_LoadingProgress; class CCLCMsg_SplitPlayerConnect; class CCLCMsg_ClientMessage; +class CCLCMsg_SplitPlayerDisconnect; +class CCLCMsg_ServerStatus; +class CCLCMsg_ServerPing; +class CCLCMsg_RequestPause; +class CCLCMsg_CmdKeyValues; class CSVCMsg_ServerInfo; class CSVCMsg_ClassInfo; class CSVCMsg_ClassInfo_class_t; @@ -71,22 +77,65 @@ class CSVCMsg_UpdateStringTable; class CSVCMsg_VoiceData; class CSVCMsg_PacketReliable; class CSVCMsg_FullFrameSplit; +class CSVCMsg_CmdKeyValues; +class CMsgIPCAddress; +class CMsgServerPeer; +class CSVCMsg_PeerList; +class CSVCMsg_ClearAllStringTables; +class ProtoFlattenedSerializerField_t; +class ProtoFlattenedSerializer_t; +class CSVCMsg_FlattenedSerializer; +class CSVCMsg_StopSound; +class CBidirMsg_RebroadcastGameEvent; +class CBidirMsg_RebroadcastSource; +class SerializedNetAddress_t; +class CBidirMsg_RelayInfo; +class SignedPayload_t; +class CBidirMsg_RelayPacket; +class CBidirMsg_RelayPacket_SignedDestinationAddress_t; +enum CBidirMsg_RelayInfo_Operation_t { + CBidirMsg_RelayInfo_Operation_t_RIO_REQUEST_RELAY = 0, + CBidirMsg_RelayInfo_Operation_t_RIO_WILL_RELAY = 1, + CBidirMsg_RelayInfo_Operation_t_RIO_NO_ROUTE = 2, + CBidirMsg_RelayInfo_Operation_t_RIO_REJECT_RELAY = 3, + CBidirMsg_RelayInfo_Operation_t_RIO_ESTABLISH_CONNECTION = 4 +}; +bool CBidirMsg_RelayInfo_Operation_t_IsValid(int value); +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo_Operation_t_Operation_t_MIN = CBidirMsg_RelayInfo_Operation_t_RIO_REQUEST_RELAY; +const CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo_Operation_t_Operation_t_MAX = CBidirMsg_RelayInfo_Operation_t_RIO_ESTABLISH_CONNECTION; +const int CBidirMsg_RelayInfo_Operation_t_Operation_t_ARRAYSIZE = CBidirMsg_RelayInfo_Operation_t_Operation_t_MAX + 1; + +const ::google::protobuf::EnumDescriptor* CBidirMsg_RelayInfo_Operation_t_descriptor(); +inline const ::std::string& CBidirMsg_RelayInfo_Operation_t_Name(CBidirMsg_RelayInfo_Operation_t value) { + return ::google::protobuf::internal::NameOfEnum( + CBidirMsg_RelayInfo_Operation_t_descriptor(), value); +} +inline bool CBidirMsg_RelayInfo_Operation_t_Parse( + const ::std::string& name, CBidirMsg_RelayInfo_Operation_t* value) { + return ::google::protobuf::internal::ParseNamedEnum( + CBidirMsg_RelayInfo_Operation_t_descriptor(), name, value); +} enum CLC_Messages { - clc_ClientInfo = 8, - clc_Move = 9, - clc_VoiceData = 10, - clc_BaselineAck = 11, - clc_ListenEvents = 12, - clc_RespondCvarValue = 13, - clc_FileCRCCheck = 14, - clc_LoadingProgress = 15, - clc_SplitPlayerConnect = 16, - clc_ClientMessage = 17 + clc_ClientInfo = 20, + clc_Move = 21, + clc_VoiceData = 22, + clc_BaselineAck = 23, + clc_ListenEvents = 24, + clc_RespondCvarValue = 25, + clc_FileCRCCheck = 26, + clc_LoadingProgress = 27, + clc_SplitPlayerConnect = 28, + clc_ClientMessage = 29, + clc_SplitPlayerDisconnect = 30, + clc_ServerStatus = 31, + clc_ServerPing = 32, + clc_RequestPause = 33, + clc_CmdKeyValues = 34 }; bool CLC_Messages_IsValid(int value); const CLC_Messages CLC_Messages_MIN = clc_ClientInfo; -const CLC_Messages CLC_Messages_MAX = clc_ClientMessage; +const CLC_Messages CLC_Messages_MAX = clc_CmdKeyValues; const int CLC_Messages_ARRAYSIZE = CLC_Messages_MAX + 1; const ::google::protobuf::EnumDescriptor* CLC_Messages_descriptor(); @@ -99,6 +148,51 @@ inline bool CLC_Messages_Parse( return ::google::protobuf::internal::ParseNamedEnum( CLC_Messages_descriptor(), name, value); } +enum SVC_Messages { + svc_ServerInfo = 40, + svc_FlattenedSerializer = 41, + svc_ClassInfo = 42, + svc_SetPause = 43, + svc_CreateStringTable = 44, + svc_UpdateStringTable = 45, + svc_VoiceInit = 46, + svc_VoiceData = 47, + svc_Print = 48, + svc_Sounds = 49, + svc_SetView = 50, + svc_ClearAllStringTables = 51, + svc_CmdKeyValues = 52, + svc_BSPDecal = 53, + svc_SplitScreen = 54, + svc_PacketEntities = 55, + svc_Prefetch = 56, + svc_Menu = 57, + svc_GetCvarValue = 58, + svc_StopSound = 59, + svc_PeerList = 60, + svc_PacketReliable = 61, + svc_UserMessage = 62, + svc_SendTable = 63, + svc_GameEvent = 67, + svc_TempEntities = 68, + svc_GameEventList = 69, + svc_FullFrameSplit = 70 +}; +bool SVC_Messages_IsValid(int value); +const SVC_Messages SVC_Messages_MIN = svc_ServerInfo; +const SVC_Messages SVC_Messages_MAX = svc_FullFrameSplit; +const int SVC_Messages_ARRAYSIZE = SVC_Messages_MAX + 1; + +const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor(); +inline const ::std::string& SVC_Messages_Name(SVC_Messages value) { + return ::google::protobuf::internal::NameOfEnum( + SVC_Messages_descriptor(), value); +} +inline bool SVC_Messages_Parse( + const ::std::string& name, SVC_Messages* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SVC_Messages_descriptor(), name, value); +} enum VoiceDataFormat_t { VOICEDATA_FORMAT_STEAM = 0, VOICEDATA_FORMAT_ENGINE = 1 @@ -118,48 +212,43 @@ inline bool VoiceDataFormat_t_Parse( return ::google::protobuf::internal::ParseNamedEnum( VoiceDataFormat_t_descriptor(), name, value); } -enum SVC_Messages { - svc_ServerInfo = 8, - svc_SendTable = 9, - svc_ClassInfo = 10, - svc_SetPause = 11, - svc_CreateStringTable = 12, - svc_UpdateStringTable = 13, - svc_VoiceInit = 14, - svc_VoiceData = 15, - svc_Print = 16, - svc_Sounds = 17, - svc_SetView = 18, - svc_FixAngle = 19, - svc_CrosshairAngle = 20, - svc_BSPDecal = 21, - svc_SplitScreen = 22, - svc_UserMessage = 23, - svc_EntityMessage = 24, - svc_GameEvent = 25, - svc_PacketEntities = 26, - svc_TempEntities = 27, - svc_Prefetch = 28, - svc_Menu = 29, - svc_GameEventList = 30, - svc_GetCvarValue = 31, - svc_PacketReliable = 32, - svc_FullFrameSplit = 33 +enum RequestPause_t { + RP_PAUSE = 0, + RP_UNPAUSE = 1, + RP_TOGGLEPAUSE = 2 }; -bool SVC_Messages_IsValid(int value); -const SVC_Messages SVC_Messages_MIN = svc_ServerInfo; -const SVC_Messages SVC_Messages_MAX = svc_FullFrameSplit; -const int SVC_Messages_ARRAYSIZE = SVC_Messages_MAX + 1; +bool RequestPause_t_IsValid(int value); +const RequestPause_t RequestPause_t_MIN = RP_PAUSE; +const RequestPause_t RequestPause_t_MAX = RP_TOGGLEPAUSE; +const int RequestPause_t_ARRAYSIZE = RequestPause_t_MAX + 1; -const ::google::protobuf::EnumDescriptor* SVC_Messages_descriptor(); -inline const ::std::string& SVC_Messages_Name(SVC_Messages value) { +const ::google::protobuf::EnumDescriptor* RequestPause_t_descriptor(); +inline const ::std::string& RequestPause_t_Name(RequestPause_t value) { return ::google::protobuf::internal::NameOfEnum( - SVC_Messages_descriptor(), value); + RequestPause_t_descriptor(), value); } -inline bool SVC_Messages_Parse( - const ::std::string& name, SVC_Messages* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SVC_Messages_descriptor(), name, value); +inline bool RequestPause_t_Parse( + const ::std::string& name, RequestPause_t* value) { + return ::google::protobuf::internal::ParseNamedEnum( + RequestPause_t_descriptor(), name, value); +} +enum PrefetchType { + PFT_SOUND = 0 +}; +bool PrefetchType_IsValid(int value); +const PrefetchType PrefetchType_MIN = PFT_SOUND; +const PrefetchType PrefetchType_MAX = PFT_SOUND; +const int PrefetchType_ARRAYSIZE = PrefetchType_MAX + 1; + +const ::google::protobuf::EnumDescriptor* PrefetchType_descriptor(); +inline const ::std::string& PrefetchType_Name(PrefetchType value) { + return ::google::protobuf::internal::NameOfEnum( + PrefetchType_descriptor(), value); +} +inline bool PrefetchType_Parse( + const ::std::string& name, PrefetchType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + PrefetchType_descriptor(), name, value); } enum ESplitScreenMessageType { MSG_SPLITSCREEN_ADDUSER = 0, @@ -180,6 +269,106 @@ inline bool ESplitScreenMessageType_Parse( return ::google::protobuf::internal::ParseNamedEnum( ESplitScreenMessageType_descriptor(), name, value); } +enum EQueryCvarValueStatus { + eQueryCvarValueStatus_ValueIntact = 0, + eQueryCvarValueStatus_CvarNotFound = 1, + eQueryCvarValueStatus_NotACvar = 2, + eQueryCvarValueStatus_CvarProtected = 3 +}; +bool EQueryCvarValueStatus_IsValid(int value); +const EQueryCvarValueStatus EQueryCvarValueStatus_MIN = eQueryCvarValueStatus_ValueIntact; +const EQueryCvarValueStatus EQueryCvarValueStatus_MAX = eQueryCvarValueStatus_CvarProtected; +const int EQueryCvarValueStatus_ARRAYSIZE = EQueryCvarValueStatus_MAX + 1; + +const ::google::protobuf::EnumDescriptor* EQueryCvarValueStatus_descriptor(); +inline const ::std::string& EQueryCvarValueStatus_Name(EQueryCvarValueStatus value) { + return ::google::protobuf::internal::NameOfEnum( + EQueryCvarValueStatus_descriptor(), value); +} +inline bool EQueryCvarValueStatus_Parse( + const ::std::string& name, EQueryCvarValueStatus* value) { + return ::google::protobuf::internal::ParseNamedEnum( + EQueryCvarValueStatus_descriptor(), name, value); +} +enum DIALOG_TYPE { + DIALOG_MSG = 0, + DIALOG_MENU = 1, + DIALOG_TEXT = 2, + DIALOG_ENTRY = 3, + DIALOG_ASKCONNECT = 4 +}; +bool DIALOG_TYPE_IsValid(int value); +const DIALOG_TYPE DIALOG_TYPE_MIN = DIALOG_MSG; +const DIALOG_TYPE DIALOG_TYPE_MAX = DIALOG_ASKCONNECT; +const int DIALOG_TYPE_ARRAYSIZE = DIALOG_TYPE_MAX + 1; + +const ::google::protobuf::EnumDescriptor* DIALOG_TYPE_descriptor(); +inline const ::std::string& DIALOG_TYPE_Name(DIALOG_TYPE value) { + return ::google::protobuf::internal::NameOfEnum( + DIALOG_TYPE_descriptor(), value); +} +inline bool DIALOG_TYPE_Parse( + const ::std::string& name, DIALOG_TYPE* value) { + return ::google::protobuf::internal::ParseNamedEnum( + DIALOG_TYPE_descriptor(), name, value); +} +enum SVC_Messages_LowFrequency { + svc_dummy = 600 +}; +bool SVC_Messages_LowFrequency_IsValid(int value); +const SVC_Messages_LowFrequency SVC_Messages_LowFrequency_MIN = svc_dummy; +const SVC_Messages_LowFrequency SVC_Messages_LowFrequency_MAX = svc_dummy; +const int SVC_Messages_LowFrequency_ARRAYSIZE = SVC_Messages_LowFrequency_MAX + 1; + +const ::google::protobuf::EnumDescriptor* SVC_Messages_LowFrequency_descriptor(); +inline const ::std::string& SVC_Messages_LowFrequency_Name(SVC_Messages_LowFrequency value) { + return ::google::protobuf::internal::NameOfEnum( + SVC_Messages_LowFrequency_descriptor(), value); +} +inline bool SVC_Messages_LowFrequency_Parse( + const ::std::string& name, SVC_Messages_LowFrequency* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SVC_Messages_LowFrequency_descriptor(), name, value); +} +enum Bidirectional_Messages { + bi_RebroadcastGameEvent = 16, + bi_RebroadcastSource = 17, + bi_GameEvent = 18 +}; +bool Bidirectional_Messages_IsValid(int value); +const Bidirectional_Messages Bidirectional_Messages_MIN = bi_RebroadcastGameEvent; +const Bidirectional_Messages Bidirectional_Messages_MAX = bi_GameEvent; +const int Bidirectional_Messages_ARRAYSIZE = Bidirectional_Messages_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Bidirectional_Messages_descriptor(); +inline const ::std::string& Bidirectional_Messages_Name(Bidirectional_Messages value) { + return ::google::protobuf::internal::NameOfEnum( + Bidirectional_Messages_descriptor(), value); +} +inline bool Bidirectional_Messages_Parse( + const ::std::string& name, Bidirectional_Messages* value) { + return ::google::protobuf::internal::ParseNamedEnum( + Bidirectional_Messages_descriptor(), name, value); +} +enum Bidirectional_Messages_LowFrequency { + bi_RelayInfo = 700, + bi_RelayPacket = 701 +}; +bool Bidirectional_Messages_LowFrequency_IsValid(int value); +const Bidirectional_Messages_LowFrequency Bidirectional_Messages_LowFrequency_MIN = bi_RelayInfo; +const Bidirectional_Messages_LowFrequency Bidirectional_Messages_LowFrequency_MAX = bi_RelayPacket; +const int Bidirectional_Messages_LowFrequency_ARRAYSIZE = Bidirectional_Messages_LowFrequency_MAX + 1; + +const ::google::protobuf::EnumDescriptor* Bidirectional_Messages_LowFrequency_descriptor(); +inline const ::std::string& Bidirectional_Messages_LowFrequency_Name(Bidirectional_Messages_LowFrequency value) { + return ::google::protobuf::internal::NameOfEnum( + Bidirectional_Messages_LowFrequency_descriptor(), value); +} +inline bool Bidirectional_Messages_LowFrequency_Parse( + const ::std::string& name, Bidirectional_Messages_LowFrequency* value) { + return ::google::protobuf::internal::ParseNamedEnum( + Bidirectional_Messages_LowFrequency_descriptor(), name, value); +} // =================================================================== class CCLCMsg_ClientInfo : public ::google::protobuf::Message { @@ -433,6 +622,140 @@ class CCLCMsg_Move : public ::google::protobuf::Message { }; // ------------------------------------------------------------------- +class CMsgVoiceAudio : public ::google::protobuf::Message { + public: + CMsgVoiceAudio(); + virtual ~CMsgVoiceAudio(); + + CMsgVoiceAudio(const CMsgVoiceAudio& from); + + inline CMsgVoiceAudio& operator=(const CMsgVoiceAudio& 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 CMsgVoiceAudio& default_instance(); + + void Swap(CMsgVoiceAudio* other); + + // implements Message ---------------------------------------------- + + CMsgVoiceAudio* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsgVoiceAudio& from); + void MergeFrom(const CMsgVoiceAudio& 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 .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + inline bool has_format() const; + inline void clear_format(); + static const int kFormatFieldNumber = 1; + inline ::VoiceDataFormat_t format() const; + inline void set_format(::VoiceDataFormat_t value); + + // optional bytes voice_data = 2; + inline bool has_voice_data() const; + inline void clear_voice_data(); + static const int kVoiceDataFieldNumber = 2; + inline const ::std::string& voice_data() const; + inline void set_voice_data(const ::std::string& value); + inline void set_voice_data(const char* value); + inline void set_voice_data(const void* value, size_t size); + inline ::std::string* mutable_voice_data(); + inline ::std::string* release_voice_data(); + inline void set_allocated_voice_data(::std::string* voice_data); + + // optional int32 sequence_bytes = 3; + inline bool has_sequence_bytes() const; + inline void clear_sequence_bytes(); + static const int kSequenceBytesFieldNumber = 3; + inline ::google::protobuf::int32 sequence_bytes() const; + inline void set_sequence_bytes(::google::protobuf::int32 value); + + // optional uint32 section_number = 4; + inline bool has_section_number() const; + inline void clear_section_number(); + static const int kSectionNumberFieldNumber = 4; + inline ::google::protobuf::uint32 section_number() const; + inline void set_section_number(::google::protobuf::uint32 value); + + // optional uint32 sample_rate = 5; + inline bool has_sample_rate() const; + inline void clear_sample_rate(); + static const int kSampleRateFieldNumber = 5; + inline ::google::protobuf::uint32 sample_rate() const; + inline void set_sample_rate(::google::protobuf::uint32 value); + + // optional uint32 uncompressed_sample_offset = 6; + inline bool has_uncompressed_sample_offset() const; + inline void clear_uncompressed_sample_offset(); + static const int kUncompressedSampleOffsetFieldNumber = 6; + inline ::google::protobuf::uint32 uncompressed_sample_offset() const; + inline void set_uncompressed_sample_offset(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CMsgVoiceAudio) + private: + inline void set_has_format(); + inline void clear_has_format(); + inline void set_has_voice_data(); + inline void clear_has_voice_data(); + inline void set_has_sequence_bytes(); + inline void clear_has_sequence_bytes(); + inline void set_has_section_number(); + inline void clear_has_section_number(); + inline void set_has_sample_rate(); + inline void clear_has_sample_rate(); + inline void set_has_uncompressed_sample_offset(); + inline void clear_has_uncompressed_sample_offset(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* voice_data_; + int format_; + ::google::protobuf::int32 sequence_bytes_; + ::google::protobuf::uint32 section_number_; + ::google::protobuf::uint32 sample_rate_; + ::google::protobuf::uint32 uncompressed_sample_offset_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CMsgVoiceAudio* default_instance_; +}; +// ------------------------------------------------------------------- + class CCLCMsg_VoiceData : public ::google::protobuf::Message { public: CCLCMsg_VoiceData(); @@ -486,17 +809,14 @@ class CCLCMsg_VoiceData : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional bytes data = 1; - inline bool has_data() const; - inline void clear_data(); - static const int kDataFieldNumber = 1; - inline const ::std::string& data() const; - inline void set_data(const ::std::string& value); - inline void set_data(const char* value); - inline void set_data(const void* value, size_t size); - inline ::std::string* mutable_data(); - inline ::std::string* release_data(); - inline void set_allocated_data(::std::string* data); + // optional .CMsgVoiceAudio audio = 1; + inline bool has_audio() const; + inline void clear_audio(); + static const int kAudioFieldNumber = 1; + inline const ::CMsgVoiceAudio& audio() const; + inline ::CMsgVoiceAudio* mutable_audio(); + inline ::CMsgVoiceAudio* release_audio(); + inline void set_allocated_audio(::CMsgVoiceAudio* audio); // optional fixed64 xuid = 2; inline bool has_xuid() const; @@ -505,55 +825,19 @@ class CCLCMsg_VoiceData : public ::google::protobuf::Message { inline ::google::protobuf::uint64 xuid() const; inline void set_xuid(::google::protobuf::uint64 value); - // optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; - inline bool has_format() const; - inline void clear_format(); - static const int kFormatFieldNumber = 3; - inline ::VoiceDataFormat_t format() const; - inline void set_format(::VoiceDataFormat_t value); - - // optional int32 sequence_bytes = 4; - inline bool has_sequence_bytes() const; - inline void clear_sequence_bytes(); - static const int kSequenceBytesFieldNumber = 4; - inline ::google::protobuf::int32 sequence_bytes() const; - inline void set_sequence_bytes(::google::protobuf::int32 value); - - // optional uint32 section_number = 5; - inline bool has_section_number() const; - inline void clear_section_number(); - static const int kSectionNumberFieldNumber = 5; - inline ::google::protobuf::uint32 section_number() const; - inline void set_section_number(::google::protobuf::uint32 value); - - // optional uint32 uncompressed_sample_offset = 6; - inline bool has_uncompressed_sample_offset() const; - inline void clear_uncompressed_sample_offset(); - static const int kUncompressedSampleOffsetFieldNumber = 6; - inline ::google::protobuf::uint32 uncompressed_sample_offset() const; - inline void set_uncompressed_sample_offset(::google::protobuf::uint32 value); - - // optional uint32 tick = 7; + // optional uint32 tick = 3; inline bool has_tick() const; inline void clear_tick(); - static const int kTickFieldNumber = 7; + static const int kTickFieldNumber = 3; inline ::google::protobuf::uint32 tick() const; inline void set_tick(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:CCLCMsg_VoiceData) private: - inline void set_has_data(); - inline void clear_has_data(); + inline void set_has_audio(); + inline void clear_has_audio(); inline void set_has_xuid(); inline void clear_has_xuid(); - inline void set_has_format(); - inline void clear_has_format(); - inline void set_has_sequence_bytes(); - inline void clear_has_sequence_bytes(); - inline void set_has_section_number(); - inline void clear_has_section_number(); - inline void set_has_uncompressed_sample_offset(); - inline void clear_has_uncompressed_sample_offset(); inline void set_has_tick(); inline void clear_has_tick(); @@ -561,12 +845,8 @@ class CCLCMsg_VoiceData : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::std::string* data_; + ::CMsgVoiceAudio* audio_; ::google::protobuf::uint64 xuid_; - int format_; - ::google::protobuf::int32 sequence_bytes_; - ::google::protobuf::uint32 section_number_; - ::google::protobuf::uint32 uncompressed_sample_offset_; ::google::protobuf::uint32 tick_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); @@ -1128,25 +1408,28 @@ class CCLCMsg_SplitPlayerConnect : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional .CMsg_CVars convars = 1; - inline bool has_convars() const; - inline void clear_convars(); - static const int kConvarsFieldNumber = 1; - inline const ::CMsg_CVars& convars() const; - inline ::CMsg_CVars* mutable_convars(); - inline ::CMsg_CVars* release_convars(); - inline void set_allocated_convars(::CMsg_CVars* convars); + // optional string playername = 1; + inline bool has_playername() const; + inline void clear_playername(); + static const int kPlayernameFieldNumber = 1; + inline const ::std::string& playername() const; + inline void set_playername(const ::std::string& value); + inline void set_playername(const char* value); + inline void set_playername(const char* value, size_t size); + inline ::std::string* mutable_playername(); + inline ::std::string* release_playername(); + inline void set_allocated_playername(::std::string* playername); // @@protoc_insertion_point(class_scope:CCLCMsg_SplitPlayerConnect) private: - inline void set_has_convars(); - inline void clear_has_convars(); + inline void set_has_playername(); + inline void clear_has_playername(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; - ::CMsg_CVars* convars_; + ::std::string* playername_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); friend void protobuf_ShutdownFile_netmessages_2eproto(); @@ -1250,6 +1533,406 @@ class CCLCMsg_ClientMessage : public ::google::protobuf::Message { }; // ------------------------------------------------------------------- +class CCLCMsg_SplitPlayerDisconnect : public ::google::protobuf::Message { + public: + CCLCMsg_SplitPlayerDisconnect(); + virtual ~CCLCMsg_SplitPlayerDisconnect(); + + CCLCMsg_SplitPlayerDisconnect(const CCLCMsg_SplitPlayerDisconnect& from); + + inline CCLCMsg_SplitPlayerDisconnect& operator=(const CCLCMsg_SplitPlayerDisconnect& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CCLCMsg_SplitPlayerDisconnect& default_instance(); + + void Swap(CCLCMsg_SplitPlayerDisconnect* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_SplitPlayerDisconnect* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_SplitPlayerDisconnect& from); + void MergeFrom(const CCLCMsg_SplitPlayerDisconnect& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional int32 slot = 1; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 1; + inline ::google::protobuf::int32 slot() const; + inline void set_slot(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CCLCMsg_SplitPlayerDisconnect) + private: + inline void set_has_slot(); + inline void clear_has_slot(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::int32 slot_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_SplitPlayerDisconnect* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_ServerStatus : public ::google::protobuf::Message { + public: + CCLCMsg_ServerStatus(); + virtual ~CCLCMsg_ServerStatus(); + + CCLCMsg_ServerStatus(const CCLCMsg_ServerStatus& from); + + inline CCLCMsg_ServerStatus& operator=(const CCLCMsg_ServerStatus& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CCLCMsg_ServerStatus& default_instance(); + + void Swap(CCLCMsg_ServerStatus* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_ServerStatus* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_ServerStatus& from); + void MergeFrom(const CCLCMsg_ServerStatus& 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 simplified = 1; + inline bool has_simplified() const; + inline void clear_simplified(); + static const int kSimplifiedFieldNumber = 1; + inline bool simplified() const; + inline void set_simplified(bool value); + + // @@protoc_insertion_point(class_scope:CCLCMsg_ServerStatus) + private: + inline void set_has_simplified(); + inline void clear_has_simplified(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + bool simplified_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_ServerStatus* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_ServerPing : public ::google::protobuf::Message { + public: + CCLCMsg_ServerPing(); + virtual ~CCLCMsg_ServerPing(); + + CCLCMsg_ServerPing(const CCLCMsg_ServerPing& from); + + inline CCLCMsg_ServerPing& operator=(const CCLCMsg_ServerPing& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CCLCMsg_ServerPing& default_instance(); + + void Swap(CCLCMsg_ServerPing* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_ServerPing* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_ServerPing& from); + void MergeFrom(const CCLCMsg_ServerPing& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CCLCMsg_ServerPing) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_ServerPing* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_RequestPause : public ::google::protobuf::Message { + public: + CCLCMsg_RequestPause(); + virtual ~CCLCMsg_RequestPause(); + + CCLCMsg_RequestPause(const CCLCMsg_RequestPause& from); + + inline CCLCMsg_RequestPause& operator=(const CCLCMsg_RequestPause& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CCLCMsg_RequestPause& default_instance(); + + void Swap(CCLCMsg_RequestPause* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_RequestPause* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_RequestPause& from); + void MergeFrom(const CCLCMsg_RequestPause& 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 .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + inline bool has_pause_type() const; + inline void clear_pause_type(); + static const int kPauseTypeFieldNumber = 1; + inline ::RequestPause_t pause_type() const; + inline void set_pause_type(::RequestPause_t value); + + // optional int32 pause_group = 2; + inline bool has_pause_group() const; + inline void clear_pause_group(); + static const int kPauseGroupFieldNumber = 2; + inline ::google::protobuf::int32 pause_group() const; + inline void set_pause_group(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CCLCMsg_RequestPause) + private: + inline void set_has_pause_type(); + inline void clear_has_pause_type(); + inline void set_has_pause_group(); + inline void clear_has_pause_group(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + int pause_type_; + ::google::protobuf::int32 pause_group_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_RequestPause* default_instance_; +}; +// ------------------------------------------------------------------- + +class CCLCMsg_CmdKeyValues : public ::google::protobuf::Message { + public: + CCLCMsg_CmdKeyValues(); + virtual ~CCLCMsg_CmdKeyValues(); + + CCLCMsg_CmdKeyValues(const CCLCMsg_CmdKeyValues& from); + + inline CCLCMsg_CmdKeyValues& operator=(const CCLCMsg_CmdKeyValues& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CCLCMsg_CmdKeyValues& default_instance(); + + void Swap(CCLCMsg_CmdKeyValues* other); + + // implements Message ---------------------------------------------- + + CCLCMsg_CmdKeyValues* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CCLCMsg_CmdKeyValues& from); + void MergeFrom(const CCLCMsg_CmdKeyValues& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bytes data = 1; + inline bool has_data() const; + inline void clear_data(); + static const int kDataFieldNumber = 1; + inline const ::std::string& data() const; + inline void set_data(const ::std::string& value); + inline void set_data(const char* value); + inline void set_data(const void* value, size_t size); + inline ::std::string* mutable_data(); + inline ::std::string* release_data(); + inline void set_allocated_data(::std::string* data); + + // @@protoc_insertion_point(class_scope:CCLCMsg_CmdKeyValues) + private: + inline void set_has_data(); + inline void clear_has_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* data_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CCLCMsg_CmdKeyValues* default_instance_; +}; +// ------------------------------------------------------------------- + class CSVCMsg_ServerInfo : public ::google::protobuf::Message { public: CSVCMsg_ServerInfo(); @@ -1454,6 +2137,27 @@ class CSVCMsg_ServerInfo : public ::google::protobuf::Message { inline ::std::string* release_addon_name(); inline void set_allocated_addon_name(::std::string* addon_name); + // optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + inline bool has_game_session_config() const; + inline void clear_game_session_config(); + static const int kGameSessionConfigFieldNumber = 19; + inline const ::CSVCMsg_GameSessionConfiguration& game_session_config() const; + inline ::CSVCMsg_GameSessionConfiguration* mutable_game_session_config(); + inline ::CSVCMsg_GameSessionConfiguration* release_game_session_config(); + inline void set_allocated_game_session_config(::CSVCMsg_GameSessionConfiguration* game_session_config); + + // optional bytes game_session_manifest = 20; + inline bool has_game_session_manifest() const; + inline void clear_game_session_manifest(); + static const int kGameSessionManifestFieldNumber = 20; + inline const ::std::string& game_session_manifest() const; + inline void set_game_session_manifest(const ::std::string& value); + inline void set_game_session_manifest(const char* value); + inline void set_game_session_manifest(const void* value, size_t size); + inline ::std::string* mutable_game_session_manifest(); + inline ::std::string* release_game_session_manifest(); + inline void set_allocated_game_session_manifest(::std::string* game_session_manifest); + // @@protoc_insertion_point(class_scope:CSVCMsg_ServerInfo) private: inline void set_has_protocol(); @@ -1492,6 +2196,10 @@ class CSVCMsg_ServerInfo : public ::google::protobuf::Message { inline void clear_has_host_name(); inline void set_has_addon_name(); inline void clear_has_addon_name(); + inline void set_has_game_session_config(); + inline void clear_has_game_session_config(); + inline void set_has_game_session_manifest(); + inline void clear_has_game_session_manifest(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -1514,6 +2222,8 @@ class CSVCMsg_ServerInfo : public ::google::protobuf::Message { ::std::string* sky_name_; ::std::string* host_name_; ::std::string* addon_name_; + ::CSVCMsg_GameSessionConfiguration* game_session_config_; + ::std::string* game_session_manifest_; float tick_interval_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); @@ -2166,6 +2876,20 @@ class CSVCMsg_Sounds_sounddata_t : public ::google::protobuf::Message { inline bool is_ambient() const; inline void set_is_ambient(bool value); + // optional uint32 guid = 18; + inline bool has_guid() const; + inline void clear_guid(); + static const int kGuidFieldNumber = 18; + inline ::google::protobuf::uint32 guid() const; + inline void set_guid(::google::protobuf::uint32 value); + + // optional fixed64 sound_resource_id = 19; + inline bool has_sound_resource_id() const; + inline void clear_sound_resource_id(); + static const int kSoundResourceIdFieldNumber = 19; + inline ::google::protobuf::uint64 sound_resource_id() const; + inline void set_sound_resource_id(::google::protobuf::uint64 value); + // @@protoc_insertion_point(class_scope:CSVCMsg_Sounds.sounddata_t) private: inline void set_has_origin_x(); @@ -2202,6 +2926,10 @@ class CSVCMsg_Sounds_sounddata_t : public ::google::protobuf::Message { inline void clear_has_is_sentence(); inline void set_has_is_ambient(); inline void clear_has_is_ambient(); + inline void set_has_guid(); + inline void clear_has_guid(); + inline void set_has_sound_resource_id(); + inline void clear_has_sound_resource_id(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -2224,6 +2952,8 @@ class CSVCMsg_Sounds_sounddata_t : public ::google::protobuf::Message { ::google::protobuf::int32 sound_level_; bool is_sentence_; bool is_ambient_; + ::google::protobuf::uint64 sound_resource_id_; + ::google::protobuf::uint32 guid_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); friend void protobuf_ShutdownFile_netmessages_2eproto(); @@ -2387,16 +3117,26 @@ class CSVCMsg_Prefetch : public ::google::protobuf::Message { inline ::google::protobuf::int32 sound_index() const; inline void set_sound_index(::google::protobuf::int32 value); + // optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; + inline bool has_resource_type() const; + inline void clear_resource_type(); + static const int kResourceTypeFieldNumber = 2; + inline ::PrefetchType resource_type() const; + inline void set_resource_type(::PrefetchType value); + // @@protoc_insertion_point(class_scope:CSVCMsg_Prefetch) private: inline void set_has_sound_index(); inline void clear_has_sound_index(); + inline void set_has_resource_type(); + inline void clear_has_resource_type(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::int32 sound_index_; + int resource_type_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); friend void protobuf_ShutdownFile_netmessages_2eproto(); @@ -2466,16 +3206,26 @@ class CSVCMsg_SetView : public ::google::protobuf::Message { inline ::google::protobuf::int32 entity_index() const; inline void set_entity_index(::google::protobuf::int32 value); + // optional int32 slot = 2; + inline bool has_slot() const; + inline void clear_slot(); + static const int kSlotFieldNumber = 2; + inline ::google::protobuf::int32 slot() const; + inline void set_slot(::google::protobuf::int32 value); + // @@protoc_insertion_point(class_scope:CSVCMsg_SetView) private: inline void set_has_entity_index(); inline void clear_has_entity_index(); + inline void set_has_slot(); + inline void clear_has_slot(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::int32 entity_index_; + ::google::protobuf::int32 slot_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); friend void protobuf_ShutdownFile_netmessages_2eproto(); @@ -3753,6 +4503,20 @@ class CSVCMsg_PacketEntities : public ::google::protobuf::Message { inline bool pending_full_frame() const; inline void set_pending_full_frame(bool value); + // optional uint32 active_spawngroup_handle = 9; + inline bool has_active_spawngroup_handle() const; + inline void clear_active_spawngroup_handle(); + static const int kActiveSpawngroupHandleFieldNumber = 9; + inline ::google::protobuf::uint32 active_spawngroup_handle() const; + inline void set_active_spawngroup_handle(::google::protobuf::uint32 value); + + // optional uint32 max_spawngroup_creationsequence = 10; + inline bool has_max_spawngroup_creationsequence() const; + inline void clear_max_spawngroup_creationsequence(); + static const int kMaxSpawngroupCreationsequenceFieldNumber = 10; + inline ::google::protobuf::uint32 max_spawngroup_creationsequence() const; + inline void set_max_spawngroup_creationsequence(::google::protobuf::uint32 value); + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketEntities) private: inline void set_has_max_entries(); @@ -3771,6 +4535,10 @@ class CSVCMsg_PacketEntities : public ::google::protobuf::Message { inline void clear_has_entity_data(); inline void set_has_pending_full_frame(); inline void clear_has_pending_full_frame(); + inline void set_has_active_spawngroup_handle(); + inline void clear_has_active_spawngroup_handle(); + inline void set_has_max_spawngroup_creationsequence(); + inline void clear_has_max_spawngroup_creationsequence(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -3784,6 +4552,8 @@ class CSVCMsg_PacketEntities : public ::google::protobuf::Message { bool pending_full_frame_; ::std::string* entity_data_; ::google::protobuf::int32 delta_from_; + ::google::protobuf::uint32 active_spawngroup_handle_; + ::google::protobuf::uint32 max_spawngroup_creationsequence_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); friend void protobuf_ShutdownFile_netmessages_2eproto(); @@ -3962,52 +4732,45 @@ class CSVCMsg_CreateStringTable : public ::google::protobuf::Message { inline ::std::string* release_name(); inline void set_allocated_name(::std::string* name); - // optional int32 max_entries = 2; - inline bool has_max_entries() const; - inline void clear_max_entries(); - static const int kMaxEntriesFieldNumber = 2; - inline ::google::protobuf::int32 max_entries() const; - inline void set_max_entries(::google::protobuf::int32 value); - - // optional int32 num_entries = 3; + // optional int32 num_entries = 2; inline bool has_num_entries() const; inline void clear_num_entries(); - static const int kNumEntriesFieldNumber = 3; + static const int kNumEntriesFieldNumber = 2; inline ::google::protobuf::int32 num_entries() const; inline void set_num_entries(::google::protobuf::int32 value); - // optional bool user_data_fixed_size = 4; + // optional bool user_data_fixed_size = 3; inline bool has_user_data_fixed_size() const; inline void clear_user_data_fixed_size(); - static const int kUserDataFixedSizeFieldNumber = 4; + static const int kUserDataFixedSizeFieldNumber = 3; inline bool user_data_fixed_size() const; inline void set_user_data_fixed_size(bool value); - // optional int32 user_data_size = 5; + // optional int32 user_data_size = 4; inline bool has_user_data_size() const; inline void clear_user_data_size(); - static const int kUserDataSizeFieldNumber = 5; + static const int kUserDataSizeFieldNumber = 4; inline ::google::protobuf::int32 user_data_size() const; inline void set_user_data_size(::google::protobuf::int32 value); - // optional int32 user_data_size_bits = 6; + // optional int32 user_data_size_bits = 5; inline bool has_user_data_size_bits() const; inline void clear_user_data_size_bits(); - static const int kUserDataSizeBitsFieldNumber = 6; + static const int kUserDataSizeBitsFieldNumber = 5; inline ::google::protobuf::int32 user_data_size_bits() const; inline void set_user_data_size_bits(::google::protobuf::int32 value); - // optional int32 flags = 7; + // optional int32 flags = 6; inline bool has_flags() const; inline void clear_flags(); - static const int kFlagsFieldNumber = 7; + static const int kFlagsFieldNumber = 6; inline ::google::protobuf::int32 flags() const; inline void set_flags(::google::protobuf::int32 value); - // optional bytes string_data = 8; + // optional bytes string_data = 7; inline bool has_string_data() const; inline void clear_string_data(); - static const int kStringDataFieldNumber = 8; + static const int kStringDataFieldNumber = 7; inline const ::std::string& string_data() const; inline void set_string_data(const ::std::string& value); inline void set_string_data(const char* value); @@ -4016,12 +4779,24 @@ class CSVCMsg_CreateStringTable : public ::google::protobuf::Message { inline ::std::string* release_string_data(); inline void set_allocated_string_data(::std::string* string_data); + // optional int32 uncompressed_size = 8; + inline bool has_uncompressed_size() const; + inline void clear_uncompressed_size(); + static const int kUncompressedSizeFieldNumber = 8; + inline ::google::protobuf::int32 uncompressed_size() const; + inline void set_uncompressed_size(::google::protobuf::int32 value); + + // optional bool data_compressed = 9; + inline bool has_data_compressed() const; + inline void clear_data_compressed(); + static const int kDataCompressedFieldNumber = 9; + inline bool data_compressed() const; + inline void set_data_compressed(bool value); + // @@protoc_insertion_point(class_scope:CSVCMsg_CreateStringTable) private: inline void set_has_name(); inline void clear_has_name(); - inline void set_has_max_entries(); - inline void clear_has_max_entries(); inline void set_has_num_entries(); inline void clear_has_num_entries(); inline void set_has_user_data_fixed_size(); @@ -4034,18 +4809,23 @@ class CSVCMsg_CreateStringTable : public ::google::protobuf::Message { inline void clear_has_flags(); inline void set_has_string_data(); inline void clear_has_string_data(); + inline void set_has_uncompressed_size(); + inline void clear_has_uncompressed_size(); + inline void set_has_data_compressed(); + inline void clear_has_data_compressed(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::std::string* name_; - ::google::protobuf::int32 max_entries_; ::google::protobuf::int32 num_entries_; - bool user_data_fixed_size_; ::google::protobuf::int32 user_data_size_; ::google::protobuf::int32 user_data_size_bits_; ::google::protobuf::int32 flags_; + bool user_data_fixed_size_; + bool data_compressed_; + ::google::protobuf::int32 uncompressed_size_; ::std::string* string_data_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); @@ -4213,83 +4993,54 @@ class CSVCMsg_VoiceData : public ::google::protobuf::Message { // accessors ------------------------------------------------------- - // optional int32 client = 1; + // optional .CMsgVoiceAudio audio = 1; + inline bool has_audio() const; + inline void clear_audio(); + static const int kAudioFieldNumber = 1; + inline const ::CMsgVoiceAudio& audio() const; + inline ::CMsgVoiceAudio* mutable_audio(); + inline ::CMsgVoiceAudio* release_audio(); + inline void set_allocated_audio(::CMsgVoiceAudio* audio); + + // optional int32 client = 2; inline bool has_client() const; inline void clear_client(); - static const int kClientFieldNumber = 1; + static const int kClientFieldNumber = 2; inline ::google::protobuf::int32 client() const; inline void set_client(::google::protobuf::int32 value); - // optional bool proximity = 2; + // optional bool proximity = 3; inline bool has_proximity() const; inline void clear_proximity(); - static const int kProximityFieldNumber = 2; + static const int kProximityFieldNumber = 3; inline bool proximity() const; inline void set_proximity(bool value); - // optional fixed64 xuid = 3; + // optional fixed64 xuid = 4; inline bool has_xuid() const; inline void clear_xuid(); - static const int kXuidFieldNumber = 3; + static const int kXuidFieldNumber = 4; inline ::google::protobuf::uint64 xuid() const; inline void set_xuid(::google::protobuf::uint64 value); - // optional int32 audible_mask = 4; + // optional int32 audible_mask = 5; inline bool has_audible_mask() const; inline void clear_audible_mask(); - static const int kAudibleMaskFieldNumber = 4; + static const int kAudibleMaskFieldNumber = 5; inline ::google::protobuf::int32 audible_mask() const; inline void set_audible_mask(::google::protobuf::int32 value); - // optional bytes voice_data = 5; - inline bool has_voice_data() const; - inline void clear_voice_data(); - static const int kVoiceDataFieldNumber = 5; - inline const ::std::string& voice_data() const; - inline void set_voice_data(const ::std::string& value); - inline void set_voice_data(const char* value); - inline void set_voice_data(const void* value, size_t size); - inline ::std::string* mutable_voice_data(); - inline ::std::string* release_voice_data(); - inline void set_allocated_voice_data(::std::string* voice_data); - - // optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; - inline bool has_format() const; - inline void clear_format(); - static const int kFormatFieldNumber = 6; - inline ::VoiceDataFormat_t format() const; - inline void set_format(::VoiceDataFormat_t value); - - // optional int32 sequence_bytes = 7; - inline bool has_sequence_bytes() const; - inline void clear_sequence_bytes(); - static const int kSequenceBytesFieldNumber = 7; - inline ::google::protobuf::int32 sequence_bytes() const; - inline void set_sequence_bytes(::google::protobuf::int32 value); - - // optional uint32 section_number = 8; - inline bool has_section_number() const; - inline void clear_section_number(); - static const int kSectionNumberFieldNumber = 8; - inline ::google::protobuf::uint32 section_number() const; - inline void set_section_number(::google::protobuf::uint32 value); - - // optional uint32 uncompressed_sample_offset = 9; - inline bool has_uncompressed_sample_offset() const; - inline void clear_uncompressed_sample_offset(); - static const int kUncompressedSampleOffsetFieldNumber = 9; - inline ::google::protobuf::uint32 uncompressed_sample_offset() const; - inline void set_uncompressed_sample_offset(::google::protobuf::uint32 value); - - // optional uint32 tick = 10; + // optional uint32 tick = 6; inline bool has_tick() const; inline void clear_tick(); - static const int kTickFieldNumber = 10; + static const int kTickFieldNumber = 6; inline ::google::protobuf::uint32 tick() const; inline void set_tick(::google::protobuf::uint32 value); // @@protoc_insertion_point(class_scope:CSVCMsg_VoiceData) private: + inline void set_has_audio(); + inline void clear_has_audio(); inline void set_has_client(); inline void clear_has_client(); inline void set_has_proximity(); @@ -4298,16 +5049,6 @@ class CSVCMsg_VoiceData : public ::google::protobuf::Message { inline void clear_has_xuid(); inline void set_has_audible_mask(); inline void clear_has_audible_mask(); - inline void set_has_voice_data(); - inline void clear_has_voice_data(); - inline void set_has_format(); - inline void clear_has_format(); - inline void set_has_sequence_bytes(); - inline void clear_has_sequence_bytes(); - inline void set_has_section_number(); - inline void clear_has_section_number(); - inline void set_has_uncompressed_sample_offset(); - inline void clear_has_uncompressed_sample_offset(); inline void set_has_tick(); inline void clear_has_tick(); @@ -4315,15 +5056,11 @@ class CSVCMsg_VoiceData : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; + ::CMsgVoiceAudio* audio_; ::google::protobuf::int32 client_; bool proximity_; ::google::protobuf::uint64 xuid_; - ::std::string* voice_data_; ::google::protobuf::int32 audible_mask_; - int format_; - ::google::protobuf::int32 sequence_bytes_; - ::google::protobuf::uint32 section_number_; - ::google::protobuf::uint32 uncompressed_sample_offset_; ::google::protobuf::uint32 tick_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); @@ -4401,12 +5138,21 @@ class CSVCMsg_PacketReliable : public ::google::protobuf::Message { inline ::google::protobuf::int32 messagessize() const; inline void set_messagessize(::google::protobuf::int32 value); + // optional bool state = 3; + inline bool has_state() const; + inline void clear_state(); + static const int kStateFieldNumber = 3; + inline bool state() const; + inline void set_state(bool value); + // @@protoc_insertion_point(class_scope:CSVCMsg_PacketReliable) private: inline void set_has_tick(); inline void clear_has_tick(); inline void set_has_messagessize(); inline void clear_has_messagessize(); + inline void set_has_state(); + inline void clear_has_state(); ::google::protobuf::UnknownFieldSet _unknown_fields_; @@ -4414,6 +5160,7 @@ class CSVCMsg_PacketReliable : public ::google::protobuf::Message { mutable int _cached_size_; ::google::protobuf::int32 tick_; ::google::protobuf::int32 messagessize_; + bool state_; friend void protobuf_AddDesc_netmessages_2eproto(); friend void protobuf_AssignDesc_netmessages_2eproto(); friend void protobuf_ShutdownFile_netmessages_2eproto(); @@ -4535,6 +5282,1666 @@ class CSVCMsg_FullFrameSplit : public ::google::protobuf::Message { void InitAsDefaultInstance(); static CSVCMsg_FullFrameSplit* default_instance_; }; +// ------------------------------------------------------------------- + +class CSVCMsg_CmdKeyValues : public ::google::protobuf::Message { + public: + CSVCMsg_CmdKeyValues(); + virtual ~CSVCMsg_CmdKeyValues(); + + CSVCMsg_CmdKeyValues(const CSVCMsg_CmdKeyValues& from); + + inline CSVCMsg_CmdKeyValues& operator=(const CSVCMsg_CmdKeyValues& 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_CmdKeyValues& default_instance(); + + void Swap(CSVCMsg_CmdKeyValues* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_CmdKeyValues* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_CmdKeyValues& from); + void MergeFrom(const CSVCMsg_CmdKeyValues& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional bytes data = 1; + inline bool has_data() const; + inline void clear_data(); + static const int kDataFieldNumber = 1; + inline const ::std::string& data() const; + inline void set_data(const ::std::string& value); + inline void set_data(const char* value); + inline void set_data(const void* value, size_t size); + inline ::std::string* mutable_data(); + inline ::std::string* release_data(); + inline void set_allocated_data(::std::string* data); + + // @@protoc_insertion_point(class_scope:CSVCMsg_CmdKeyValues) + private: + inline void set_has_data(); + inline void clear_has_data(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* data_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_CmdKeyValues* default_instance_; +}; +// ------------------------------------------------------------------- + +class CMsgIPCAddress : public ::google::protobuf::Message { + public: + CMsgIPCAddress(); + virtual ~CMsgIPCAddress(); + + CMsgIPCAddress(const CMsgIPCAddress& from); + + inline CMsgIPCAddress& operator=(const CMsgIPCAddress& 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 CMsgIPCAddress& default_instance(); + + void Swap(CMsgIPCAddress* other); + + // implements Message ---------------------------------------------- + + CMsgIPCAddress* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsgIPCAddress& from); + void MergeFrom(const CMsgIPCAddress& 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 fixed64 computer_guid = 1; + inline bool has_computer_guid() const; + inline void clear_computer_guid(); + static const int kComputerGuidFieldNumber = 1; + inline ::google::protobuf::uint64 computer_guid() const; + inline void set_computer_guid(::google::protobuf::uint64 value); + + // optional uint32 process_id = 2; + inline bool has_process_id() const; + inline void clear_process_id(); + static const int kProcessIdFieldNumber = 2; + inline ::google::protobuf::uint32 process_id() const; + inline void set_process_id(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CMsgIPCAddress) + private: + inline void set_has_computer_guid(); + inline void clear_has_computer_guid(); + inline void set_has_process_id(); + inline void clear_has_process_id(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 computer_guid_; + ::google::protobuf::uint32 process_id_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CMsgIPCAddress* default_instance_; +}; +// ------------------------------------------------------------------- + +class CMsgServerPeer : public ::google::protobuf::Message { + public: + CMsgServerPeer(); + virtual ~CMsgServerPeer(); + + CMsgServerPeer(const CMsgServerPeer& from); + + inline CMsgServerPeer& operator=(const CMsgServerPeer& 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 CMsgServerPeer& default_instance(); + + void Swap(CMsgServerPeer* other); + + // implements Message ---------------------------------------------- + + CMsgServerPeer* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsgServerPeer& from); + void MergeFrom(const CMsgServerPeer& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional int32 player_slot = 1; + inline bool has_player_slot() const; + inline void clear_player_slot(); + static const int kPlayerSlotFieldNumber = 1; + inline ::google::protobuf::int32 player_slot() const; + inline void set_player_slot(::google::protobuf::int32 value); + + // optional fixed64 steamid = 2; + inline bool has_steamid() const; + inline void clear_steamid(); + static const int kSteamidFieldNumber = 2; + inline ::google::protobuf::uint64 steamid() const; + inline void set_steamid(::google::protobuf::uint64 value); + + // optional .CMsgIPCAddress ipc = 3; + inline bool has_ipc() const; + inline void clear_ipc(); + static const int kIpcFieldNumber = 3; + inline const ::CMsgIPCAddress& ipc() const; + inline ::CMsgIPCAddress* mutable_ipc(); + inline ::CMsgIPCAddress* release_ipc(); + inline void set_allocated_ipc(::CMsgIPCAddress* ipc); + + // optional bool they_hear_you = 4; + inline bool has_they_hear_you() const; + inline void clear_they_hear_you(); + static const int kTheyHearYouFieldNumber = 4; + inline bool they_hear_you() const; + inline void set_they_hear_you(bool value); + + // optional bool you_hear_them = 5; + inline bool has_you_hear_them() const; + inline void clear_you_hear_them(); + static const int kYouHearThemFieldNumber = 5; + inline bool you_hear_them() const; + inline void set_you_hear_them(bool value); + + // optional bool is_listenserver_host = 6; + inline bool has_is_listenserver_host() const; + inline void clear_is_listenserver_host(); + static const int kIsListenserverHostFieldNumber = 6; + inline bool is_listenserver_host() const; + inline void set_is_listenserver_host(bool value); + + // @@protoc_insertion_point(class_scope:CMsgServerPeer) + private: + inline void set_has_player_slot(); + inline void clear_has_player_slot(); + inline void set_has_steamid(); + inline void clear_has_steamid(); + inline void set_has_ipc(); + inline void clear_has_ipc(); + inline void set_has_they_hear_you(); + inline void clear_has_they_hear_you(); + inline void set_has_you_hear_them(); + inline void clear_has_you_hear_them(); + inline void set_has_is_listenserver_host(); + inline void clear_has_is_listenserver_host(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint64 steamid_; + ::CMsgIPCAddress* ipc_; + ::google::protobuf::int32 player_slot_; + bool they_hear_you_; + bool you_hear_them_; + bool is_listenserver_host_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CMsgServerPeer* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_PeerList : public ::google::protobuf::Message { + public: + CSVCMsg_PeerList(); + virtual ~CSVCMsg_PeerList(); + + CSVCMsg_PeerList(const CSVCMsg_PeerList& from); + + inline CSVCMsg_PeerList& operator=(const CSVCMsg_PeerList& 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_PeerList& default_instance(); + + void Swap(CSVCMsg_PeerList* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_PeerList* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_PeerList& from); + void MergeFrom(const CSVCMsg_PeerList& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .CMsgServerPeer peer = 1; + inline int peer_size() const; + inline void clear_peer(); + static const int kPeerFieldNumber = 1; + inline const ::CMsgServerPeer& peer(int index) const; + inline ::CMsgServerPeer* mutable_peer(int index); + inline ::CMsgServerPeer* add_peer(); + inline const ::google::protobuf::RepeatedPtrField< ::CMsgServerPeer >& + peer() const; + inline ::google::protobuf::RepeatedPtrField< ::CMsgServerPeer >* + mutable_peer(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_PeerList) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::CMsgServerPeer > peer_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_PeerList* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_ClearAllStringTables : public ::google::protobuf::Message { + public: + CSVCMsg_ClearAllStringTables(); + virtual ~CSVCMsg_ClearAllStringTables(); + + CSVCMsg_ClearAllStringTables(const CSVCMsg_ClearAllStringTables& from); + + inline CSVCMsg_ClearAllStringTables& operator=(const CSVCMsg_ClearAllStringTables& 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_ClearAllStringTables& default_instance(); + + void Swap(CSVCMsg_ClearAllStringTables* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_ClearAllStringTables* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_ClearAllStringTables& from); + void MergeFrom(const CSVCMsg_ClearAllStringTables& 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 mapname = 1; + inline bool has_mapname() const; + inline void clear_mapname(); + static const int kMapnameFieldNumber = 1; + inline const ::std::string& mapname() const; + inline void set_mapname(const ::std::string& value); + inline void set_mapname(const char* value); + inline void set_mapname(const char* value, size_t size); + inline ::std::string* mutable_mapname(); + inline ::std::string* release_mapname(); + inline void set_allocated_mapname(::std::string* mapname); + + // optional uint32 map_crc = 2; + inline bool has_map_crc() const; + inline void clear_map_crc(); + static const int kMapCrcFieldNumber = 2; + inline ::google::protobuf::uint32 map_crc() const; + inline void set_map_crc(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_ClearAllStringTables) + private: + inline void set_has_mapname(); + inline void clear_has_mapname(); + inline void set_has_map_crc(); + inline void clear_has_map_crc(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* mapname_; + ::google::protobuf::uint32 map_crc_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_ClearAllStringTables* default_instance_; +}; +// ------------------------------------------------------------------- + +class ProtoFlattenedSerializerField_t : public ::google::protobuf::Message { + public: + ProtoFlattenedSerializerField_t(); + virtual ~ProtoFlattenedSerializerField_t(); + + ProtoFlattenedSerializerField_t(const ProtoFlattenedSerializerField_t& from); + + inline ProtoFlattenedSerializerField_t& operator=(const ProtoFlattenedSerializerField_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 ProtoFlattenedSerializerField_t& default_instance(); + + void Swap(ProtoFlattenedSerializerField_t* other); + + // implements Message ---------------------------------------------- + + ProtoFlattenedSerializerField_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const ProtoFlattenedSerializerField_t& from); + void MergeFrom(const ProtoFlattenedSerializerField_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 var_type_sym = 1; + inline bool has_var_type_sym() const; + inline void clear_var_type_sym(); + static const int kVarTypeSymFieldNumber = 1; + inline ::google::protobuf::int32 var_type_sym() const; + inline void set_var_type_sym(::google::protobuf::int32 value); + + // optional int32 var_name_sym = 2; + inline bool has_var_name_sym() const; + inline void clear_var_name_sym(); + static const int kVarNameSymFieldNumber = 2; + inline ::google::protobuf::int32 var_name_sym() const; + inline void set_var_name_sym(::google::protobuf::int32 value); + + // optional int32 bit_count = 3; + inline bool has_bit_count() const; + inline void clear_bit_count(); + static const int kBitCountFieldNumber = 3; + inline ::google::protobuf::int32 bit_count() const; + inline void set_bit_count(::google::protobuf::int32 value); + + // optional float low_value = 4; + inline bool has_low_value() const; + inline void clear_low_value(); + static const int kLowValueFieldNumber = 4; + inline float low_value() const; + inline void set_low_value(float value); + + // optional float high_value = 5; + inline bool has_high_value() const; + inline void clear_high_value(); + static const int kHighValueFieldNumber = 5; + inline float high_value() const; + inline void set_high_value(float value); + + // optional int32 encode_flags = 6; + inline bool has_encode_flags() const; + inline void clear_encode_flags(); + static const int kEncodeFlagsFieldNumber = 6; + inline ::google::protobuf::int32 encode_flags() const; + inline void set_encode_flags(::google::protobuf::int32 value); + + // optional int32 field_serializer_name_sym = 7; + inline bool has_field_serializer_name_sym() const; + inline void clear_field_serializer_name_sym(); + static const int kFieldSerializerNameSymFieldNumber = 7; + inline ::google::protobuf::int32 field_serializer_name_sym() const; + inline void set_field_serializer_name_sym(::google::protobuf::int32 value); + + // optional int32 field_serializer_version = 8; + inline bool has_field_serializer_version() const; + inline void clear_field_serializer_version(); + static const int kFieldSerializerVersionFieldNumber = 8; + inline ::google::protobuf::int32 field_serializer_version() const; + inline void set_field_serializer_version(::google::protobuf::int32 value); + + // optional int32 send_node_sym = 9; + inline bool has_send_node_sym() const; + inline void clear_send_node_sym(); + static const int kSendNodeSymFieldNumber = 9; + inline ::google::protobuf::int32 send_node_sym() const; + inline void set_send_node_sym(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:ProtoFlattenedSerializerField_t) + private: + inline void set_has_var_type_sym(); + inline void clear_has_var_type_sym(); + inline void set_has_var_name_sym(); + inline void clear_has_var_name_sym(); + inline void set_has_bit_count(); + inline void clear_has_bit_count(); + inline void set_has_low_value(); + inline void clear_has_low_value(); + inline void set_has_high_value(); + inline void clear_has_high_value(); + inline void set_has_encode_flags(); + inline void clear_has_encode_flags(); + inline void set_has_field_serializer_name_sym(); + inline void clear_has_field_serializer_name_sym(); + inline void set_has_field_serializer_version(); + inline void clear_has_field_serializer_version(); + inline void set_has_send_node_sym(); + inline void clear_has_send_node_sym(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::int32 var_type_sym_; + ::google::protobuf::int32 var_name_sym_; + ::google::protobuf::int32 bit_count_; + float low_value_; + float high_value_; + ::google::protobuf::int32 encode_flags_; + ::google::protobuf::int32 field_serializer_name_sym_; + ::google::protobuf::int32 field_serializer_version_; + ::google::protobuf::int32 send_node_sym_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static ProtoFlattenedSerializerField_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class ProtoFlattenedSerializer_t : public ::google::protobuf::Message { + public: + ProtoFlattenedSerializer_t(); + virtual ~ProtoFlattenedSerializer_t(); + + ProtoFlattenedSerializer_t(const ProtoFlattenedSerializer_t& from); + + inline ProtoFlattenedSerializer_t& operator=(const ProtoFlattenedSerializer_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 ProtoFlattenedSerializer_t& default_instance(); + + void Swap(ProtoFlattenedSerializer_t* other); + + // implements Message ---------------------------------------------- + + ProtoFlattenedSerializer_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const ProtoFlattenedSerializer_t& from); + void MergeFrom(const ProtoFlattenedSerializer_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 serializer_name_sym = 1; + inline bool has_serializer_name_sym() const; + inline void clear_serializer_name_sym(); + static const int kSerializerNameSymFieldNumber = 1; + inline ::google::protobuf::int32 serializer_name_sym() const; + inline void set_serializer_name_sym(::google::protobuf::int32 value); + + // optional int32 serializer_version = 2; + inline bool has_serializer_version() const; + inline void clear_serializer_version(); + static const int kSerializerVersionFieldNumber = 2; + inline ::google::protobuf::int32 serializer_version() const; + inline void set_serializer_version(::google::protobuf::int32 value); + + // repeated int32 fields_index = 3; + inline int fields_index_size() const; + inline void clear_fields_index(); + static const int kFieldsIndexFieldNumber = 3; + inline ::google::protobuf::int32 fields_index(int index) const; + inline void set_fields_index(int index, ::google::protobuf::int32 value); + inline void add_fields_index(::google::protobuf::int32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& + fields_index() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* + mutable_fields_index(); + + // @@protoc_insertion_point(class_scope:ProtoFlattenedSerializer_t) + private: + inline void set_has_serializer_name_sym(); + inline void clear_has_serializer_name_sym(); + inline void set_has_serializer_version(); + inline void clear_has_serializer_version(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::int32 serializer_name_sym_; + ::google::protobuf::int32 serializer_version_; + ::google::protobuf::RepeatedField< ::google::protobuf::int32 > fields_index_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static ProtoFlattenedSerializer_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_FlattenedSerializer : public ::google::protobuf::Message { + public: + CSVCMsg_FlattenedSerializer(); + virtual ~CSVCMsg_FlattenedSerializer(); + + CSVCMsg_FlattenedSerializer(const CSVCMsg_FlattenedSerializer& from); + + inline CSVCMsg_FlattenedSerializer& operator=(const CSVCMsg_FlattenedSerializer& 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_FlattenedSerializer& default_instance(); + + void Swap(CSVCMsg_FlattenedSerializer* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_FlattenedSerializer* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_FlattenedSerializer& from); + void MergeFrom(const CSVCMsg_FlattenedSerializer& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // repeated .ProtoFlattenedSerializer_t serializers = 1; + inline int serializers_size() const; + inline void clear_serializers(); + static const int kSerializersFieldNumber = 1; + inline const ::ProtoFlattenedSerializer_t& serializers(int index) const; + inline ::ProtoFlattenedSerializer_t* mutable_serializers(int index); + inline ::ProtoFlattenedSerializer_t* add_serializers(); + inline const ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializer_t >& + serializers() const; + inline ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializer_t >* + mutable_serializers(); + + // repeated string symbols = 2; + inline int symbols_size() const; + inline void clear_symbols(); + static const int kSymbolsFieldNumber = 2; + inline const ::std::string& symbols(int index) const; + inline ::std::string* mutable_symbols(int index); + inline void set_symbols(int index, const ::std::string& value); + inline void set_symbols(int index, const char* value); + inline void set_symbols(int index, const char* value, size_t size); + inline ::std::string* add_symbols(); + inline void add_symbols(const ::std::string& value); + inline void add_symbols(const char* value); + inline void add_symbols(const char* value, size_t size); + inline const ::google::protobuf::RepeatedPtrField< ::std::string>& symbols() const; + inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_symbols(); + + // repeated .ProtoFlattenedSerializerField_t fields = 3; + inline int fields_size() const; + inline void clear_fields(); + static const int kFieldsFieldNumber = 3; + inline const ::ProtoFlattenedSerializerField_t& fields(int index) const; + inline ::ProtoFlattenedSerializerField_t* mutable_fields(int index); + inline ::ProtoFlattenedSerializerField_t* add_fields(); + inline const ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >& + fields() const; + inline ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >* + mutable_fields(); + + // @@protoc_insertion_point(class_scope:CSVCMsg_FlattenedSerializer) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializer_t > serializers_; + ::google::protobuf::RepeatedPtrField< ::std::string> symbols_; + ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializerField_t > fields_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_FlattenedSerializer* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_StopSound : public ::google::protobuf::Message { + public: + CSVCMsg_StopSound(); + virtual ~CSVCMsg_StopSound(); + + CSVCMsg_StopSound(const CSVCMsg_StopSound& from); + + inline CSVCMsg_StopSound& operator=(const CSVCMsg_StopSound& 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_StopSound& default_instance(); + + void Swap(CSVCMsg_StopSound* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_StopSound* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_StopSound& from); + void MergeFrom(const CSVCMsg_StopSound& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional fixed32 guid = 1; + inline bool has_guid() const; + inline void clear_guid(); + static const int kGuidFieldNumber = 1; + inline ::google::protobuf::uint32 guid() const; + inline void set_guid(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_StopSound) + private: + inline void set_has_guid(); + inline void clear_has_guid(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 guid_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_StopSound* default_instance_; +}; +// ------------------------------------------------------------------- + +class CBidirMsg_RebroadcastGameEvent : public ::google::protobuf::Message { + public: + CBidirMsg_RebroadcastGameEvent(); + virtual ~CBidirMsg_RebroadcastGameEvent(); + + CBidirMsg_RebroadcastGameEvent(const CBidirMsg_RebroadcastGameEvent& from); + + inline CBidirMsg_RebroadcastGameEvent& operator=(const CBidirMsg_RebroadcastGameEvent& 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 CBidirMsg_RebroadcastGameEvent& default_instance(); + + void Swap(CBidirMsg_RebroadcastGameEvent* other); + + // implements Message ---------------------------------------------- + + CBidirMsg_RebroadcastGameEvent* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CBidirMsg_RebroadcastGameEvent& from); + void MergeFrom(const CBidirMsg_RebroadcastGameEvent& 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 posttoserver = 1; + inline bool has_posttoserver() const; + inline void clear_posttoserver(); + static const int kPosttoserverFieldNumber = 1; + inline bool posttoserver() const; + inline void set_posttoserver(bool value); + + // optional int32 buftype = 2; + inline bool has_buftype() const; + inline void clear_buftype(); + static const int kBuftypeFieldNumber = 2; + inline ::google::protobuf::int32 buftype() const; + inline void set_buftype(::google::protobuf::int32 value); + + // optional uint32 clientbitcount = 3; + inline bool has_clientbitcount() const; + inline void clear_clientbitcount(); + static const int kClientbitcountFieldNumber = 3; + inline ::google::protobuf::uint32 clientbitcount() const; + inline void set_clientbitcount(::google::protobuf::uint32 value); + + // optional uint64 receivingclients = 4; + inline bool has_receivingclients() const; + inline void clear_receivingclients(); + static const int kReceivingclientsFieldNumber = 4; + inline ::google::protobuf::uint64 receivingclients() const; + inline void set_receivingclients(::google::protobuf::uint64 value); + + // @@protoc_insertion_point(class_scope:CBidirMsg_RebroadcastGameEvent) + private: + inline void set_has_posttoserver(); + inline void clear_has_posttoserver(); + inline void set_has_buftype(); + inline void clear_has_buftype(); + inline void set_has_clientbitcount(); + inline void clear_has_clientbitcount(); + inline void set_has_receivingclients(); + inline void clear_has_receivingclients(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + bool posttoserver_; + ::google::protobuf::int32 buftype_; + ::google::protobuf::uint64 receivingclients_; + ::google::protobuf::uint32 clientbitcount_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CBidirMsg_RebroadcastGameEvent* default_instance_; +}; +// ------------------------------------------------------------------- + +class CBidirMsg_RebroadcastSource : public ::google::protobuf::Message { + public: + CBidirMsg_RebroadcastSource(); + virtual ~CBidirMsg_RebroadcastSource(); + + CBidirMsg_RebroadcastSource(const CBidirMsg_RebroadcastSource& from); + + inline CBidirMsg_RebroadcastSource& operator=(const CBidirMsg_RebroadcastSource& 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 CBidirMsg_RebroadcastSource& default_instance(); + + void Swap(CBidirMsg_RebroadcastSource* other); + + // implements Message ---------------------------------------------- + + CBidirMsg_RebroadcastSource* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CBidirMsg_RebroadcastSource& from); + void MergeFrom(const CBidirMsg_RebroadcastSource& 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 eventsource = 1; + inline bool has_eventsource() const; + inline void clear_eventsource(); + static const int kEventsourceFieldNumber = 1; + inline ::google::protobuf::int32 eventsource() const; + inline void set_eventsource(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CBidirMsg_RebroadcastSource) + private: + inline void set_has_eventsource(); + inline void clear_has_eventsource(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::int32 eventsource_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CBidirMsg_RebroadcastSource* default_instance_; +}; +// ------------------------------------------------------------------- + +class SerializedNetAddress_t : public ::google::protobuf::Message { + public: + SerializedNetAddress_t(); + virtual ~SerializedNetAddress_t(); + + SerializedNetAddress_t(const SerializedNetAddress_t& from); + + inline SerializedNetAddress_t& operator=(const SerializedNetAddress_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 SerializedNetAddress_t& default_instance(); + + void Swap(SerializedNetAddress_t* other); + + // implements Message ---------------------------------------------- + + SerializedNetAddress_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const SerializedNetAddress_t& from); + void MergeFrom(const SerializedNetAddress_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 ------------------------------------------------------- + + // required bytes serializedAddress = 1; + inline bool has_serializedaddress() const; + inline void clear_serializedaddress(); + static const int kSerializedAddressFieldNumber = 1; + inline const ::std::string& serializedaddress() const; + inline void set_serializedaddress(const ::std::string& value); + inline void set_serializedaddress(const char* value); + inline void set_serializedaddress(const void* value, size_t size); + inline ::std::string* mutable_serializedaddress(); + inline ::std::string* release_serializedaddress(); + inline void set_allocated_serializedaddress(::std::string* serializedaddress); + + // @@protoc_insertion_point(class_scope:SerializedNetAddress_t) + private: + inline void set_has_serializedaddress(); + inline void clear_has_serializedaddress(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* serializedaddress_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static SerializedNetAddress_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CBidirMsg_RelayInfo : public ::google::protobuf::Message { + public: + CBidirMsg_RelayInfo(); + virtual ~CBidirMsg_RelayInfo(); + + CBidirMsg_RelayInfo(const CBidirMsg_RelayInfo& from); + + inline CBidirMsg_RelayInfo& operator=(const CBidirMsg_RelayInfo& 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 CBidirMsg_RelayInfo& default_instance(); + + void Swap(CBidirMsg_RelayInfo* other); + + // implements Message ---------------------------------------------- + + CBidirMsg_RelayInfo* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CBidirMsg_RelayInfo& from); + void MergeFrom(const CBidirMsg_RelayInfo& 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 CBidirMsg_RelayInfo_Operation_t Operation_t; + static const Operation_t RIO_REQUEST_RELAY = CBidirMsg_RelayInfo_Operation_t_RIO_REQUEST_RELAY; + static const Operation_t RIO_WILL_RELAY = CBidirMsg_RelayInfo_Operation_t_RIO_WILL_RELAY; + static const Operation_t RIO_NO_ROUTE = CBidirMsg_RelayInfo_Operation_t_RIO_NO_ROUTE; + static const Operation_t RIO_REJECT_RELAY = CBidirMsg_RelayInfo_Operation_t_RIO_REJECT_RELAY; + static const Operation_t RIO_ESTABLISH_CONNECTION = CBidirMsg_RelayInfo_Operation_t_RIO_ESTABLISH_CONNECTION; + static inline bool Operation_t_IsValid(int value) { + return CBidirMsg_RelayInfo_Operation_t_IsValid(value); + } + static const Operation_t Operation_t_MIN = + CBidirMsg_RelayInfo_Operation_t_Operation_t_MIN; + static const Operation_t Operation_t_MAX = + CBidirMsg_RelayInfo_Operation_t_Operation_t_MAX; + static const int Operation_t_ARRAYSIZE = + CBidirMsg_RelayInfo_Operation_t_Operation_t_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* + Operation_t_descriptor() { + return CBidirMsg_RelayInfo_Operation_t_descriptor(); + } + static inline const ::std::string& Operation_t_Name(Operation_t value) { + return CBidirMsg_RelayInfo_Operation_t_Name(value); + } + static inline bool Operation_t_Parse(const ::std::string& name, + Operation_t* value) { + return CBidirMsg_RelayInfo_Operation_t_Parse(name, value); + } + + // accessors ------------------------------------------------------- + + // required .CBidirMsg_RelayInfo.Operation_t operation = 1 [default = RIO_REQUEST_RELAY]; + inline bool has_operation() const; + inline void clear_operation(); + static const int kOperationFieldNumber = 1; + inline ::CBidirMsg_RelayInfo_Operation_t operation() const; + inline void set_operation(::CBidirMsg_RelayInfo_Operation_t value); + + // optional .SerializedNetAddress_t serializedTargetAddress = 2; + inline bool has_serializedtargetaddress() const; + inline void clear_serializedtargetaddress(); + static const int kSerializedTargetAddressFieldNumber = 2; + inline const ::SerializedNetAddress_t& serializedtargetaddress() const; + inline ::SerializedNetAddress_t* mutable_serializedtargetaddress(); + inline ::SerializedNetAddress_t* release_serializedtargetaddress(); + inline void set_allocated_serializedtargetaddress(::SerializedNetAddress_t* serializedtargetaddress); + + // optional uint32 additionalHops = 3; + inline bool has_additionalhops() const; + inline void clear_additionalhops(); + static const int kAdditionalHopsFieldNumber = 3; + inline ::google::protobuf::uint32 additionalhops() const; + inline void set_additionalhops(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CBidirMsg_RelayInfo) + private: + inline void set_has_operation(); + inline void clear_has_operation(); + inline void set_has_serializedtargetaddress(); + inline void clear_has_serializedtargetaddress(); + inline void set_has_additionalhops(); + inline void clear_has_additionalhops(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::SerializedNetAddress_t* serializedtargetaddress_; + int operation_; + ::google::protobuf::uint32 additionalhops_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CBidirMsg_RelayInfo* default_instance_; +}; +// ------------------------------------------------------------------- + +class SignedPayload_t : public ::google::protobuf::Message { + public: + SignedPayload_t(); + virtual ~SignedPayload_t(); + + SignedPayload_t(const SignedPayload_t& from); + + inline SignedPayload_t& operator=(const SignedPayload_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 SignedPayload_t& default_instance(); + + void Swap(SignedPayload_t* other); + + // implements Message ---------------------------------------------- + + SignedPayload_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const SignedPayload_t& from); + void MergeFrom(const SignedPayload_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 ------------------------------------------------------- + + // required bytes payloadData = 1; + inline bool has_payloaddata() const; + inline void clear_payloaddata(); + static const int kPayloadDataFieldNumber = 1; + inline const ::std::string& payloaddata() const; + inline void set_payloaddata(const ::std::string& value); + inline void set_payloaddata(const char* value); + inline void set_payloaddata(const void* value, size_t size); + inline ::std::string* mutable_payloaddata(); + inline ::std::string* release_payloaddata(); + inline void set_allocated_payloaddata(::std::string* payloaddata); + + // required uint32 signature = 2; + inline bool has_signature() const; + inline void clear_signature(); + static const int kSignatureFieldNumber = 2; + inline ::google::protobuf::uint32 signature() const; + inline void set_signature(::google::protobuf::uint32 value); + + // required bool bPayloadEncrypted = 3; + inline bool has_bpayloadencrypted() const; + inline void clear_bpayloadencrypted(); + static const int kBPayloadEncryptedFieldNumber = 3; + inline bool bpayloadencrypted() const; + inline void set_bpayloadencrypted(bool value); + + // @@protoc_insertion_point(class_scope:SignedPayload_t) + private: + inline void set_has_payloaddata(); + inline void clear_has_payloaddata(); + inline void set_has_signature(); + inline void clear_has_signature(); + inline void set_has_bpayloadencrypted(); + inline void clear_has_bpayloadencrypted(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* payloaddata_; + ::google::protobuf::uint32 signature_; + bool bpayloadencrypted_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static SignedPayload_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CBidirMsg_RelayPacket_SignedDestinationAddress_t : public ::google::protobuf::Message { + public: + CBidirMsg_RelayPacket_SignedDestinationAddress_t(); + virtual ~CBidirMsg_RelayPacket_SignedDestinationAddress_t(); + + CBidirMsg_RelayPacket_SignedDestinationAddress_t(const CBidirMsg_RelayPacket_SignedDestinationAddress_t& from); + + inline CBidirMsg_RelayPacket_SignedDestinationAddress_t& operator=(const CBidirMsg_RelayPacket_SignedDestinationAddress_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 CBidirMsg_RelayPacket_SignedDestinationAddress_t& default_instance(); + + void Swap(CBidirMsg_RelayPacket_SignedDestinationAddress_t* other); + + // implements Message ---------------------------------------------- + + CBidirMsg_RelayPacket_SignedDestinationAddress_t* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CBidirMsg_RelayPacket_SignedDestinationAddress_t& from); + void MergeFrom(const CBidirMsg_RelayPacket_SignedDestinationAddress_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 ------------------------------------------------------- + + // required .SerializedNetAddress_t serializedAddr = 1; + inline bool has_serializedaddr() const; + inline void clear_serializedaddr(); + static const int kSerializedAddrFieldNumber = 1; + inline const ::SerializedNetAddress_t& serializedaddr() const; + inline ::SerializedNetAddress_t* mutable_serializedaddr(); + inline ::SerializedNetAddress_t* release_serializedaddr(); + inline void set_allocated_serializedaddr(::SerializedNetAddress_t* serializedaddr); + + // required uint32 signature = 2; + inline bool has_signature() const; + inline void clear_signature(); + static const int kSignatureFieldNumber = 2; + inline ::google::protobuf::uint32 signature() const; + inline void set_signature(::google::protobuf::uint32 value); + + // optional bytes encryptedPayloadKey = 3; + inline bool has_encryptedpayloadkey() const; + inline void clear_encryptedpayloadkey(); + static const int kEncryptedPayloadKeyFieldNumber = 3; + inline const ::std::string& encryptedpayloadkey() const; + inline void set_encryptedpayloadkey(const ::std::string& value); + inline void set_encryptedpayloadkey(const char* value); + inline void set_encryptedpayloadkey(const void* value, size_t size); + inline ::std::string* mutable_encryptedpayloadkey(); + inline ::std::string* release_encryptedpayloadkey(); + inline void set_allocated_encryptedpayloadkey(::std::string* encryptedpayloadkey); + + // @@protoc_insertion_point(class_scope:CBidirMsg_RelayPacket.SignedDestinationAddress_t) + private: + inline void set_has_serializedaddr(); + inline void clear_has_serializedaddr(); + inline void set_has_signature(); + inline void clear_has_signature(); + inline void set_has_encryptedpayloadkey(); + inline void clear_has_encryptedpayloadkey(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::SerializedNetAddress_t* serializedaddr_; + ::std::string* encryptedpayloadkey_; + ::google::protobuf::uint32 signature_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CBidirMsg_RelayPacket_SignedDestinationAddress_t* default_instance_; +}; +// ------------------------------------------------------------------- + +class CBidirMsg_RelayPacket : public ::google::protobuf::Message { + public: + CBidirMsg_RelayPacket(); + virtual ~CBidirMsg_RelayPacket(); + + CBidirMsg_RelayPacket(const CBidirMsg_RelayPacket& from); + + inline CBidirMsg_RelayPacket& operator=(const CBidirMsg_RelayPacket& 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 CBidirMsg_RelayPacket& default_instance(); + + void Swap(CBidirMsg_RelayPacket* other); + + // implements Message ---------------------------------------------- + + CBidirMsg_RelayPacket* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CBidirMsg_RelayPacket& from); + void MergeFrom(const CBidirMsg_RelayPacket& 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 CBidirMsg_RelayPacket_SignedDestinationAddress_t SignedDestinationAddress_t; + + // accessors ------------------------------------------------------- + + // required uint32 prevhopcount = 1; + inline bool has_prevhopcount() const; + inline void clear_prevhopcount(); + static const int kPrevhopcountFieldNumber = 1; + inline ::google::protobuf::uint32 prevhopcount() const; + inline void set_prevhopcount(::google::protobuf::uint32 value); + + // required .SerializedNetAddress_t originalSender = 2; + inline bool has_originalsender() const; + inline void clear_originalsender(); + static const int kOriginalSenderFieldNumber = 2; + inline const ::SerializedNetAddress_t& originalsender() const; + inline ::SerializedNetAddress_t* mutable_originalsender(); + inline ::SerializedNetAddress_t* release_originalsender(); + inline void set_allocated_originalsender(::SerializedNetAddress_t* originalsender); + + // required .SignedPayload_t signedPayload = 3; + inline bool has_signedpayload() const; + inline void clear_signedpayload(); + static const int kSignedPayloadFieldNumber = 3; + inline const ::SignedPayload_t& signedpayload() const; + inline ::SignedPayload_t* mutable_signedpayload(); + inline ::SignedPayload_t* release_signedpayload(); + inline void set_allocated_signedpayload(::SignedPayload_t* signedpayload); + + // repeated .CBidirMsg_RelayPacket.SignedDestinationAddress_t recipientList = 4; + inline int recipientlist_size() const; + inline void clear_recipientlist(); + static const int kRecipientListFieldNumber = 4; + inline const ::CBidirMsg_RelayPacket_SignedDestinationAddress_t& recipientlist(int index) const; + inline ::CBidirMsg_RelayPacket_SignedDestinationAddress_t* mutable_recipientlist(int index); + inline ::CBidirMsg_RelayPacket_SignedDestinationAddress_t* add_recipientlist(); + inline const ::google::protobuf::RepeatedPtrField< ::CBidirMsg_RelayPacket_SignedDestinationAddress_t >& + recipientlist() const; + inline ::google::protobuf::RepeatedPtrField< ::CBidirMsg_RelayPacket_SignedDestinationAddress_t >* + mutable_recipientlist(); + + // @@protoc_insertion_point(class_scope:CBidirMsg_RelayPacket) + private: + inline void set_has_prevhopcount(); + inline void clear_has_prevhopcount(); + inline void set_has_originalsender(); + inline void clear_has_originalsender(); + inline void set_has_signedpayload(); + inline void clear_has_signedpayload(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::SerializedNetAddress_t* originalsender_; + ::SignedPayload_t* signedpayload_; + ::google::protobuf::RepeatedPtrField< ::CBidirMsg_RelayPacket_SignedDestinationAddress_t > recipientlist_; + ::google::protobuf::uint32 prevhopcount_; + friend void protobuf_AddDesc_netmessages_2eproto(); + friend void protobuf_AssignDesc_netmessages_2eproto(); + friend void protobuf_ShutdownFile_netmessages_2eproto(); + + void InitAsDefaultInstance(); + static CBidirMsg_RelayPacket* default_instance_; +}; // =================================================================== @@ -4898,82 +7305,248 @@ inline void CCLCMsg_Move::set_allocated_data(::std::string* data) { // ------------------------------------------------------------------- -// CCLCMsg_VoiceData +// CMsgVoiceAudio -// optional bytes data = 1; -inline bool CCLCMsg_VoiceData::has_data() const { +// optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; +inline bool CMsgVoiceAudio::has_format() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void CCLCMsg_VoiceData::set_has_data() { +inline void CMsgVoiceAudio::set_has_format() { _has_bits_[0] |= 0x00000001u; } -inline void CCLCMsg_VoiceData::clear_has_data() { +inline void CMsgVoiceAudio::clear_has_format() { _has_bits_[0] &= ~0x00000001u; } -inline void CCLCMsg_VoiceData::clear_data() { - if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - data_->clear(); +inline void CMsgVoiceAudio::clear_format() { + format_ = 0; + clear_has_format(); +} +inline ::VoiceDataFormat_t CMsgVoiceAudio::format() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.format) + return static_cast< ::VoiceDataFormat_t >(format_); +} +inline void CMsgVoiceAudio::set_format(::VoiceDataFormat_t value) { + assert(::VoiceDataFormat_t_IsValid(value)); + set_has_format(); + format_ = value; + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.format) +} + +// optional bytes voice_data = 2; +inline bool CMsgVoiceAudio::has_voice_data() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMsgVoiceAudio::set_has_voice_data() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMsgVoiceAudio::clear_has_voice_data() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMsgVoiceAudio::clear_voice_data() { + if (voice_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_data_->clear(); } - clear_has_data(); + clear_has_voice_data(); } -inline const ::std::string& CCLCMsg_VoiceData::data() const { - // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.data) - return *data_; +inline const ::std::string& CMsgVoiceAudio::voice_data() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.voice_data) + return *voice_data_; } -inline void CCLCMsg_VoiceData::set_data(const ::std::string& value) { - set_has_data(); - if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - data_ = new ::std::string; +inline void CMsgVoiceAudio::set_voice_data(const ::std::string& value) { + set_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_data_ = new ::std::string; } - data_->assign(value); - // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.data) + voice_data_->assign(value); + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.voice_data) } -inline void CCLCMsg_VoiceData::set_data(const char* value) { - set_has_data(); - if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - data_ = new ::std::string; +inline void CMsgVoiceAudio::set_voice_data(const char* value) { + set_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_data_ = new ::std::string; } - data_->assign(value); - // @@protoc_insertion_point(field_set_char:CCLCMsg_VoiceData.data) + voice_data_->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgVoiceAudio.voice_data) } -inline void CCLCMsg_VoiceData::set_data(const void* value, size_t size) { - set_has_data(); - if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - data_ = new ::std::string; +inline void CMsgVoiceAudio::set_voice_data(const void* value, size_t size) { + set_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_data_ = new ::std::string; } - data_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CCLCMsg_VoiceData.data) + voice_data_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgVoiceAudio.voice_data) } -inline ::std::string* CCLCMsg_VoiceData::mutable_data() { - set_has_data(); - if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - data_ = new ::std::string; +inline ::std::string* CMsgVoiceAudio::mutable_voice_data() { + set_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + voice_data_ = new ::std::string; } - // @@protoc_insertion_point(field_mutable:CCLCMsg_VoiceData.data) - return data_; + // @@protoc_insertion_point(field_mutable:CMsgVoiceAudio.voice_data) + return voice_data_; } -inline ::std::string* CCLCMsg_VoiceData::release_data() { - clear_has_data(); - if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { +inline ::std::string* CMsgVoiceAudio::release_voice_data() { + clear_has_voice_data(); + if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { return NULL; } else { - ::std::string* temp = data_; - data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + ::std::string* temp = voice_data_; + voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); return temp; } } -inline void CCLCMsg_VoiceData::set_allocated_data(::std::string* data) { - if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete data_; +inline void CMsgVoiceAudio::set_allocated_voice_data(::std::string* voice_data) { + if (voice_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete voice_data_; } - if (data) { - set_has_data(); - data_ = data; + if (voice_data) { + set_has_voice_data(); + voice_data_ = voice_data; } else { - clear_has_data(); - data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + clear_has_voice_data(); + voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); } - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_VoiceData.data) + // @@protoc_insertion_point(field_set_allocated:CMsgVoiceAudio.voice_data) +} + +// optional int32 sequence_bytes = 3; +inline bool CMsgVoiceAudio::has_sequence_bytes() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CMsgVoiceAudio::set_has_sequence_bytes() { + _has_bits_[0] |= 0x00000004u; +} +inline void CMsgVoiceAudio::clear_has_sequence_bytes() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CMsgVoiceAudio::clear_sequence_bytes() { + sequence_bytes_ = 0; + clear_has_sequence_bytes(); +} +inline ::google::protobuf::int32 CMsgVoiceAudio::sequence_bytes() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.sequence_bytes) + return sequence_bytes_; +} +inline void CMsgVoiceAudio::set_sequence_bytes(::google::protobuf::int32 value) { + set_has_sequence_bytes(); + sequence_bytes_ = value; + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.sequence_bytes) +} + +// optional uint32 section_number = 4; +inline bool CMsgVoiceAudio::has_section_number() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CMsgVoiceAudio::set_has_section_number() { + _has_bits_[0] |= 0x00000008u; +} +inline void CMsgVoiceAudio::clear_has_section_number() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CMsgVoiceAudio::clear_section_number() { + section_number_ = 0u; + clear_has_section_number(); +} +inline ::google::protobuf::uint32 CMsgVoiceAudio::section_number() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.section_number) + return section_number_; +} +inline void CMsgVoiceAudio::set_section_number(::google::protobuf::uint32 value) { + set_has_section_number(); + section_number_ = value; + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.section_number) +} + +// optional uint32 sample_rate = 5; +inline bool CMsgVoiceAudio::has_sample_rate() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CMsgVoiceAudio::set_has_sample_rate() { + _has_bits_[0] |= 0x00000010u; +} +inline void CMsgVoiceAudio::clear_has_sample_rate() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CMsgVoiceAudio::clear_sample_rate() { + sample_rate_ = 0u; + clear_has_sample_rate(); +} +inline ::google::protobuf::uint32 CMsgVoiceAudio::sample_rate() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.sample_rate) + return sample_rate_; +} +inline void CMsgVoiceAudio::set_sample_rate(::google::protobuf::uint32 value) { + set_has_sample_rate(); + sample_rate_ = value; + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.sample_rate) +} + +// optional uint32 uncompressed_sample_offset = 6; +inline bool CMsgVoiceAudio::has_uncompressed_sample_offset() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CMsgVoiceAudio::set_has_uncompressed_sample_offset() { + _has_bits_[0] |= 0x00000020u; +} +inline void CMsgVoiceAudio::clear_has_uncompressed_sample_offset() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CMsgVoiceAudio::clear_uncompressed_sample_offset() { + uncompressed_sample_offset_ = 0u; + clear_has_uncompressed_sample_offset(); +} +inline ::google::protobuf::uint32 CMsgVoiceAudio::uncompressed_sample_offset() const { + // @@protoc_insertion_point(field_get:CMsgVoiceAudio.uncompressed_sample_offset) + return uncompressed_sample_offset_; +} +inline void CMsgVoiceAudio::set_uncompressed_sample_offset(::google::protobuf::uint32 value) { + set_has_uncompressed_sample_offset(); + uncompressed_sample_offset_ = value; + // @@protoc_insertion_point(field_set:CMsgVoiceAudio.uncompressed_sample_offset) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_VoiceData + +// optional .CMsgVoiceAudio audio = 1; +inline bool CCLCMsg_VoiceData::has_audio() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_VoiceData::set_has_audio() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_VoiceData::clear_has_audio() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_VoiceData::clear_audio() { + if (audio_ != NULL) audio_->::CMsgVoiceAudio::Clear(); + clear_has_audio(); +} +inline const ::CMsgVoiceAudio& CCLCMsg_VoiceData::audio() const { + // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.audio) + return audio_ != NULL ? *audio_ : *default_instance_->audio_; +} +inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::mutable_audio() { + set_has_audio(); + if (audio_ == NULL) audio_ = new ::CMsgVoiceAudio; + // @@protoc_insertion_point(field_mutable:CCLCMsg_VoiceData.audio) + return audio_; +} +inline ::CMsgVoiceAudio* CCLCMsg_VoiceData::release_audio() { + clear_has_audio(); + ::CMsgVoiceAudio* temp = audio_; + audio_ = NULL; + return temp; +} +inline void CCLCMsg_VoiceData::set_allocated_audio(::CMsgVoiceAudio* audio) { + delete audio_; + audio_ = audio; + if (audio) { + set_has_audio(); + } else { + clear_has_audio(); + } + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_VoiceData.audio) } // optional fixed64 xuid = 2; @@ -5000,112 +7573,15 @@ inline void CCLCMsg_VoiceData::set_xuid(::google::protobuf::uint64 value) { // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.xuid) } -// optional .VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; -inline bool CCLCMsg_VoiceData::has_format() const { +// optional uint32 tick = 3; +inline bool CCLCMsg_VoiceData::has_tick() const { return (_has_bits_[0] & 0x00000004u) != 0; } -inline void CCLCMsg_VoiceData::set_has_format() { +inline void CCLCMsg_VoiceData::set_has_tick() { _has_bits_[0] |= 0x00000004u; } -inline void CCLCMsg_VoiceData::clear_has_format() { - _has_bits_[0] &= ~0x00000004u; -} -inline void CCLCMsg_VoiceData::clear_format() { - format_ = 0; - clear_has_format(); -} -inline ::VoiceDataFormat_t CCLCMsg_VoiceData::format() const { - // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.format) - return static_cast< ::VoiceDataFormat_t >(format_); -} -inline void CCLCMsg_VoiceData::set_format(::VoiceDataFormat_t value) { - assert(::VoiceDataFormat_t_IsValid(value)); - set_has_format(); - format_ = value; - // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.format) -} - -// optional int32 sequence_bytes = 4; -inline bool CCLCMsg_VoiceData::has_sequence_bytes() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void CCLCMsg_VoiceData::set_has_sequence_bytes() { - _has_bits_[0] |= 0x00000008u; -} -inline void CCLCMsg_VoiceData::clear_has_sequence_bytes() { - _has_bits_[0] &= ~0x00000008u; -} -inline void CCLCMsg_VoiceData::clear_sequence_bytes() { - sequence_bytes_ = 0; - clear_has_sequence_bytes(); -} -inline ::google::protobuf::int32 CCLCMsg_VoiceData::sequence_bytes() const { - // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.sequence_bytes) - return sequence_bytes_; -} -inline void CCLCMsg_VoiceData::set_sequence_bytes(::google::protobuf::int32 value) { - set_has_sequence_bytes(); - sequence_bytes_ = value; - // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.sequence_bytes) -} - -// optional uint32 section_number = 5; -inline bool CCLCMsg_VoiceData::has_section_number() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void CCLCMsg_VoiceData::set_has_section_number() { - _has_bits_[0] |= 0x00000010u; -} -inline void CCLCMsg_VoiceData::clear_has_section_number() { - _has_bits_[0] &= ~0x00000010u; -} -inline void CCLCMsg_VoiceData::clear_section_number() { - section_number_ = 0u; - clear_has_section_number(); -} -inline ::google::protobuf::uint32 CCLCMsg_VoiceData::section_number() const { - // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.section_number) - return section_number_; -} -inline void CCLCMsg_VoiceData::set_section_number(::google::protobuf::uint32 value) { - set_has_section_number(); - section_number_ = value; - // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.section_number) -} - -// optional uint32 uncompressed_sample_offset = 6; -inline bool CCLCMsg_VoiceData::has_uncompressed_sample_offset() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void CCLCMsg_VoiceData::set_has_uncompressed_sample_offset() { - _has_bits_[0] |= 0x00000020u; -} -inline void CCLCMsg_VoiceData::clear_has_uncompressed_sample_offset() { - _has_bits_[0] &= ~0x00000020u; -} -inline void CCLCMsg_VoiceData::clear_uncompressed_sample_offset() { - uncompressed_sample_offset_ = 0u; - clear_has_uncompressed_sample_offset(); -} -inline ::google::protobuf::uint32 CCLCMsg_VoiceData::uncompressed_sample_offset() const { - // @@protoc_insertion_point(field_get:CCLCMsg_VoiceData.uncompressed_sample_offset) - return uncompressed_sample_offset_; -} -inline void CCLCMsg_VoiceData::set_uncompressed_sample_offset(::google::protobuf::uint32 value) { - set_has_uncompressed_sample_offset(); - uncompressed_sample_offset_ = value; - // @@protoc_insertion_point(field_set:CCLCMsg_VoiceData.uncompressed_sample_offset) -} - -// optional uint32 tick = 7; -inline bool CCLCMsg_VoiceData::has_tick() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void CCLCMsg_VoiceData::set_has_tick() { - _has_bits_[0] |= 0x00000040u; -} inline void CCLCMsg_VoiceData::clear_has_tick() { - _has_bits_[0] &= ~0x00000040u; + _has_bits_[0] &= ~0x00000004u; } inline void CCLCMsg_VoiceData::clear_tick() { tick_ = 0u; @@ -5671,45 +8147,80 @@ inline void CCLCMsg_LoadingProgress::set_progress(::google::protobuf::int32 valu // CCLCMsg_SplitPlayerConnect -// optional .CMsg_CVars convars = 1; -inline bool CCLCMsg_SplitPlayerConnect::has_convars() const { +// optional string playername = 1; +inline bool CCLCMsg_SplitPlayerConnect::has_playername() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void CCLCMsg_SplitPlayerConnect::set_has_convars() { +inline void CCLCMsg_SplitPlayerConnect::set_has_playername() { _has_bits_[0] |= 0x00000001u; } -inline void CCLCMsg_SplitPlayerConnect::clear_has_convars() { +inline void CCLCMsg_SplitPlayerConnect::clear_has_playername() { _has_bits_[0] &= ~0x00000001u; } -inline void CCLCMsg_SplitPlayerConnect::clear_convars() { - if (convars_ != NULL) convars_->::CMsg_CVars::Clear(); - clear_has_convars(); -} -inline const ::CMsg_CVars& CCLCMsg_SplitPlayerConnect::convars() const { - // @@protoc_insertion_point(field_get:CCLCMsg_SplitPlayerConnect.convars) - return convars_ != NULL ? *convars_ : *default_instance_->convars_; -} -inline ::CMsg_CVars* CCLCMsg_SplitPlayerConnect::mutable_convars() { - set_has_convars(); - if (convars_ == NULL) convars_ = new ::CMsg_CVars; - // @@protoc_insertion_point(field_mutable:CCLCMsg_SplitPlayerConnect.convars) - return convars_; -} -inline ::CMsg_CVars* CCLCMsg_SplitPlayerConnect::release_convars() { - clear_has_convars(); - ::CMsg_CVars* temp = convars_; - convars_ = NULL; - return temp; -} -inline void CCLCMsg_SplitPlayerConnect::set_allocated_convars(::CMsg_CVars* convars) { - delete convars_; - convars_ = convars; - if (convars) { - set_has_convars(); - } else { - clear_has_convars(); +inline void CCLCMsg_SplitPlayerConnect::clear_playername() { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + playername_->clear(); } - // @@protoc_insertion_point(field_set_allocated:CCLCMsg_SplitPlayerConnect.convars) + clear_has_playername(); +} +inline const ::std::string& CCLCMsg_SplitPlayerConnect::playername() const { + // @@protoc_insertion_point(field_get:CCLCMsg_SplitPlayerConnect.playername) + return *playername_; +} +inline void CCLCMsg_SplitPlayerConnect::set_playername(const ::std::string& value) { + set_has_playername(); + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + playername_ = new ::std::string; + } + playername_->assign(value); + // @@protoc_insertion_point(field_set:CCLCMsg_SplitPlayerConnect.playername) +} +inline void CCLCMsg_SplitPlayerConnect::set_playername(const char* value) { + set_has_playername(); + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + playername_ = new ::std::string; + } + playername_->assign(value); + // @@protoc_insertion_point(field_set_char:CCLCMsg_SplitPlayerConnect.playername) +} +inline void CCLCMsg_SplitPlayerConnect::set_playername(const char* value, size_t size) { + set_has_playername(); + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + playername_ = new ::std::string; + } + playername_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CCLCMsg_SplitPlayerConnect.playername) +} +inline ::std::string* CCLCMsg_SplitPlayerConnect::mutable_playername() { + set_has_playername(); + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + playername_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CCLCMsg_SplitPlayerConnect.playername) + return playername_; +} +inline ::std::string* CCLCMsg_SplitPlayerConnect::release_playername() { + clear_has_playername(); + if (playername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = playername_; + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CCLCMsg_SplitPlayerConnect::set_allocated_playername(::std::string* playername) { + if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete playername_; + } + if (playername) { + set_has_playername(); + playername_ = playername; + } else { + clear_has_playername(); + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_SplitPlayerConnect.playername) } // ------------------------------------------------------------------- @@ -5818,6 +8329,199 @@ inline void CCLCMsg_ClientMessage::set_allocated_data(::std::string* data) { // ------------------------------------------------------------------- +// CCLCMsg_SplitPlayerDisconnect + +// optional int32 slot = 1; +inline bool CCLCMsg_SplitPlayerDisconnect::has_slot() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_SplitPlayerDisconnect::set_has_slot() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_SplitPlayerDisconnect::clear_has_slot() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_SplitPlayerDisconnect::clear_slot() { + slot_ = 0; + clear_has_slot(); +} +inline ::google::protobuf::int32 CCLCMsg_SplitPlayerDisconnect::slot() const { + // @@protoc_insertion_point(field_get:CCLCMsg_SplitPlayerDisconnect.slot) + return slot_; +} +inline void CCLCMsg_SplitPlayerDisconnect::set_slot(::google::protobuf::int32 value) { + set_has_slot(); + slot_ = value; + // @@protoc_insertion_point(field_set:CCLCMsg_SplitPlayerDisconnect.slot) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_ServerStatus + +// optional bool simplified = 1; +inline bool CCLCMsg_ServerStatus::has_simplified() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_ServerStatus::set_has_simplified() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_ServerStatus::clear_has_simplified() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_ServerStatus::clear_simplified() { + simplified_ = false; + clear_has_simplified(); +} +inline bool CCLCMsg_ServerStatus::simplified() const { + // @@protoc_insertion_point(field_get:CCLCMsg_ServerStatus.simplified) + return simplified_; +} +inline void CCLCMsg_ServerStatus::set_simplified(bool value) { + set_has_simplified(); + simplified_ = value; + // @@protoc_insertion_point(field_set:CCLCMsg_ServerStatus.simplified) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_ServerPing + +// ------------------------------------------------------------------- + +// CCLCMsg_RequestPause + +// optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; +inline bool CCLCMsg_RequestPause::has_pause_type() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_RequestPause::set_has_pause_type() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_RequestPause::clear_has_pause_type() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_RequestPause::clear_pause_type() { + pause_type_ = 0; + clear_has_pause_type(); +} +inline ::RequestPause_t CCLCMsg_RequestPause::pause_type() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RequestPause.pause_type) + return static_cast< ::RequestPause_t >(pause_type_); +} +inline void CCLCMsg_RequestPause::set_pause_type(::RequestPause_t value) { + assert(::RequestPause_t_IsValid(value)); + set_has_pause_type(); + pause_type_ = value; + // @@protoc_insertion_point(field_set:CCLCMsg_RequestPause.pause_type) +} + +// optional int32 pause_group = 2; +inline bool CCLCMsg_RequestPause::has_pause_group() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CCLCMsg_RequestPause::set_has_pause_group() { + _has_bits_[0] |= 0x00000002u; +} +inline void CCLCMsg_RequestPause::clear_has_pause_group() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CCLCMsg_RequestPause::clear_pause_group() { + pause_group_ = 0; + clear_has_pause_group(); +} +inline ::google::protobuf::int32 CCLCMsg_RequestPause::pause_group() const { + // @@protoc_insertion_point(field_get:CCLCMsg_RequestPause.pause_group) + return pause_group_; +} +inline void CCLCMsg_RequestPause::set_pause_group(::google::protobuf::int32 value) { + set_has_pause_group(); + pause_group_ = value; + // @@protoc_insertion_point(field_set:CCLCMsg_RequestPause.pause_group) +} + +// ------------------------------------------------------------------- + +// CCLCMsg_CmdKeyValues + +// optional bytes data = 1; +inline bool CCLCMsg_CmdKeyValues::has_data() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CCLCMsg_CmdKeyValues::set_has_data() { + _has_bits_[0] |= 0x00000001u; +} +inline void CCLCMsg_CmdKeyValues::clear_has_data() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CCLCMsg_CmdKeyValues::clear_data() { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_->clear(); + } + clear_has_data(); +} +inline const ::std::string& CCLCMsg_CmdKeyValues::data() const { + // @@protoc_insertion_point(field_get:CCLCMsg_CmdKeyValues.data) + return *data_; +} +inline void CCLCMsg_CmdKeyValues::set_data(const ::std::string& value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(value); + // @@protoc_insertion_point(field_set:CCLCMsg_CmdKeyValues.data) +} +inline void CCLCMsg_CmdKeyValues::set_data(const char* value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(value); + // @@protoc_insertion_point(field_set_char:CCLCMsg_CmdKeyValues.data) +} +inline void CCLCMsg_CmdKeyValues::set_data(const void* value, size_t size) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CCLCMsg_CmdKeyValues.data) +} +inline ::std::string* CCLCMsg_CmdKeyValues::mutable_data() { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CCLCMsg_CmdKeyValues.data) + return data_; +} +inline ::std::string* CCLCMsg_CmdKeyValues::release_data() { + clear_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = data_; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CCLCMsg_CmdKeyValues::set_allocated_data(::std::string* data) { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete data_; + } + if (data) { + set_has_data(); + data_ = data; + } else { + clear_has_data(); + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CCLCMsg_CmdKeyValues.data) +} + +// ------------------------------------------------------------------- + // CSVCMsg_ServerInfo // optional int32 protocol = 1; @@ -6512,6 +9216,123 @@ inline void CSVCMsg_ServerInfo::set_allocated_addon_name(::std::string* addon_na // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.addon_name) } +// optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; +inline bool CSVCMsg_ServerInfo::has_game_session_config() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_game_session_config() { + _has_bits_[0] |= 0x00040000u; +} +inline void CSVCMsg_ServerInfo::clear_has_game_session_config() { + _has_bits_[0] &= ~0x00040000u; +} +inline void CSVCMsg_ServerInfo::clear_game_session_config() { + if (game_session_config_ != NULL) game_session_config_->::CSVCMsg_GameSessionConfiguration::Clear(); + clear_has_game_session_config(); +} +inline const ::CSVCMsg_GameSessionConfiguration& CSVCMsg_ServerInfo::game_session_config() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.game_session_config) + return game_session_config_ != NULL ? *game_session_config_ : *default_instance_->game_session_config_; +} +inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::mutable_game_session_config() { + set_has_game_session_config(); + if (game_session_config_ == NULL) game_session_config_ = new ::CSVCMsg_GameSessionConfiguration; + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.game_session_config) + return game_session_config_; +} +inline ::CSVCMsg_GameSessionConfiguration* CSVCMsg_ServerInfo::release_game_session_config() { + clear_has_game_session_config(); + ::CSVCMsg_GameSessionConfiguration* temp = game_session_config_; + game_session_config_ = NULL; + return temp; +} +inline void CSVCMsg_ServerInfo::set_allocated_game_session_config(::CSVCMsg_GameSessionConfiguration* game_session_config) { + delete game_session_config_; + game_session_config_ = game_session_config; + if (game_session_config) { + set_has_game_session_config(); + } else { + clear_has_game_session_config(); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.game_session_config) +} + +// optional bytes game_session_manifest = 20; +inline bool CSVCMsg_ServerInfo::has_game_session_manifest() const { + return (_has_bits_[0] & 0x00080000u) != 0; +} +inline void CSVCMsg_ServerInfo::set_has_game_session_manifest() { + _has_bits_[0] |= 0x00080000u; +} +inline void CSVCMsg_ServerInfo::clear_has_game_session_manifest() { + _has_bits_[0] &= ~0x00080000u; +} +inline void CSVCMsg_ServerInfo::clear_game_session_manifest() { + if (game_session_manifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + game_session_manifest_->clear(); + } + clear_has_game_session_manifest(); +} +inline const ::std::string& CSVCMsg_ServerInfo::game_session_manifest() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ServerInfo.game_session_manifest) + return *game_session_manifest_; +} +inline void CSVCMsg_ServerInfo::set_game_session_manifest(const ::std::string& value) { + set_has_game_session_manifest(); + if (game_session_manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + game_session_manifest_ = new ::std::string; + } + game_session_manifest_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ServerInfo.game_session_manifest) +} +inline void CSVCMsg_ServerInfo::set_game_session_manifest(const char* value) { + set_has_game_session_manifest(); + if (game_session_manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + game_session_manifest_ = new ::std::string; + } + game_session_manifest_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_ServerInfo.game_session_manifest) +} +inline void CSVCMsg_ServerInfo::set_game_session_manifest(const void* value, size_t size) { + set_has_game_session_manifest(); + if (game_session_manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + game_session_manifest_ = new ::std::string; + } + game_session_manifest_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_ServerInfo.game_session_manifest) +} +inline ::std::string* CSVCMsg_ServerInfo::mutable_game_session_manifest() { + set_has_game_session_manifest(); + if (game_session_manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + game_session_manifest_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_ServerInfo.game_session_manifest) + return game_session_manifest_; +} +inline ::std::string* CSVCMsg_ServerInfo::release_game_session_manifest() { + clear_has_game_session_manifest(); + if (game_session_manifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = game_session_manifest_; + game_session_manifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_ServerInfo::set_allocated_game_session_manifest(::std::string* game_session_manifest) { + if (game_session_manifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete game_session_manifest_; + } + if (game_session_manifest) { + set_has_game_session_manifest(); + game_session_manifest_ = game_session_manifest; + } else { + clear_has_game_session_manifest(); + game_session_manifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ServerInfo.game_session_manifest) +} + // ------------------------------------------------------------------- // CSVCMsg_ClassInfo_class_t @@ -7398,6 +10219,54 @@ inline void CSVCMsg_Sounds_sounddata_t::set_is_ambient(bool value) { // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.is_ambient) } +// optional uint32 guid = 18; +inline bool CSVCMsg_Sounds_sounddata_t::has_guid() const { + return (_has_bits_[0] & 0x00020000u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_guid() { + _has_bits_[0] |= 0x00020000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_guid() { + _has_bits_[0] &= ~0x00020000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_guid() { + guid_ = 0u; + clear_has_guid(); +} +inline ::google::protobuf::uint32 CSVCMsg_Sounds_sounddata_t::guid() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.guid) + return guid_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_guid(::google::protobuf::uint32 value) { + set_has_guid(); + guid_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.guid) +} + +// optional fixed64 sound_resource_id = 19; +inline bool CSVCMsg_Sounds_sounddata_t::has_sound_resource_id() const { + return (_has_bits_[0] & 0x00040000u) != 0; +} +inline void CSVCMsg_Sounds_sounddata_t::set_has_sound_resource_id() { + _has_bits_[0] |= 0x00040000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_has_sound_resource_id() { + _has_bits_[0] &= ~0x00040000u; +} +inline void CSVCMsg_Sounds_sounddata_t::clear_sound_resource_id() { + sound_resource_id_ = GOOGLE_ULONGLONG(0); + clear_has_sound_resource_id(); +} +inline ::google::protobuf::uint64 CSVCMsg_Sounds_sounddata_t::sound_resource_id() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Sounds.sounddata_t.sound_resource_id) + return sound_resource_id_; +} +inline void CSVCMsg_Sounds_sounddata_t::set_sound_resource_id(::google::protobuf::uint64 value) { + set_has_sound_resource_id(); + sound_resource_id_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_Sounds.sounddata_t.sound_resource_id) +} + // ------------------------------------------------------------------- // CSVCMsg_Sounds @@ -7484,6 +10353,31 @@ inline void CSVCMsg_Prefetch::set_sound_index(::google::protobuf::int32 value) { // @@protoc_insertion_point(field_set:CSVCMsg_Prefetch.sound_index) } +// optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; +inline bool CSVCMsg_Prefetch::has_resource_type() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_Prefetch::set_has_resource_type() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_Prefetch::clear_has_resource_type() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_Prefetch::clear_resource_type() { + resource_type_ = 0; + clear_has_resource_type(); +} +inline ::PrefetchType CSVCMsg_Prefetch::resource_type() const { + // @@protoc_insertion_point(field_get:CSVCMsg_Prefetch.resource_type) + return static_cast< ::PrefetchType >(resource_type_); +} +inline void CSVCMsg_Prefetch::set_resource_type(::PrefetchType value) { + assert(::PrefetchType_IsValid(value)); + set_has_resource_type(); + resource_type_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_Prefetch.resource_type) +} + // ------------------------------------------------------------------- // CSVCMsg_SetView @@ -7512,6 +10406,30 @@ inline void CSVCMsg_SetView::set_entity_index(::google::protobuf::int32 value) { // @@protoc_insertion_point(field_set:CSVCMsg_SetView.entity_index) } +// optional int32 slot = 2; +inline bool CSVCMsg_SetView::has_slot() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_SetView::set_has_slot() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_SetView::clear_has_slot() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_SetView::clear_slot() { + slot_ = 0; + clear_has_slot(); +} +inline ::google::protobuf::int32 CSVCMsg_SetView::slot() const { + // @@protoc_insertion_point(field_get:CSVCMsg_SetView.slot) + return slot_; +} +inline void CSVCMsg_SetView::set_slot(::google::protobuf::int32 value) { + set_has_slot(); + slot_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_SetView.slot) +} + // ------------------------------------------------------------------- // CSVCMsg_FixAngle @@ -9054,6 +11972,54 @@ inline void CSVCMsg_PacketEntities::set_pending_full_frame(bool value) { // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.pending_full_frame) } +// optional uint32 active_spawngroup_handle = 9; +inline bool CSVCMsg_PacketEntities::has_active_spawngroup_handle() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_active_spawngroup_handle() { + _has_bits_[0] |= 0x00000100u; +} +inline void CSVCMsg_PacketEntities::clear_has_active_spawngroup_handle() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CSVCMsg_PacketEntities::clear_active_spawngroup_handle() { + active_spawngroup_handle_ = 0u; + clear_has_active_spawngroup_handle(); +} +inline ::google::protobuf::uint32 CSVCMsg_PacketEntities::active_spawngroup_handle() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.active_spawngroup_handle) + return active_spawngroup_handle_; +} +inline void CSVCMsg_PacketEntities::set_active_spawngroup_handle(::google::protobuf::uint32 value) { + set_has_active_spawngroup_handle(); + active_spawngroup_handle_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.active_spawngroup_handle) +} + +// optional uint32 max_spawngroup_creationsequence = 10; +inline bool CSVCMsg_PacketEntities::has_max_spawngroup_creationsequence() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void CSVCMsg_PacketEntities::set_has_max_spawngroup_creationsequence() { + _has_bits_[0] |= 0x00000200u; +} +inline void CSVCMsg_PacketEntities::clear_has_max_spawngroup_creationsequence() { + _has_bits_[0] &= ~0x00000200u; +} +inline void CSVCMsg_PacketEntities::clear_max_spawngroup_creationsequence() { + max_spawngroup_creationsequence_ = 0u; + clear_has_max_spawngroup_creationsequence(); +} +inline ::google::protobuf::uint32 CSVCMsg_PacketEntities::max_spawngroup_creationsequence() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketEntities.max_spawngroup_creationsequence) + return max_spawngroup_creationsequence_; +} +inline void CSVCMsg_PacketEntities::set_max_spawngroup_creationsequence(::google::protobuf::uint32 value) { + set_has_max_spawngroup_creationsequence(); + max_spawngroup_creationsequence_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_PacketEntities.max_spawngroup_creationsequence) +} + // ------------------------------------------------------------------- // CSVCMsg_TempEntities @@ -9262,39 +12228,15 @@ inline void CSVCMsg_CreateStringTable::set_allocated_name(::std::string* name) { // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CreateStringTable.name) } -// optional int32 max_entries = 2; -inline bool CSVCMsg_CreateStringTable::has_max_entries() const { +// optional int32 num_entries = 2; +inline bool CSVCMsg_CreateStringTable::has_num_entries() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void CSVCMsg_CreateStringTable::set_has_max_entries() { +inline void CSVCMsg_CreateStringTable::set_has_num_entries() { _has_bits_[0] |= 0x00000002u; } -inline void CSVCMsg_CreateStringTable::clear_has_max_entries() { - _has_bits_[0] &= ~0x00000002u; -} -inline void CSVCMsg_CreateStringTable::clear_max_entries() { - max_entries_ = 0; - clear_has_max_entries(); -} -inline ::google::protobuf::int32 CSVCMsg_CreateStringTable::max_entries() const { - // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.max_entries) - return max_entries_; -} -inline void CSVCMsg_CreateStringTable::set_max_entries(::google::protobuf::int32 value) { - set_has_max_entries(); - max_entries_ = value; - // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.max_entries) -} - -// optional int32 num_entries = 3; -inline bool CSVCMsg_CreateStringTable::has_num_entries() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void CSVCMsg_CreateStringTable::set_has_num_entries() { - _has_bits_[0] |= 0x00000004u; -} inline void CSVCMsg_CreateStringTable::clear_has_num_entries() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000002u; } inline void CSVCMsg_CreateStringTable::clear_num_entries() { num_entries_ = 0; @@ -9310,15 +12252,15 @@ inline void CSVCMsg_CreateStringTable::set_num_entries(::google::protobuf::int32 // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.num_entries) } -// optional bool user_data_fixed_size = 4; +// optional bool user_data_fixed_size = 3; inline bool CSVCMsg_CreateStringTable::has_user_data_fixed_size() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void CSVCMsg_CreateStringTable::set_has_user_data_fixed_size() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000004u; } inline void CSVCMsg_CreateStringTable::clear_has_user_data_fixed_size() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000004u; } inline void CSVCMsg_CreateStringTable::clear_user_data_fixed_size() { user_data_fixed_size_ = false; @@ -9334,15 +12276,15 @@ inline void CSVCMsg_CreateStringTable::set_user_data_fixed_size(bool value) { // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_fixed_size) } -// optional int32 user_data_size = 5; +// optional int32 user_data_size = 4; inline bool CSVCMsg_CreateStringTable::has_user_data_size() const { - return (_has_bits_[0] & 0x00000010u) != 0; + return (_has_bits_[0] & 0x00000008u) != 0; } inline void CSVCMsg_CreateStringTable::set_has_user_data_size() { - _has_bits_[0] |= 0x00000010u; + _has_bits_[0] |= 0x00000008u; } inline void CSVCMsg_CreateStringTable::clear_has_user_data_size() { - _has_bits_[0] &= ~0x00000010u; + _has_bits_[0] &= ~0x00000008u; } inline void CSVCMsg_CreateStringTable::clear_user_data_size() { user_data_size_ = 0; @@ -9358,15 +12300,15 @@ inline void CSVCMsg_CreateStringTable::set_user_data_size(::google::protobuf::in // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_size) } -// optional int32 user_data_size_bits = 6; +// optional int32 user_data_size_bits = 5; inline bool CSVCMsg_CreateStringTable::has_user_data_size_bits() const { - return (_has_bits_[0] & 0x00000020u) != 0; + return (_has_bits_[0] & 0x00000010u) != 0; } inline void CSVCMsg_CreateStringTable::set_has_user_data_size_bits() { - _has_bits_[0] |= 0x00000020u; + _has_bits_[0] |= 0x00000010u; } inline void CSVCMsg_CreateStringTable::clear_has_user_data_size_bits() { - _has_bits_[0] &= ~0x00000020u; + _has_bits_[0] &= ~0x00000010u; } inline void CSVCMsg_CreateStringTable::clear_user_data_size_bits() { user_data_size_bits_ = 0; @@ -9382,15 +12324,15 @@ inline void CSVCMsg_CreateStringTable::set_user_data_size_bits(::google::protobu // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.user_data_size_bits) } -// optional int32 flags = 7; +// optional int32 flags = 6; inline bool CSVCMsg_CreateStringTable::has_flags() const { - return (_has_bits_[0] & 0x00000040u) != 0; + return (_has_bits_[0] & 0x00000020u) != 0; } inline void CSVCMsg_CreateStringTable::set_has_flags() { - _has_bits_[0] |= 0x00000040u; + _has_bits_[0] |= 0x00000020u; } inline void CSVCMsg_CreateStringTable::clear_has_flags() { - _has_bits_[0] &= ~0x00000040u; + _has_bits_[0] &= ~0x00000020u; } inline void CSVCMsg_CreateStringTable::clear_flags() { flags_ = 0; @@ -9406,15 +12348,15 @@ inline void CSVCMsg_CreateStringTable::set_flags(::google::protobuf::int32 value // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.flags) } -// optional bytes string_data = 8; +// optional bytes string_data = 7; inline bool CSVCMsg_CreateStringTable::has_string_data() const { - return (_has_bits_[0] & 0x00000080u) != 0; + return (_has_bits_[0] & 0x00000040u) != 0; } inline void CSVCMsg_CreateStringTable::set_has_string_data() { - _has_bits_[0] |= 0x00000080u; + _has_bits_[0] |= 0x00000040u; } inline void CSVCMsg_CreateStringTable::clear_has_string_data() { - _has_bits_[0] &= ~0x00000080u; + _has_bits_[0] &= ~0x00000040u; } inline void CSVCMsg_CreateStringTable::clear_string_data() { if (string_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { @@ -9482,6 +12424,54 @@ inline void CSVCMsg_CreateStringTable::set_allocated_string_data(::std::string* // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CreateStringTable.string_data) } +// optional int32 uncompressed_size = 8; +inline bool CSVCMsg_CreateStringTable::has_uncompressed_size() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_uncompressed_size() { + _has_bits_[0] |= 0x00000080u; +} +inline void CSVCMsg_CreateStringTable::clear_has_uncompressed_size() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CSVCMsg_CreateStringTable::clear_uncompressed_size() { + uncompressed_size_ = 0; + clear_has_uncompressed_size(); +} +inline ::google::protobuf::int32 CSVCMsg_CreateStringTable::uncompressed_size() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.uncompressed_size) + return uncompressed_size_; +} +inline void CSVCMsg_CreateStringTable::set_uncompressed_size(::google::protobuf::int32 value) { + set_has_uncompressed_size(); + uncompressed_size_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.uncompressed_size) +} + +// optional bool data_compressed = 9; +inline bool CSVCMsg_CreateStringTable::has_data_compressed() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CSVCMsg_CreateStringTable::set_has_data_compressed() { + _has_bits_[0] |= 0x00000100u; +} +inline void CSVCMsg_CreateStringTable::clear_has_data_compressed() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CSVCMsg_CreateStringTable::clear_data_compressed() { + data_compressed_ = false; + clear_has_data_compressed(); +} +inline bool CSVCMsg_CreateStringTable::data_compressed() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CreateStringTable.data_compressed) + return data_compressed_; +} +inline void CSVCMsg_CreateStringTable::set_data_compressed(bool value) { + set_has_data_compressed(); + data_compressed_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_CreateStringTable.data_compressed) +} + // ------------------------------------------------------------------- // CSVCMsg_UpdateStringTable @@ -9614,16 +12604,57 @@ inline void CSVCMsg_UpdateStringTable::set_allocated_string_data(::std::string* // CSVCMsg_VoiceData -// optional int32 client = 1; -inline bool CSVCMsg_VoiceData::has_client() const { +// optional .CMsgVoiceAudio audio = 1; +inline bool CSVCMsg_VoiceData::has_audio() const { return (_has_bits_[0] & 0x00000001u) != 0; } -inline void CSVCMsg_VoiceData::set_has_client() { +inline void CSVCMsg_VoiceData::set_has_audio() { _has_bits_[0] |= 0x00000001u; } -inline void CSVCMsg_VoiceData::clear_has_client() { +inline void CSVCMsg_VoiceData::clear_has_audio() { _has_bits_[0] &= ~0x00000001u; } +inline void CSVCMsg_VoiceData::clear_audio() { + if (audio_ != NULL) audio_->::CMsgVoiceAudio::Clear(); + clear_has_audio(); +} +inline const ::CMsgVoiceAudio& CSVCMsg_VoiceData::audio() const { + // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.audio) + return audio_ != NULL ? *audio_ : *default_instance_->audio_; +} +inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::mutable_audio() { + set_has_audio(); + if (audio_ == NULL) audio_ = new ::CMsgVoiceAudio; + // @@protoc_insertion_point(field_mutable:CSVCMsg_VoiceData.audio) + return audio_; +} +inline ::CMsgVoiceAudio* CSVCMsg_VoiceData::release_audio() { + clear_has_audio(); + ::CMsgVoiceAudio* temp = audio_; + audio_ = NULL; + return temp; +} +inline void CSVCMsg_VoiceData::set_allocated_audio(::CMsgVoiceAudio* audio) { + delete audio_; + audio_ = audio; + if (audio) { + set_has_audio(); + } else { + clear_has_audio(); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_VoiceData.audio) +} + +// optional int32 client = 2; +inline bool CSVCMsg_VoiceData::has_client() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_VoiceData::set_has_client() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_VoiceData::clear_has_client() { + _has_bits_[0] &= ~0x00000002u; +} inline void CSVCMsg_VoiceData::clear_client() { client_ = 0; clear_has_client(); @@ -9638,15 +12669,15 @@ inline void CSVCMsg_VoiceData::set_client(::google::protobuf::int32 value) { // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.client) } -// optional bool proximity = 2; +// optional bool proximity = 3; inline bool CSVCMsg_VoiceData::has_proximity() const { - return (_has_bits_[0] & 0x00000002u) != 0; + return (_has_bits_[0] & 0x00000004u) != 0; } inline void CSVCMsg_VoiceData::set_has_proximity() { - _has_bits_[0] |= 0x00000002u; + _has_bits_[0] |= 0x00000004u; } inline void CSVCMsg_VoiceData::clear_has_proximity() { - _has_bits_[0] &= ~0x00000002u; + _has_bits_[0] &= ~0x00000004u; } inline void CSVCMsg_VoiceData::clear_proximity() { proximity_ = false; @@ -9662,15 +12693,15 @@ inline void CSVCMsg_VoiceData::set_proximity(bool value) { // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.proximity) } -// optional fixed64 xuid = 3; +// optional fixed64 xuid = 4; inline bool CSVCMsg_VoiceData::has_xuid() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000008u) != 0; } inline void CSVCMsg_VoiceData::set_has_xuid() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000008u; } inline void CSVCMsg_VoiceData::clear_has_xuid() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000008u; } inline void CSVCMsg_VoiceData::clear_xuid() { xuid_ = GOOGLE_ULONGLONG(0); @@ -9686,15 +12717,15 @@ inline void CSVCMsg_VoiceData::set_xuid(::google::protobuf::uint64 value) { // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.xuid) } -// optional int32 audible_mask = 4; +// optional int32 audible_mask = 5; inline bool CSVCMsg_VoiceData::has_audible_mask() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000010u) != 0; } inline void CSVCMsg_VoiceData::set_has_audible_mask() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000010u; } inline void CSVCMsg_VoiceData::clear_has_audible_mask() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000010u; } inline void CSVCMsg_VoiceData::clear_audible_mask() { audible_mask_ = 0; @@ -9710,188 +12741,15 @@ inline void CSVCMsg_VoiceData::set_audible_mask(::google::protobuf::int32 value) // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.audible_mask) } -// optional bytes voice_data = 5; -inline bool CSVCMsg_VoiceData::has_voice_data() const { - return (_has_bits_[0] & 0x00000010u) != 0; -} -inline void CSVCMsg_VoiceData::set_has_voice_data() { - _has_bits_[0] |= 0x00000010u; -} -inline void CSVCMsg_VoiceData::clear_has_voice_data() { - _has_bits_[0] &= ~0x00000010u; -} -inline void CSVCMsg_VoiceData::clear_voice_data() { - if (voice_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_data_->clear(); - } - clear_has_voice_data(); -} -inline const ::std::string& CSVCMsg_VoiceData::voice_data() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.voice_data) - return *voice_data_; -} -inline void CSVCMsg_VoiceData::set_voice_data(const ::std::string& value) { - set_has_voice_data(); - if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_data_ = new ::std::string; - } - voice_data_->assign(value); - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.voice_data) -} -inline void CSVCMsg_VoiceData::set_voice_data(const char* value) { - set_has_voice_data(); - if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_data_ = new ::std::string; - } - voice_data_->assign(value); - // @@protoc_insertion_point(field_set_char:CSVCMsg_VoiceData.voice_data) -} -inline void CSVCMsg_VoiceData::set_voice_data(const void* value, size_t size) { - set_has_voice_data(); - if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_data_ = new ::std::string; - } - voice_data_->assign(reinterpret_cast(value), size); - // @@protoc_insertion_point(field_set_pointer:CSVCMsg_VoiceData.voice_data) -} -inline ::std::string* CSVCMsg_VoiceData::mutable_voice_data() { - set_has_voice_data(); - if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - voice_data_ = new ::std::string; - } - // @@protoc_insertion_point(field_mutable:CSVCMsg_VoiceData.voice_data) - return voice_data_; -} -inline ::std::string* CSVCMsg_VoiceData::release_voice_data() { - clear_has_voice_data(); - if (voice_data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - return NULL; - } else { - ::std::string* temp = voice_data_; - voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - return temp; - } -} -inline void CSVCMsg_VoiceData::set_allocated_voice_data(::std::string* voice_data) { - if (voice_data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { - delete voice_data_; - } - if (voice_data) { - set_has_voice_data(); - voice_data_ = voice_data; - } else { - clear_has_voice_data(); - voice_data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); - } - // @@protoc_insertion_point(field_set_allocated:CSVCMsg_VoiceData.voice_data) -} - -// optional .VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; -inline bool CSVCMsg_VoiceData::has_format() const { +// optional uint32 tick = 6; +inline bool CSVCMsg_VoiceData::has_tick() const { return (_has_bits_[0] & 0x00000020u) != 0; } -inline void CSVCMsg_VoiceData::set_has_format() { +inline void CSVCMsg_VoiceData::set_has_tick() { _has_bits_[0] |= 0x00000020u; } -inline void CSVCMsg_VoiceData::clear_has_format() { - _has_bits_[0] &= ~0x00000020u; -} -inline void CSVCMsg_VoiceData::clear_format() { - format_ = 0; - clear_has_format(); -} -inline ::VoiceDataFormat_t CSVCMsg_VoiceData::format() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.format) - return static_cast< ::VoiceDataFormat_t >(format_); -} -inline void CSVCMsg_VoiceData::set_format(::VoiceDataFormat_t value) { - assert(::VoiceDataFormat_t_IsValid(value)); - set_has_format(); - format_ = value; - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.format) -} - -// optional int32 sequence_bytes = 7; -inline bool CSVCMsg_VoiceData::has_sequence_bytes() const { - return (_has_bits_[0] & 0x00000040u) != 0; -} -inline void CSVCMsg_VoiceData::set_has_sequence_bytes() { - _has_bits_[0] |= 0x00000040u; -} -inline void CSVCMsg_VoiceData::clear_has_sequence_bytes() { - _has_bits_[0] &= ~0x00000040u; -} -inline void CSVCMsg_VoiceData::clear_sequence_bytes() { - sequence_bytes_ = 0; - clear_has_sequence_bytes(); -} -inline ::google::protobuf::int32 CSVCMsg_VoiceData::sequence_bytes() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.sequence_bytes) - return sequence_bytes_; -} -inline void CSVCMsg_VoiceData::set_sequence_bytes(::google::protobuf::int32 value) { - set_has_sequence_bytes(); - sequence_bytes_ = value; - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.sequence_bytes) -} - -// optional uint32 section_number = 8; -inline bool CSVCMsg_VoiceData::has_section_number() const { - return (_has_bits_[0] & 0x00000080u) != 0; -} -inline void CSVCMsg_VoiceData::set_has_section_number() { - _has_bits_[0] |= 0x00000080u; -} -inline void CSVCMsg_VoiceData::clear_has_section_number() { - _has_bits_[0] &= ~0x00000080u; -} -inline void CSVCMsg_VoiceData::clear_section_number() { - section_number_ = 0u; - clear_has_section_number(); -} -inline ::google::protobuf::uint32 CSVCMsg_VoiceData::section_number() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.section_number) - return section_number_; -} -inline void CSVCMsg_VoiceData::set_section_number(::google::protobuf::uint32 value) { - set_has_section_number(); - section_number_ = value; - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.section_number) -} - -// optional uint32 uncompressed_sample_offset = 9; -inline bool CSVCMsg_VoiceData::has_uncompressed_sample_offset() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void CSVCMsg_VoiceData::set_has_uncompressed_sample_offset() { - _has_bits_[0] |= 0x00000100u; -} -inline void CSVCMsg_VoiceData::clear_has_uncompressed_sample_offset() { - _has_bits_[0] &= ~0x00000100u; -} -inline void CSVCMsg_VoiceData::clear_uncompressed_sample_offset() { - uncompressed_sample_offset_ = 0u; - clear_has_uncompressed_sample_offset(); -} -inline ::google::protobuf::uint32 CSVCMsg_VoiceData::uncompressed_sample_offset() const { - // @@protoc_insertion_point(field_get:CSVCMsg_VoiceData.uncompressed_sample_offset) - return uncompressed_sample_offset_; -} -inline void CSVCMsg_VoiceData::set_uncompressed_sample_offset(::google::protobuf::uint32 value) { - set_has_uncompressed_sample_offset(); - uncompressed_sample_offset_ = value; - // @@protoc_insertion_point(field_set:CSVCMsg_VoiceData.uncompressed_sample_offset) -} - -// optional uint32 tick = 10; -inline bool CSVCMsg_VoiceData::has_tick() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void CSVCMsg_VoiceData::set_has_tick() { - _has_bits_[0] |= 0x00000200u; -} inline void CSVCMsg_VoiceData::clear_has_tick() { - _has_bits_[0] &= ~0x00000200u; + _has_bits_[0] &= ~0x00000020u; } inline void CSVCMsg_VoiceData::clear_tick() { tick_ = 0u; @@ -9959,6 +12817,30 @@ inline void CSVCMsg_PacketReliable::set_messagessize(::google::protobuf::int32 v // @@protoc_insertion_point(field_set:CSVCMsg_PacketReliable.messagessize) } +// optional bool state = 3; +inline bool CSVCMsg_PacketReliable::has_state() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_PacketReliable::set_has_state() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_PacketReliable::clear_has_state() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_PacketReliable::clear_state() { + state_ = false; + clear_has_state(); +} +inline bool CSVCMsg_PacketReliable::state() const { + // @@protoc_insertion_point(field_get:CSVCMsg_PacketReliable.state) + return state_; +} +inline void CSVCMsg_PacketReliable::set_state(bool value) { + set_has_state(); + state_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_PacketReliable.state) +} + // ------------------------------------------------------------------- // CSVCMsg_FullFrameSplit @@ -10111,6 +12993,1604 @@ inline void CSVCMsg_FullFrameSplit::set_allocated_data(::std::string* data) { // @@protoc_insertion_point(field_set_allocated:CSVCMsg_FullFrameSplit.data) } +// ------------------------------------------------------------------- + +// CSVCMsg_CmdKeyValues + +// optional bytes data = 1; +inline bool CSVCMsg_CmdKeyValues::has_data() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_CmdKeyValues::set_has_data() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_CmdKeyValues::clear_has_data() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_CmdKeyValues::clear_data() { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_->clear(); + } + clear_has_data(); +} +inline const ::std::string& CSVCMsg_CmdKeyValues::data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_CmdKeyValues.data) + return *data_; +} +inline void CSVCMsg_CmdKeyValues::set_data(const ::std::string& value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_CmdKeyValues.data) +} +inline void CSVCMsg_CmdKeyValues::set_data(const char* value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_CmdKeyValues.data) +} +inline void CSVCMsg_CmdKeyValues::set_data(const void* value, size_t size) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_CmdKeyValues.data) +} +inline ::std::string* CSVCMsg_CmdKeyValues::mutable_data() { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_CmdKeyValues.data) + return data_; +} +inline ::std::string* CSVCMsg_CmdKeyValues::release_data() { + clear_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = data_; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_CmdKeyValues::set_allocated_data(::std::string* data) { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete data_; + } + if (data) { + set_has_data(); + data_ = data; + } else { + clear_has_data(); + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_CmdKeyValues.data) +} + +// ------------------------------------------------------------------- + +// CMsgIPCAddress + +// optional fixed64 computer_guid = 1; +inline bool CMsgIPCAddress::has_computer_guid() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMsgIPCAddress::set_has_computer_guid() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMsgIPCAddress::clear_has_computer_guid() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMsgIPCAddress::clear_computer_guid() { + computer_guid_ = GOOGLE_ULONGLONG(0); + clear_has_computer_guid(); +} +inline ::google::protobuf::uint64 CMsgIPCAddress::computer_guid() const { + // @@protoc_insertion_point(field_get:CMsgIPCAddress.computer_guid) + return computer_guid_; +} +inline void CMsgIPCAddress::set_computer_guid(::google::protobuf::uint64 value) { + set_has_computer_guid(); + computer_guid_ = value; + // @@protoc_insertion_point(field_set:CMsgIPCAddress.computer_guid) +} + +// optional uint32 process_id = 2; +inline bool CMsgIPCAddress::has_process_id() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMsgIPCAddress::set_has_process_id() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMsgIPCAddress::clear_has_process_id() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMsgIPCAddress::clear_process_id() { + process_id_ = 0u; + clear_has_process_id(); +} +inline ::google::protobuf::uint32 CMsgIPCAddress::process_id() const { + // @@protoc_insertion_point(field_get:CMsgIPCAddress.process_id) + return process_id_; +} +inline void CMsgIPCAddress::set_process_id(::google::protobuf::uint32 value) { + set_has_process_id(); + process_id_ = value; + // @@protoc_insertion_point(field_set:CMsgIPCAddress.process_id) +} + +// ------------------------------------------------------------------- + +// CMsgServerPeer + +// optional int32 player_slot = 1; +inline bool CMsgServerPeer::has_player_slot() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMsgServerPeer::set_has_player_slot() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMsgServerPeer::clear_has_player_slot() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMsgServerPeer::clear_player_slot() { + player_slot_ = 0; + clear_has_player_slot(); +} +inline ::google::protobuf::int32 CMsgServerPeer::player_slot() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.player_slot) + return player_slot_; +} +inline void CMsgServerPeer::set_player_slot(::google::protobuf::int32 value) { + set_has_player_slot(); + player_slot_ = value; + // @@protoc_insertion_point(field_set:CMsgServerPeer.player_slot) +} + +// optional fixed64 steamid = 2; +inline bool CMsgServerPeer::has_steamid() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMsgServerPeer::set_has_steamid() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMsgServerPeer::clear_has_steamid() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMsgServerPeer::clear_steamid() { + steamid_ = GOOGLE_ULONGLONG(0); + clear_has_steamid(); +} +inline ::google::protobuf::uint64 CMsgServerPeer::steamid() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.steamid) + return steamid_; +} +inline void CMsgServerPeer::set_steamid(::google::protobuf::uint64 value) { + set_has_steamid(); + steamid_ = value; + // @@protoc_insertion_point(field_set:CMsgServerPeer.steamid) +} + +// optional .CMsgIPCAddress ipc = 3; +inline bool CMsgServerPeer::has_ipc() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CMsgServerPeer::set_has_ipc() { + _has_bits_[0] |= 0x00000004u; +} +inline void CMsgServerPeer::clear_has_ipc() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CMsgServerPeer::clear_ipc() { + if (ipc_ != NULL) ipc_->::CMsgIPCAddress::Clear(); + clear_has_ipc(); +} +inline const ::CMsgIPCAddress& CMsgServerPeer::ipc() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.ipc) + return ipc_ != NULL ? *ipc_ : *default_instance_->ipc_; +} +inline ::CMsgIPCAddress* CMsgServerPeer::mutable_ipc() { + set_has_ipc(); + if (ipc_ == NULL) ipc_ = new ::CMsgIPCAddress; + // @@protoc_insertion_point(field_mutable:CMsgServerPeer.ipc) + return ipc_; +} +inline ::CMsgIPCAddress* CMsgServerPeer::release_ipc() { + clear_has_ipc(); + ::CMsgIPCAddress* temp = ipc_; + ipc_ = NULL; + return temp; +} +inline void CMsgServerPeer::set_allocated_ipc(::CMsgIPCAddress* ipc) { + delete ipc_; + ipc_ = ipc; + if (ipc) { + set_has_ipc(); + } else { + clear_has_ipc(); + } + // @@protoc_insertion_point(field_set_allocated:CMsgServerPeer.ipc) +} + +// optional bool they_hear_you = 4; +inline bool CMsgServerPeer::has_they_hear_you() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CMsgServerPeer::set_has_they_hear_you() { + _has_bits_[0] |= 0x00000008u; +} +inline void CMsgServerPeer::clear_has_they_hear_you() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CMsgServerPeer::clear_they_hear_you() { + they_hear_you_ = false; + clear_has_they_hear_you(); +} +inline bool CMsgServerPeer::they_hear_you() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.they_hear_you) + return they_hear_you_; +} +inline void CMsgServerPeer::set_they_hear_you(bool value) { + set_has_they_hear_you(); + they_hear_you_ = value; + // @@protoc_insertion_point(field_set:CMsgServerPeer.they_hear_you) +} + +// optional bool you_hear_them = 5; +inline bool CMsgServerPeer::has_you_hear_them() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CMsgServerPeer::set_has_you_hear_them() { + _has_bits_[0] |= 0x00000010u; +} +inline void CMsgServerPeer::clear_has_you_hear_them() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CMsgServerPeer::clear_you_hear_them() { + you_hear_them_ = false; + clear_has_you_hear_them(); +} +inline bool CMsgServerPeer::you_hear_them() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.you_hear_them) + return you_hear_them_; +} +inline void CMsgServerPeer::set_you_hear_them(bool value) { + set_has_you_hear_them(); + you_hear_them_ = value; + // @@protoc_insertion_point(field_set:CMsgServerPeer.you_hear_them) +} + +// optional bool is_listenserver_host = 6; +inline bool CMsgServerPeer::has_is_listenserver_host() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CMsgServerPeer::set_has_is_listenserver_host() { + _has_bits_[0] |= 0x00000020u; +} +inline void CMsgServerPeer::clear_has_is_listenserver_host() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CMsgServerPeer::clear_is_listenserver_host() { + is_listenserver_host_ = false; + clear_has_is_listenserver_host(); +} +inline bool CMsgServerPeer::is_listenserver_host() const { + // @@protoc_insertion_point(field_get:CMsgServerPeer.is_listenserver_host) + return is_listenserver_host_; +} +inline void CMsgServerPeer::set_is_listenserver_host(bool value) { + set_has_is_listenserver_host(); + is_listenserver_host_ = value; + // @@protoc_insertion_point(field_set:CMsgServerPeer.is_listenserver_host) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_PeerList + +// repeated .CMsgServerPeer peer = 1; +inline int CSVCMsg_PeerList::peer_size() const { + return peer_.size(); +} +inline void CSVCMsg_PeerList::clear_peer() { + peer_.Clear(); +} +inline const ::CMsgServerPeer& CSVCMsg_PeerList::peer(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_PeerList.peer) + return peer_.Get(index); +} +inline ::CMsgServerPeer* CSVCMsg_PeerList::mutable_peer(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_PeerList.peer) + return peer_.Mutable(index); +} +inline ::CMsgServerPeer* CSVCMsg_PeerList::add_peer() { + // @@protoc_insertion_point(field_add:CSVCMsg_PeerList.peer) + return peer_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CMsgServerPeer >& +CSVCMsg_PeerList::peer() const { + // @@protoc_insertion_point(field_list:CSVCMsg_PeerList.peer) + return peer_; +} +inline ::google::protobuf::RepeatedPtrField< ::CMsgServerPeer >* +CSVCMsg_PeerList::mutable_peer() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_PeerList.peer) + return &peer_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_ClearAllStringTables + +// optional string mapname = 1; +inline bool CSVCMsg_ClearAllStringTables::has_mapname() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_ClearAllStringTables::set_has_mapname() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_ClearAllStringTables::clear_has_mapname() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_ClearAllStringTables::clear_mapname() { + if (mapname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + mapname_->clear(); + } + clear_has_mapname(); +} +inline const ::std::string& CSVCMsg_ClearAllStringTables::mapname() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ClearAllStringTables.mapname) + return *mapname_; +} +inline void CSVCMsg_ClearAllStringTables::set_mapname(const ::std::string& value) { + set_has_mapname(); + if (mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + mapname_ = new ::std::string; + } + mapname_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_ClearAllStringTables.mapname) +} +inline void CSVCMsg_ClearAllStringTables::set_mapname(const char* value) { + set_has_mapname(); + if (mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + mapname_ = new ::std::string; + } + mapname_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_ClearAllStringTables.mapname) +} +inline void CSVCMsg_ClearAllStringTables::set_mapname(const char* value, size_t size) { + set_has_mapname(); + if (mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + mapname_ = new ::std::string; + } + mapname_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_ClearAllStringTables.mapname) +} +inline ::std::string* CSVCMsg_ClearAllStringTables::mutable_mapname() { + set_has_mapname(); + if (mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + mapname_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_ClearAllStringTables.mapname) + return mapname_; +} +inline ::std::string* CSVCMsg_ClearAllStringTables::release_mapname() { + clear_has_mapname(); + if (mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = mapname_; + mapname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_ClearAllStringTables::set_allocated_mapname(::std::string* mapname) { + if (mapname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete mapname_; + } + if (mapname) { + set_has_mapname(); + mapname_ = mapname; + } else { + clear_has_mapname(); + mapname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_ClearAllStringTables.mapname) +} + +// optional uint32 map_crc = 2; +inline bool CSVCMsg_ClearAllStringTables::has_map_crc() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_ClearAllStringTables::set_has_map_crc() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_ClearAllStringTables::clear_has_map_crc() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_ClearAllStringTables::clear_map_crc() { + map_crc_ = 0u; + clear_has_map_crc(); +} +inline ::google::protobuf::uint32 CSVCMsg_ClearAllStringTables::map_crc() const { + // @@protoc_insertion_point(field_get:CSVCMsg_ClearAllStringTables.map_crc) + return map_crc_; +} +inline void CSVCMsg_ClearAllStringTables::set_map_crc(::google::protobuf::uint32 value) { + set_has_map_crc(); + map_crc_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_ClearAllStringTables.map_crc) +} + +// ------------------------------------------------------------------- + +// ProtoFlattenedSerializerField_t + +// optional int32 var_type_sym = 1; +inline bool ProtoFlattenedSerializerField_t::has_var_type_sym() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_var_type_sym() { + _has_bits_[0] |= 0x00000001u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_var_type_sym() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ProtoFlattenedSerializerField_t::clear_var_type_sym() { + var_type_sym_ = 0; + clear_has_var_type_sym(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializerField_t::var_type_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_type_sym) + return var_type_sym_; +} +inline void ProtoFlattenedSerializerField_t::set_var_type_sym(::google::protobuf::int32 value) { + set_has_var_type_sym(); + var_type_sym_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_type_sym) +} + +// optional int32 var_name_sym = 2; +inline bool ProtoFlattenedSerializerField_t::has_var_name_sym() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_var_name_sym() { + _has_bits_[0] |= 0x00000002u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_var_name_sym() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ProtoFlattenedSerializerField_t::clear_var_name_sym() { + var_name_sym_ = 0; + clear_has_var_name_sym(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializerField_t::var_name_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.var_name_sym) + return var_name_sym_; +} +inline void ProtoFlattenedSerializerField_t::set_var_name_sym(::google::protobuf::int32 value) { + set_has_var_name_sym(); + var_name_sym_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.var_name_sym) +} + +// optional int32 bit_count = 3; +inline bool ProtoFlattenedSerializerField_t::has_bit_count() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_bit_count() { + _has_bits_[0] |= 0x00000004u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_bit_count() { + _has_bits_[0] &= ~0x00000004u; +} +inline void ProtoFlattenedSerializerField_t::clear_bit_count() { + bit_count_ = 0; + clear_has_bit_count(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializerField_t::bit_count() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.bit_count) + return bit_count_; +} +inline void ProtoFlattenedSerializerField_t::set_bit_count(::google::protobuf::int32 value) { + set_has_bit_count(); + bit_count_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.bit_count) +} + +// optional float low_value = 4; +inline bool ProtoFlattenedSerializerField_t::has_low_value() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_low_value() { + _has_bits_[0] |= 0x00000008u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_low_value() { + _has_bits_[0] &= ~0x00000008u; +} +inline void ProtoFlattenedSerializerField_t::clear_low_value() { + low_value_ = 0; + clear_has_low_value(); +} +inline float ProtoFlattenedSerializerField_t::low_value() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.low_value) + return low_value_; +} +inline void ProtoFlattenedSerializerField_t::set_low_value(float value) { + set_has_low_value(); + low_value_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.low_value) +} + +// optional float high_value = 5; +inline bool ProtoFlattenedSerializerField_t::has_high_value() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_high_value() { + _has_bits_[0] |= 0x00000010u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_high_value() { + _has_bits_[0] &= ~0x00000010u; +} +inline void ProtoFlattenedSerializerField_t::clear_high_value() { + high_value_ = 0; + clear_has_high_value(); +} +inline float ProtoFlattenedSerializerField_t::high_value() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.high_value) + return high_value_; +} +inline void ProtoFlattenedSerializerField_t::set_high_value(float value) { + set_has_high_value(); + high_value_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.high_value) +} + +// optional int32 encode_flags = 6; +inline bool ProtoFlattenedSerializerField_t::has_encode_flags() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_encode_flags() { + _has_bits_[0] |= 0x00000020u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_encode_flags() { + _has_bits_[0] &= ~0x00000020u; +} +inline void ProtoFlattenedSerializerField_t::clear_encode_flags() { + encode_flags_ = 0; + clear_has_encode_flags(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializerField_t::encode_flags() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.encode_flags) + return encode_flags_; +} +inline void ProtoFlattenedSerializerField_t::set_encode_flags(::google::protobuf::int32 value) { + set_has_encode_flags(); + encode_flags_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.encode_flags) +} + +// optional int32 field_serializer_name_sym = 7; +inline bool ProtoFlattenedSerializerField_t::has_field_serializer_name_sym() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_field_serializer_name_sym() { + _has_bits_[0] |= 0x00000040u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_field_serializer_name_sym() { + _has_bits_[0] &= ~0x00000040u; +} +inline void ProtoFlattenedSerializerField_t::clear_field_serializer_name_sym() { + field_serializer_name_sym_ = 0; + clear_has_field_serializer_name_sym(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializerField_t::field_serializer_name_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.field_serializer_name_sym) + return field_serializer_name_sym_; +} +inline void ProtoFlattenedSerializerField_t::set_field_serializer_name_sym(::google::protobuf::int32 value) { + set_has_field_serializer_name_sym(); + field_serializer_name_sym_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.field_serializer_name_sym) +} + +// optional int32 field_serializer_version = 8; +inline bool ProtoFlattenedSerializerField_t::has_field_serializer_version() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_field_serializer_version() { + _has_bits_[0] |= 0x00000080u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_field_serializer_version() { + _has_bits_[0] &= ~0x00000080u; +} +inline void ProtoFlattenedSerializerField_t::clear_field_serializer_version() { + field_serializer_version_ = 0; + clear_has_field_serializer_version(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializerField_t::field_serializer_version() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.field_serializer_version) + return field_serializer_version_; +} +inline void ProtoFlattenedSerializerField_t::set_field_serializer_version(::google::protobuf::int32 value) { + set_has_field_serializer_version(); + field_serializer_version_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.field_serializer_version) +} + +// optional int32 send_node_sym = 9; +inline bool ProtoFlattenedSerializerField_t::has_send_node_sym() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void ProtoFlattenedSerializerField_t::set_has_send_node_sym() { + _has_bits_[0] |= 0x00000100u; +} +inline void ProtoFlattenedSerializerField_t::clear_has_send_node_sym() { + _has_bits_[0] &= ~0x00000100u; +} +inline void ProtoFlattenedSerializerField_t::clear_send_node_sym() { + send_node_sym_ = 0; + clear_has_send_node_sym(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializerField_t::send_node_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializerField_t.send_node_sym) + return send_node_sym_; +} +inline void ProtoFlattenedSerializerField_t::set_send_node_sym(::google::protobuf::int32 value) { + set_has_send_node_sym(); + send_node_sym_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializerField_t.send_node_sym) +} + +// ------------------------------------------------------------------- + +// ProtoFlattenedSerializer_t + +// optional int32 serializer_name_sym = 1; +inline bool ProtoFlattenedSerializer_t::has_serializer_name_sym() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void ProtoFlattenedSerializer_t::set_has_serializer_name_sym() { + _has_bits_[0] |= 0x00000001u; +} +inline void ProtoFlattenedSerializer_t::clear_has_serializer_name_sym() { + _has_bits_[0] &= ~0x00000001u; +} +inline void ProtoFlattenedSerializer_t::clear_serializer_name_sym() { + serializer_name_sym_ = 0; + clear_has_serializer_name_sym(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializer_t::serializer_name_sym() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.serializer_name_sym) + return serializer_name_sym_; +} +inline void ProtoFlattenedSerializer_t::set_serializer_name_sym(::google::protobuf::int32 value) { + set_has_serializer_name_sym(); + serializer_name_sym_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.serializer_name_sym) +} + +// optional int32 serializer_version = 2; +inline bool ProtoFlattenedSerializer_t::has_serializer_version() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void ProtoFlattenedSerializer_t::set_has_serializer_version() { + _has_bits_[0] |= 0x00000002u; +} +inline void ProtoFlattenedSerializer_t::clear_has_serializer_version() { + _has_bits_[0] &= ~0x00000002u; +} +inline void ProtoFlattenedSerializer_t::clear_serializer_version() { + serializer_version_ = 0; + clear_has_serializer_version(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializer_t::serializer_version() const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.serializer_version) + return serializer_version_; +} +inline void ProtoFlattenedSerializer_t::set_serializer_version(::google::protobuf::int32 value) { + set_has_serializer_version(); + serializer_version_ = value; + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.serializer_version) +} + +// repeated int32 fields_index = 3; +inline int ProtoFlattenedSerializer_t::fields_index_size() const { + return fields_index_.size(); +} +inline void ProtoFlattenedSerializer_t::clear_fields_index() { + fields_index_.Clear(); +} +inline ::google::protobuf::int32 ProtoFlattenedSerializer_t::fields_index(int index) const { + // @@protoc_insertion_point(field_get:ProtoFlattenedSerializer_t.fields_index) + return fields_index_.Get(index); +} +inline void ProtoFlattenedSerializer_t::set_fields_index(int index, ::google::protobuf::int32 value) { + fields_index_.Set(index, value); + // @@protoc_insertion_point(field_set:ProtoFlattenedSerializer_t.fields_index) +} +inline void ProtoFlattenedSerializer_t::add_fields_index(::google::protobuf::int32 value) { + fields_index_.Add(value); + // @@protoc_insertion_point(field_add:ProtoFlattenedSerializer_t.fields_index) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& +ProtoFlattenedSerializer_t::fields_index() const { + // @@protoc_insertion_point(field_list:ProtoFlattenedSerializer_t.fields_index) + return fields_index_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* +ProtoFlattenedSerializer_t::mutable_fields_index() { + // @@protoc_insertion_point(field_mutable_list:ProtoFlattenedSerializer_t.fields_index) + return &fields_index_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_FlattenedSerializer + +// repeated .ProtoFlattenedSerializer_t serializers = 1; +inline int CSVCMsg_FlattenedSerializer::serializers_size() const { + return serializers_.size(); +} +inline void CSVCMsg_FlattenedSerializer::clear_serializers() { + serializers_.Clear(); +} +inline const ::ProtoFlattenedSerializer_t& CSVCMsg_FlattenedSerializer::serializers(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.serializers) + return serializers_.Get(index); +} +inline ::ProtoFlattenedSerializer_t* CSVCMsg_FlattenedSerializer::mutable_serializers(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.serializers) + return serializers_.Mutable(index); +} +inline ::ProtoFlattenedSerializer_t* CSVCMsg_FlattenedSerializer::add_serializers() { + // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.serializers) + return serializers_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializer_t >& +CSVCMsg_FlattenedSerializer::serializers() const { + // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.serializers) + return serializers_; +} +inline ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializer_t >* +CSVCMsg_FlattenedSerializer::mutable_serializers() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.serializers) + return &serializers_; +} + +// repeated string symbols = 2; +inline int CSVCMsg_FlattenedSerializer::symbols_size() const { + return symbols_.size(); +} +inline void CSVCMsg_FlattenedSerializer::clear_symbols() { + symbols_.Clear(); +} +inline const ::std::string& CSVCMsg_FlattenedSerializer::symbols(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.symbols) + return symbols_.Get(index); +} +inline ::std::string* CSVCMsg_FlattenedSerializer::mutable_symbols(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.symbols) + return symbols_.Mutable(index); +} +inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:CSVCMsg_FlattenedSerializer.symbols) + symbols_.Mutable(index)->assign(value); +} +inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const char* value) { + symbols_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::set_symbols(int index, const char* value, size_t size) { + symbols_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_FlattenedSerializer.symbols) +} +inline ::std::string* CSVCMsg_FlattenedSerializer::add_symbols() { + return symbols_.Add(); +} +inline void CSVCMsg_FlattenedSerializer::add_symbols(const ::std::string& value) { + symbols_.Add()->assign(value); + // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::add_symbols(const char* value) { + symbols_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:CSVCMsg_FlattenedSerializer.symbols) +} +inline void CSVCMsg_FlattenedSerializer::add_symbols(const char* value, size_t size) { + symbols_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:CSVCMsg_FlattenedSerializer.symbols) +} +inline const ::google::protobuf::RepeatedPtrField< ::std::string>& +CSVCMsg_FlattenedSerializer::symbols() const { + // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.symbols) + return symbols_; +} +inline ::google::protobuf::RepeatedPtrField< ::std::string>* +CSVCMsg_FlattenedSerializer::mutable_symbols() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.symbols) + return &symbols_; +} + +// repeated .ProtoFlattenedSerializerField_t fields = 3; +inline int CSVCMsg_FlattenedSerializer::fields_size() const { + return fields_.size(); +} +inline void CSVCMsg_FlattenedSerializer::clear_fields() { + fields_.Clear(); +} +inline const ::ProtoFlattenedSerializerField_t& CSVCMsg_FlattenedSerializer::fields(int index) const { + // @@protoc_insertion_point(field_get:CSVCMsg_FlattenedSerializer.fields) + return fields_.Get(index); +} +inline ::ProtoFlattenedSerializerField_t* CSVCMsg_FlattenedSerializer::mutable_fields(int index) { + // @@protoc_insertion_point(field_mutable:CSVCMsg_FlattenedSerializer.fields) + return fields_.Mutable(index); +} +inline ::ProtoFlattenedSerializerField_t* CSVCMsg_FlattenedSerializer::add_fields() { + // @@protoc_insertion_point(field_add:CSVCMsg_FlattenedSerializer.fields) + return fields_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >& +CSVCMsg_FlattenedSerializer::fields() const { + // @@protoc_insertion_point(field_list:CSVCMsg_FlattenedSerializer.fields) + return fields_; +} +inline ::google::protobuf::RepeatedPtrField< ::ProtoFlattenedSerializerField_t >* +CSVCMsg_FlattenedSerializer::mutable_fields() { + // @@protoc_insertion_point(field_mutable_list:CSVCMsg_FlattenedSerializer.fields) + return &fields_; +} + +// ------------------------------------------------------------------- + +// CSVCMsg_StopSound + +// optional fixed32 guid = 1; +inline bool CSVCMsg_StopSound::has_guid() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_StopSound::set_has_guid() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_StopSound::clear_has_guid() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_StopSound::clear_guid() { + guid_ = 0u; + clear_has_guid(); +} +inline ::google::protobuf::uint32 CSVCMsg_StopSound::guid() const { + // @@protoc_insertion_point(field_get:CSVCMsg_StopSound.guid) + return guid_; +} +inline void CSVCMsg_StopSound::set_guid(::google::protobuf::uint32 value) { + set_has_guid(); + guid_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_StopSound.guid) +} + +// ------------------------------------------------------------------- + +// CBidirMsg_RebroadcastGameEvent + +// optional bool posttoserver = 1; +inline bool CBidirMsg_RebroadcastGameEvent::has_posttoserver() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CBidirMsg_RebroadcastGameEvent::set_has_posttoserver() { + _has_bits_[0] |= 0x00000001u; +} +inline void CBidirMsg_RebroadcastGameEvent::clear_has_posttoserver() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CBidirMsg_RebroadcastGameEvent::clear_posttoserver() { + posttoserver_ = false; + clear_has_posttoserver(); +} +inline bool CBidirMsg_RebroadcastGameEvent::posttoserver() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.posttoserver) + return posttoserver_; +} +inline void CBidirMsg_RebroadcastGameEvent::set_posttoserver(bool value) { + set_has_posttoserver(); + posttoserver_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.posttoserver) +} + +// optional int32 buftype = 2; +inline bool CBidirMsg_RebroadcastGameEvent::has_buftype() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CBidirMsg_RebroadcastGameEvent::set_has_buftype() { + _has_bits_[0] |= 0x00000002u; +} +inline void CBidirMsg_RebroadcastGameEvent::clear_has_buftype() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CBidirMsg_RebroadcastGameEvent::clear_buftype() { + buftype_ = 0; + clear_has_buftype(); +} +inline ::google::protobuf::int32 CBidirMsg_RebroadcastGameEvent::buftype() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.buftype) + return buftype_; +} +inline void CBidirMsg_RebroadcastGameEvent::set_buftype(::google::protobuf::int32 value) { + set_has_buftype(); + buftype_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.buftype) +} + +// optional uint32 clientbitcount = 3; +inline bool CBidirMsg_RebroadcastGameEvent::has_clientbitcount() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CBidirMsg_RebroadcastGameEvent::set_has_clientbitcount() { + _has_bits_[0] |= 0x00000004u; +} +inline void CBidirMsg_RebroadcastGameEvent::clear_has_clientbitcount() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CBidirMsg_RebroadcastGameEvent::clear_clientbitcount() { + clientbitcount_ = 0u; + clear_has_clientbitcount(); +} +inline ::google::protobuf::uint32 CBidirMsg_RebroadcastGameEvent::clientbitcount() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.clientbitcount) + return clientbitcount_; +} +inline void CBidirMsg_RebroadcastGameEvent::set_clientbitcount(::google::protobuf::uint32 value) { + set_has_clientbitcount(); + clientbitcount_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.clientbitcount) +} + +// optional uint64 receivingclients = 4; +inline bool CBidirMsg_RebroadcastGameEvent::has_receivingclients() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CBidirMsg_RebroadcastGameEvent::set_has_receivingclients() { + _has_bits_[0] |= 0x00000008u; +} +inline void CBidirMsg_RebroadcastGameEvent::clear_has_receivingclients() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CBidirMsg_RebroadcastGameEvent::clear_receivingclients() { + receivingclients_ = GOOGLE_ULONGLONG(0); + clear_has_receivingclients(); +} +inline ::google::protobuf::uint64 CBidirMsg_RebroadcastGameEvent::receivingclients() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastGameEvent.receivingclients) + return receivingclients_; +} +inline void CBidirMsg_RebroadcastGameEvent::set_receivingclients(::google::protobuf::uint64 value) { + set_has_receivingclients(); + receivingclients_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastGameEvent.receivingclients) +} + +// ------------------------------------------------------------------- + +// CBidirMsg_RebroadcastSource + +// optional int32 eventsource = 1; +inline bool CBidirMsg_RebroadcastSource::has_eventsource() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CBidirMsg_RebroadcastSource::set_has_eventsource() { + _has_bits_[0] |= 0x00000001u; +} +inline void CBidirMsg_RebroadcastSource::clear_has_eventsource() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CBidirMsg_RebroadcastSource::clear_eventsource() { + eventsource_ = 0; + clear_has_eventsource(); +} +inline ::google::protobuf::int32 CBidirMsg_RebroadcastSource::eventsource() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RebroadcastSource.eventsource) + return eventsource_; +} +inline void CBidirMsg_RebroadcastSource::set_eventsource(::google::protobuf::int32 value) { + set_has_eventsource(); + eventsource_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RebroadcastSource.eventsource) +} + +// ------------------------------------------------------------------- + +// SerializedNetAddress_t + +// required bytes serializedAddress = 1; +inline bool SerializedNetAddress_t::has_serializedaddress() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SerializedNetAddress_t::set_has_serializedaddress() { + _has_bits_[0] |= 0x00000001u; +} +inline void SerializedNetAddress_t::clear_has_serializedaddress() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SerializedNetAddress_t::clear_serializedaddress() { + if (serializedaddress_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + serializedaddress_->clear(); + } + clear_has_serializedaddress(); +} +inline const ::std::string& SerializedNetAddress_t::serializedaddress() const { + // @@protoc_insertion_point(field_get:SerializedNetAddress_t.serializedAddress) + return *serializedaddress_; +} +inline void SerializedNetAddress_t::set_serializedaddress(const ::std::string& value) { + set_has_serializedaddress(); + if (serializedaddress_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + serializedaddress_ = new ::std::string; + } + serializedaddress_->assign(value); + // @@protoc_insertion_point(field_set:SerializedNetAddress_t.serializedAddress) +} +inline void SerializedNetAddress_t::set_serializedaddress(const char* value) { + set_has_serializedaddress(); + if (serializedaddress_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + serializedaddress_ = new ::std::string; + } + serializedaddress_->assign(value); + // @@protoc_insertion_point(field_set_char:SerializedNetAddress_t.serializedAddress) +} +inline void SerializedNetAddress_t::set_serializedaddress(const void* value, size_t size) { + set_has_serializedaddress(); + if (serializedaddress_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + serializedaddress_ = new ::std::string; + } + serializedaddress_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:SerializedNetAddress_t.serializedAddress) +} +inline ::std::string* SerializedNetAddress_t::mutable_serializedaddress() { + set_has_serializedaddress(); + if (serializedaddress_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + serializedaddress_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:SerializedNetAddress_t.serializedAddress) + return serializedaddress_; +} +inline ::std::string* SerializedNetAddress_t::release_serializedaddress() { + clear_has_serializedaddress(); + if (serializedaddress_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = serializedaddress_; + serializedaddress_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void SerializedNetAddress_t::set_allocated_serializedaddress(::std::string* serializedaddress) { + if (serializedaddress_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete serializedaddress_; + } + if (serializedaddress) { + set_has_serializedaddress(); + serializedaddress_ = serializedaddress; + } else { + clear_has_serializedaddress(); + serializedaddress_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:SerializedNetAddress_t.serializedAddress) +} + +// ------------------------------------------------------------------- + +// CBidirMsg_RelayInfo + +// required .CBidirMsg_RelayInfo.Operation_t operation = 1 [default = RIO_REQUEST_RELAY]; +inline bool CBidirMsg_RelayInfo::has_operation() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CBidirMsg_RelayInfo::set_has_operation() { + _has_bits_[0] |= 0x00000001u; +} +inline void CBidirMsg_RelayInfo::clear_has_operation() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CBidirMsg_RelayInfo::clear_operation() { + operation_ = 0; + clear_has_operation(); +} +inline ::CBidirMsg_RelayInfo_Operation_t CBidirMsg_RelayInfo::operation() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayInfo.operation) + return static_cast< ::CBidirMsg_RelayInfo_Operation_t >(operation_); +} +inline void CBidirMsg_RelayInfo::set_operation(::CBidirMsg_RelayInfo_Operation_t value) { + assert(::CBidirMsg_RelayInfo_Operation_t_IsValid(value)); + set_has_operation(); + operation_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RelayInfo.operation) +} + +// optional .SerializedNetAddress_t serializedTargetAddress = 2; +inline bool CBidirMsg_RelayInfo::has_serializedtargetaddress() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CBidirMsg_RelayInfo::set_has_serializedtargetaddress() { + _has_bits_[0] |= 0x00000002u; +} +inline void CBidirMsg_RelayInfo::clear_has_serializedtargetaddress() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CBidirMsg_RelayInfo::clear_serializedtargetaddress() { + if (serializedtargetaddress_ != NULL) serializedtargetaddress_->::SerializedNetAddress_t::Clear(); + clear_has_serializedtargetaddress(); +} +inline const ::SerializedNetAddress_t& CBidirMsg_RelayInfo::serializedtargetaddress() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayInfo.serializedTargetAddress) + return serializedtargetaddress_ != NULL ? *serializedtargetaddress_ : *default_instance_->serializedtargetaddress_; +} +inline ::SerializedNetAddress_t* CBidirMsg_RelayInfo::mutable_serializedtargetaddress() { + set_has_serializedtargetaddress(); + if (serializedtargetaddress_ == NULL) serializedtargetaddress_ = new ::SerializedNetAddress_t; + // @@protoc_insertion_point(field_mutable:CBidirMsg_RelayInfo.serializedTargetAddress) + return serializedtargetaddress_; +} +inline ::SerializedNetAddress_t* CBidirMsg_RelayInfo::release_serializedtargetaddress() { + clear_has_serializedtargetaddress(); + ::SerializedNetAddress_t* temp = serializedtargetaddress_; + serializedtargetaddress_ = NULL; + return temp; +} +inline void CBidirMsg_RelayInfo::set_allocated_serializedtargetaddress(::SerializedNetAddress_t* serializedtargetaddress) { + delete serializedtargetaddress_; + serializedtargetaddress_ = serializedtargetaddress; + if (serializedtargetaddress) { + set_has_serializedtargetaddress(); + } else { + clear_has_serializedtargetaddress(); + } + // @@protoc_insertion_point(field_set_allocated:CBidirMsg_RelayInfo.serializedTargetAddress) +} + +// optional uint32 additionalHops = 3; +inline bool CBidirMsg_RelayInfo::has_additionalhops() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CBidirMsg_RelayInfo::set_has_additionalhops() { + _has_bits_[0] |= 0x00000004u; +} +inline void CBidirMsg_RelayInfo::clear_has_additionalhops() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CBidirMsg_RelayInfo::clear_additionalhops() { + additionalhops_ = 0u; + clear_has_additionalhops(); +} +inline ::google::protobuf::uint32 CBidirMsg_RelayInfo::additionalhops() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayInfo.additionalHops) + return additionalhops_; +} +inline void CBidirMsg_RelayInfo::set_additionalhops(::google::protobuf::uint32 value) { + set_has_additionalhops(); + additionalhops_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RelayInfo.additionalHops) +} + +// ------------------------------------------------------------------- + +// SignedPayload_t + +// required bytes payloadData = 1; +inline bool SignedPayload_t::has_payloaddata() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void SignedPayload_t::set_has_payloaddata() { + _has_bits_[0] |= 0x00000001u; +} +inline void SignedPayload_t::clear_has_payloaddata() { + _has_bits_[0] &= ~0x00000001u; +} +inline void SignedPayload_t::clear_payloaddata() { + if (payloaddata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + payloaddata_->clear(); + } + clear_has_payloaddata(); +} +inline const ::std::string& SignedPayload_t::payloaddata() const { + // @@protoc_insertion_point(field_get:SignedPayload_t.payloadData) + return *payloaddata_; +} +inline void SignedPayload_t::set_payloaddata(const ::std::string& value) { + set_has_payloaddata(); + if (payloaddata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + payloaddata_ = new ::std::string; + } + payloaddata_->assign(value); + // @@protoc_insertion_point(field_set:SignedPayload_t.payloadData) +} +inline void SignedPayload_t::set_payloaddata(const char* value) { + set_has_payloaddata(); + if (payloaddata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + payloaddata_ = new ::std::string; + } + payloaddata_->assign(value); + // @@protoc_insertion_point(field_set_char:SignedPayload_t.payloadData) +} +inline void SignedPayload_t::set_payloaddata(const void* value, size_t size) { + set_has_payloaddata(); + if (payloaddata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + payloaddata_ = new ::std::string; + } + payloaddata_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:SignedPayload_t.payloadData) +} +inline ::std::string* SignedPayload_t::mutable_payloaddata() { + set_has_payloaddata(); + if (payloaddata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + payloaddata_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:SignedPayload_t.payloadData) + return payloaddata_; +} +inline ::std::string* SignedPayload_t::release_payloaddata() { + clear_has_payloaddata(); + if (payloaddata_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = payloaddata_; + payloaddata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void SignedPayload_t::set_allocated_payloaddata(::std::string* payloaddata) { + if (payloaddata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete payloaddata_; + } + if (payloaddata) { + set_has_payloaddata(); + payloaddata_ = payloaddata; + } else { + clear_has_payloaddata(); + payloaddata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:SignedPayload_t.payloadData) +} + +// required uint32 signature = 2; +inline bool SignedPayload_t::has_signature() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void SignedPayload_t::set_has_signature() { + _has_bits_[0] |= 0x00000002u; +} +inline void SignedPayload_t::clear_has_signature() { + _has_bits_[0] &= ~0x00000002u; +} +inline void SignedPayload_t::clear_signature() { + signature_ = 0u; + clear_has_signature(); +} +inline ::google::protobuf::uint32 SignedPayload_t::signature() const { + // @@protoc_insertion_point(field_get:SignedPayload_t.signature) + return signature_; +} +inline void SignedPayload_t::set_signature(::google::protobuf::uint32 value) { + set_has_signature(); + signature_ = value; + // @@protoc_insertion_point(field_set:SignedPayload_t.signature) +} + +// required bool bPayloadEncrypted = 3; +inline bool SignedPayload_t::has_bpayloadencrypted() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SignedPayload_t::set_has_bpayloadencrypted() { + _has_bits_[0] |= 0x00000004u; +} +inline void SignedPayload_t::clear_has_bpayloadencrypted() { + _has_bits_[0] &= ~0x00000004u; +} +inline void SignedPayload_t::clear_bpayloadencrypted() { + bpayloadencrypted_ = false; + clear_has_bpayloadencrypted(); +} +inline bool SignedPayload_t::bpayloadencrypted() const { + // @@protoc_insertion_point(field_get:SignedPayload_t.bPayloadEncrypted) + return bpayloadencrypted_; +} +inline void SignedPayload_t::set_bpayloadencrypted(bool value) { + set_has_bpayloadencrypted(); + bpayloadencrypted_ = value; + // @@protoc_insertion_point(field_set:SignedPayload_t.bPayloadEncrypted) +} + +// ------------------------------------------------------------------- + +// CBidirMsg_RelayPacket_SignedDestinationAddress_t + +// required .SerializedNetAddress_t serializedAddr = 1; +inline bool CBidirMsg_RelayPacket_SignedDestinationAddress_t::has_serializedaddr() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_has_serializedaddr() { + _has_bits_[0] |= 0x00000001u; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::clear_has_serializedaddr() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::clear_serializedaddr() { + if (serializedaddr_ != NULL) serializedaddr_->::SerializedNetAddress_t::Clear(); + clear_has_serializedaddr(); +} +inline const ::SerializedNetAddress_t& CBidirMsg_RelayPacket_SignedDestinationAddress_t::serializedaddr() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayPacket.SignedDestinationAddress_t.serializedAddr) + return serializedaddr_ != NULL ? *serializedaddr_ : *default_instance_->serializedaddr_; +} +inline ::SerializedNetAddress_t* CBidirMsg_RelayPacket_SignedDestinationAddress_t::mutable_serializedaddr() { + set_has_serializedaddr(); + if (serializedaddr_ == NULL) serializedaddr_ = new ::SerializedNetAddress_t; + // @@protoc_insertion_point(field_mutable:CBidirMsg_RelayPacket.SignedDestinationAddress_t.serializedAddr) + return serializedaddr_; +} +inline ::SerializedNetAddress_t* CBidirMsg_RelayPacket_SignedDestinationAddress_t::release_serializedaddr() { + clear_has_serializedaddr(); + ::SerializedNetAddress_t* temp = serializedaddr_; + serializedaddr_ = NULL; + return temp; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_allocated_serializedaddr(::SerializedNetAddress_t* serializedaddr) { + delete serializedaddr_; + serializedaddr_ = serializedaddr; + if (serializedaddr) { + set_has_serializedaddr(); + } else { + clear_has_serializedaddr(); + } + // @@protoc_insertion_point(field_set_allocated:CBidirMsg_RelayPacket.SignedDestinationAddress_t.serializedAddr) +} + +// required uint32 signature = 2; +inline bool CBidirMsg_RelayPacket_SignedDestinationAddress_t::has_signature() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_has_signature() { + _has_bits_[0] |= 0x00000002u; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::clear_has_signature() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::clear_signature() { + signature_ = 0u; + clear_has_signature(); +} +inline ::google::protobuf::uint32 CBidirMsg_RelayPacket_SignedDestinationAddress_t::signature() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayPacket.SignedDestinationAddress_t.signature) + return signature_; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_signature(::google::protobuf::uint32 value) { + set_has_signature(); + signature_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RelayPacket.SignedDestinationAddress_t.signature) +} + +// optional bytes encryptedPayloadKey = 3; +inline bool CBidirMsg_RelayPacket_SignedDestinationAddress_t::has_encryptedpayloadkey() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_has_encryptedpayloadkey() { + _has_bits_[0] |= 0x00000004u; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::clear_has_encryptedpayloadkey() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::clear_encryptedpayloadkey() { + if (encryptedpayloadkey_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + encryptedpayloadkey_->clear(); + } + clear_has_encryptedpayloadkey(); +} +inline const ::std::string& CBidirMsg_RelayPacket_SignedDestinationAddress_t::encryptedpayloadkey() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayPacket.SignedDestinationAddress_t.encryptedPayloadKey) + return *encryptedpayloadkey_; +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_encryptedpayloadkey(const ::std::string& value) { + set_has_encryptedpayloadkey(); + if (encryptedpayloadkey_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + encryptedpayloadkey_ = new ::std::string; + } + encryptedpayloadkey_->assign(value); + // @@protoc_insertion_point(field_set:CBidirMsg_RelayPacket.SignedDestinationAddress_t.encryptedPayloadKey) +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_encryptedpayloadkey(const char* value) { + set_has_encryptedpayloadkey(); + if (encryptedpayloadkey_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + encryptedpayloadkey_ = new ::std::string; + } + encryptedpayloadkey_->assign(value); + // @@protoc_insertion_point(field_set_char:CBidirMsg_RelayPacket.SignedDestinationAddress_t.encryptedPayloadKey) +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_encryptedpayloadkey(const void* value, size_t size) { + set_has_encryptedpayloadkey(); + if (encryptedpayloadkey_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + encryptedpayloadkey_ = new ::std::string; + } + encryptedpayloadkey_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CBidirMsg_RelayPacket.SignedDestinationAddress_t.encryptedPayloadKey) +} +inline ::std::string* CBidirMsg_RelayPacket_SignedDestinationAddress_t::mutable_encryptedpayloadkey() { + set_has_encryptedpayloadkey(); + if (encryptedpayloadkey_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + encryptedpayloadkey_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CBidirMsg_RelayPacket.SignedDestinationAddress_t.encryptedPayloadKey) + return encryptedpayloadkey_; +} +inline ::std::string* CBidirMsg_RelayPacket_SignedDestinationAddress_t::release_encryptedpayloadkey() { + clear_has_encryptedpayloadkey(); + if (encryptedpayloadkey_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = encryptedpayloadkey_; + encryptedpayloadkey_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CBidirMsg_RelayPacket_SignedDestinationAddress_t::set_allocated_encryptedpayloadkey(::std::string* encryptedpayloadkey) { + if (encryptedpayloadkey_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete encryptedpayloadkey_; + } + if (encryptedpayloadkey) { + set_has_encryptedpayloadkey(); + encryptedpayloadkey_ = encryptedpayloadkey; + } else { + clear_has_encryptedpayloadkey(); + encryptedpayloadkey_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CBidirMsg_RelayPacket.SignedDestinationAddress_t.encryptedPayloadKey) +} + +// ------------------------------------------------------------------- + +// CBidirMsg_RelayPacket + +// required uint32 prevhopcount = 1; +inline bool CBidirMsg_RelayPacket::has_prevhopcount() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CBidirMsg_RelayPacket::set_has_prevhopcount() { + _has_bits_[0] |= 0x00000001u; +} +inline void CBidirMsg_RelayPacket::clear_has_prevhopcount() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CBidirMsg_RelayPacket::clear_prevhopcount() { + prevhopcount_ = 0u; + clear_has_prevhopcount(); +} +inline ::google::protobuf::uint32 CBidirMsg_RelayPacket::prevhopcount() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayPacket.prevhopcount) + return prevhopcount_; +} +inline void CBidirMsg_RelayPacket::set_prevhopcount(::google::protobuf::uint32 value) { + set_has_prevhopcount(); + prevhopcount_ = value; + // @@protoc_insertion_point(field_set:CBidirMsg_RelayPacket.prevhopcount) +} + +// required .SerializedNetAddress_t originalSender = 2; +inline bool CBidirMsg_RelayPacket::has_originalsender() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CBidirMsg_RelayPacket::set_has_originalsender() { + _has_bits_[0] |= 0x00000002u; +} +inline void CBidirMsg_RelayPacket::clear_has_originalsender() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CBidirMsg_RelayPacket::clear_originalsender() { + if (originalsender_ != NULL) originalsender_->::SerializedNetAddress_t::Clear(); + clear_has_originalsender(); +} +inline const ::SerializedNetAddress_t& CBidirMsg_RelayPacket::originalsender() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayPacket.originalSender) + return originalsender_ != NULL ? *originalsender_ : *default_instance_->originalsender_; +} +inline ::SerializedNetAddress_t* CBidirMsg_RelayPacket::mutable_originalsender() { + set_has_originalsender(); + if (originalsender_ == NULL) originalsender_ = new ::SerializedNetAddress_t; + // @@protoc_insertion_point(field_mutable:CBidirMsg_RelayPacket.originalSender) + return originalsender_; +} +inline ::SerializedNetAddress_t* CBidirMsg_RelayPacket::release_originalsender() { + clear_has_originalsender(); + ::SerializedNetAddress_t* temp = originalsender_; + originalsender_ = NULL; + return temp; +} +inline void CBidirMsg_RelayPacket::set_allocated_originalsender(::SerializedNetAddress_t* originalsender) { + delete originalsender_; + originalsender_ = originalsender; + if (originalsender) { + set_has_originalsender(); + } else { + clear_has_originalsender(); + } + // @@protoc_insertion_point(field_set_allocated:CBidirMsg_RelayPacket.originalSender) +} + +// required .SignedPayload_t signedPayload = 3; +inline bool CBidirMsg_RelayPacket::has_signedpayload() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CBidirMsg_RelayPacket::set_has_signedpayload() { + _has_bits_[0] |= 0x00000004u; +} +inline void CBidirMsg_RelayPacket::clear_has_signedpayload() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CBidirMsg_RelayPacket::clear_signedpayload() { + if (signedpayload_ != NULL) signedpayload_->::SignedPayload_t::Clear(); + clear_has_signedpayload(); +} +inline const ::SignedPayload_t& CBidirMsg_RelayPacket::signedpayload() const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayPacket.signedPayload) + return signedpayload_ != NULL ? *signedpayload_ : *default_instance_->signedpayload_; +} +inline ::SignedPayload_t* CBidirMsg_RelayPacket::mutable_signedpayload() { + set_has_signedpayload(); + if (signedpayload_ == NULL) signedpayload_ = new ::SignedPayload_t; + // @@protoc_insertion_point(field_mutable:CBidirMsg_RelayPacket.signedPayload) + return signedpayload_; +} +inline ::SignedPayload_t* CBidirMsg_RelayPacket::release_signedpayload() { + clear_has_signedpayload(); + ::SignedPayload_t* temp = signedpayload_; + signedpayload_ = NULL; + return temp; +} +inline void CBidirMsg_RelayPacket::set_allocated_signedpayload(::SignedPayload_t* signedpayload) { + delete signedpayload_; + signedpayload_ = signedpayload; + if (signedpayload) { + set_has_signedpayload(); + } else { + clear_has_signedpayload(); + } + // @@protoc_insertion_point(field_set_allocated:CBidirMsg_RelayPacket.signedPayload) +} + +// repeated .CBidirMsg_RelayPacket.SignedDestinationAddress_t recipientList = 4; +inline int CBidirMsg_RelayPacket::recipientlist_size() const { + return recipientlist_.size(); +} +inline void CBidirMsg_RelayPacket::clear_recipientlist() { + recipientlist_.Clear(); +} +inline const ::CBidirMsg_RelayPacket_SignedDestinationAddress_t& CBidirMsg_RelayPacket::recipientlist(int index) const { + // @@protoc_insertion_point(field_get:CBidirMsg_RelayPacket.recipientList) + return recipientlist_.Get(index); +} +inline ::CBidirMsg_RelayPacket_SignedDestinationAddress_t* CBidirMsg_RelayPacket::mutable_recipientlist(int index) { + // @@protoc_insertion_point(field_mutable:CBidirMsg_RelayPacket.recipientList) + return recipientlist_.Mutable(index); +} +inline ::CBidirMsg_RelayPacket_SignedDestinationAddress_t* CBidirMsg_RelayPacket::add_recipientlist() { + // @@protoc_insertion_point(field_add:CBidirMsg_RelayPacket.recipientList) + return recipientlist_.Add(); +} +inline const ::google::protobuf::RepeatedPtrField< ::CBidirMsg_RelayPacket_SignedDestinationAddress_t >& +CBidirMsg_RelayPacket::recipientlist() const { + // @@protoc_insertion_point(field_list:CBidirMsg_RelayPacket.recipientList) + return recipientlist_; +} +inline ::google::protobuf::RepeatedPtrField< ::CBidirMsg_RelayPacket_SignedDestinationAddress_t >* +CBidirMsg_RelayPacket::mutable_recipientlist() { + // @@protoc_insertion_point(field_mutable_list:CBidirMsg_RelayPacket.recipientList) + return &recipientlist_; +} + // @@protoc_insertion_point(namespace_scope) @@ -10118,26 +14598,66 @@ inline void CSVCMsg_FullFrameSplit::set_allocated_data(::std::string* data) { namespace google { namespace protobuf { +template <> struct is_proto_enum< ::CBidirMsg_RelayInfo_Operation_t> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::CBidirMsg_RelayInfo_Operation_t>() { + return ::CBidirMsg_RelayInfo_Operation_t_descriptor(); +} template <> struct is_proto_enum< ::CLC_Messages> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::CLC_Messages>() { return ::CLC_Messages_descriptor(); } -template <> struct is_proto_enum< ::VoiceDataFormat_t> : ::google::protobuf::internal::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor< ::VoiceDataFormat_t>() { - return ::VoiceDataFormat_t_descriptor(); -} template <> struct is_proto_enum< ::SVC_Messages> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::SVC_Messages>() { return ::SVC_Messages_descriptor(); } +template <> struct is_proto_enum< ::VoiceDataFormat_t> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::VoiceDataFormat_t>() { + return ::VoiceDataFormat_t_descriptor(); +} +template <> struct is_proto_enum< ::RequestPause_t> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::RequestPause_t>() { + return ::RequestPause_t_descriptor(); +} +template <> struct is_proto_enum< ::PrefetchType> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::PrefetchType>() { + return ::PrefetchType_descriptor(); +} template <> struct is_proto_enum< ::ESplitScreenMessageType> : ::google::protobuf::internal::true_type {}; template <> inline const EnumDescriptor* GetEnumDescriptor< ::ESplitScreenMessageType>() { return ::ESplitScreenMessageType_descriptor(); } +template <> struct is_proto_enum< ::EQueryCvarValueStatus> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::EQueryCvarValueStatus>() { + return ::EQueryCvarValueStatus_descriptor(); +} +template <> struct is_proto_enum< ::DIALOG_TYPE> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::DIALOG_TYPE>() { + return ::DIALOG_TYPE_descriptor(); +} +template <> struct is_proto_enum< ::SVC_Messages_LowFrequency> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::SVC_Messages_LowFrequency>() { + return ::SVC_Messages_LowFrequency_descriptor(); +} +template <> struct is_proto_enum< ::Bidirectional_Messages> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::Bidirectional_Messages>() { + return ::Bidirectional_Messages_descriptor(); +} +template <> struct is_proto_enum< ::Bidirectional_Messages_LowFrequency> : ::google::protobuf::internal::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::Bidirectional_Messages_LowFrequency>() { + return ::Bidirectional_Messages_LowFrequency_descriptor(); +} } // namespace google } // namespace protobuf diff --git a/public/engine/protobuf/netmessages.proto b/public/engine/protobuf/netmessages.proto index f204365a..e03a181b 100644 --- a/public/engine/protobuf/netmessages.proto +++ b/public/engine/protobuf/netmessages.proto @@ -1,443 +1,505 @@ -//====== 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. -// - -// for CMsgVector, etc. -import "networkbasetypes.proto"; - -//============================================================================= -// Client messages -//============================================================================= - -enum CLC_Messages -{ - clc_ClientInfo = 8; // client info (table CRC etc) - clc_Move = 9; // [CUserCmd] - clc_VoiceData = 10; // Voicestream data from a client - clc_BaselineAck = 11; // client acknowledges a new baseline seqnr - clc_ListenEvents = 12; // client acknowledges a new baseline seqnr - clc_RespondCvarValue = 13; // client is responding to a svc_GetCvarValue message. - clc_FileCRCCheck = 14; // client is sending a file's CRC to the server to be verified. - clc_LoadingProgress = 15; // client loading progress - clc_SplitPlayerConnect = 16; - clc_ClientMessage = 17; -} - -message CCLCMsg_ClientInfo -{ - optional fixed32 send_table_crc = 1; - optional uint32 server_count = 2; - optional bool is_hltv = 3; - optional bool is_replay = 4; - optional uint32 friends_id = 5; - optional string friends_name = 6; - repeated fixed32 custom_files = 7; -} - -message CCLCMsg_Move -{ - optional uint32 num_backup_commands = 1; // new commands = user_cmds_size() - num_backup_commands - optional uint32 num_new_commands = 2; - optional bytes data = 3; -} - -enum VoiceDataFormat_t -{ - VOICEDATA_FORMAT_STEAM = 0; - VOICEDATA_FORMAT_ENGINE = 1; -} - -message CCLCMsg_VoiceData -{ - optional bytes data = 1; - optional fixed64 xuid = 2; - optional VoiceDataFormat_t format = 3 [default = VOICEDATA_FORMAT_STEAM]; - optional int32 sequence_bytes = 4; - optional uint32 section_number = 5; - optional uint32 uncompressed_sample_offset = 6; - optional uint32 tick = 7; -} - -message CCLCMsg_BaselineAck -{ - optional int32 baseline_tick = 1; - optional int32 baseline_nr = 2; -} - -message CCLCMsg_ListenEvents -{ - repeated fixed32 event_mask = 1; -} - -message CCLCMsg_RespondCvarValue -{ - optional int32 cookie = 1; // QueryCvarCookie_t - optional int32 status_code = 2; // EQueryCvarValueStatus - optional string name = 3; - optional string value = 4; -} - -message CCLCMsg_FileCRCCheck -{ - optional int32 code_path = 1; - optional string path = 2; - optional int32 code_filename = 3; - optional string filename = 4; - optional fixed32 crc = 5; -} - -message CCLCMsg_LoadingProgress -{ - optional int32 progress = 1; -} - -message CCLCMsg_SplitPlayerConnect -{ - optional CMsg_CVars convars = 1; -} - -message CCLCMsg_ClientMessage -{ - optional int32 msg_type = 1; - optional bytes data = 2; -} - -//============================================================================= -// Server messages -//============================================================================= - -enum SVC_Messages -{ - svc_ServerInfo = 8; // first message from server about game; map etc - svc_SendTable = 9; // sends a sendtable description for a game class - svc_ClassInfo = 10; // Info about classes (first byte is a CLASSINFO_ define). - svc_SetPause = 11; // tells client if server paused or unpaused - svc_CreateStringTable = 12; // inits shared string tables - svc_UpdateStringTable = 13; // updates a string table - svc_VoiceInit = 14; // inits used voice codecs & quality - svc_VoiceData = 15; // Voicestream data from the server - svc_Print = 16; // print text to console - svc_Sounds = 17; // starts playing sound - svc_SetView = 18; // sets entity as point of view - svc_FixAngle = 19; // sets/corrects players viewangle - svc_CrosshairAngle = 20; // adjusts crosshair in auto aim mode to lock on traget - svc_BSPDecal = 21; // add a static decal to the world BSP - svc_SplitScreen = 22; // split screen style message - svc_UserMessage = 23; // a game specific message - svc_EntityMessage = 24; // a message for an entity - svc_GameEvent = 25; // global game event fired - svc_PacketEntities = 26; // non-delta compressed entities - svc_TempEntities = 27; // non-reliable event object - svc_Prefetch = 28; // only sound indices for now - svc_Menu = 29; // display a menu from a plugin - svc_GameEventList = 30; // list of known games events and fields - svc_GetCvarValue = 31; // Server wants to know the value of a cvar on the client - svc_PacketReliable = 32; - svc_FullFrameSplit = 33; -} - -message CSVCMsg_ServerInfo -{ - optional int32 protocol = 1; // protocol version - optional int32 server_count = 2; // number of changelevels since server start - optional bool is_dedicated = 3; // dedicated server ? - optional bool is_hltv = 4; // HLTV server ? - optional bool is_replay = 5; // Replay server ? - optional int32 c_os = 6; // L = linux, W = Win32 - optional fixed32 map_crc = 7; // server map CRC - optional fixed32 client_crc = 8; // client.dll CRC server is using - optional fixed32 string_table_crc = 9; // string table CRC server is using - optional int32 max_clients = 10; // max number of clients on server - optional int32 max_classes = 11; // max number of server classes - optional int32 player_slot = 12; // our client slot number - optional float tick_interval = 13; // server tick interval - optional string game_dir = 14; // game directory eg "tf2" - optional string map_name = 15; // name of current map - optional string sky_name = 16; // name of current skybox - optional string host_name = 17; // server name - optional string addon_name = 18; -} - -message CSVCMsg_ClassInfo -{ - message class_t - { - optional int32 class_id = 1; - optional string data_table_name = 2; - optional string class_name = 3; - } - - optional bool create_on_client = 1; - repeated class_t classes = 2; -} - -message CSVCMsg_SetPause -{ - optional bool paused = 1; -} - -message CSVCMsg_VoiceInit -{ - optional int32 quality = 1; - optional string codec = 2; - optional int32 version = 3 [default = 0]; -} - -message CSVCMsg_Print -{ - optional string text = 1; -} - -message CSVCMsg_Sounds -{ - message sounddata_t - { - optional sint32 origin_x = 1; - optional sint32 origin_y = 2; - optional sint32 origin_z = 3; - optional uint32 volume = 4; - optional float delay_value = 5; - optional int32 sequence_number = 6; - optional int32 entity_index = 7; - optional int32 channel = 8; - optional int32 pitch = 9; - optional int32 flags = 10; - optional uint32 sound_num = 11; - optional fixed32 sound_num_handle = 12; - optional int32 speaker_entity = 13; - optional int32 random_seed = 14; - optional int32 sound_level = 15; // soundlevel_t - optional bool is_sentence = 16; - optional bool is_ambient = 17; - }; - - optional bool reliable_sound = 1; - repeated sounddata_t sounds = 2; -} - -message CSVCMsg_Prefetch -{ - optional int32 sound_index = 1; -} - -message CSVCMsg_SetView -{ - optional int32 entity_index = 1; -} - -message CSVCMsg_FixAngle -{ - optional bool relative = 1; - optional CMsgQAngle angle = 2; -} - -message CSVCMsg_CrosshairAngle -{ - optional CMsgQAngle angle = 1; -} - -message CSVCMsg_BSPDecal -{ - optional CMsgVector pos = 1; - optional int32 decal_texture_index = 2; - optional int32 entity_index = 3; - optional int32 model_index = 4; - optional bool low_priority = 5; -} - -enum ESplitScreenMessageType -{ - MSG_SPLITSCREEN_ADDUSER = 0; - MSG_SPLITSCREEN_REMOVEUSER = 1; -}; - -message CSVCMsg_SplitScreen -{ - optional ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; - optional int32 slot = 2; - optional int32 player_index = 3; -} - -message CSVCMsg_GetCvarValue -{ - optional int32 cookie = 1; // QueryCvarCookie_t - optional string cvar_name = 2; -} - -message CSVCMsg_Menu -{ - optional int32 dialog_type = 1; // DIALOG_TYPE - optional bytes menu_key_values = 2; // KeyValues.WriteAsBinary() -} - -message CSVCMsg_SendTable -{ - message sendprop_t - { - optional int32 type = 1; // SendPropType - optional string var_name = 2; - optional int32 flags = 3; - optional int32 priority = 4; - optional string dt_name = 5; // if pProp->m_Type == DPT_DataTable || IsExcludeProp - optional int32 num_elements = 6; // else if pProp->m_Type == DPT_Array - optional float low_value = 7; // else ... - optional float high_value = 8; // ... - optional int32 num_bits = 9; // ... - }; - - optional bool is_end = 1; - optional string net_table_name = 2; - optional bool needs_decoder = 3; - repeated sendprop_t props = 4; -} - -message CSVCMsg_GameEventList -{ - message key_t - { - optional int32 type = 1; - optional string name = 2; - }; - - message descriptor_t - { - optional int32 eventid = 1; - optional string name = 2; - repeated key_t keys = 3; - }; - - repeated descriptor_t descriptors = 1; -} - -message CSVCMsg_PacketEntities -{ - optional int32 max_entries = 1; - optional int32 updated_entries = 2; - optional bool is_delta = 3; - optional bool update_baseline = 4; - optional int32 baseline = 5; - optional int32 delta_from = 6; - optional bytes entity_data = 7; - optional bool pending_full_frame = 8; -} - -message CSVCMsg_TempEntities -{ - optional bool reliable = 1; - optional int32 num_entries = 2; - optional bytes entity_data = 3; -} - -message CSVCMsg_CreateStringTable -{ - optional string name = 1; - optional int32 max_entries = 2; - optional int32 num_entries = 3; - optional bool user_data_fixed_size = 4; - optional int32 user_data_size = 5; - optional int32 user_data_size_bits = 6; - optional int32 flags = 7; - optional bytes string_data = 8; -} - -message CSVCMsg_UpdateStringTable -{ - optional int32 table_id = 1; - optional int32 num_changed_entries = 2; - optional bytes string_data = 3; -} - -message CSVCMsg_VoiceData -{ - optional int32 client = 1; - optional bool proximity = 2; - optional fixed64 xuid = 3; - optional int32 audible_mask = 4; - optional bytes voice_data = 5; - optional VoiceDataFormat_t format = 6 [default = VOICEDATA_FORMAT_STEAM]; - optional int32 sequence_bytes = 7; - optional uint32 section_number = 8; - optional uint32 uncompressed_sample_offset = 9; - optional uint32 tick = 10; -} - -message CSVCMsg_PacketReliable -{ - optional int32 tick = 1; - optional int32 messagessize = 2; -} - -message CSVCMsg_FullFrameSplit -{ - optional int32 tick = 1; - optional int32 section = 2; - optional int32 total = 3; - optional bytes data = 4; -} +import "networkbasetypes.proto"; + +option cc_generic_services = false; + +enum CLC_Messages { + clc_ClientInfo = 20; + clc_Move = 21; + clc_VoiceData = 22; + clc_BaselineAck = 23; + clc_ListenEvents = 24; + clc_RespondCvarValue = 25; + clc_FileCRCCheck = 26; + clc_LoadingProgress = 27; + clc_SplitPlayerConnect = 28; + clc_ClientMessage = 29; + clc_SplitPlayerDisconnect = 30; + clc_ServerStatus = 31; + clc_ServerPing = 32; + clc_RequestPause = 33; + clc_CmdKeyValues = 34; +} + +enum SVC_Messages { + svc_ServerInfo = 40; + svc_FlattenedSerializer = 41; + svc_ClassInfo = 42; + svc_SetPause = 43; + svc_CreateStringTable = 44; + svc_UpdateStringTable = 45; + svc_VoiceInit = 46; + svc_VoiceData = 47; + svc_Print = 48; + svc_Sounds = 49; + svc_SetView = 50; + svc_ClearAllStringTables = 51; + svc_CmdKeyValues = 52; + svc_BSPDecal = 53; + svc_SplitScreen = 54; + svc_PacketEntities = 55; + svc_Prefetch = 56; + svc_Menu = 57; + svc_GetCvarValue = 58; + svc_StopSound = 59; + svc_PeerList = 60; + svc_PacketReliable = 61; + svc_UserMessage = 62; + svc_SendTable = 63; + svc_GameEvent = 67; + svc_TempEntities = 68; + svc_GameEventList = 69; + svc_FullFrameSplit = 70; +} + +enum VoiceDataFormat_t { + VOICEDATA_FORMAT_STEAM = 0; + VOICEDATA_FORMAT_ENGINE = 1; +} + +enum RequestPause_t { + RP_PAUSE = 0; + RP_UNPAUSE = 1; + RP_TOGGLEPAUSE = 2; +} + +enum PrefetchType { + PFT_SOUND = 0; +} + +enum ESplitScreenMessageType { + MSG_SPLITSCREEN_ADDUSER = 0; + MSG_SPLITSCREEN_REMOVEUSER = 1; +} + +enum EQueryCvarValueStatus { + eQueryCvarValueStatus_ValueIntact = 0; + eQueryCvarValueStatus_CvarNotFound = 1; + eQueryCvarValueStatus_NotACvar = 2; + eQueryCvarValueStatus_CvarProtected = 3; +} + +enum DIALOG_TYPE { + DIALOG_MSG = 0; + DIALOG_MENU = 1; + DIALOG_TEXT = 2; + DIALOG_ENTRY = 3; + DIALOG_ASKCONNECT = 4; +} + +enum SVC_Messages_LowFrequency { + svc_dummy = 600; +} + +enum Bidirectional_Messages { + bi_RebroadcastGameEvent = 16; + bi_RebroadcastSource = 17; + bi_GameEvent = 18; +} + +enum Bidirectional_Messages_LowFrequency { + bi_RelayInfo = 700; + bi_RelayPacket = 701; +} + +message CCLCMsg_ClientInfo { + optional fixed32 send_table_crc = 1; + optional uint32 server_count = 2; + optional bool is_hltv = 3; + optional bool is_replay = 4; + optional uint32 friends_id = 5; + optional string friends_name = 6; + repeated fixed32 custom_files = 7; +} + +message CCLCMsg_Move { + optional uint32 num_backup_commands = 1; + optional uint32 num_new_commands = 2; + optional bytes data = 3; +} + +message CMsgVoiceAudio { + optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM]; + optional bytes voice_data = 2; + optional int32 sequence_bytes = 3; + optional uint32 section_number = 4; + optional uint32 sample_rate = 5; + optional uint32 uncompressed_sample_offset = 6; +} + +message CCLCMsg_VoiceData { + optional .CMsgVoiceAudio audio = 1; + optional fixed64 xuid = 2; + optional uint32 tick = 3; +} + +message CCLCMsg_BaselineAck { + optional int32 baseline_tick = 1; + optional int32 baseline_nr = 2; +} + +message CCLCMsg_ListenEvents { + repeated fixed32 event_mask = 1; +} + +message CCLCMsg_RespondCvarValue { + optional int32 cookie = 1; + optional int32 status_code = 2; + optional string name = 3; + optional string value = 4; +} + +message CCLCMsg_FileCRCCheck { + optional int32 code_path = 1; + optional string path = 2; + optional int32 code_filename = 3; + optional string filename = 4; + optional fixed32 crc = 5; +} + +message CCLCMsg_LoadingProgress { + optional int32 progress = 1; +} + +message CCLCMsg_SplitPlayerConnect { + optional string playername = 1; +} + +message CCLCMsg_ClientMessage { + optional int32 msg_type = 1; + optional bytes data = 2; +} + +message CCLCMsg_SplitPlayerDisconnect { + optional int32 slot = 1; +} + +message CCLCMsg_ServerStatus { + optional bool simplified = 1; +} + +message CCLCMsg_ServerPing { +} + +message CCLCMsg_RequestPause { + optional .RequestPause_t pause_type = 1 [default = RP_PAUSE]; + optional int32 pause_group = 2; +} + +message CCLCMsg_CmdKeyValues { + optional bytes data = 1; +} + +message CSVCMsg_ServerInfo { + optional int32 protocol = 1; + optional int32 server_count = 2; + optional bool is_dedicated = 3; + optional bool is_hltv = 4; + optional bool is_replay = 5; + optional int32 c_os = 6; + optional fixed32 map_crc = 7; + optional fixed32 client_crc = 8; + optional fixed32 string_table_crc = 9; + optional int32 max_clients = 10; + optional int32 max_classes = 11; + optional int32 player_slot = 12; + optional float tick_interval = 13; + optional string game_dir = 14; + optional string map_name = 15; + optional string sky_name = 16; + optional string host_name = 17; + optional string addon_name = 18; + optional .CSVCMsg_GameSessionConfiguration game_session_config = 19; + optional bytes game_session_manifest = 20; +} + +message CSVCMsg_ClassInfo { + message class_t { + optional int32 class_id = 1; + optional string data_table_name = 2; + optional string class_name = 3; + } + + optional bool create_on_client = 1; + repeated .CSVCMsg_ClassInfo.class_t classes = 2; +} + +message CSVCMsg_SetPause { + optional bool paused = 1; +} + +message CSVCMsg_VoiceInit { + optional int32 quality = 1; + optional string codec = 2; + optional int32 version = 3 [default = 0]; +} + +message CSVCMsg_Print { + optional string text = 1; +} + +message CSVCMsg_Sounds { + message sounddata_t { + optional sint32 origin_x = 1; + optional sint32 origin_y = 2; + optional sint32 origin_z = 3; + optional uint32 volume = 4; + optional float delay_value = 5; + optional int32 sequence_number = 6; + optional int32 entity_index = 7; + optional int32 channel = 8; + optional int32 pitch = 9; + optional int32 flags = 10; + optional uint32 sound_num = 11; + optional fixed32 sound_num_handle = 12; + optional int32 speaker_entity = 13; + optional int32 random_seed = 14; + optional int32 sound_level = 15; + optional bool is_sentence = 16; + optional bool is_ambient = 17; + optional uint32 guid = 18; + optional fixed64 sound_resource_id = 19; + } + + optional bool reliable_sound = 1; + repeated .CSVCMsg_Sounds.sounddata_t sounds = 2; +} + +message CSVCMsg_Prefetch { + optional int32 sound_index = 1; + optional .PrefetchType resource_type = 2 [default = PFT_SOUND]; +} + +message CSVCMsg_SetView { + optional int32 entity_index = 1; + optional int32 slot = 2; +} + +message CSVCMsg_FixAngle { + optional bool relative = 1; + optional .CMsgQAngle angle = 2; +} + +message CSVCMsg_CrosshairAngle { + optional .CMsgQAngle angle = 1; +} + +message CSVCMsg_BSPDecal { + optional .CMsgVector pos = 1; + optional int32 decal_texture_index = 2; + optional int32 entity_index = 3; + optional int32 model_index = 4; + optional bool low_priority = 5; +} + +message CSVCMsg_SplitScreen { + optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER]; + optional int32 slot = 2; + optional int32 player_index = 3; +} + +message CSVCMsg_GetCvarValue { + optional int32 cookie = 1; + optional string cvar_name = 2; +} + +message CSVCMsg_Menu { + optional int32 dialog_type = 1; + optional bytes menu_key_values = 2; +} + +message CSVCMsg_SendTable { + message sendprop_t { + optional int32 type = 1; + optional string var_name = 2; + optional int32 flags = 3; + optional int32 priority = 4; + optional string dt_name = 5; + optional int32 num_elements = 6; + optional float low_value = 7; + optional float high_value = 8; + optional int32 num_bits = 9; + } + + optional bool is_end = 1; + optional string net_table_name = 2; + optional bool needs_decoder = 3; + repeated .CSVCMsg_SendTable.sendprop_t props = 4; +} + +message CSVCMsg_GameEventList { + message key_t { + optional int32 type = 1; + optional string name = 2; + } + + message descriptor_t { + optional int32 eventid = 1; + optional string name = 2; + repeated .CSVCMsg_GameEventList.key_t keys = 3; + } + + repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1; +} + +message CSVCMsg_PacketEntities { + optional int32 max_entries = 1; + optional int32 updated_entries = 2; + optional bool is_delta = 3; + optional bool update_baseline = 4; + optional int32 baseline = 5; + optional int32 delta_from = 6; + optional bytes entity_data = 7; + optional bool pending_full_frame = 8; + optional uint32 active_spawngroup_handle = 9; + optional uint32 max_spawngroup_creationsequence = 10; +} + +message CSVCMsg_TempEntities { + optional bool reliable = 1; + optional int32 num_entries = 2; + optional bytes entity_data = 3; +} + +message CSVCMsg_CreateStringTable { + optional string name = 1; + optional int32 num_entries = 2; + optional bool user_data_fixed_size = 3; + optional int32 user_data_size = 4; + optional int32 user_data_size_bits = 5; + optional int32 flags = 6; + optional bytes string_data = 7; + optional int32 uncompressed_size = 8; + optional bool data_compressed = 9; +} + +message CSVCMsg_UpdateStringTable { + optional int32 table_id = 1; + optional int32 num_changed_entries = 2; + optional bytes string_data = 3; +} + +message CSVCMsg_VoiceData { + optional .CMsgVoiceAudio audio = 1; + optional int32 client = 2; + optional bool proximity = 3; + optional fixed64 xuid = 4; + optional int32 audible_mask = 5; + optional uint32 tick = 6; +} + +message CSVCMsg_PacketReliable { + optional int32 tick = 1; + optional int32 messagessize = 2; + optional bool state = 3; +} + +message CSVCMsg_FullFrameSplit { + optional int32 tick = 1; + optional int32 section = 2; + optional int32 total = 3; + optional bytes data = 4; +} + +message CSVCMsg_CmdKeyValues { + optional bytes data = 1; +} + +message CMsgIPCAddress { + optional fixed64 computer_guid = 1; + optional uint32 process_id = 2; +} + +message CMsgServerPeer { + optional int32 player_slot = 1; + optional fixed64 steamid = 2; + optional .CMsgIPCAddress ipc = 3; + optional bool they_hear_you = 4; + optional bool you_hear_them = 5; + optional bool is_listenserver_host = 6; +} + +message CSVCMsg_PeerList { + repeated .CMsgServerPeer peer = 1; +} + +message CSVCMsg_ClearAllStringTables { + optional string mapname = 1; + optional uint32 map_crc = 2; +} + +message ProtoFlattenedSerializerField_t { + optional int32 var_type_sym = 1; + optional int32 var_name_sym = 2; + optional int32 bit_count = 3; + optional float low_value = 4; + optional float high_value = 5; + optional int32 encode_flags = 6; + optional int32 field_serializer_name_sym = 7; + optional int32 field_serializer_version = 8; + optional int32 send_node_sym = 9; +} + +message ProtoFlattenedSerializer_t { + optional int32 serializer_name_sym = 1; + optional int32 serializer_version = 2; + repeated int32 fields_index = 3; +} + +message CSVCMsg_FlattenedSerializer { + repeated .ProtoFlattenedSerializer_t serializers = 1; + repeated string symbols = 2; + repeated .ProtoFlattenedSerializerField_t fields = 3; +} + +message CSVCMsg_StopSound { + optional fixed32 guid = 1; +} + +message CBidirMsg_RebroadcastGameEvent { + optional bool posttoserver = 1; + optional int32 buftype = 2; + optional uint32 clientbitcount = 3; + optional uint64 receivingclients = 4; +} + +message CBidirMsg_RebroadcastSource { + optional int32 eventsource = 1; +} + +message SerializedNetAddress_t { + required bytes serializedAddress = 1; +} + +message CBidirMsg_RelayInfo { + enum Operation_t { + RIO_REQUEST_RELAY = 0; + RIO_WILL_RELAY = 1; + RIO_NO_ROUTE = 2; + RIO_REJECT_RELAY = 3; + RIO_ESTABLISH_CONNECTION = 4; + } + + required .CBidirMsg_RelayInfo.Operation_t operation = 1 [default = RIO_REQUEST_RELAY]; + optional .SerializedNetAddress_t serializedTargetAddress = 2; + optional uint32 additionalHops = 3; +} + +message SignedPayload_t { + required bytes payloadData = 1; + required uint32 signature = 2; + required bool bPayloadEncrypted = 3; +} + +message CBidirMsg_RelayPacket { + message SignedDestinationAddress_t { + required .SerializedNetAddress_t serializedAddr = 1; + required uint32 signature = 2; + optional bytes encryptedPayloadKey = 3; + } + + required uint32 prevhopcount = 1; + required .SerializedNetAddress_t originalSender = 2; + required .SignedPayload_t signedPayload = 3; + repeated .CBidirMsg_RelayPacket.SignedDestinationAddress_t recipientList = 4; +} + diff --git a/public/engine/protobuf/network_connection.pb.cc b/public/engine/protobuf/network_connection.pb.cc index ad4b8c8c..d2ae4680 100644 --- a/public/engine/protobuf/network_connection.pb.cc +++ b/public/engine/protobuf/network_connection.pb.cc @@ -58,7 +58,7 @@ void protobuf_AddDesc_network_5fconnection_2eproto() { ::google::protobuf::protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\030network_connection.proto\032 google/proto" - "buf/descriptor.proto*\217 \n\033ENetworkDisconn" + "buf/descriptor.proto*\241*\n\033ENetworkDisconn" "ectionReason\022\036\n\032NETWORK_DISCONNECT_INVAL" "ID\020\000\022\037\n\033NETWORK_DISCONNECT_SHUTDOWN\020\001\022F\n" "%NETWORK_DISCONNECT_DISCONNECT_BY_USER\020\002" @@ -161,9 +161,41 @@ void protobuf_AddDesc_network_5fconnection_2eproto() { "ailure\022Y\n)NETWORK_DISCONNECT_NO_PEER_GRO" "UP_HANDLERS\0204\032*\242\324\030&#GameUI_Disconnect_No" "PeerGroupHandlers\022#\n\037NETWORK_DISCONNECT_" - "RECONNECTION\0205:E\n\030network_connection_tok" - "en\022!.google.protobuf.EnumValueOptions\030\304\212" - "\003 \001(\tB\003\200\001\000", 4250); + "RECONNECTION\0205\022H\n\037NETWORK_DISCONNECT_LOO" + "PSHUTDOWN\0206\032#\242\324\030\037#GameUI_Disconnect_Loop" + "Shutdown\022L\n!NETWORK_DISCONNECT_LOOPDEACT" + "IVATE\0207\032%\242\324\030!#GameUI_Disconnect_LoopDeac" + "tivate\022H\n\037NETWORK_DISCONNECT_HOST_ENDGAM" + "E\0208\032#\242\324\030\037#GameUI_Disconnect_Host_EndGame" + "\022\\\n*NETWORK_DISCONNECT_LOOP_LEVELLOAD_AC" + "TIVATE\0209\032,\242\324\030(#GameUI_Disconnect_LoopLev" + "elLoadActivate\022V\n\'NETWORK_DISCONNECT_CRE" + "ATE_SERVER_FAILED\020:\032)\242\324\030%#GameUI_Disconn" + "ect_CreateServerFailed\022D\n\032NETWORK_DISCON" + "NECT_EXITING\020;\032$\242\324\030 #GameUI_Disconnect_E" + "xitingEngine\022T\n)NETWORK_DISCONNECT_REQUE" + "ST_HOSTSTATE_IDLE\020<\032%\242\324\030!#GameUI_Disconn" + "ect_Request_HSIdle\022\\\n.NETWORK_DISCONNECT" + "_REQUEST_HOSTSTATE_HLTVRELAY\020=\032(\242\324\030$#Gam" + "eUI_Disconnect_Request_HLTVRelay\022Q\n*NETW" + "ORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL\020>" + "\032!\242\324\030\035#GameUI_ClientConsistencyFail\022Q\n+N" + "ETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_M" + "AP\020\?\032 \242\324\030\034#GameUI_ClientUnableToCRCMap\022=" + "\n NETWORK_DISCONNECT_CLIENT_NO_MAP\020@\032\027\242\324" + "\030\023#GameUI_ClientNoMap\022K\n\'NETWORK_DISCONN" + "ECT_CLIENT_DIFFERENT_MAP\020A\032\036\242\324\030\032#GameUI_" + "ClientDifferentMap\022M\n(NETWORK_DISCONNECT" + "_SERVER_REQUIRES_STEAM\020B\032\037\242\324\030\033#GameUI_Se" + "rverRequireSteams\022M\n\"NETWORK_DISCONNECT_" + "STEAM_DENY_MISC\020C\032%\242\324\030!#GameUI_Disconnec" + "t_SteamDeny_Misc\022_\n,NETWORK_DISCONNECT_S" + "TEAM_DENY_BAD_ANTI_CHEAT\020D\032-\242\324\030)#GameUI_" + "Disconnect_SteamDeny_BadAntiCheat\022M\n\"NET" + "WORK_DISCONNECT_SERVER_SHUTDOWN\020E\032%\242\324\030!#" + "GameUI_Disconnect_ServerShutdown:E\n\030netw" + "ork_connection_token\022!.google.protobuf.E" + "numValueOptions\030\304\212\003 \001(\tB\003\200\001\000", 5548); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "network_connection.proto", &protobuf_RegisterTypes); ::google::protobuf::internal::ExtensionSet::RegisterExtension( @@ -238,6 +270,22 @@ bool ENetworkDisconnectionReason_IsValid(int value) { case 51: case 52: case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + case 64: + case 65: + case 66: + case 67: + case 68: + case 69: return true; default: return false; diff --git a/public/engine/protobuf/network_connection.pb.h b/public/engine/protobuf/network_connection.pb.h index f1b3187b..16fad082 100644 --- a/public/engine/protobuf/network_connection.pb.h +++ b/public/engine/protobuf/network_connection.pb.h @@ -86,11 +86,27 @@ enum ENetworkDisconnectionReason { NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50, NETWORK_DISCONNECT_CONNECTION_FAILURE = 51, NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52, - NETWORK_DISCONNECT_RECONNECTION = 53 + NETWORK_DISCONNECT_RECONNECTION = 53, + NETWORK_DISCONNECT_LOOPSHUTDOWN = 54, + NETWORK_DISCONNECT_LOOPDEACTIVATE = 55, + NETWORK_DISCONNECT_HOST_ENDGAME = 56, + NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57, + NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58, + NETWORK_DISCONNECT_EXITING = 59, + NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60, + NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61, + NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62, + NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63, + NETWORK_DISCONNECT_CLIENT_NO_MAP = 64, + NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65, + NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66, + NETWORK_DISCONNECT_STEAM_DENY_MISC = 67, + NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68, + NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69 }; bool ENetworkDisconnectionReason_IsValid(int value); const ENetworkDisconnectionReason ENetworkDisconnectionReason_MIN = NETWORK_DISCONNECT_INVALID; -const ENetworkDisconnectionReason ENetworkDisconnectionReason_MAX = NETWORK_DISCONNECT_RECONNECTION; +const ENetworkDisconnectionReason ENetworkDisconnectionReason_MAX = NETWORK_DISCONNECT_SERVER_SHUTDOWN; const int ENetworkDisconnectionReason_ARRAYSIZE = ENetworkDisconnectionReason_MAX + 1; const ::google::protobuf::EnumDescriptor* ENetworkDisconnectionReason_descriptor(); diff --git a/public/engine/protobuf/network_connection.proto b/public/engine/protobuf/network_connection.proto index c3d651d0..5ea8ec01 100644 --- a/public/engine/protobuf/network_connection.proto +++ b/public/engine/protobuf/network_connection.proto @@ -1,83 +1,12 @@ -//====== Copyright (c) 2012, Valve Corporation, All rights reserved. ========// -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -// THE POSSIBILITY OF SUCH DAMAGE. -//===========================================================================// -// -// Purpose: The file defines our Google Protocol Buffers which are used in over -// the wire messages for the Source engine. -// -//============================================================================= - -// Note about encoding: -// http://code.google.com/apis/protocolbuffers/docs/encoding.html -// -// TL;DR: Use sint32/sint64 for values that may be negative. -// -// There is an important difference between the signed int types (sint32 and sint64) -// and the "standard" int types (int32 and int64) when it comes to encoding negative -// numbers. If you use int32 or int64 as the type for a negative number, the -// resulting varint is always ten bytes long – it is, effectively, treated like a -// very large unsigned integer. If you use one of the signed types, the resulting -// varint uses ZigZag encoding, which is much more efficient. - - -// Commenting this out allows it to be compiled for SPEED or LITE_RUNTIME. -// option optimize_for = SPEED; - -// We don't use the service generation functionality -option cc_generic_services = false; - - -// -// STYLE NOTES: -// -// Use CamelCase CMsgMyMessageName style names for messages. -// -// Use lowercase _ delimited names like my_steam_id for field names, this is non-standard for Steam, -// but plays nice with the Google formatted code generation. -// -// Try not to use required fields ever. Only do so if you are really really sure you'll never want them removed. -// Optional should be preffered as it will make versioning easier and cleaner in the future if someone refactors -// your message and wants to remove or rename fields. -// -// Use fixed64 for JobId_t, GID_t, or SteamID. This is appropriate for any field that is normally -// going to be larger than 2^56. Otherwise use int64 for 64 bit values that are frequently smaller -// than 2^56 as it will safe space on the wire in those cases. -// -// Similar to fixed64, use fixed32 for RTime32 or other 32 bit values that are frequently larger than -// 2^28. It will safe space in those cases, otherwise use int32 which will safe space for smaller values. -// An exception to this rule for RTime32 is if the value will frequently be zero rather than set to an actual -// time. -// - import "google/protobuf/descriptor.proto"; -extend .google.protobuf.EnumValueOptions -{ +option cc_generic_services = false; + +extend .google.protobuf.EnumValueOptions { optional string network_connection_token = 50500; } -enum ENetworkDisconnectionReason -{ +enum ENetworkDisconnectionReason { NETWORK_DISCONNECT_INVALID = 0; NETWORK_DISCONNECT_SHUTDOWN = 1; NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2 [(network_connection_token) = "#GameUI_Disconnect_User"]; @@ -132,5 +61,21 @@ enum ENetworkDisconnectionReason NETWORK_DISCONNECT_CONNECTION_FAILURE = 51 [(network_connection_token) = "#GameUI_Disconnect_ConnectionFailure"]; NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52 [(network_connection_token) = "#GameUI_Disconnect_NoPeerGroupHandlers"]; NETWORK_DISCONNECT_RECONNECTION = 53; + NETWORK_DISCONNECT_LOOPSHUTDOWN = 54 [(network_connection_token) = "#GameUI_Disconnect_LoopShutdown"]; + NETWORK_DISCONNECT_LOOPDEACTIVATE = 55 [(network_connection_token) = "#GameUI_Disconnect_LoopDeactivate"]; + NETWORK_DISCONNECT_HOST_ENDGAME = 56 [(network_connection_token) = "#GameUI_Disconnect_Host_EndGame"]; + NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57 [(network_connection_token) = "#GameUI_Disconnect_LoopLevelLoadActivate"]; + NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58 [(network_connection_token) = "#GameUI_Disconnect_CreateServerFailed"]; + NETWORK_DISCONNECT_EXITING = 59 [(network_connection_token) = "#GameUI_Disconnect_ExitingEngine"]; + NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60 [(network_connection_token) = "#GameUI_Disconnect_Request_HSIdle"]; + NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61 [(network_connection_token) = "#GameUI_Disconnect_Request_HLTVRelay"]; + NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62 [(network_connection_token) = "#GameUI_ClientConsistencyFail"]; + NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63 [(network_connection_token) = "#GameUI_ClientUnableToCRCMap"]; + NETWORK_DISCONNECT_CLIENT_NO_MAP = 64 [(network_connection_token) = "#GameUI_ClientNoMap"]; + NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65 [(network_connection_token) = "#GameUI_ClientDifferentMap"]; + NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66 [(network_connection_token) = "#GameUI_ServerRequireSteams"]; + NETWORK_DISCONNECT_STEAM_DENY_MISC = 67 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_Misc"]; + NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_BadAntiCheat"]; + NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69 [(network_connection_token) = "#GameUI_Disconnect_ServerShutdown"]; } diff --git a/public/engine/protobuf/networkbasetypes.pb.cc b/public/engine/protobuf/networkbasetypes.pb.cc index c8ff9309..e7b5a66f 100644 --- a/public/engine/protobuf/networkbasetypes.pb.cc +++ b/public/engine/protobuf/networkbasetypes.pb.cc @@ -27,6 +27,9 @@ const ::google::protobuf::internal::GeneratedMessageReflection* const ::google::protobuf::Descriptor* CMsgQAngle_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CMsgQAngle_reflection_ = NULL; +const ::google::protobuf::Descriptor* CMsgPlayerInfo_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CMsgPlayerInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* CMsg_CVars_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* CMsg_CVars_reflection_ = NULL; @@ -78,8 +81,29 @@ const ::google::protobuf::internal::GeneratedMessageReflection* 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* CNETMsg_SpawnGroup_Load_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_SpawnGroup_Load_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_ManifestUpdate_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_SpawnGroup_ManifestUpdate_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_SetCreationTick_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_SpawnGroup_SetCreationTick_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_Unload_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_SpawnGroup_Unload_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_LoadCompleted_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_SpawnGroup_LoadCompleted_reflection_ = NULL; +const ::google::protobuf::Descriptor* CSVCMsg_GameSessionConfiguration_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CSVCMsg_GameSessionConfiguration_reflection_ = NULL; +const ::google::protobuf::Descriptor* CNETMsg_ReliableMessageEndMarker_descriptor_ = NULL; +const ::google::protobuf::internal::GeneratedMessageReflection* + CNETMsg_ReliableMessageEndMarker_reflection_ = NULL; const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor_ = NULL; -const ::google::protobuf::EnumDescriptor* SIGNONSTATE_descriptor_ = NULL; +const ::google::protobuf::EnumDescriptor* SpawnGroupFlags_t_descriptor_ = NULL; } // namespace @@ -140,7 +164,29 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CMsgQAngle)); - CMsg_CVars_descriptor_ = file->message_type(3); + CMsgPlayerInfo_descriptor_ = file->message_type(3); + static const int CMsgPlayerInfo_offsets_[8] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, name_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, xuid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, userid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, steamid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, fakeplayer_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, ishltv_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, customfiles_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, filesdownloaded_), + }; + CMsgPlayerInfo_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CMsgPlayerInfo_descriptor_, + CMsgPlayerInfo::default_instance_, + CMsgPlayerInfo_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsgPlayerInfo, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CMsgPlayerInfo)); + CMsg_CVars_descriptor_ = file->message_type(4); static const int CMsg_CVars_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CMsg_CVars, cvars_), }; @@ -171,7 +217,7 @@ void protobuf_AssignDesc_networkbasetypes_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(5); static const int CNETMsg_NOP_offsets_[1] = { }; CNETMsg_NOP_reflection_ = @@ -185,7 +231,7 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_NOP)); - CNETMsg_SplitScreenUser_descriptor_ = file->message_type(5); + CNETMsg_SplitScreenUser_descriptor_ = file->message_type(6); static const int CNETMsg_SplitScreenUser_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SplitScreenUser, slot_), }; @@ -200,7 +246,7 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_SplitScreenUser)); - CNETMsg_Disconnect_descriptor_ = file->message_type(6); + CNETMsg_Disconnect_descriptor_ = file->message_type(7); static const int CNETMsg_Disconnect_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Disconnect, reason_), }; @@ -215,7 +261,7 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_Disconnect)); - CNETMsg_File_descriptor_ = file->message_type(7); + CNETMsg_File_descriptor_ = file->message_type(8); static const int CNETMsg_File_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, transfer_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_File, file_name_), @@ -234,9 +280,11 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_File)); - CNETMsg_Tick_descriptor_ = file->message_type(8); - static const int CNETMsg_Tick_offsets_[4] = { + CNETMsg_Tick_descriptor_ = file->message_type(9); + static const int CNETMsg_Tick_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, tick_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_frametime_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_frametime_std_deviation_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_computationtime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_computationtime_std_deviation_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_Tick, host_framestarttime_std_deviation_), @@ -252,7 +300,7 @@ void protobuf_AssignDesc_networkbasetypes_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(10); static const int CNETMsg_StringCmd_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_StringCmd, command_), }; @@ -267,7 +315,7 @@ void protobuf_AssignDesc_networkbasetypes_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(11); static const int CNETMsg_SetConVar_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SetConVar, convars_), }; @@ -282,7 +330,7 @@ void protobuf_AssignDesc_networkbasetypes_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(12); 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_), @@ -301,7 +349,7 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CNETMsg_SignonState)); - CSVCMsg_GameEvent_descriptor_ = file->message_type(12); + CSVCMsg_GameEvent_descriptor_ = file->message_type(13); 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_), @@ -340,7 +388,7 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_GameEvent_key_t)); - CSVCMsgList_GameEvents_descriptor_ = file->message_type(13); + CSVCMsgList_GameEvents_descriptor_ = file->message_type(14); static const int CSVCMsgList_GameEvents_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_GameEvents, events_), }; @@ -371,7 +419,7 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsgList_GameEvents_event_t)); - CSVCMsg_UserMessage_descriptor_ = file->message_type(14); + CSVCMsg_UserMessage_descriptor_ = file->message_type(15); 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_), @@ -387,7 +435,7 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsg_UserMessage)); - CSVCMsgList_UserMessages_descriptor_ = file->message_type(15); + CSVCMsgList_UserMessages_descriptor_ = file->message_type(16); static const int CSVCMsgList_UserMessages_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsgList_UserMessages, usermsgs_), }; @@ -418,8 +466,147 @@ void protobuf_AssignDesc_networkbasetypes_2eproto() { ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(CSVCMsgList_UserMessages_usermsg_t)); + CNETMsg_SpawnGroup_Load_descriptor_ = file->message_type(17); + static const int CNETMsg_SpawnGroup_Load_offsets_[16] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, worldname_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, entitylumpname_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, entityfiltername_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, spawngrouphandle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, spawngroupownerhandle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, world_offset_pos_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, world_offset_angle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, spawngroupmanifest_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, flags_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, tickcount_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, manifestincomplete_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, localnamefixup_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, parentnamefixup_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, manifestloadpriority_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, worldgroupid_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, creationsequence_), + }; + CNETMsg_SpawnGroup_Load_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_SpawnGroup_Load_descriptor_, + CNETMsg_SpawnGroup_Load::default_instance_, + CNETMsg_SpawnGroup_Load_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Load, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_SpawnGroup_Load)); + CNETMsg_SpawnGroup_ManifestUpdate_descriptor_ = file->message_type(18); + static const int CNETMsg_SpawnGroup_ManifestUpdate_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, spawngrouphandle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, spawngroupmanifest_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, manifestincomplete_), + }; + CNETMsg_SpawnGroup_ManifestUpdate_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_SpawnGroup_ManifestUpdate_descriptor_, + CNETMsg_SpawnGroup_ManifestUpdate::default_instance_, + CNETMsg_SpawnGroup_ManifestUpdate_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_ManifestUpdate, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_SpawnGroup_ManifestUpdate)); + CNETMsg_SpawnGroup_SetCreationTick_descriptor_ = file->message_type(19); + static const int CNETMsg_SpawnGroup_SetCreationTick_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, spawngrouphandle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, tickcount_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, creationsequence_), + }; + CNETMsg_SpawnGroup_SetCreationTick_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_SpawnGroup_SetCreationTick_descriptor_, + CNETMsg_SpawnGroup_SetCreationTick::default_instance_, + CNETMsg_SpawnGroup_SetCreationTick_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_SetCreationTick, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_SpawnGroup_SetCreationTick)); + CNETMsg_SpawnGroup_Unload_descriptor_ = file->message_type(20); + static const int CNETMsg_SpawnGroup_Unload_offsets_[3] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, spawngrouphandle_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, flags_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, tickcount_), + }; + CNETMsg_SpawnGroup_Unload_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_SpawnGroup_Unload_descriptor_, + CNETMsg_SpawnGroup_Unload::default_instance_, + CNETMsg_SpawnGroup_Unload_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_Unload, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_SpawnGroup_Unload)); + CNETMsg_SpawnGroup_LoadCompleted_descriptor_ = file->message_type(21); + static const int CNETMsg_SpawnGroup_LoadCompleted_offsets_[1] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_LoadCompleted, spawngrouphandle_), + }; + CNETMsg_SpawnGroup_LoadCompleted_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_SpawnGroup_LoadCompleted_descriptor_, + CNETMsg_SpawnGroup_LoadCompleted::default_instance_, + CNETMsg_SpawnGroup_LoadCompleted_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_LoadCompleted, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_SpawnGroup_LoadCompleted, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_SpawnGroup_LoadCompleted)); + CSVCMsg_GameSessionConfiguration_descriptor_ = file->message_type(22); + static const int CSVCMsg_GameSessionConfiguration_offsets_[15] = { + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, is_multiplayer_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, is_loadsavegame_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, is_background_map_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, is_headless_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, min_client_limit_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, max_client_limit_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, max_clients_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, tick_interval_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, hostname_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, savegamename_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, s1_mapname_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, gamemode_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, server_ip_address_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, data_), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, is_localonly_), + }; + CSVCMsg_GameSessionConfiguration_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CSVCMsg_GameSessionConfiguration_descriptor_, + CSVCMsg_GameSessionConfiguration::default_instance_, + CSVCMsg_GameSessionConfiguration_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CSVCMsg_GameSessionConfiguration, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CSVCMsg_GameSessionConfiguration)); + CNETMsg_ReliableMessageEndMarker_descriptor_ = file->message_type(23); + static const int CNETMsg_ReliableMessageEndMarker_offsets_[1] = { + }; + CNETMsg_ReliableMessageEndMarker_reflection_ = + new ::google::protobuf::internal::GeneratedMessageReflection( + CNETMsg_ReliableMessageEndMarker_descriptor_, + CNETMsg_ReliableMessageEndMarker::default_instance_, + CNETMsg_ReliableMessageEndMarker_offsets_, + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_ReliableMessageEndMarker, _has_bits_[0]), + GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(CNETMsg_ReliableMessageEndMarker, _unknown_fields_), + -1, + ::google::protobuf::DescriptorPool::generated_pool(), + ::google::protobuf::MessageFactory::generated_factory(), + sizeof(CNETMsg_ReliableMessageEndMarker)); NET_Messages_descriptor_ = file->enum_type(0); - SIGNONSTATE_descriptor_ = file->enum_type(1); + SpawnGroupFlags_t_descriptor_ = file->enum_type(1); } namespace { @@ -438,6 +625,8 @@ void protobuf_RegisterTypes(const ::std::string&) { CMsgVector2D_descriptor_, &CMsgVector2D::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CMsgQAngle_descriptor_, &CMsgQAngle::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CMsgPlayerInfo_descriptor_, &CMsgPlayerInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( CMsg_CVars_descriptor_, &CMsg_CVars::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( @@ -472,6 +661,20 @@ void protobuf_RegisterTypes(const ::std::string&) { 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( + CNETMsg_SpawnGroup_Load_descriptor_, &CNETMsg_SpawnGroup_Load::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_SpawnGroup_ManifestUpdate_descriptor_, &CNETMsg_SpawnGroup_ManifestUpdate::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_SpawnGroup_SetCreationTick_descriptor_, &CNETMsg_SpawnGroup_SetCreationTick::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_SpawnGroup_Unload_descriptor_, &CNETMsg_SpawnGroup_Unload::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_SpawnGroup_LoadCompleted_descriptor_, &CNETMsg_SpawnGroup_LoadCompleted::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CSVCMsg_GameSessionConfiguration_descriptor_, &CSVCMsg_GameSessionConfiguration::default_instance()); + ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( + CNETMsg_ReliableMessageEndMarker_descriptor_, &CNETMsg_ReliableMessageEndMarker::default_instance()); } } // namespace @@ -483,6 +686,8 @@ void protobuf_ShutdownFile_networkbasetypes_2eproto() { delete CMsgVector2D_reflection_; delete CMsgQAngle::default_instance_; delete CMsgQAngle_reflection_; + delete CMsgPlayerInfo::default_instance_; + delete CMsgPlayerInfo_reflection_; delete CMsg_CVars::default_instance_; delete CMsg_CVars_reflection_; delete CMsg_CVars_CVar::default_instance_; @@ -517,6 +722,20 @@ void protobuf_ShutdownFile_networkbasetypes_2eproto() { delete CSVCMsgList_UserMessages_reflection_; delete CSVCMsgList_UserMessages_usermsg_t::default_instance_; delete CSVCMsgList_UserMessages_usermsg_t_reflection_; + delete CNETMsg_SpawnGroup_Load::default_instance_; + delete CNETMsg_SpawnGroup_Load_reflection_; + delete CNETMsg_SpawnGroup_ManifestUpdate::default_instance_; + delete CNETMsg_SpawnGroup_ManifestUpdate_reflection_; + delete CNETMsg_SpawnGroup_SetCreationTick::default_instance_; + delete CNETMsg_SpawnGroup_SetCreationTick_reflection_; + delete CNETMsg_SpawnGroup_Unload::default_instance_; + delete CNETMsg_SpawnGroup_Unload_reflection_; + delete CNETMsg_SpawnGroup_LoadCompleted::default_instance_; + delete CNETMsg_SpawnGroup_LoadCompleted_reflection_; + delete CSVCMsg_GameSessionConfiguration::default_instance_; + delete CSVCMsg_GameSessionConfiguration_reflection_; + delete CNETMsg_ReliableMessageEndMarker::default_instance_; + delete CNETMsg_ReliableMessageEndMarker_reflection_; } void protobuf_AddDesc_networkbasetypes_2eproto() { @@ -531,55 +750,101 @@ void protobuf_AddDesc_networkbasetypes_2eproto() { "tion.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\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\"R\n\nCMsg_CVars\022\037\n\005" - "cvars\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_NO" - "P\"\'\n\027CNETMsg_SplitScreenUser\022\014\n\004slot\030\001 \001" - "(\005\"^\n\022CNETMsg_Disconnect\022H\n\006reason\030\002 \001(\016" - "2\034.ENetworkDisconnectionReason:\032NETWORK_" - "DISCONNECT_INVALID\"|\n\014CNETMsg_File\022\023\n\013tr" - "ansfer_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\022\031\n" - "\021is_file_requested\030\005 \001(\010\"\221\001\n\014CNETMsg_Tic" - "k\022\014\n\004tick\030\001 \001(\r\022\034\n\024host_computationtime\030" - "\004 \001(\r\022*\n\"host_computationtime_std_deviat" - "ion\030\005 \001(\r\022)\n!host_framestarttime_std_dev" - "iation\030\006 \001(\r\"$\n\021CNETMsg_StringCmd\022\017\n\007com" - "mand\030\001 \001(\t\"1\n\021CNETMsg_SetConVar\022\034\n\007conva" - "rs\030\001 \001(\0132\013.CMsg_CVars\"\212\001\n\023CNETMsg_Signon" - "State\022\024\n\014signon_state\030\001 \001(\r\022\023\n\013spawn_cou" - "nt\030\002 \001(\r\022\032\n\022num_server_players\030\003 \001(\r\022\032\n\022" - "players_networkids\030\004 \003(\t\022\020\n\010map_name\030\005 \001" - "(\t\"\374\001\n\021CSVCMsg_GameEvent\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.CS" - "VCMsg_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\"\205\001\n\026CSVCMsgList_GameEv" - "ents\022/\n\006events\030\001 \003(\0132\037.CSVCMsgList_GameE" - "vents.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\023CSV" - "CMsg_UserMessage\022\020\n\010msg_type\030\001 \001(\005\022\020\n\010ms" - "g_data\030\002 \001(\014\"\217\001\n\030CSVCMsgList_UserMessage" - "s\0225\n\010usermsgs\030\001 \003(\0132#.CSVCMsgList_UserMe" - "ssages.usermsg_t\032<\n\tusermsg_t\022\014\n\004tick\030\001 " - "\001(\005\022!\n\003msg\030\002 \001(\0132\024.CSVCMsg_UserMessage*\237" - "\001\n\014NET_Messages\022\013\n\007net_NOP\020\000\022\022\n\016net_Disc" - "onnect\020\001\022\014\n\010net_File\020\002\022\027\n\023net_SplitScree" - "nUser\020\003\022\014\n\010net_Tick\020\004\022\021\n\rnet_StringCmd\020\005" - "\022\021\n\rnet_SetConVar\020\006\022\023\n\017net_SignonState\020\007" - "*\322\001\n\013SIGNONSTATE\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\024SIG" - "NONSTATE_PRESPAWN\020\004\022\025\n\021SIGNONSTATE_SPAWN" - "\020\005\022\024\n\020SIGNONSTATE_FULL\020\006\022\033\n\027SIGNONSTATE_" - "CHANGELEVEL\020\007B\003\200\001\000", 1898); + "\022\t\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"\237\001\n\016CMsgPlayerInf" + "o\022\014\n\004name\030\001 \001(\t\022\014\n\004xuid\030\002 \001(\006\022\016\n\006userid\030" + "\003 \001(\005\022\017\n\007steamid\030\004 \001(\006\022\022\n\nfakeplayer\030\005 \001" + "(\010\022\016\n\006ishltv\030\006 \001(\010\022\023\n\013customFiles\030\007 \003(\007\022" + "\027\n\017filesDownloaded\030\010 \001(\005\"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\027CNETMsg_SplitScreenUser\022\014\n\004slot\030\001" + " \001(\005\"^\n\022CNETMsg_Disconnect\022H\n\006reason\030\002 \001" + "(\0162\034.ENetworkDisconnectionReason:\032NETWOR" + "K_DISCONNECT_INVALID\"|\n\014CNETMsg_File\022\023\n\013" + "transfer_id\030\001 \001(\005\022\021\n\tfile_name\030\002 \001(\t\022\033\n\023" + "is_replay_demo_file\030\003 \001(\010\022\014\n\004deny\030\004 \001(\010\022" + "\031\n\021is_file_requested\030\005 \001(\010\"\317\001\n\014CNETMsg_T" + "ick\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\022" + "\034\n\024host_computationtime\030\004 \001(\r\022*\n\"host_co" + "mputationtime_std_deviation\030\005 \001(\r\022)\n!hos" + "t_framestarttime_std_deviation\030\006 \001(\r\"$\n\021" + "CNETMsg_StringCmd\022\017\n\007command\030\001 \001(\t\"1\n\021CN" + "ETMsg_SetConVar\022\034\n\007convars\030\001 \001(\0132\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_networki" + "ds\030\004 \003(\t\022\020\n\010map_name\030\005 \001(\t\"\374\001\n\021CSVCMsg_G" + "ameEvent\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_str" + "ing\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\"\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\"9\n\023CSVCMsg_UserMessage" + "\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\010usermsgs\030\001 " + "\003(\0132#.CSVCMsgList_UserMessages.usermsg_t" + "\032<\n\tusermsg_t\022\014\n\004tick\030\001 \001(\005\022!\n\003msg\030\002 \001(\013" + "2\024.CSVCMsg_UserMessage\"\300\003\n\027CNETMsg_Spawn" + "Group_Load\022\021\n\tworldname\030\001 \001(\t\022\026\n\016entityl" + "umpname\030\002 \001(\t\022\030\n\020entityfiltername\030\003 \001(\t\022" + "\030\n\020spawngrouphandle\030\004 \001(\r\022\035\n\025spawngroupo" + "wnerhandle\030\005 \001(\r\022%\n\020world_offset_pos\030\006 \001" + "(\0132\013.CMsgVector\022\'\n\022world_offset_angle\030\007 " + "\001(\0132\013.CMsgQAngle\022\032\n\022spawngroupmanifest\030\010" + " \001(\014\022\r\n\005flags\030\t \001(\r\022\021\n\ttickcount\030\n \001(\005\022\032" + "\n\022manifestincomplete\030\013 \001(\010\022\026\n\016localnamef" + "ixup\030\014 \001(\t\022\027\n\017parentnamefixup\030\r \001(\t\022\034\n\024m" + "anifestloadpriority\030\016 \001(\005\022\024\n\014worldgroupi" + "d\030\017 \001(\r\022\030\n\020creationsequence\030\020 \001(\r\"u\n!CNE" + "TMsg_SpawnGroup_ManifestUpdate\022\030\n\020spawng" + "rouphandle\030\001 \001(\r\022\032\n\022spawngroupmanifest\030\002" + " \001(\014\022\032\n\022manifestincomplete\030\003 \001(\010\"k\n\"CNET" + "Msg_SpawnGroup_SetCreationTick\022\030\n\020spawng" + "rouphandle\030\001 \001(\r\022\021\n\ttickcount\030\002 \001(\005\022\030\n\020c" + "reationsequence\030\003 \001(\r\"W\n\031CNETMsg_SpawnGr" + "oup_Unload\022\030\n\020spawngrouphandle\030\001 \001(\r\022\r\n\005" + "flags\030\002 \001(\r\022\021\n\ttickcount\030\003 \001(\005\"<\n CNETMs" + "g_SpawnGroup_LoadCompleted\022\030\n\020spawngroup" + "handle\030\001 \001(\r\"\360\002\n CSVCMsg_GameSessionConf" + "iguration\022\026\n\016is_multiplayer\030\001 \001(\010\022\027\n\017is_" + "loadsavegame\030\002 \001(\010\022\031\n\021is_background_map\030" + "\003 \001(\010\022\023\n\013is_headless\030\004 \001(\010\022\030\n\020min_client" + "_limit\030\005 \001(\r\022\030\n\020max_client_limit\030\006 \001(\r\022\023" + "\n\013max_clients\030\007 \001(\r\022\025\n\rtick_interval\030\010 \001" + "(\007\022\020\n\010hostname\030\t \001(\t\022\024\n\014savegamename\030\n \001" + "(\t\022\022\n\ns1_mapname\030\013 \001(\t\022\020\n\010gamemode\030\014 \001(\t" + "\022\031\n\021server_ip_address\030\r \001(\t\022\014\n\004data\030\016 \001(" + "\014\022\024\n\014is_localonly\030\017 \001(\010\"\"\n CNETMsg_Relia" + "bleMessageEndMarker*\336\002\n\014NET_Messages\022\013\n\007" + "net_NOP\020\000\022\022\n\016net_Disconnect\020\001\022\014\n\010net_Fil" + "e\020\002\022\027\n\023net_SplitScreenUser\020\003\022\014\n\010net_Tick" + "\020\004\022\021\n\rnet_StringCmd\020\005\022\021\n\rnet_SetConVar\020\006" + "\022\023\n\017net_SignonState\020\007\022\027\n\023net_SpawnGroup_" + "Load\020\010\022!\n\035net_SpawnGroup_ManifestUpdate\020" + "\t\022\"\n\036net_SpawnGroup_SetCreationTick\020\013\022\031\n" + "\025net_SpawnGroup_Unload\020\014\022 \n\034net_SpawnGro" + "up_LoadCompleted\020\r\022 \n\034net_ReliableMessag" + "eEndMarker\020\016*\353\002\n\021SpawnGroupFlags_t\022\'\n#SP" + "AWN_GROUP_LOAD_ENTITIES_FROM_SAVE\020\001\022#\n\037S" + "PAWN_GROUP_DONT_SPAWN_ENTITIES\020\002\022!\n\035SPAW" + "N_GROUP_SYNCHRONOUS_SPAWN\020\004\022&\n\"SPAWN_GRO" + "UP_IS_INITIAL_SPAWN_GROUP\020\010\022+\n\'SPAWN_GRO" + "UP_CREATE_CLIENT_ONLY_ENTITIES\020\020\022\035\n\031SPAW" + "N_GROUP_SAVE_ENTITIES\020 \022\"\n\036SPAWN_GROUP_B" + "LOCK_UNTIL_LOADED\020@\022$\n\037SPAWN_GROUP_LOAD_" + "STREAMING_DATA\020\200\001\022\'\n\"SPAWN_GROUP_CREATE_" + "NEW_SCENE_WORLD\020\200\002B\003\200\001\000", 3703); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "networkbasetypes.proto", &protobuf_RegisterTypes); CMsgVector::default_instance_ = new CMsgVector(); CMsgVector2D::default_instance_ = new CMsgVector2D(); CMsgQAngle::default_instance_ = new CMsgQAngle(); + CMsgPlayerInfo::default_instance_ = new CMsgPlayerInfo(); CMsg_CVars::default_instance_ = new CMsg_CVars(); CMsg_CVars_CVar::default_instance_ = new CMsg_CVars_CVar(); CNETMsg_NOP::default_instance_ = new CNETMsg_NOP(); @@ -597,9 +862,17 @@ void protobuf_AddDesc_networkbasetypes_2eproto() { 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(); + CNETMsg_SpawnGroup_Load::default_instance_ = new CNETMsg_SpawnGroup_Load(); + CNETMsg_SpawnGroup_ManifestUpdate::default_instance_ = new CNETMsg_SpawnGroup_ManifestUpdate(); + CNETMsg_SpawnGroup_SetCreationTick::default_instance_ = new CNETMsg_SpawnGroup_SetCreationTick(); + CNETMsg_SpawnGroup_Unload::default_instance_ = new CNETMsg_SpawnGroup_Unload(); + CNETMsg_SpawnGroup_LoadCompleted::default_instance_ = new CNETMsg_SpawnGroup_LoadCompleted(); + CSVCMsg_GameSessionConfiguration::default_instance_ = new CSVCMsg_GameSessionConfiguration(); + CNETMsg_ReliableMessageEndMarker::default_instance_ = new CNETMsg_ReliableMessageEndMarker(); CMsgVector::default_instance_->InitAsDefaultInstance(); CMsgVector2D::default_instance_->InitAsDefaultInstance(); CMsgQAngle::default_instance_->InitAsDefaultInstance(); + CMsgPlayerInfo::default_instance_->InitAsDefaultInstance(); CMsg_CVars::default_instance_->InitAsDefaultInstance(); CMsg_CVars_CVar::default_instance_->InitAsDefaultInstance(); CNETMsg_NOP::default_instance_->InitAsDefaultInstance(); @@ -617,6 +890,13 @@ void protobuf_AddDesc_networkbasetypes_2eproto() { CSVCMsg_UserMessage::default_instance_->InitAsDefaultInstance(); CSVCMsgList_UserMessages::default_instance_->InitAsDefaultInstance(); CSVCMsgList_UserMessages_usermsg_t::default_instance_->InitAsDefaultInstance(); + CNETMsg_SpawnGroup_Load::default_instance_->InitAsDefaultInstance(); + CNETMsg_SpawnGroup_ManifestUpdate::default_instance_->InitAsDefaultInstance(); + CNETMsg_SpawnGroup_SetCreationTick::default_instance_->InitAsDefaultInstance(); + CNETMsg_SpawnGroup_Unload::default_instance_->InitAsDefaultInstance(); + CNETMsg_SpawnGroup_LoadCompleted::default_instance_->InitAsDefaultInstance(); + CSVCMsg_GameSessionConfiguration::default_instance_->InitAsDefaultInstance(); + CNETMsg_ReliableMessageEndMarker::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_networkbasetypes_2eproto); } @@ -640,26 +920,33 @@ bool NET_Messages_IsValid(int value) { case 5: case 6: case 7: + case 8: + case 9: + case 11: + case 12: + case 13: + case 14: return true; default: return false; } } -const ::google::protobuf::EnumDescriptor* SIGNONSTATE_descriptor() { +const ::google::protobuf::EnumDescriptor* SpawnGroupFlags_t_descriptor() { protobuf_AssignDescriptorsOnce(); - return SIGNONSTATE_descriptor_; + return SpawnGroupFlags_t_descriptor_; } -bool SIGNONSTATE_IsValid(int value) { +bool SpawnGroupFlags_t_IsValid(int value) { switch(value) { - case 0: case 1: case 2: - case 3: case 4: - case 5: - case 6: - case 7: + case 8: + case 16: + case 32: + case 64: + case 128: + case 256: return true; default: return false; @@ -1549,6 +1836,529 @@ void CMsgQAngle::Swap(CMsgQAngle* other) { } +// =================================================================== + +#ifndef _MSC_VER +const int CMsgPlayerInfo::kNameFieldNumber; +const int CMsgPlayerInfo::kXuidFieldNumber; +const int CMsgPlayerInfo::kUseridFieldNumber; +const int CMsgPlayerInfo::kSteamidFieldNumber; +const int CMsgPlayerInfo::kFakeplayerFieldNumber; +const int CMsgPlayerInfo::kIshltvFieldNumber; +const int CMsgPlayerInfo::kCustomFilesFieldNumber; +const int CMsgPlayerInfo::kFilesDownloadedFieldNumber; +#endif // !_MSC_VER + +CMsgPlayerInfo::CMsgPlayerInfo() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CMsgPlayerInfo) +} + +void CMsgPlayerInfo::InitAsDefaultInstance() { +} + +CMsgPlayerInfo::CMsgPlayerInfo(const CMsgPlayerInfo& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CMsgPlayerInfo) +} + +void CMsgPlayerInfo::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + xuid_ = GOOGLE_ULONGLONG(0); + userid_ = 0; + steamid_ = GOOGLE_ULONGLONG(0); + fakeplayer_ = false; + ishltv_ = false; + filesdownloaded_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CMsgPlayerInfo::~CMsgPlayerInfo() { + // @@protoc_insertion_point(destructor:CMsgPlayerInfo) + SharedDtor(); +} + +void CMsgPlayerInfo::SharedDtor() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (this != default_instance_) { + } +} + +void CMsgPlayerInfo::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CMsgPlayerInfo::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CMsgPlayerInfo_descriptor_; +} + +const CMsgPlayerInfo& CMsgPlayerInfo::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_networkbasetypes_2eproto(); + return *default_instance_; +} + +CMsgPlayerInfo* CMsgPlayerInfo::default_instance_ = NULL; + +CMsgPlayerInfo* CMsgPlayerInfo::New() const { + return new CMsgPlayerInfo; +} + +void CMsgPlayerInfo::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 191) { + ZR_(xuid_, ishltv_); + if (has_name()) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + } + filesdownloaded_ = 0; + } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + customfiles_.Clear(); + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CMsgPlayerInfo::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CMsgPlayerInfo) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional string name = 1; + case 1: { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_name())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "name"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(17)) goto parse_xuid; + break; + } + + // optional fixed64 xuid = 2; + case 2: { + if (tag == 17) { + parse_xuid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( + input, &xuid_))); + set_has_xuid(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_userid; + break; + } + + // optional int32 userid = 3; + case 3: { + if (tag == 24) { + parse_userid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &userid_))); + set_has_userid(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(33)) goto parse_steamid; + break; + } + + // optional fixed64 steamid = 4; + case 4: { + if (tag == 33) { + parse_steamid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>( + input, &steamid_))); + set_has_steamid(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(40)) goto parse_fakeplayer; + break; + } + + // optional bool fakeplayer = 5; + case 5: { + if (tag == 40) { + parse_fakeplayer: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &fakeplayer_))); + set_has_fakeplayer(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(48)) goto parse_ishltv; + break; + } + + // optional bool ishltv = 6; + case 6: { + if (tag == 48) { + parse_ishltv: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &ishltv_))); + set_has_ishltv(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(61)) goto parse_customFiles; + break; + } + + // repeated fixed32 customFiles = 7; + case 7: { + if (tag == 61) { + parse_customFiles: + DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + 1, 61, input, this->mutable_customfiles()))); + } else if (tag == 58) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, this->mutable_customfiles()))); + } else { + goto handle_unusual; + } + if (input->ExpectTag(61)) goto parse_customFiles; + if (input->ExpectTag(64)) goto parse_filesDownloaded; + break; + } + + // optional int32 filesDownloaded = 8; + case 8: { + if (tag == 64) { + parse_filesDownloaded: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &filesdownloaded_))); + set_has_filesdownloaded(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CMsgPlayerInfo) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CMsgPlayerInfo) + return false; +#undef DO_ +} + +void CMsgPlayerInfo::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CMsgPlayerInfo) + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "name"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->name(), output); + } + + // optional fixed64 xuid = 2; + if (has_xuid()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->xuid(), output); + } + + // optional int32 userid = 3; + if (has_userid()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->userid(), output); + } + + // optional fixed64 steamid = 4; + if (has_steamid()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->steamid(), output); + } + + // optional bool fakeplayer = 5; + if (has_fakeplayer()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->fakeplayer(), output); + } + + // optional bool ishltv = 6; + if (has_ishltv()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->ishltv(), output); + } + + // repeated fixed32 customFiles = 7; + for (int i = 0; i < this->customfiles_size(); i++) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32( + 7, this->customfiles(i), output); + } + + // optional int32 filesDownloaded = 8; + if (has_filesdownloaded()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->filesdownloaded(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CMsgPlayerInfo) +} + +::google::protobuf::uint8* CMsgPlayerInfo::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CMsgPlayerInfo) + // optional string name = 1; + if (has_name()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->name().data(), this->name().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "name"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->name(), target); + } + + // optional fixed64 xuid = 2; + if (has_xuid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->xuid(), target); + } + + // optional int32 userid = 3; + if (has_userid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->userid(), target); + } + + // optional fixed64 steamid = 4; + if (has_steamid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->steamid(), target); + } + + // optional bool fakeplayer = 5; + if (has_fakeplayer()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->fakeplayer(), target); + } + + // optional bool ishltv = 6; + if (has_ishltv()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->ishltv(), target); + } + + // repeated fixed32 customFiles = 7; + for (int i = 0; i < this->customfiles_size(); i++) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteFixed32ToArray(7, this->customfiles(i), target); + } + + // optional int32 filesDownloaded = 8; + if (has_filesdownloaded()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->filesdownloaded(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CMsgPlayerInfo) + return target; +} + +int CMsgPlayerInfo::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string name = 1; + if (has_name()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->name()); + } + + // optional fixed64 xuid = 2; + if (has_xuid()) { + total_size += 1 + 8; + } + + // optional int32 userid = 3; + if (has_userid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->userid()); + } + + // optional fixed64 steamid = 4; + if (has_steamid()) { + total_size += 1 + 8; + } + + // optional bool fakeplayer = 5; + if (has_fakeplayer()) { + total_size += 1 + 1; + } + + // optional bool ishltv = 6; + if (has_ishltv()) { + total_size += 1 + 1; + } + + // optional int32 filesDownloaded = 8; + if (has_filesdownloaded()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->filesdownloaded()); + } + + } + // repeated fixed32 customFiles = 7; + { + int data_size = 0; + data_size = 4 * this->customfiles_size(); + total_size += 1 * this->customfiles_size() + data_size; + } + + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CMsgPlayerInfo::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CMsgPlayerInfo* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CMsgPlayerInfo::MergeFrom(const CMsgPlayerInfo& from) { + GOOGLE_CHECK_NE(&from, this); + customfiles_.MergeFrom(from.customfiles_); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_name()) { + set_name(from.name()); + } + if (from.has_xuid()) { + set_xuid(from.xuid()); + } + if (from.has_userid()) { + set_userid(from.userid()); + } + if (from.has_steamid()) { + set_steamid(from.steamid()); + } + if (from.has_fakeplayer()) { + set_fakeplayer(from.fakeplayer()); + } + if (from.has_ishltv()) { + set_ishltv(from.ishltv()); + } + if (from.has_filesdownloaded()) { + set_filesdownloaded(from.filesdownloaded()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CMsgPlayerInfo::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CMsgPlayerInfo::CopyFrom(const CMsgPlayerInfo& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CMsgPlayerInfo::IsInitialized() const { + + return true; +} + +void CMsgPlayerInfo::Swap(CMsgPlayerInfo* other) { + if (other != this) { + std::swap(name_, other->name_); + std::swap(xuid_, other->xuid_); + std::swap(userid_, other->userid_); + std::swap(steamid_, other->steamid_); + std::swap(fakeplayer_, other->fakeplayer_); + std::swap(ishltv_, other->ishltv_); + customfiles_.Swap(&other->customfiles_); + std::swap(filesdownloaded_, other->filesdownloaded_); + 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 CMsgPlayerInfo::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CMsgPlayerInfo_descriptor_; + metadata.reflection = CMsgPlayerInfo_reflection_; + return metadata; +} + + // =================================================================== #ifndef _MSC_VER @@ -3106,6 +3916,8 @@ void CNETMsg_File::Swap(CNETMsg_File* other) { #ifndef _MSC_VER const int CNETMsg_Tick::kTickFieldNumber; +const int CNETMsg_Tick::kHostFrametimeFieldNumber; +const int CNETMsg_Tick::kHostFrametimeStdDeviationFieldNumber; const int CNETMsg_Tick::kHostComputationtimeFieldNumber; const int CNETMsg_Tick::kHostComputationtimeStdDeviationFieldNumber; const int CNETMsg_Tick::kHostFramestarttimeStdDeviationFieldNumber; @@ -3130,6 +3942,8 @@ CNETMsg_Tick::CNETMsg_Tick(const CNETMsg_Tick& from) void CNETMsg_Tick::SharedCtor() { _cached_size_ = 0; tick_ = 0u; + host_frametime_ = 0u; + host_frametime_std_deviation_ = 0u; host_computationtime_ = 0u; host_computationtime_std_deviation_ = 0u; host_framestarttime_std_deviation_ = 0u; @@ -3178,7 +3992,9 @@ void CNETMsg_Tick::Clear() { ::memset(&first, 0, n); \ } while (0) - ZR_(tick_, host_framestarttime_std_deviation_); + if (_has_bits_[0 / 32] & 63) { + ZR_(tick_, host_framestarttime_std_deviation_); + } #undef OFFSET_OF_FIELD_ #undef ZR_ @@ -3207,6 +4023,36 @@ bool CNETMsg_Tick::MergePartialFromCodedStream( } else { goto handle_unusual; } + if (input->ExpectTag(16)) goto parse_host_frametime; + break; + } + + // optional uint32 host_frametime = 2; + case 2: { + if (tag == 16) { + parse_host_frametime: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &host_frametime_))); + set_has_host_frametime(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_host_frametime_std_deviation; + break; + } + + // optional uint32 host_frametime_std_deviation = 3; + case 3: { + if (tag == 24) { + parse_host_frametime_std_deviation: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &host_frametime_std_deviation_))); + set_has_host_frametime_std_deviation(); + } else { + goto handle_unusual; + } if (input->ExpectTag(32)) goto parse_host_computationtime; break; } @@ -3286,6 +4132,16 @@ void CNETMsg_Tick::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->tick(), output); } + // optional uint32 host_frametime = 2; + if (has_host_frametime()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->host_frametime(), output); + } + + // optional uint32 host_frametime_std_deviation = 3; + if (has_host_frametime_std_deviation()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->host_frametime_std_deviation(), output); + } + // optional uint32 host_computationtime = 4; if (has_host_computationtime()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->host_computationtime(), output); @@ -3316,6 +4172,16 @@ void CNETMsg_Tick::SerializeWithCachedSizes( target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->tick(), target); } + // optional uint32 host_frametime = 2; + if (has_host_frametime()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->host_frametime(), target); + } + + // optional uint32 host_frametime_std_deviation = 3; + if (has_host_frametime_std_deviation()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->host_frametime_std_deviation(), target); + } + // optional uint32 host_computationtime = 4; if (has_host_computationtime()) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->host_computationtime(), target); @@ -3350,6 +4216,20 @@ int CNETMsg_Tick::ByteSize() const { this->tick()); } + // optional uint32 host_frametime = 2; + if (has_host_frametime()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->host_frametime()); + } + + // optional uint32 host_frametime_std_deviation = 3; + if (has_host_frametime_std_deviation()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->host_frametime_std_deviation()); + } + // optional uint32 host_computationtime = 4; if (has_host_computationtime()) { total_size += 1 + @@ -3401,6 +4281,12 @@ void CNETMsg_Tick::MergeFrom(const CNETMsg_Tick& from) { if (from.has_tick()) { set_tick(from.tick()); } + if (from.has_host_frametime()) { + set_host_frametime(from.host_frametime()); + } + if (from.has_host_frametime_std_deviation()) { + set_host_frametime_std_deviation(from.host_frametime_std_deviation()); + } if (from.has_host_computationtime()) { set_host_computationtime(from.host_computationtime()); } @@ -3434,6 +4320,8 @@ bool CNETMsg_Tick::IsInitialized() const { void CNETMsg_Tick::Swap(CNETMsg_Tick* other) { if (other != this) { std::swap(tick_, other->tick_); + std::swap(host_frametime_, other->host_frametime_); + std::swap(host_frametime_std_deviation_, other->host_frametime_std_deviation_); std::swap(host_computationtime_, other->host_computationtime_); std::swap(host_computationtime_std_deviation_, other->host_computationtime_std_deviation_); std::swap(host_framestarttime_std_deviation_, other->host_framestarttime_std_deviation_); @@ -6438,6 +7326,3171 @@ void CSVCMsgList_UserMessages::Swap(CSVCMsgList_UserMessages* other) { } +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_SpawnGroup_Load::kWorldnameFieldNumber; +const int CNETMsg_SpawnGroup_Load::kEntitylumpnameFieldNumber; +const int CNETMsg_SpawnGroup_Load::kEntityfilternameFieldNumber; +const int CNETMsg_SpawnGroup_Load::kSpawngrouphandleFieldNumber; +const int CNETMsg_SpawnGroup_Load::kSpawngroupownerhandleFieldNumber; +const int CNETMsg_SpawnGroup_Load::kWorldOffsetPosFieldNumber; +const int CNETMsg_SpawnGroup_Load::kWorldOffsetAngleFieldNumber; +const int CNETMsg_SpawnGroup_Load::kSpawngroupmanifestFieldNumber; +const int CNETMsg_SpawnGroup_Load::kFlagsFieldNumber; +const int CNETMsg_SpawnGroup_Load::kTickcountFieldNumber; +const int CNETMsg_SpawnGroup_Load::kManifestincompleteFieldNumber; +const int CNETMsg_SpawnGroup_Load::kLocalnamefixupFieldNumber; +const int CNETMsg_SpawnGroup_Load::kParentnamefixupFieldNumber; +const int CNETMsg_SpawnGroup_Load::kManifestloadpriorityFieldNumber; +const int CNETMsg_SpawnGroup_Load::kWorldgroupidFieldNumber; +const int CNETMsg_SpawnGroup_Load::kCreationsequenceFieldNumber; +#endif // !_MSC_VER + +CNETMsg_SpawnGroup_Load::CNETMsg_SpawnGroup_Load() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CNETMsg_SpawnGroup_Load) +} + +void CNETMsg_SpawnGroup_Load::InitAsDefaultInstance() { + world_offset_pos_ = const_cast< ::CMsgVector*>(&::CMsgVector::default_instance()); + world_offset_angle_ = const_cast< ::CMsgQAngle*>(&::CMsgQAngle::default_instance()); +} + +CNETMsg_SpawnGroup_Load::CNETMsg_SpawnGroup_Load(const CNETMsg_SpawnGroup_Load& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_Load) +} + +void CNETMsg_SpawnGroup_Load::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + worldname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + entitylumpname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + entityfiltername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + spawngrouphandle_ = 0u; + spawngroupownerhandle_ = 0u; + world_offset_pos_ = NULL; + world_offset_angle_ = NULL; + spawngroupmanifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + flags_ = 0u; + tickcount_ = 0; + manifestincomplete_ = false; + localnamefixup_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + parentnamefixup_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + manifestloadpriority_ = 0; + worldgroupid_ = 0u; + creationsequence_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_SpawnGroup_Load::~CNETMsg_SpawnGroup_Load() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_Load) + SharedDtor(); +} + +void CNETMsg_SpawnGroup_Load::SharedDtor() { + if (worldname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete worldname_; + } + if (entitylumpname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete entitylumpname_; + } + if (entityfiltername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete entityfiltername_; + } + if (spawngroupmanifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete spawngroupmanifest_; + } + if (localnamefixup_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete localnamefixup_; + } + if (parentnamefixup_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete parentnamefixup_; + } + if (this != default_instance_) { + delete world_offset_pos_; + delete world_offset_angle_; + } +} + +void CNETMsg_SpawnGroup_Load::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_Load::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_SpawnGroup_Load_descriptor_; +} + +const CNETMsg_SpawnGroup_Load& CNETMsg_SpawnGroup_Load::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_networkbasetypes_2eproto(); + return *default_instance_; +} + +CNETMsg_SpawnGroup_Load* CNETMsg_SpawnGroup_Load::default_instance_ = NULL; + +CNETMsg_SpawnGroup_Load* CNETMsg_SpawnGroup_Load::New() const { + return new CNETMsg_SpawnGroup_Load; +} + +void CNETMsg_SpawnGroup_Load::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 255) { + ZR_(spawngrouphandle_, spawngroupownerhandle_); + if (has_worldname()) { + if (worldname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + worldname_->clear(); + } + } + if (has_entitylumpname()) { + if (entitylumpname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entitylumpname_->clear(); + } + } + if (has_entityfiltername()) { + if (entityfiltername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entityfiltername_->clear(); + } + } + if (has_world_offset_pos()) { + if (world_offset_pos_ != NULL) world_offset_pos_->::CMsgVector::Clear(); + } + if (has_world_offset_angle()) { + if (world_offset_angle_ != NULL) world_offset_angle_->::CMsgQAngle::Clear(); + } + if (has_spawngroupmanifest()) { + if (spawngroupmanifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_->clear(); + } + } + } + if (_has_bits_[8 / 32] & 65280) { + ZR_(flags_, tickcount_); + ZR_(manifestincomplete_, manifestloadpriority_); + ZR_(worldgroupid_, creationsequence_); + if (has_localnamefixup()) { + if (localnamefixup_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + localnamefixup_->clear(); + } + } + if (has_parentnamefixup()) { + if (parentnamefixup_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + parentnamefixup_->clear(); + } + } + } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_SpawnGroup_Load::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CNETMsg_SpawnGroup_Load) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional string worldname = 1; + case 1: { + if (tag == 10) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_worldname())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->worldname().data(), this->worldname().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "worldname"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(18)) goto parse_entitylumpname; + break; + } + + // optional string entitylumpname = 2; + case 2: { + if (tag == 18) { + parse_entitylumpname: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_entitylumpname())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->entitylumpname().data(), this->entitylumpname().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "entitylumpname"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(26)) goto parse_entityfiltername; + break; + } + + // optional string entityfiltername = 3; + case 3: { + if (tag == 26) { + parse_entityfiltername: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_entityfiltername())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->entityfiltername().data(), this->entityfiltername().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "entityfiltername"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(32)) goto parse_spawngrouphandle; + break; + } + + // optional uint32 spawngrouphandle = 4; + case 4: { + if (tag == 32) { + parse_spawngrouphandle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &spawngrouphandle_))); + set_has_spawngrouphandle(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(40)) goto parse_spawngroupownerhandle; + break; + } + + // optional uint32 spawngroupownerhandle = 5; + case 5: { + if (tag == 40) { + parse_spawngroupownerhandle: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &spawngroupownerhandle_))); + set_has_spawngroupownerhandle(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(50)) goto parse_world_offset_pos; + break; + } + + // optional .CMsgVector world_offset_pos = 6; + case 6: { + if (tag == 50) { + parse_world_offset_pos: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_world_offset_pos())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(58)) goto parse_world_offset_angle; + break; + } + + // optional .CMsgQAngle world_offset_angle = 7; + case 7: { + if (tag == 58) { + parse_world_offset_angle: + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, mutable_world_offset_angle())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(66)) goto parse_spawngroupmanifest; + break; + } + + // optional bytes spawngroupmanifest = 8; + case 8: { + if (tag == 66) { + parse_spawngroupmanifest: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_spawngroupmanifest())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(72)) goto parse_flags; + break; + } + + // optional uint32 flags = 9; + case 9: { + if (tag == 72) { + parse_flags: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &flags_))); + set_has_flags(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(80)) goto parse_tickcount; + break; + } + + // optional int32 tickcount = 10; + case 10: { + if (tag == 80) { + parse_tickcount: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &tickcount_))); + set_has_tickcount(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(88)) goto parse_manifestincomplete; + break; + } + + // optional bool manifestincomplete = 11; + case 11: { + if (tag == 88) { + parse_manifestincomplete: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &manifestincomplete_))); + set_has_manifestincomplete(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(98)) goto parse_localnamefixup; + break; + } + + // optional string localnamefixup = 12; + case 12: { + if (tag == 98) { + parse_localnamefixup: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_localnamefixup())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->localnamefixup().data(), this->localnamefixup().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "localnamefixup"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(106)) goto parse_parentnamefixup; + break; + } + + // optional string parentnamefixup = 13; + case 13: { + if (tag == 106) { + parse_parentnamefixup: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_parentnamefixup())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->parentnamefixup().data(), this->parentnamefixup().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "parentnamefixup"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(112)) goto parse_manifestloadpriority; + break; + } + + // optional int32 manifestloadpriority = 14; + case 14: { + if (tag == 112) { + parse_manifestloadpriority: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &manifestloadpriority_))); + set_has_manifestloadpriority(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(120)) goto parse_worldgroupid; + break; + } + + // optional uint32 worldgroupid = 15; + case 15: { + if (tag == 120) { + parse_worldgroupid: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &worldgroupid_))); + set_has_worldgroupid(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(128)) goto parse_creationsequence; + break; + } + + // optional uint32 creationsequence = 16; + case 16: { + if (tag == 128) { + parse_creationsequence: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &creationsequence_))); + set_has_creationsequence(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CNETMsg_SpawnGroup_Load) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CNETMsg_SpawnGroup_Load) + return false; +#undef DO_ +} + +void CNETMsg_SpawnGroup_Load::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CNETMsg_SpawnGroup_Load) + // optional string worldname = 1; + if (has_worldname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->worldname().data(), this->worldname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "worldname"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->worldname(), output); + } + + // optional string entitylumpname = 2; + if (has_entitylumpname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->entitylumpname().data(), this->entitylumpname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "entitylumpname"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->entitylumpname(), output); + } + + // optional string entityfiltername = 3; + if (has_entityfiltername()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->entityfiltername().data(), this->entityfiltername().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "entityfiltername"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->entityfiltername(), output); + } + + // optional uint32 spawngrouphandle = 4; + if (has_spawngrouphandle()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->spawngrouphandle(), output); + } + + // optional uint32 spawngroupownerhandle = 5; + if (has_spawngroupownerhandle()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->spawngroupownerhandle(), output); + } + + // optional .CMsgVector world_offset_pos = 6; + if (has_world_offset_pos()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, this->world_offset_pos(), output); + } + + // optional .CMsgQAngle world_offset_angle = 7; + if (has_world_offset_angle()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, this->world_offset_angle(), output); + } + + // optional bytes spawngroupmanifest = 8; + if (has_spawngroupmanifest()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 8, this->spawngroupmanifest(), output); + } + + // optional uint32 flags = 9; + if (has_flags()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->flags(), output); + } + + // optional int32 tickcount = 10; + if (has_tickcount()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->tickcount(), output); + } + + // optional bool manifestincomplete = 11; + if (has_manifestincomplete()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(11, this->manifestincomplete(), output); + } + + // optional string localnamefixup = 12; + if (has_localnamefixup()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->localnamefixup().data(), this->localnamefixup().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "localnamefixup"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 12, this->localnamefixup(), output); + } + + // optional string parentnamefixup = 13; + if (has_parentnamefixup()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->parentnamefixup().data(), this->parentnamefixup().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "parentnamefixup"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 13, this->parentnamefixup(), output); + } + + // optional int32 manifestloadpriority = 14; + if (has_manifestloadpriority()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->manifestloadpriority(), output); + } + + // optional uint32 worldgroupid = 15; + if (has_worldgroupid()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(15, this->worldgroupid(), output); + } + + // optional uint32 creationsequence = 16; + if (has_creationsequence()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(16, this->creationsequence(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CNETMsg_SpawnGroup_Load) +} + +::google::protobuf::uint8* CNETMsg_SpawnGroup_Load::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_Load) + // optional string worldname = 1; + if (has_worldname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->worldname().data(), this->worldname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "worldname"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->worldname(), target); + } + + // optional string entitylumpname = 2; + if (has_entitylumpname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->entitylumpname().data(), this->entitylumpname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "entitylumpname"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->entitylumpname(), target); + } + + // optional string entityfiltername = 3; + if (has_entityfiltername()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->entityfiltername().data(), this->entityfiltername().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "entityfiltername"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->entityfiltername(), target); + } + + // optional uint32 spawngrouphandle = 4; + if (has_spawngrouphandle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->spawngrouphandle(), target); + } + + // optional uint32 spawngroupownerhandle = 5; + if (has_spawngroupownerhandle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->spawngroupownerhandle(), target); + } + + // optional .CMsgVector world_offset_pos = 6; + if (has_world_offset_pos()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 6, this->world_offset_pos(), target); + } + + // optional .CMsgQAngle world_offset_angle = 7; + if (has_world_offset_angle()) { + target = ::google::protobuf::internal::WireFormatLite:: + WriteMessageNoVirtualToArray( + 7, this->world_offset_angle(), target); + } + + // optional bytes spawngroupmanifest = 8; + if (has_spawngroupmanifest()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 8, this->spawngroupmanifest(), target); + } + + // optional uint32 flags = 9; + if (has_flags()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->flags(), target); + } + + // optional int32 tickcount = 10; + if (has_tickcount()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->tickcount(), target); + } + + // optional bool manifestincomplete = 11; + if (has_manifestincomplete()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(11, this->manifestincomplete(), target); + } + + // optional string localnamefixup = 12; + if (has_localnamefixup()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->localnamefixup().data(), this->localnamefixup().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "localnamefixup"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 12, this->localnamefixup(), target); + } + + // optional string parentnamefixup = 13; + if (has_parentnamefixup()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->parentnamefixup().data(), this->parentnamefixup().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "parentnamefixup"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 13, this->parentnamefixup(), target); + } + + // optional int32 manifestloadpriority = 14; + if (has_manifestloadpriority()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->manifestloadpriority(), target); + } + + // optional uint32 worldgroupid = 15; + if (has_worldgroupid()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(15, this->worldgroupid(), target); + } + + // optional uint32 creationsequence = 16; + if (has_creationsequence()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(16, this->creationsequence(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_Load) + return target; +} + +int CNETMsg_SpawnGroup_Load::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional string worldname = 1; + if (has_worldname()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->worldname()); + } + + // optional string entitylumpname = 2; + if (has_entitylumpname()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->entitylumpname()); + } + + // optional string entityfiltername = 3; + if (has_entityfiltername()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->entityfiltername()); + } + + // optional uint32 spawngrouphandle = 4; + if (has_spawngrouphandle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->spawngrouphandle()); + } + + // optional uint32 spawngroupownerhandle = 5; + if (has_spawngroupownerhandle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->spawngroupownerhandle()); + } + + // optional .CMsgVector world_offset_pos = 6; + if (has_world_offset_pos()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->world_offset_pos()); + } + + // optional .CMsgQAngle world_offset_angle = 7; + if (has_world_offset_angle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( + this->world_offset_angle()); + } + + // optional bytes spawngroupmanifest = 8; + if (has_spawngroupmanifest()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->spawngroupmanifest()); + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional uint32 flags = 9; + if (has_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->flags()); + } + + // optional int32 tickcount = 10; + if (has_tickcount()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->tickcount()); + } + + // optional bool manifestincomplete = 11; + if (has_manifestincomplete()) { + total_size += 1 + 1; + } + + // optional string localnamefixup = 12; + if (has_localnamefixup()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->localnamefixup()); + } + + // optional string parentnamefixup = 13; + if (has_parentnamefixup()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->parentnamefixup()); + } + + // optional int32 manifestloadpriority = 14; + if (has_manifestloadpriority()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->manifestloadpriority()); + } + + // optional uint32 worldgroupid = 15; + if (has_worldgroupid()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->worldgroupid()); + } + + // optional uint32 creationsequence = 16; + if (has_creationsequence()) { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->creationsequence()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CNETMsg_SpawnGroup_Load::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_SpawnGroup_Load* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_SpawnGroup_Load::MergeFrom(const CNETMsg_SpawnGroup_Load& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_worldname()) { + set_worldname(from.worldname()); + } + if (from.has_entitylumpname()) { + set_entitylumpname(from.entitylumpname()); + } + if (from.has_entityfiltername()) { + set_entityfiltername(from.entityfiltername()); + } + if (from.has_spawngrouphandle()) { + set_spawngrouphandle(from.spawngrouphandle()); + } + if (from.has_spawngroupownerhandle()) { + set_spawngroupownerhandle(from.spawngroupownerhandle()); + } + if (from.has_world_offset_pos()) { + mutable_world_offset_pos()->::CMsgVector::MergeFrom(from.world_offset_pos()); + } + if (from.has_world_offset_angle()) { + mutable_world_offset_angle()->::CMsgQAngle::MergeFrom(from.world_offset_angle()); + } + if (from.has_spawngroupmanifest()) { + set_spawngroupmanifest(from.spawngroupmanifest()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_flags()) { + set_flags(from.flags()); + } + if (from.has_tickcount()) { + set_tickcount(from.tickcount()); + } + if (from.has_manifestincomplete()) { + set_manifestincomplete(from.manifestincomplete()); + } + if (from.has_localnamefixup()) { + set_localnamefixup(from.localnamefixup()); + } + if (from.has_parentnamefixup()) { + set_parentnamefixup(from.parentnamefixup()); + } + if (from.has_manifestloadpriority()) { + set_manifestloadpriority(from.manifestloadpriority()); + } + if (from.has_worldgroupid()) { + set_worldgroupid(from.worldgroupid()); + } + if (from.has_creationsequence()) { + set_creationsequence(from.creationsequence()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_SpawnGroup_Load::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_SpawnGroup_Load::CopyFrom(const CNETMsg_SpawnGroup_Load& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_Load::IsInitialized() const { + + return true; +} + +void CNETMsg_SpawnGroup_Load::Swap(CNETMsg_SpawnGroup_Load* other) { + if (other != this) { + std::swap(worldname_, other->worldname_); + std::swap(entitylumpname_, other->entitylumpname_); + std::swap(entityfiltername_, other->entityfiltername_); + std::swap(spawngrouphandle_, other->spawngrouphandle_); + std::swap(spawngroupownerhandle_, other->spawngroupownerhandle_); + std::swap(world_offset_pos_, other->world_offset_pos_); + std::swap(world_offset_angle_, other->world_offset_angle_); + std::swap(spawngroupmanifest_, other->spawngroupmanifest_); + std::swap(flags_, other->flags_); + std::swap(tickcount_, other->tickcount_); + std::swap(manifestincomplete_, other->manifestincomplete_); + std::swap(localnamefixup_, other->localnamefixup_); + std::swap(parentnamefixup_, other->parentnamefixup_); + std::swap(manifestloadpriority_, other->manifestloadpriority_); + std::swap(worldgroupid_, other->worldgroupid_); + std::swap(creationsequence_, other->creationsequence_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CNETMsg_SpawnGroup_Load::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_SpawnGroup_Load_descriptor_; + metadata.reflection = CNETMsg_SpawnGroup_Load_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_SpawnGroup_ManifestUpdate::kSpawngrouphandleFieldNumber; +const int CNETMsg_SpawnGroup_ManifestUpdate::kSpawngroupmanifestFieldNumber; +const int CNETMsg_SpawnGroup_ManifestUpdate::kManifestincompleteFieldNumber; +#endif // !_MSC_VER + +CNETMsg_SpawnGroup_ManifestUpdate::CNETMsg_SpawnGroup_ManifestUpdate() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CNETMsg_SpawnGroup_ManifestUpdate) +} + +void CNETMsg_SpawnGroup_ManifestUpdate::InitAsDefaultInstance() { +} + +CNETMsg_SpawnGroup_ManifestUpdate::CNETMsg_SpawnGroup_ManifestUpdate(const CNETMsg_SpawnGroup_ManifestUpdate& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_ManifestUpdate) +} + +void CNETMsg_SpawnGroup_ManifestUpdate::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + spawngrouphandle_ = 0u; + spawngroupmanifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + manifestincomplete_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_SpawnGroup_ManifestUpdate::~CNETMsg_SpawnGroup_ManifestUpdate() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_ManifestUpdate) + SharedDtor(); +} + +void CNETMsg_SpawnGroup_ManifestUpdate::SharedDtor() { + if (spawngroupmanifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete spawngroupmanifest_; + } + if (this != default_instance_) { + } +} + +void CNETMsg_SpawnGroup_ManifestUpdate::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_ManifestUpdate::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_SpawnGroup_ManifestUpdate_descriptor_; +} + +const CNETMsg_SpawnGroup_ManifestUpdate& CNETMsg_SpawnGroup_ManifestUpdate::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_networkbasetypes_2eproto(); + return *default_instance_; +} + +CNETMsg_SpawnGroup_ManifestUpdate* CNETMsg_SpawnGroup_ManifestUpdate::default_instance_ = NULL; + +CNETMsg_SpawnGroup_ManifestUpdate* CNETMsg_SpawnGroup_ManifestUpdate::New() const { + return new CNETMsg_SpawnGroup_ManifestUpdate; +} + +void CNETMsg_SpawnGroup_ManifestUpdate::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 7) { + ZR_(spawngrouphandle_, manifestincomplete_); + if (has_spawngroupmanifest()) { + if (spawngroupmanifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_->clear(); + } + } + } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_SpawnGroup_ManifestUpdate::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CNETMsg_SpawnGroup_ManifestUpdate) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional uint32 spawngrouphandle = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &spawngrouphandle_))); + set_has_spawngrouphandle(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(18)) goto parse_spawngroupmanifest; + break; + } + + // optional bytes spawngroupmanifest = 2; + case 2: { + if (tag == 18) { + parse_spawngroupmanifest: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_spawngroupmanifest())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_manifestincomplete; + break; + } + + // optional bool manifestincomplete = 3; + case 3: { + if (tag == 24) { + parse_manifestincomplete: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &manifestincomplete_))); + set_has_manifestincomplete(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CNETMsg_SpawnGroup_ManifestUpdate) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CNETMsg_SpawnGroup_ManifestUpdate) + return false; +#undef DO_ +} + +void CNETMsg_SpawnGroup_ManifestUpdate::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CNETMsg_SpawnGroup_ManifestUpdate) + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawngrouphandle(), output); + } + + // optional bytes spawngroupmanifest = 2; + if (has_spawngroupmanifest()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 2, this->spawngroupmanifest(), output); + } + + // optional bool manifestincomplete = 3; + if (has_manifestincomplete()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->manifestincomplete(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CNETMsg_SpawnGroup_ManifestUpdate) +} + +::google::protobuf::uint8* CNETMsg_SpawnGroup_ManifestUpdate::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_ManifestUpdate) + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawngrouphandle(), target); + } + + // optional bytes spawngroupmanifest = 2; + if (has_spawngroupmanifest()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 2, this->spawngroupmanifest(), target); + } + + // optional bool manifestincomplete = 3; + if (has_manifestincomplete()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->manifestincomplete(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_ManifestUpdate) + return target; +} + +int CNETMsg_SpawnGroup_ManifestUpdate::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->spawngrouphandle()); + } + + // optional bytes spawngroupmanifest = 2; + if (has_spawngroupmanifest()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->spawngroupmanifest()); + } + + // optional bool manifestincomplete = 3; + if (has_manifestincomplete()) { + total_size += 1 + 1; + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CNETMsg_SpawnGroup_ManifestUpdate::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_SpawnGroup_ManifestUpdate* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_SpawnGroup_ManifestUpdate::MergeFrom(const CNETMsg_SpawnGroup_ManifestUpdate& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_spawngrouphandle()) { + set_spawngrouphandle(from.spawngrouphandle()); + } + if (from.has_spawngroupmanifest()) { + set_spawngroupmanifest(from.spawngroupmanifest()); + } + if (from.has_manifestincomplete()) { + set_manifestincomplete(from.manifestincomplete()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_SpawnGroup_ManifestUpdate::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_SpawnGroup_ManifestUpdate::CopyFrom(const CNETMsg_SpawnGroup_ManifestUpdate& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_ManifestUpdate::IsInitialized() const { + + return true; +} + +void CNETMsg_SpawnGroup_ManifestUpdate::Swap(CNETMsg_SpawnGroup_ManifestUpdate* other) { + if (other != this) { + std::swap(spawngrouphandle_, other->spawngrouphandle_); + std::swap(spawngroupmanifest_, other->spawngroupmanifest_); + std::swap(manifestincomplete_, other->manifestincomplete_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CNETMsg_SpawnGroup_ManifestUpdate::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_SpawnGroup_ManifestUpdate_descriptor_; + metadata.reflection = CNETMsg_SpawnGroup_ManifestUpdate_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_SpawnGroup_SetCreationTick::kSpawngrouphandleFieldNumber; +const int CNETMsg_SpawnGroup_SetCreationTick::kTickcountFieldNumber; +const int CNETMsg_SpawnGroup_SetCreationTick::kCreationsequenceFieldNumber; +#endif // !_MSC_VER + +CNETMsg_SpawnGroup_SetCreationTick::CNETMsg_SpawnGroup_SetCreationTick() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CNETMsg_SpawnGroup_SetCreationTick) +} + +void CNETMsg_SpawnGroup_SetCreationTick::InitAsDefaultInstance() { +} + +CNETMsg_SpawnGroup_SetCreationTick::CNETMsg_SpawnGroup_SetCreationTick(const CNETMsg_SpawnGroup_SetCreationTick& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_SetCreationTick) +} + +void CNETMsg_SpawnGroup_SetCreationTick::SharedCtor() { + _cached_size_ = 0; + spawngrouphandle_ = 0u; + tickcount_ = 0; + creationsequence_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_SpawnGroup_SetCreationTick::~CNETMsg_SpawnGroup_SetCreationTick() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_SetCreationTick) + SharedDtor(); +} + +void CNETMsg_SpawnGroup_SetCreationTick::SharedDtor() { + if (this != default_instance_) { + } +} + +void CNETMsg_SpawnGroup_SetCreationTick::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_SetCreationTick::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_SpawnGroup_SetCreationTick_descriptor_; +} + +const CNETMsg_SpawnGroup_SetCreationTick& CNETMsg_SpawnGroup_SetCreationTick::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_networkbasetypes_2eproto(); + return *default_instance_; +} + +CNETMsg_SpawnGroup_SetCreationTick* CNETMsg_SpawnGroup_SetCreationTick::default_instance_ = NULL; + +CNETMsg_SpawnGroup_SetCreationTick* CNETMsg_SpawnGroup_SetCreationTick::New() const { + return new CNETMsg_SpawnGroup_SetCreationTick; +} + +void CNETMsg_SpawnGroup_SetCreationTick::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(spawngrouphandle_, creationsequence_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_SpawnGroup_SetCreationTick::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CNETMsg_SpawnGroup_SetCreationTick) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional uint32 spawngrouphandle = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &spawngrouphandle_))); + set_has_spawngrouphandle(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_tickcount; + break; + } + + // optional int32 tickcount = 2; + case 2: { + if (tag == 16) { + parse_tickcount: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &tickcount_))); + set_has_tickcount(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_creationsequence; + break; + } + + // optional uint32 creationsequence = 3; + case 3: { + if (tag == 24) { + parse_creationsequence: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &creationsequence_))); + set_has_creationsequence(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CNETMsg_SpawnGroup_SetCreationTick) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CNETMsg_SpawnGroup_SetCreationTick) + return false; +#undef DO_ +} + +void CNETMsg_SpawnGroup_SetCreationTick::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CNETMsg_SpawnGroup_SetCreationTick) + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawngrouphandle(), output); + } + + // optional int32 tickcount = 2; + if (has_tickcount()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->tickcount(), output); + } + + // optional uint32 creationsequence = 3; + if (has_creationsequence()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->creationsequence(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CNETMsg_SpawnGroup_SetCreationTick) +} + +::google::protobuf::uint8* CNETMsg_SpawnGroup_SetCreationTick::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_SetCreationTick) + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawngrouphandle(), target); + } + + // optional int32 tickcount = 2; + if (has_tickcount()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->tickcount(), target); + } + + // optional uint32 creationsequence = 3; + if (has_creationsequence()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->creationsequence(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_SetCreationTick) + return target; +} + +int CNETMsg_SpawnGroup_SetCreationTick::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->spawngrouphandle()); + } + + // optional int32 tickcount = 2; + if (has_tickcount()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->tickcount()); + } + + // optional uint32 creationsequence = 3; + if (has_creationsequence()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->creationsequence()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CNETMsg_SpawnGroup_SetCreationTick::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_SpawnGroup_SetCreationTick* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_SpawnGroup_SetCreationTick::MergeFrom(const CNETMsg_SpawnGroup_SetCreationTick& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_spawngrouphandle()) { + set_spawngrouphandle(from.spawngrouphandle()); + } + if (from.has_tickcount()) { + set_tickcount(from.tickcount()); + } + if (from.has_creationsequence()) { + set_creationsequence(from.creationsequence()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_SpawnGroup_SetCreationTick::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_SpawnGroup_SetCreationTick::CopyFrom(const CNETMsg_SpawnGroup_SetCreationTick& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_SetCreationTick::IsInitialized() const { + + return true; +} + +void CNETMsg_SpawnGroup_SetCreationTick::Swap(CNETMsg_SpawnGroup_SetCreationTick* other) { + if (other != this) { + std::swap(spawngrouphandle_, other->spawngrouphandle_); + std::swap(tickcount_, other->tickcount_); + std::swap(creationsequence_, other->creationsequence_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CNETMsg_SpawnGroup_SetCreationTick::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_SpawnGroup_SetCreationTick_descriptor_; + metadata.reflection = CNETMsg_SpawnGroup_SetCreationTick_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_SpawnGroup_Unload::kSpawngrouphandleFieldNumber; +const int CNETMsg_SpawnGroup_Unload::kFlagsFieldNumber; +const int CNETMsg_SpawnGroup_Unload::kTickcountFieldNumber; +#endif // !_MSC_VER + +CNETMsg_SpawnGroup_Unload::CNETMsg_SpawnGroup_Unload() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CNETMsg_SpawnGroup_Unload) +} + +void CNETMsg_SpawnGroup_Unload::InitAsDefaultInstance() { +} + +CNETMsg_SpawnGroup_Unload::CNETMsg_SpawnGroup_Unload(const CNETMsg_SpawnGroup_Unload& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_Unload) +} + +void CNETMsg_SpawnGroup_Unload::SharedCtor() { + _cached_size_ = 0; + spawngrouphandle_ = 0u; + flags_ = 0u; + tickcount_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_SpawnGroup_Unload::~CNETMsg_SpawnGroup_Unload() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_Unload) + SharedDtor(); +} + +void CNETMsg_SpawnGroup_Unload::SharedDtor() { + if (this != default_instance_) { + } +} + +void CNETMsg_SpawnGroup_Unload::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_Unload::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_SpawnGroup_Unload_descriptor_; +} + +const CNETMsg_SpawnGroup_Unload& CNETMsg_SpawnGroup_Unload::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_networkbasetypes_2eproto(); + return *default_instance_; +} + +CNETMsg_SpawnGroup_Unload* CNETMsg_SpawnGroup_Unload::default_instance_ = NULL; + +CNETMsg_SpawnGroup_Unload* CNETMsg_SpawnGroup_Unload::New() const { + return new CNETMsg_SpawnGroup_Unload; +} + +void CNETMsg_SpawnGroup_Unload::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + ZR_(spawngrouphandle_, tickcount_); + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_SpawnGroup_Unload::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CNETMsg_SpawnGroup_Unload) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional uint32 spawngrouphandle = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &spawngrouphandle_))); + set_has_spawngrouphandle(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_flags; + break; + } + + // optional uint32 flags = 2; + case 2: { + if (tag == 16) { + parse_flags: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &flags_))); + set_has_flags(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_tickcount; + break; + } + + // optional int32 tickcount = 3; + case 3: { + if (tag == 24) { + parse_tickcount: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( + input, &tickcount_))); + set_has_tickcount(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CNETMsg_SpawnGroup_Unload) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CNETMsg_SpawnGroup_Unload) + return false; +#undef DO_ +} + +void CNETMsg_SpawnGroup_Unload::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CNETMsg_SpawnGroup_Unload) + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawngrouphandle(), output); + } + + // optional uint32 flags = 2; + if (has_flags()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->flags(), output); + } + + // optional int32 tickcount = 3; + if (has_tickcount()) { + ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->tickcount(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CNETMsg_SpawnGroup_Unload) +} + +::google::protobuf::uint8* CNETMsg_SpawnGroup_Unload::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_Unload) + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawngrouphandle(), target); + } + + // optional uint32 flags = 2; + if (has_flags()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(2, this->flags(), target); + } + + // optional int32 tickcount = 3; + if (has_tickcount()) { + target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->tickcount(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_Unload) + return target; +} + +int CNETMsg_SpawnGroup_Unload::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->spawngrouphandle()); + } + + // optional uint32 flags = 2; + if (has_flags()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->flags()); + } + + // optional int32 tickcount = 3; + if (has_tickcount()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::Int32Size( + this->tickcount()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CNETMsg_SpawnGroup_Unload::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_SpawnGroup_Unload* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_SpawnGroup_Unload::MergeFrom(const CNETMsg_SpawnGroup_Unload& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_spawngrouphandle()) { + set_spawngrouphandle(from.spawngrouphandle()); + } + if (from.has_flags()) { + set_flags(from.flags()); + } + if (from.has_tickcount()) { + set_tickcount(from.tickcount()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_SpawnGroup_Unload::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_SpawnGroup_Unload::CopyFrom(const CNETMsg_SpawnGroup_Unload& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_Unload::IsInitialized() const { + + return true; +} + +void CNETMsg_SpawnGroup_Unload::Swap(CNETMsg_SpawnGroup_Unload* other) { + if (other != this) { + std::swap(spawngrouphandle_, other->spawngrouphandle_); + std::swap(flags_, other->flags_); + std::swap(tickcount_, other->tickcount_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CNETMsg_SpawnGroup_Unload::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_SpawnGroup_Unload_descriptor_; + metadata.reflection = CNETMsg_SpawnGroup_Unload_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CNETMsg_SpawnGroup_LoadCompleted::kSpawngrouphandleFieldNumber; +#endif // !_MSC_VER + +CNETMsg_SpawnGroup_LoadCompleted::CNETMsg_SpawnGroup_LoadCompleted() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CNETMsg_SpawnGroup_LoadCompleted) +} + +void CNETMsg_SpawnGroup_LoadCompleted::InitAsDefaultInstance() { +} + +CNETMsg_SpawnGroup_LoadCompleted::CNETMsg_SpawnGroup_LoadCompleted(const CNETMsg_SpawnGroup_LoadCompleted& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CNETMsg_SpawnGroup_LoadCompleted) +} + +void CNETMsg_SpawnGroup_LoadCompleted::SharedCtor() { + _cached_size_ = 0; + spawngrouphandle_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_SpawnGroup_LoadCompleted::~CNETMsg_SpawnGroup_LoadCompleted() { + // @@protoc_insertion_point(destructor:CNETMsg_SpawnGroup_LoadCompleted) + SharedDtor(); +} + +void CNETMsg_SpawnGroup_LoadCompleted::SharedDtor() { + if (this != default_instance_) { + } +} + +void CNETMsg_SpawnGroup_LoadCompleted::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_SpawnGroup_LoadCompleted::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_SpawnGroup_LoadCompleted_descriptor_; +} + +const CNETMsg_SpawnGroup_LoadCompleted& CNETMsg_SpawnGroup_LoadCompleted::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_networkbasetypes_2eproto(); + return *default_instance_; +} + +CNETMsg_SpawnGroup_LoadCompleted* CNETMsg_SpawnGroup_LoadCompleted::default_instance_ = NULL; + +CNETMsg_SpawnGroup_LoadCompleted* CNETMsg_SpawnGroup_LoadCompleted::New() const { + return new CNETMsg_SpawnGroup_LoadCompleted; +} + +void CNETMsg_SpawnGroup_LoadCompleted::Clear() { + spawngrouphandle_ = 0u; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_SpawnGroup_LoadCompleted::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CNETMsg_SpawnGroup_LoadCompleted) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional uint32 spawngrouphandle = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &spawngrouphandle_))); + set_has_spawngrouphandle(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CNETMsg_SpawnGroup_LoadCompleted) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CNETMsg_SpawnGroup_LoadCompleted) + return false; +#undef DO_ +} + +void CNETMsg_SpawnGroup_LoadCompleted::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CNETMsg_SpawnGroup_LoadCompleted) + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->spawngrouphandle(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CNETMsg_SpawnGroup_LoadCompleted) +} + +::google::protobuf::uint8* CNETMsg_SpawnGroup_LoadCompleted::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_SpawnGroup_LoadCompleted) + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->spawngrouphandle(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_SpawnGroup_LoadCompleted) + return target; +} + +int CNETMsg_SpawnGroup_LoadCompleted::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional uint32 spawngrouphandle = 1; + if (has_spawngrouphandle()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->spawngrouphandle()); + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CNETMsg_SpawnGroup_LoadCompleted::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_SpawnGroup_LoadCompleted* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_SpawnGroup_LoadCompleted::MergeFrom(const CNETMsg_SpawnGroup_LoadCompleted& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_spawngrouphandle()) { + set_spawngrouphandle(from.spawngrouphandle()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_SpawnGroup_LoadCompleted::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_SpawnGroup_LoadCompleted::CopyFrom(const CNETMsg_SpawnGroup_LoadCompleted& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_SpawnGroup_LoadCompleted::IsInitialized() const { + + return true; +} + +void CNETMsg_SpawnGroup_LoadCompleted::Swap(CNETMsg_SpawnGroup_LoadCompleted* other) { + if (other != this) { + std::swap(spawngrouphandle_, other->spawngrouphandle_); + std::swap(_has_bits_[0], other->_has_bits_[0]); + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CNETMsg_SpawnGroup_LoadCompleted::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_SpawnGroup_LoadCompleted_descriptor_; + metadata.reflection = CNETMsg_SpawnGroup_LoadCompleted_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +const int CSVCMsg_GameSessionConfiguration::kIsMultiplayerFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kIsLoadsavegameFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kIsBackgroundMapFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kIsHeadlessFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kMinClientLimitFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kMaxClientLimitFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kMaxClientsFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kTickIntervalFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kHostnameFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kSavegamenameFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kS1MapnameFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kGamemodeFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kServerIpAddressFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kDataFieldNumber; +const int CSVCMsg_GameSessionConfiguration::kIsLocalonlyFieldNumber; +#endif // !_MSC_VER + +CSVCMsg_GameSessionConfiguration::CSVCMsg_GameSessionConfiguration() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CSVCMsg_GameSessionConfiguration) +} + +void CSVCMsg_GameSessionConfiguration::InitAsDefaultInstance() { +} + +CSVCMsg_GameSessionConfiguration::CSVCMsg_GameSessionConfiguration(const CSVCMsg_GameSessionConfiguration& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CSVCMsg_GameSessionConfiguration) +} + +void CSVCMsg_GameSessionConfiguration::SharedCtor() { + ::google::protobuf::internal::GetEmptyString(); + _cached_size_ = 0; + is_multiplayer_ = false; + is_loadsavegame_ = false; + is_background_map_ = false; + is_headless_ = false; + min_client_limit_ = 0u; + max_client_limit_ = 0u; + max_clients_ = 0u; + tick_interval_ = 0u; + hostname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + savegamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + s1_mapname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + gamemode_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + server_ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + is_localonly_ = false; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CSVCMsg_GameSessionConfiguration::~CSVCMsg_GameSessionConfiguration() { + // @@protoc_insertion_point(destructor:CSVCMsg_GameSessionConfiguration) + SharedDtor(); +} + +void CSVCMsg_GameSessionConfiguration::SharedDtor() { + if (hostname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete hostname_; + } + if (savegamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete savegamename_; + } + if (s1_mapname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete s1_mapname_; + } + if (gamemode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete gamemode_; + } + if (server_ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete server_ip_address_; + } + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete data_; + } + if (this != default_instance_) { + } +} + +void CSVCMsg_GameSessionConfiguration::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CSVCMsg_GameSessionConfiguration::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CSVCMsg_GameSessionConfiguration_descriptor_; +} + +const CSVCMsg_GameSessionConfiguration& CSVCMsg_GameSessionConfiguration::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_networkbasetypes_2eproto(); + return *default_instance_; +} + +CSVCMsg_GameSessionConfiguration* CSVCMsg_GameSessionConfiguration::default_instance_ = NULL; + +CSVCMsg_GameSessionConfiguration* CSVCMsg_GameSessionConfiguration::New() const { + return new CSVCMsg_GameSessionConfiguration; +} + +void CSVCMsg_GameSessionConfiguration::Clear() { +#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ + &reinterpret_cast(16)->f) - \ + reinterpret_cast(16)) + +#define ZR_(first, last) do { \ + size_t f = OFFSET_OF_FIELD_(first); \ + size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ + ::memset(&first, 0, n); \ + } while (0) + + if (_has_bits_[0 / 32] & 255) { + ZR_(is_multiplayer_, max_clients_); + tick_interval_ = 0u; + } + if (_has_bits_[8 / 32] & 32512) { + if (has_hostname()) { + if (hostname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + hostname_->clear(); + } + } + if (has_savegamename()) { + if (savegamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + savegamename_->clear(); + } + } + if (has_s1_mapname()) { + if (s1_mapname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + s1_mapname_->clear(); + } + } + if (has_gamemode()) { + if (gamemode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + gamemode_->clear(); + } + } + if (has_server_ip_address()) { + if (server_ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + server_ip_address_->clear(); + } + } + if (has_data()) { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_->clear(); + } + } + is_localonly_ = false; + } + +#undef OFFSET_OF_FIELD_ +#undef ZR_ + + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CSVCMsg_GameSessionConfiguration::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CSVCMsg_GameSessionConfiguration) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // optional bool is_multiplayer = 1; + case 1: { + if (tag == 8) { + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_multiplayer_))); + set_has_is_multiplayer(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(16)) goto parse_is_loadsavegame; + break; + } + + // optional bool is_loadsavegame = 2; + case 2: { + if (tag == 16) { + parse_is_loadsavegame: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_loadsavegame_))); + set_has_is_loadsavegame(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(24)) goto parse_is_background_map; + break; + } + + // optional bool is_background_map = 3; + case 3: { + if (tag == 24) { + parse_is_background_map: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_background_map_))); + set_has_is_background_map(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(32)) goto parse_is_headless; + break; + } + + // optional bool is_headless = 4; + case 4: { + if (tag == 32) { + parse_is_headless: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_headless_))); + set_has_is_headless(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(40)) goto parse_min_client_limit; + break; + } + + // optional uint32 min_client_limit = 5; + case 5: { + if (tag == 40) { + parse_min_client_limit: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &min_client_limit_))); + set_has_min_client_limit(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(48)) goto parse_max_client_limit; + break; + } + + // optional uint32 max_client_limit = 6; + case 6: { + if (tag == 48) { + parse_max_client_limit: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &max_client_limit_))); + set_has_max_client_limit(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(56)) goto parse_max_clients; + break; + } + + // optional uint32 max_clients = 7; + case 7: { + if (tag == 56) { + parse_max_clients: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( + input, &max_clients_))); + set_has_max_clients(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(69)) goto parse_tick_interval; + break; + } + + // optional fixed32 tick_interval = 8; + case 8: { + if (tag == 69) { + parse_tick_interval: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( + input, &tick_interval_))); + set_has_tick_interval(); + } else { + goto handle_unusual; + } + if (input->ExpectTag(74)) goto parse_hostname; + break; + } + + // optional string hostname = 9; + case 9: { + if (tag == 74) { + parse_hostname: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_hostname())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->hostname().data(), this->hostname().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "hostname"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(82)) goto parse_savegamename; + break; + } + + // optional string savegamename = 10; + case 10: { + if (tag == 82) { + parse_savegamename: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_savegamename())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->savegamename().data(), this->savegamename().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "savegamename"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(90)) goto parse_s1_mapname; + break; + } + + // optional string s1_mapname = 11; + case 11: { + if (tag == 90) { + parse_s1_mapname: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_s1_mapname())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->s1_mapname().data(), this->s1_mapname().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "s1_mapname"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(98)) goto parse_gamemode; + break; + } + + // optional string gamemode = 12; + case 12: { + if (tag == 98) { + parse_gamemode: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_gamemode())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->gamemode().data(), this->gamemode().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "gamemode"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(106)) goto parse_server_ip_address; + break; + } + + // optional string server_ip_address = 13; + case 13: { + if (tag == 106) { + parse_server_ip_address: + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_server_ip_address())); + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->server_ip_address().data(), this->server_ip_address().length(), + ::google::protobuf::internal::WireFormat::PARSE, + "server_ip_address"); + } else { + goto handle_unusual; + } + if (input->ExpectTag(114)) goto parse_data; + break; + } + + // optional bytes data = 14; + case 14: { + if (tag == 114) { + parse_data: + DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( + input, this->mutable_data())); + } else { + goto handle_unusual; + } + if (input->ExpectTag(120)) goto parse_is_localonly; + break; + } + + // optional bool is_localonly = 15; + case 15: { + if (tag == 120) { + parse_is_localonly: + DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< + bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( + input, &is_localonly_))); + set_has_is_localonly(); + } else { + goto handle_unusual; + } + if (input->ExpectAtEnd()) goto success; + break; + } + + default: { + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:CSVCMsg_GameSessionConfiguration) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CSVCMsg_GameSessionConfiguration) + return false; +#undef DO_ +} + +void CSVCMsg_GameSessionConfiguration::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CSVCMsg_GameSessionConfiguration) + // optional bool is_multiplayer = 1; + if (has_is_multiplayer()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_multiplayer(), output); + } + + // optional bool is_loadsavegame = 2; + if (has_is_loadsavegame()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->is_loadsavegame(), output); + } + + // optional bool is_background_map = 3; + if (has_is_background_map()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_background_map(), output); + } + + // optional bool is_headless = 4; + if (has_is_headless()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_headless(), output); + } + + // optional uint32 min_client_limit = 5; + if (has_min_client_limit()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->min_client_limit(), output); + } + + // optional uint32 max_client_limit = 6; + if (has_max_client_limit()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->max_client_limit(), output); + } + + // optional uint32 max_clients = 7; + if (has_max_clients()) { + ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->max_clients(), output); + } + + // optional fixed32 tick_interval = 8; + if (has_tick_interval()) { + ::google::protobuf::internal::WireFormatLite::WriteFixed32(8, this->tick_interval(), output); + } + + // optional string hostname = 9; + if (has_hostname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->hostname().data(), this->hostname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "hostname"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 9, this->hostname(), output); + } + + // optional string savegamename = 10; + if (has_savegamename()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->savegamename().data(), this->savegamename().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "savegamename"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 10, this->savegamename(), output); + } + + // optional string s1_mapname = 11; + if (has_s1_mapname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->s1_mapname().data(), this->s1_mapname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "s1_mapname"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 11, this->s1_mapname(), output); + } + + // optional string gamemode = 12; + if (has_gamemode()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->gamemode().data(), this->gamemode().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "gamemode"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 12, this->gamemode(), output); + } + + // optional string server_ip_address = 13; + if (has_server_ip_address()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->server_ip_address().data(), this->server_ip_address().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "server_ip_address"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 13, this->server_ip_address(), output); + } + + // optional bytes data = 14; + if (has_data()) { + ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( + 14, this->data(), output); + } + + // optional bool is_localonly = 15; + if (has_is_localonly()) { + ::google::protobuf::internal::WireFormatLite::WriteBool(15, this->is_localonly(), output); + } + + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CSVCMsg_GameSessionConfiguration) +} + +::google::protobuf::uint8* CSVCMsg_GameSessionConfiguration::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CSVCMsg_GameSessionConfiguration) + // optional bool is_multiplayer = 1; + if (has_is_multiplayer()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_multiplayer(), target); + } + + // optional bool is_loadsavegame = 2; + if (has_is_loadsavegame()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->is_loadsavegame(), target); + } + + // optional bool is_background_map = 3; + if (has_is_background_map()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_background_map(), target); + } + + // optional bool is_headless = 4; + if (has_is_headless()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_headless(), target); + } + + // optional uint32 min_client_limit = 5; + if (has_min_client_limit()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->min_client_limit(), target); + } + + // optional uint32 max_client_limit = 6; + if (has_max_client_limit()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(6, this->max_client_limit(), target); + } + + // optional uint32 max_clients = 7; + if (has_max_clients()) { + target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(7, this->max_clients(), target); + } + + // optional fixed32 tick_interval = 8; + if (has_tick_interval()) { + target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(8, this->tick_interval(), target); + } + + // optional string hostname = 9; + if (has_hostname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->hostname().data(), this->hostname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "hostname"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 9, this->hostname(), target); + } + + // optional string savegamename = 10; + if (has_savegamename()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->savegamename().data(), this->savegamename().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "savegamename"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 10, this->savegamename(), target); + } + + // optional string s1_mapname = 11; + if (has_s1_mapname()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->s1_mapname().data(), this->s1_mapname().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "s1_mapname"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 11, this->s1_mapname(), target); + } + + // optional string gamemode = 12; + if (has_gamemode()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->gamemode().data(), this->gamemode().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "gamemode"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 12, this->gamemode(), target); + } + + // optional string server_ip_address = 13; + if (has_server_ip_address()) { + ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( + this->server_ip_address().data(), this->server_ip_address().length(), + ::google::protobuf::internal::WireFormat::SERIALIZE, + "server_ip_address"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 13, this->server_ip_address(), target); + } + + // optional bytes data = 14; + if (has_data()) { + target = + ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( + 14, this->data(), target); + } + + // optional bool is_localonly = 15; + if (has_is_localonly()) { + target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(15, this->is_localonly(), target); + } + + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CSVCMsg_GameSessionConfiguration) + return target; +} + +int CSVCMsg_GameSessionConfiguration::ByteSize() const { + int total_size = 0; + + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { + // optional bool is_multiplayer = 1; + if (has_is_multiplayer()) { + total_size += 1 + 1; + } + + // optional bool is_loadsavegame = 2; + if (has_is_loadsavegame()) { + total_size += 1 + 1; + } + + // optional bool is_background_map = 3; + if (has_is_background_map()) { + total_size += 1 + 1; + } + + // optional bool is_headless = 4; + if (has_is_headless()) { + total_size += 1 + 1; + } + + // optional uint32 min_client_limit = 5; + if (has_min_client_limit()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->min_client_limit()); + } + + // optional uint32 max_client_limit = 6; + if (has_max_client_limit()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->max_client_limit()); + } + + // optional uint32 max_clients = 7; + if (has_max_clients()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::UInt32Size( + this->max_clients()); + } + + // optional fixed32 tick_interval = 8; + if (has_tick_interval()) { + total_size += 1 + 4; + } + + } + if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { + // optional string hostname = 9; + if (has_hostname()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->hostname()); + } + + // optional string savegamename = 10; + if (has_savegamename()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->savegamename()); + } + + // optional string s1_mapname = 11; + if (has_s1_mapname()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->s1_mapname()); + } + + // optional string gamemode = 12; + if (has_gamemode()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->gamemode()); + } + + // optional string server_ip_address = 13; + if (has_server_ip_address()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->server_ip_address()); + } + + // optional bytes data = 14; + if (has_data()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::BytesSize( + this->data()); + } + + // optional bool is_localonly = 15; + if (has_is_localonly()) { + total_size += 1 + 1; + } + + } + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CSVCMsg_GameSessionConfiguration::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CSVCMsg_GameSessionConfiguration* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CSVCMsg_GameSessionConfiguration::MergeFrom(const CSVCMsg_GameSessionConfiguration& from) { + GOOGLE_CHECK_NE(&from, this); + if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { + if (from.has_is_multiplayer()) { + set_is_multiplayer(from.is_multiplayer()); + } + if (from.has_is_loadsavegame()) { + set_is_loadsavegame(from.is_loadsavegame()); + } + if (from.has_is_background_map()) { + set_is_background_map(from.is_background_map()); + } + if (from.has_is_headless()) { + set_is_headless(from.is_headless()); + } + if (from.has_min_client_limit()) { + set_min_client_limit(from.min_client_limit()); + } + if (from.has_max_client_limit()) { + set_max_client_limit(from.max_client_limit()); + } + if (from.has_max_clients()) { + set_max_clients(from.max_clients()); + } + if (from.has_tick_interval()) { + set_tick_interval(from.tick_interval()); + } + } + if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { + if (from.has_hostname()) { + set_hostname(from.hostname()); + } + if (from.has_savegamename()) { + set_savegamename(from.savegamename()); + } + if (from.has_s1_mapname()) { + set_s1_mapname(from.s1_mapname()); + } + if (from.has_gamemode()) { + set_gamemode(from.gamemode()); + } + if (from.has_server_ip_address()) { + set_server_ip_address(from.server_ip_address()); + } + if (from.has_data()) { + set_data(from.data()); + } + if (from.has_is_localonly()) { + set_is_localonly(from.is_localonly()); + } + } + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CSVCMsg_GameSessionConfiguration::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CSVCMsg_GameSessionConfiguration::CopyFrom(const CSVCMsg_GameSessionConfiguration& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CSVCMsg_GameSessionConfiguration::IsInitialized() const { + + return true; +} + +void CSVCMsg_GameSessionConfiguration::Swap(CSVCMsg_GameSessionConfiguration* other) { + if (other != this) { + std::swap(is_multiplayer_, other->is_multiplayer_); + std::swap(is_loadsavegame_, other->is_loadsavegame_); + std::swap(is_background_map_, other->is_background_map_); + std::swap(is_headless_, other->is_headless_); + std::swap(min_client_limit_, other->min_client_limit_); + std::swap(max_client_limit_, other->max_client_limit_); + std::swap(max_clients_, other->max_clients_); + std::swap(tick_interval_, other->tick_interval_); + std::swap(hostname_, other->hostname_); + std::swap(savegamename_, other->savegamename_); + std::swap(s1_mapname_, other->s1_mapname_); + std::swap(gamemode_, other->gamemode_); + std::swap(server_ip_address_, other->server_ip_address_); + std::swap(data_, other->data_); + std::swap(is_localonly_, other->is_localonly_); + 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_GameSessionConfiguration::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CSVCMsg_GameSessionConfiguration_descriptor_; + metadata.reflection = CSVCMsg_GameSessionConfiguration_reflection_; + return metadata; +} + + +// =================================================================== + +#ifndef _MSC_VER +#endif // !_MSC_VER + +CNETMsg_ReliableMessageEndMarker::CNETMsg_ReliableMessageEndMarker() + : ::google::protobuf::Message() { + SharedCtor(); + // @@protoc_insertion_point(constructor:CNETMsg_ReliableMessageEndMarker) +} + +void CNETMsg_ReliableMessageEndMarker::InitAsDefaultInstance() { +} + +CNETMsg_ReliableMessageEndMarker::CNETMsg_ReliableMessageEndMarker(const CNETMsg_ReliableMessageEndMarker& from) + : ::google::protobuf::Message() { + SharedCtor(); + MergeFrom(from); + // @@protoc_insertion_point(copy_constructor:CNETMsg_ReliableMessageEndMarker) +} + +void CNETMsg_ReliableMessageEndMarker::SharedCtor() { + _cached_size_ = 0; + ::memset(_has_bits_, 0, sizeof(_has_bits_)); +} + +CNETMsg_ReliableMessageEndMarker::~CNETMsg_ReliableMessageEndMarker() { + // @@protoc_insertion_point(destructor:CNETMsg_ReliableMessageEndMarker) + SharedDtor(); +} + +void CNETMsg_ReliableMessageEndMarker::SharedDtor() { + if (this != default_instance_) { + } +} + +void CNETMsg_ReliableMessageEndMarker::SetCachedSize(int size) const { + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); +} +const ::google::protobuf::Descriptor* CNETMsg_ReliableMessageEndMarker::descriptor() { + protobuf_AssignDescriptorsOnce(); + return CNETMsg_ReliableMessageEndMarker_descriptor_; +} + +const CNETMsg_ReliableMessageEndMarker& CNETMsg_ReliableMessageEndMarker::default_instance() { + if (default_instance_ == NULL) protobuf_AddDesc_networkbasetypes_2eproto(); + return *default_instance_; +} + +CNETMsg_ReliableMessageEndMarker* CNETMsg_ReliableMessageEndMarker::default_instance_ = NULL; + +CNETMsg_ReliableMessageEndMarker* CNETMsg_ReliableMessageEndMarker::New() const { + return new CNETMsg_ReliableMessageEndMarker; +} + +void CNETMsg_ReliableMessageEndMarker::Clear() { + ::memset(_has_bits_, 0, sizeof(_has_bits_)); + mutable_unknown_fields()->Clear(); +} + +bool CNETMsg_ReliableMessageEndMarker::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:CNETMsg_ReliableMessageEndMarker) + for (;;) { + ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0 || + ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == + ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:CNETMsg_ReliableMessageEndMarker) + return true; +failure: + // @@protoc_insertion_point(parse_failure:CNETMsg_ReliableMessageEndMarker) + return false; +#undef DO_ +} + +void CNETMsg_ReliableMessageEndMarker::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:CNETMsg_ReliableMessageEndMarker) + if (!unknown_fields().empty()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:CNETMsg_ReliableMessageEndMarker) +} + +::google::protobuf::uint8* CNETMsg_ReliableMessageEndMarker::SerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:CNETMsg_ReliableMessageEndMarker) + if (!unknown_fields().empty()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:CNETMsg_ReliableMessageEndMarker) + return target; +} + +int CNETMsg_ReliableMessageEndMarker::ByteSize() const { + int total_size = 0; + + if (!unknown_fields().empty()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + unknown_fields()); + } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); + _cached_size_ = total_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); + return total_size; +} + +void CNETMsg_ReliableMessageEndMarker::MergeFrom(const ::google::protobuf::Message& from) { + GOOGLE_CHECK_NE(&from, this); + const CNETMsg_ReliableMessageEndMarker* source = + ::google::protobuf::internal::dynamic_cast_if_available( + &from); + if (source == NULL) { + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + MergeFrom(*source); + } +} + +void CNETMsg_ReliableMessageEndMarker::MergeFrom(const CNETMsg_ReliableMessageEndMarker& from) { + GOOGLE_CHECK_NE(&from, this); + mutable_unknown_fields()->MergeFrom(from.unknown_fields()); +} + +void CNETMsg_ReliableMessageEndMarker::CopyFrom(const ::google::protobuf::Message& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CNETMsg_ReliableMessageEndMarker::CopyFrom(const CNETMsg_ReliableMessageEndMarker& from) { + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CNETMsg_ReliableMessageEndMarker::IsInitialized() const { + + return true; +} + +void CNETMsg_ReliableMessageEndMarker::Swap(CNETMsg_ReliableMessageEndMarker* other) { + if (other != this) { + _unknown_fields_.Swap(&other->_unknown_fields_); + std::swap(_cached_size_, other->_cached_size_); + } +} + +::google::protobuf::Metadata CNETMsg_ReliableMessageEndMarker::GetMetadata() const { + protobuf_AssignDescriptorsOnce(); + ::google::protobuf::Metadata metadata; + metadata.descriptor = CNETMsg_ReliableMessageEndMarker_descriptor_; + metadata.reflection = CNETMsg_ReliableMessageEndMarker_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 index b0f4bb5b..0bd896e3 100644 --- a/public/engine/protobuf/networkbasetypes.pb.h +++ b/public/engine/protobuf/networkbasetypes.pb.h @@ -36,6 +36,7 @@ void protobuf_ShutdownFile_networkbasetypes_2eproto(); class CMsgVector; class CMsgVector2D; class CMsgQAngle; +class CMsgPlayerInfo; class CMsg_CVars; class CMsg_CVars_CVar; class CNETMsg_NOP; @@ -53,6 +54,13 @@ class CSVCMsgList_GameEvents_event_t; class CSVCMsg_UserMessage; class CSVCMsgList_UserMessages; class CSVCMsgList_UserMessages_usermsg_t; +class CNETMsg_SpawnGroup_Load; +class CNETMsg_SpawnGroup_ManifestUpdate; +class CNETMsg_SpawnGroup_SetCreationTick; +class CNETMsg_SpawnGroup_Unload; +class CNETMsg_SpawnGroup_LoadCompleted; +class CSVCMsg_GameSessionConfiguration; +class CNETMsg_ReliableMessageEndMarker; enum NET_Messages { net_NOP = 0, @@ -62,11 +70,17 @@ enum NET_Messages { net_Tick = 4, net_StringCmd = 5, net_SetConVar = 6, - net_SignonState = 7 + net_SignonState = 7, + net_SpawnGroup_Load = 8, + net_SpawnGroup_ManifestUpdate = 9, + net_SpawnGroup_SetCreationTick = 11, + net_SpawnGroup_Unload = 12, + net_SpawnGroup_LoadCompleted = 13, + net_ReliableMessageEndMarker = 14 }; bool NET_Messages_IsValid(int value); const NET_Messages NET_Messages_MIN = net_NOP; -const NET_Messages NET_Messages_MAX = net_SignonState; +const NET_Messages NET_Messages_MAX = net_ReliableMessageEndMarker; const int NET_Messages_ARRAYSIZE = NET_Messages_MAX + 1; const ::google::protobuf::EnumDescriptor* NET_Messages_descriptor(); @@ -79,30 +93,31 @@ 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 +enum SpawnGroupFlags_t { + SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE = 1, + SPAWN_GROUP_DONT_SPAWN_ENTITIES = 2, + SPAWN_GROUP_SYNCHRONOUS_SPAWN = 4, + SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP = 8, + SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES = 16, + SPAWN_GROUP_SAVE_ENTITIES = 32, + SPAWN_GROUP_BLOCK_UNTIL_LOADED = 64, + SPAWN_GROUP_LOAD_STREAMING_DATA = 128, + SPAWN_GROUP_CREATE_NEW_SCENE_WORLD = 256 }; -bool SIGNONSTATE_IsValid(int value); -const SIGNONSTATE SIGNONSTATE_MIN = SIGNONSTATE_NONE; -const SIGNONSTATE SIGNONSTATE_MAX = SIGNONSTATE_CHANGELEVEL; -const int SIGNONSTATE_ARRAYSIZE = SIGNONSTATE_MAX + 1; +bool SpawnGroupFlags_t_IsValid(int value); +const SpawnGroupFlags_t SpawnGroupFlags_t_MIN = SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE; +const SpawnGroupFlags_t SpawnGroupFlags_t_MAX = SPAWN_GROUP_CREATE_NEW_SCENE_WORLD; +const int SpawnGroupFlags_t_ARRAYSIZE = SpawnGroupFlags_t_MAX + 1; -const ::google::protobuf::EnumDescriptor* SIGNONSTATE_descriptor(); -inline const ::std::string& SIGNONSTATE_Name(SIGNONSTATE value) { +const ::google::protobuf::EnumDescriptor* SpawnGroupFlags_t_descriptor(); +inline const ::std::string& SpawnGroupFlags_t_Name(SpawnGroupFlags_t value) { return ::google::protobuf::internal::NameOfEnum( - SIGNONSTATE_descriptor(), value); + SpawnGroupFlags_t_descriptor(), value); } -inline bool SIGNONSTATE_Parse( - const ::std::string& name, SIGNONSTATE* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SIGNONSTATE_descriptor(), name, value); +inline bool SpawnGroupFlags_t_Parse( + const ::std::string& name, SpawnGroupFlags_t* value) { + return ::google::protobuf::internal::ParseNamedEnum( + SpawnGroupFlags_t_descriptor(), name, value); } // =================================================================== @@ -393,6 +408,163 @@ class CMsgQAngle : public ::google::protobuf::Message { }; // ------------------------------------------------------------------- +class CMsgPlayerInfo : public ::google::protobuf::Message { + public: + CMsgPlayerInfo(); + virtual ~CMsgPlayerInfo(); + + CMsgPlayerInfo(const CMsgPlayerInfo& from); + + inline CMsgPlayerInfo& operator=(const CMsgPlayerInfo& 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 CMsgPlayerInfo& default_instance(); + + void Swap(CMsgPlayerInfo* other); + + // implements Message ---------------------------------------------- + + CMsgPlayerInfo* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CMsgPlayerInfo& from); + void MergeFrom(const CMsgPlayerInfo& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional string name = 1; + inline bool has_name() const; + inline void clear_name(); + static const int kNameFieldNumber = 1; + inline const ::std::string& name() const; + inline void set_name(const ::std::string& value); + inline void set_name(const char* value); + inline void set_name(const char* value, size_t size); + inline ::std::string* mutable_name(); + inline ::std::string* release_name(); + inline void set_allocated_name(::std::string* name); + + // optional fixed64 xuid = 2; + inline bool has_xuid() const; + inline void clear_xuid(); + static const int kXuidFieldNumber = 2; + inline ::google::protobuf::uint64 xuid() const; + inline void set_xuid(::google::protobuf::uint64 value); + + // optional int32 userid = 3; + inline bool has_userid() const; + inline void clear_userid(); + static const int kUseridFieldNumber = 3; + inline ::google::protobuf::int32 userid() const; + inline void set_userid(::google::protobuf::int32 value); + + // optional fixed64 steamid = 4; + inline bool has_steamid() const; + inline void clear_steamid(); + static const int kSteamidFieldNumber = 4; + inline ::google::protobuf::uint64 steamid() const; + inline void set_steamid(::google::protobuf::uint64 value); + + // optional bool fakeplayer = 5; + inline bool has_fakeplayer() const; + inline void clear_fakeplayer(); + static const int kFakeplayerFieldNumber = 5; + inline bool fakeplayer() const; + inline void set_fakeplayer(bool value); + + // optional bool ishltv = 6; + inline bool has_ishltv() const; + inline void clear_ishltv(); + static const int kIshltvFieldNumber = 6; + inline bool ishltv() const; + inline void set_ishltv(bool value); + + // repeated fixed32 customFiles = 7; + inline int customfiles_size() const; + inline void clear_customfiles(); + static const int kCustomFilesFieldNumber = 7; + inline ::google::protobuf::uint32 customfiles(int index) const; + inline void set_customfiles(int index, ::google::protobuf::uint32 value); + inline void add_customfiles(::google::protobuf::uint32 value); + inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& + customfiles() const; + inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* + mutable_customfiles(); + + // optional int32 filesDownloaded = 8; + inline bool has_filesdownloaded() const; + inline void clear_filesdownloaded(); + static const int kFilesDownloadedFieldNumber = 8; + inline ::google::protobuf::int32 filesdownloaded() const; + inline void set_filesdownloaded(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CMsgPlayerInfo) + private: + inline void set_has_name(); + inline void clear_has_name(); + inline void set_has_xuid(); + inline void clear_has_xuid(); + inline void set_has_userid(); + inline void clear_has_userid(); + inline void set_has_steamid(); + inline void clear_has_steamid(); + inline void set_has_fakeplayer(); + inline void clear_has_fakeplayer(); + inline void set_has_ishltv(); + inline void clear_has_ishltv(); + inline void set_has_filesdownloaded(); + inline void clear_has_filesdownloaded(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* name_; + ::google::protobuf::uint64 xuid_; + ::google::protobuf::uint64 steamid_; + ::google::protobuf::int32 userid_; + bool fakeplayer_; + bool ishltv_; + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > customfiles_; + ::google::protobuf::int32 filesdownloaded_; + friend void protobuf_AddDesc_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CMsgPlayerInfo* default_instance_; +}; +// ------------------------------------------------------------------- + class CMsg_CVars_CVar : public ::google::protobuf::Message { public: CMsg_CVars_CVar(); @@ -987,6 +1159,20 @@ class CNETMsg_Tick : public ::google::protobuf::Message { inline ::google::protobuf::uint32 tick() const; inline void set_tick(::google::protobuf::uint32 value); + // optional uint32 host_frametime = 2; + inline bool has_host_frametime() const; + inline void clear_host_frametime(); + static const int kHostFrametimeFieldNumber = 2; + inline ::google::protobuf::uint32 host_frametime() const; + inline void set_host_frametime(::google::protobuf::uint32 value); + + // optional uint32 host_frametime_std_deviation = 3; + inline bool has_host_frametime_std_deviation() const; + inline void clear_host_frametime_std_deviation(); + static const int kHostFrametimeStdDeviationFieldNumber = 3; + inline ::google::protobuf::uint32 host_frametime_std_deviation() const; + inline void set_host_frametime_std_deviation(::google::protobuf::uint32 value); + // optional uint32 host_computationtime = 4; inline bool has_host_computationtime() const; inline void clear_host_computationtime(); @@ -1012,6 +1198,10 @@ class CNETMsg_Tick : public ::google::protobuf::Message { private: inline void set_has_tick(); inline void clear_has_tick(); + inline void set_has_host_frametime(); + inline void clear_has_host_frametime(); + inline void set_has_host_frametime_std_deviation(); + inline void clear_has_host_frametime_std_deviation(); inline void set_has_host_computationtime(); inline void clear_has_host_computationtime(); inline void set_has_host_computationtime_std_deviation(); @@ -1024,6 +1214,8 @@ class CNETMsg_Tick : public ::google::protobuf::Message { ::google::protobuf::uint32 _has_bits_[1]; mutable int _cached_size_; ::google::protobuf::uint32 tick_; + ::google::protobuf::uint32 host_frametime_; + ::google::protobuf::uint32 host_frametime_std_deviation_; ::google::protobuf::uint32 host_computationtime_; ::google::protobuf::uint32 host_computationtime_std_deviation_; ::google::protobuf::uint32 host_framestarttime_std_deviation_; @@ -2037,6 +2229,968 @@ class CSVCMsgList_UserMessages : public ::google::protobuf::Message { void InitAsDefaultInstance(); static CSVCMsgList_UserMessages* default_instance_; }; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_Load : public ::google::protobuf::Message { + public: + CNETMsg_SpawnGroup_Load(); + virtual ~CNETMsg_SpawnGroup_Load(); + + CNETMsg_SpawnGroup_Load(const CNETMsg_SpawnGroup_Load& from); + + inline CNETMsg_SpawnGroup_Load& operator=(const CNETMsg_SpawnGroup_Load& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CNETMsg_SpawnGroup_Load& default_instance(); + + void Swap(CNETMsg_SpawnGroup_Load* other); + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_Load* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_SpawnGroup_Load& from); + void MergeFrom(const CNETMsg_SpawnGroup_Load& 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 worldname = 1; + inline bool has_worldname() const; + inline void clear_worldname(); + static const int kWorldnameFieldNumber = 1; + inline const ::std::string& worldname() const; + inline void set_worldname(const ::std::string& value); + inline void set_worldname(const char* value); + inline void set_worldname(const char* value, size_t size); + inline ::std::string* mutable_worldname(); + inline ::std::string* release_worldname(); + inline void set_allocated_worldname(::std::string* worldname); + + // optional string entitylumpname = 2; + inline bool has_entitylumpname() const; + inline void clear_entitylumpname(); + static const int kEntitylumpnameFieldNumber = 2; + inline const ::std::string& entitylumpname() const; + inline void set_entitylumpname(const ::std::string& value); + inline void set_entitylumpname(const char* value); + inline void set_entitylumpname(const char* value, size_t size); + inline ::std::string* mutable_entitylumpname(); + inline ::std::string* release_entitylumpname(); + inline void set_allocated_entitylumpname(::std::string* entitylumpname); + + // optional string entityfiltername = 3; + inline bool has_entityfiltername() const; + inline void clear_entityfiltername(); + static const int kEntityfilternameFieldNumber = 3; + inline const ::std::string& entityfiltername() const; + inline void set_entityfiltername(const ::std::string& value); + inline void set_entityfiltername(const char* value); + inline void set_entityfiltername(const char* value, size_t size); + inline ::std::string* mutable_entityfiltername(); + inline ::std::string* release_entityfiltername(); + inline void set_allocated_entityfiltername(::std::string* entityfiltername); + + // optional uint32 spawngrouphandle = 4; + inline bool has_spawngrouphandle() const; + inline void clear_spawngrouphandle(); + static const int kSpawngrouphandleFieldNumber = 4; + inline ::google::protobuf::uint32 spawngrouphandle() const; + inline void set_spawngrouphandle(::google::protobuf::uint32 value); + + // optional uint32 spawngroupownerhandle = 5; + inline bool has_spawngroupownerhandle() const; + inline void clear_spawngroupownerhandle(); + static const int kSpawngroupownerhandleFieldNumber = 5; + inline ::google::protobuf::uint32 spawngroupownerhandle() const; + inline void set_spawngroupownerhandle(::google::protobuf::uint32 value); + + // optional .CMsgVector world_offset_pos = 6; + inline bool has_world_offset_pos() const; + inline void clear_world_offset_pos(); + static const int kWorldOffsetPosFieldNumber = 6; + inline const ::CMsgVector& world_offset_pos() const; + inline ::CMsgVector* mutable_world_offset_pos(); + inline ::CMsgVector* release_world_offset_pos(); + inline void set_allocated_world_offset_pos(::CMsgVector* world_offset_pos); + + // optional .CMsgQAngle world_offset_angle = 7; + inline bool has_world_offset_angle() const; + inline void clear_world_offset_angle(); + static const int kWorldOffsetAngleFieldNumber = 7; + inline const ::CMsgQAngle& world_offset_angle() const; + inline ::CMsgQAngle* mutable_world_offset_angle(); + inline ::CMsgQAngle* release_world_offset_angle(); + inline void set_allocated_world_offset_angle(::CMsgQAngle* world_offset_angle); + + // optional bytes spawngroupmanifest = 8; + inline bool has_spawngroupmanifest() const; + inline void clear_spawngroupmanifest(); + static const int kSpawngroupmanifestFieldNumber = 8; + inline const ::std::string& spawngroupmanifest() const; + inline void set_spawngroupmanifest(const ::std::string& value); + inline void set_spawngroupmanifest(const char* value); + inline void set_spawngroupmanifest(const void* value, size_t size); + inline ::std::string* mutable_spawngroupmanifest(); + inline ::std::string* release_spawngroupmanifest(); + inline void set_allocated_spawngroupmanifest(::std::string* spawngroupmanifest); + + // optional uint32 flags = 9; + inline bool has_flags() const; + inline void clear_flags(); + static const int kFlagsFieldNumber = 9; + inline ::google::protobuf::uint32 flags() const; + inline void set_flags(::google::protobuf::uint32 value); + + // optional int32 tickcount = 10; + inline bool has_tickcount() const; + inline void clear_tickcount(); + static const int kTickcountFieldNumber = 10; + inline ::google::protobuf::int32 tickcount() const; + inline void set_tickcount(::google::protobuf::int32 value); + + // optional bool manifestincomplete = 11; + inline bool has_manifestincomplete() const; + inline void clear_manifestincomplete(); + static const int kManifestincompleteFieldNumber = 11; + inline bool manifestincomplete() const; + inline void set_manifestincomplete(bool value); + + // optional string localnamefixup = 12; + inline bool has_localnamefixup() const; + inline void clear_localnamefixup(); + static const int kLocalnamefixupFieldNumber = 12; + inline const ::std::string& localnamefixup() const; + inline void set_localnamefixup(const ::std::string& value); + inline void set_localnamefixup(const char* value); + inline void set_localnamefixup(const char* value, size_t size); + inline ::std::string* mutable_localnamefixup(); + inline ::std::string* release_localnamefixup(); + inline void set_allocated_localnamefixup(::std::string* localnamefixup); + + // optional string parentnamefixup = 13; + inline bool has_parentnamefixup() const; + inline void clear_parentnamefixup(); + static const int kParentnamefixupFieldNumber = 13; + inline const ::std::string& parentnamefixup() const; + inline void set_parentnamefixup(const ::std::string& value); + inline void set_parentnamefixup(const char* value); + inline void set_parentnamefixup(const char* value, size_t size); + inline ::std::string* mutable_parentnamefixup(); + inline ::std::string* release_parentnamefixup(); + inline void set_allocated_parentnamefixup(::std::string* parentnamefixup); + + // optional int32 manifestloadpriority = 14; + inline bool has_manifestloadpriority() const; + inline void clear_manifestloadpriority(); + static const int kManifestloadpriorityFieldNumber = 14; + inline ::google::protobuf::int32 manifestloadpriority() const; + inline void set_manifestloadpriority(::google::protobuf::int32 value); + + // optional uint32 worldgroupid = 15; + inline bool has_worldgroupid() const; + inline void clear_worldgroupid(); + static const int kWorldgroupidFieldNumber = 15; + inline ::google::protobuf::uint32 worldgroupid() const; + inline void set_worldgroupid(::google::protobuf::uint32 value); + + // optional uint32 creationsequence = 16; + inline bool has_creationsequence() const; + inline void clear_creationsequence(); + static const int kCreationsequenceFieldNumber = 16; + inline ::google::protobuf::uint32 creationsequence() const; + inline void set_creationsequence(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_Load) + private: + inline void set_has_worldname(); + inline void clear_has_worldname(); + inline void set_has_entitylumpname(); + inline void clear_has_entitylumpname(); + inline void set_has_entityfiltername(); + inline void clear_has_entityfiltername(); + inline void set_has_spawngrouphandle(); + inline void clear_has_spawngrouphandle(); + inline void set_has_spawngroupownerhandle(); + inline void clear_has_spawngroupownerhandle(); + inline void set_has_world_offset_pos(); + inline void clear_has_world_offset_pos(); + inline void set_has_world_offset_angle(); + inline void clear_has_world_offset_angle(); + inline void set_has_spawngroupmanifest(); + inline void clear_has_spawngroupmanifest(); + inline void set_has_flags(); + inline void clear_has_flags(); + inline void set_has_tickcount(); + inline void clear_has_tickcount(); + inline void set_has_manifestincomplete(); + inline void clear_has_manifestincomplete(); + inline void set_has_localnamefixup(); + inline void clear_has_localnamefixup(); + inline void set_has_parentnamefixup(); + inline void clear_has_parentnamefixup(); + inline void set_has_manifestloadpriority(); + inline void clear_has_manifestloadpriority(); + inline void set_has_worldgroupid(); + inline void clear_has_worldgroupid(); + inline void set_has_creationsequence(); + inline void clear_has_creationsequence(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* worldname_; + ::std::string* entitylumpname_; + ::std::string* entityfiltername_; + ::google::protobuf::uint32 spawngrouphandle_; + ::google::protobuf::uint32 spawngroupownerhandle_; + ::CMsgVector* world_offset_pos_; + ::CMsgQAngle* world_offset_angle_; + ::std::string* spawngroupmanifest_; + ::google::protobuf::uint32 flags_; + ::google::protobuf::int32 tickcount_; + ::std::string* localnamefixup_; + bool manifestincomplete_; + ::google::protobuf::int32 manifestloadpriority_; + ::std::string* parentnamefixup_; + ::google::protobuf::uint32 worldgroupid_; + ::google::protobuf::uint32 creationsequence_; + friend void protobuf_AddDesc_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_SpawnGroup_Load* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_ManifestUpdate : public ::google::protobuf::Message { + public: + CNETMsg_SpawnGroup_ManifestUpdate(); + virtual ~CNETMsg_SpawnGroup_ManifestUpdate(); + + CNETMsg_SpawnGroup_ManifestUpdate(const CNETMsg_SpawnGroup_ManifestUpdate& from); + + inline CNETMsg_SpawnGroup_ManifestUpdate& operator=(const CNETMsg_SpawnGroup_ManifestUpdate& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CNETMsg_SpawnGroup_ManifestUpdate& default_instance(); + + void Swap(CNETMsg_SpawnGroup_ManifestUpdate* other); + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_ManifestUpdate* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_SpawnGroup_ManifestUpdate& from); + void MergeFrom(const CNETMsg_SpawnGroup_ManifestUpdate& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 spawngrouphandle = 1; + inline bool has_spawngrouphandle() const; + inline void clear_spawngrouphandle(); + static const int kSpawngrouphandleFieldNumber = 1; + inline ::google::protobuf::uint32 spawngrouphandle() const; + inline void set_spawngrouphandle(::google::protobuf::uint32 value); + + // optional bytes spawngroupmanifest = 2; + inline bool has_spawngroupmanifest() const; + inline void clear_spawngroupmanifest(); + static const int kSpawngroupmanifestFieldNumber = 2; + inline const ::std::string& spawngroupmanifest() const; + inline void set_spawngroupmanifest(const ::std::string& value); + inline void set_spawngroupmanifest(const char* value); + inline void set_spawngroupmanifest(const void* value, size_t size); + inline ::std::string* mutable_spawngroupmanifest(); + inline ::std::string* release_spawngroupmanifest(); + inline void set_allocated_spawngroupmanifest(::std::string* spawngroupmanifest); + + // optional bool manifestincomplete = 3; + inline bool has_manifestincomplete() const; + inline void clear_manifestincomplete(); + static const int kManifestincompleteFieldNumber = 3; + inline bool manifestincomplete() const; + inline void set_manifestincomplete(bool value); + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_ManifestUpdate) + private: + inline void set_has_spawngrouphandle(); + inline void clear_has_spawngrouphandle(); + inline void set_has_spawngroupmanifest(); + inline void clear_has_spawngroupmanifest(); + inline void set_has_manifestincomplete(); + inline void clear_has_manifestincomplete(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::std::string* spawngroupmanifest_; + ::google::protobuf::uint32 spawngrouphandle_; + bool manifestincomplete_; + friend void protobuf_AddDesc_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_SpawnGroup_ManifestUpdate* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_SetCreationTick : public ::google::protobuf::Message { + public: + CNETMsg_SpawnGroup_SetCreationTick(); + virtual ~CNETMsg_SpawnGroup_SetCreationTick(); + + CNETMsg_SpawnGroup_SetCreationTick(const CNETMsg_SpawnGroup_SetCreationTick& from); + + inline CNETMsg_SpawnGroup_SetCreationTick& operator=(const CNETMsg_SpawnGroup_SetCreationTick& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CNETMsg_SpawnGroup_SetCreationTick& default_instance(); + + void Swap(CNETMsg_SpawnGroup_SetCreationTick* other); + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_SetCreationTick* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_SpawnGroup_SetCreationTick& from); + void MergeFrom(const CNETMsg_SpawnGroup_SetCreationTick& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 spawngrouphandle = 1; + inline bool has_spawngrouphandle() const; + inline void clear_spawngrouphandle(); + static const int kSpawngrouphandleFieldNumber = 1; + inline ::google::protobuf::uint32 spawngrouphandle() const; + inline void set_spawngrouphandle(::google::protobuf::uint32 value); + + // optional int32 tickcount = 2; + inline bool has_tickcount() const; + inline void clear_tickcount(); + static const int kTickcountFieldNumber = 2; + inline ::google::protobuf::int32 tickcount() const; + inline void set_tickcount(::google::protobuf::int32 value); + + // optional uint32 creationsequence = 3; + inline bool has_creationsequence() const; + inline void clear_creationsequence(); + static const int kCreationsequenceFieldNumber = 3; + inline ::google::protobuf::uint32 creationsequence() const; + inline void set_creationsequence(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_SetCreationTick) + private: + inline void set_has_spawngrouphandle(); + inline void clear_has_spawngrouphandle(); + inline void set_has_tickcount(); + inline void clear_has_tickcount(); + inline void set_has_creationsequence(); + inline void clear_has_creationsequence(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 spawngrouphandle_; + ::google::protobuf::int32 tickcount_; + ::google::protobuf::uint32 creationsequence_; + friend void protobuf_AddDesc_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_SpawnGroup_SetCreationTick* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_Unload : public ::google::protobuf::Message { + public: + CNETMsg_SpawnGroup_Unload(); + virtual ~CNETMsg_SpawnGroup_Unload(); + + CNETMsg_SpawnGroup_Unload(const CNETMsg_SpawnGroup_Unload& from); + + inline CNETMsg_SpawnGroup_Unload& operator=(const CNETMsg_SpawnGroup_Unload& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CNETMsg_SpawnGroup_Unload& default_instance(); + + void Swap(CNETMsg_SpawnGroup_Unload* other); + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_Unload* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_SpawnGroup_Unload& from); + void MergeFrom(const CNETMsg_SpawnGroup_Unload& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 spawngrouphandle = 1; + inline bool has_spawngrouphandle() const; + inline void clear_spawngrouphandle(); + static const int kSpawngrouphandleFieldNumber = 1; + inline ::google::protobuf::uint32 spawngrouphandle() const; + inline void set_spawngrouphandle(::google::protobuf::uint32 value); + + // optional uint32 flags = 2; + inline bool has_flags() const; + inline void clear_flags(); + static const int kFlagsFieldNumber = 2; + inline ::google::protobuf::uint32 flags() const; + inline void set_flags(::google::protobuf::uint32 value); + + // optional int32 tickcount = 3; + inline bool has_tickcount() const; + inline void clear_tickcount(); + static const int kTickcountFieldNumber = 3; + inline ::google::protobuf::int32 tickcount() const; + inline void set_tickcount(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_Unload) + private: + inline void set_has_spawngrouphandle(); + inline void clear_has_spawngrouphandle(); + inline void set_has_flags(); + inline void clear_has_flags(); + inline void set_has_tickcount(); + inline void clear_has_tickcount(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 spawngrouphandle_; + ::google::protobuf::uint32 flags_; + ::google::protobuf::int32 tickcount_; + friend void protobuf_AddDesc_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_SpawnGroup_Unload* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_SpawnGroup_LoadCompleted : public ::google::protobuf::Message { + public: + CNETMsg_SpawnGroup_LoadCompleted(); + virtual ~CNETMsg_SpawnGroup_LoadCompleted(); + + CNETMsg_SpawnGroup_LoadCompleted(const CNETMsg_SpawnGroup_LoadCompleted& from); + + inline CNETMsg_SpawnGroup_LoadCompleted& operator=(const CNETMsg_SpawnGroup_LoadCompleted& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CNETMsg_SpawnGroup_LoadCompleted& default_instance(); + + void Swap(CNETMsg_SpawnGroup_LoadCompleted* other); + + // implements Message ---------------------------------------------- + + CNETMsg_SpawnGroup_LoadCompleted* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_SpawnGroup_LoadCompleted& from); + void MergeFrom(const CNETMsg_SpawnGroup_LoadCompleted& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // optional uint32 spawngrouphandle = 1; + inline bool has_spawngrouphandle() const; + inline void clear_spawngrouphandle(); + static const int kSpawngrouphandleFieldNumber = 1; + inline ::google::protobuf::uint32 spawngrouphandle() const; + inline void set_spawngrouphandle(::google::protobuf::uint32 value); + + // @@protoc_insertion_point(class_scope:CNETMsg_SpawnGroup_LoadCompleted) + private: + inline void set_has_spawngrouphandle(); + inline void clear_has_spawngrouphandle(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + ::google::protobuf::uint32 spawngrouphandle_; + friend void protobuf_AddDesc_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_SpawnGroup_LoadCompleted* default_instance_; +}; +// ------------------------------------------------------------------- + +class CSVCMsg_GameSessionConfiguration : public ::google::protobuf::Message { + public: + CSVCMsg_GameSessionConfiguration(); + virtual ~CSVCMsg_GameSessionConfiguration(); + + CSVCMsg_GameSessionConfiguration(const CSVCMsg_GameSessionConfiguration& from); + + inline CSVCMsg_GameSessionConfiguration& operator=(const CSVCMsg_GameSessionConfiguration& 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_GameSessionConfiguration& default_instance(); + + void Swap(CSVCMsg_GameSessionConfiguration* other); + + // implements Message ---------------------------------------------- + + CSVCMsg_GameSessionConfiguration* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CSVCMsg_GameSessionConfiguration& from); + void MergeFrom(const CSVCMsg_GameSessionConfiguration& 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 is_multiplayer = 1; + inline bool has_is_multiplayer() const; + inline void clear_is_multiplayer(); + static const int kIsMultiplayerFieldNumber = 1; + inline bool is_multiplayer() const; + inline void set_is_multiplayer(bool value); + + // optional bool is_loadsavegame = 2; + inline bool has_is_loadsavegame() const; + inline void clear_is_loadsavegame(); + static const int kIsLoadsavegameFieldNumber = 2; + inline bool is_loadsavegame() const; + inline void set_is_loadsavegame(bool value); + + // optional bool is_background_map = 3; + inline bool has_is_background_map() const; + inline void clear_is_background_map(); + static const int kIsBackgroundMapFieldNumber = 3; + inline bool is_background_map() const; + inline void set_is_background_map(bool value); + + // optional bool is_headless = 4; + inline bool has_is_headless() const; + inline void clear_is_headless(); + static const int kIsHeadlessFieldNumber = 4; + inline bool is_headless() const; + inline void set_is_headless(bool value); + + // optional uint32 min_client_limit = 5; + inline bool has_min_client_limit() const; + inline void clear_min_client_limit(); + static const int kMinClientLimitFieldNumber = 5; + inline ::google::protobuf::uint32 min_client_limit() const; + inline void set_min_client_limit(::google::protobuf::uint32 value); + + // optional uint32 max_client_limit = 6; + inline bool has_max_client_limit() const; + inline void clear_max_client_limit(); + static const int kMaxClientLimitFieldNumber = 6; + inline ::google::protobuf::uint32 max_client_limit() const; + inline void set_max_client_limit(::google::protobuf::uint32 value); + + // optional uint32 max_clients = 7; + inline bool has_max_clients() const; + inline void clear_max_clients(); + static const int kMaxClientsFieldNumber = 7; + inline ::google::protobuf::uint32 max_clients() const; + inline void set_max_clients(::google::protobuf::uint32 value); + + // optional fixed32 tick_interval = 8; + inline bool has_tick_interval() const; + inline void clear_tick_interval(); + static const int kTickIntervalFieldNumber = 8; + inline ::google::protobuf::uint32 tick_interval() const; + inline void set_tick_interval(::google::protobuf::uint32 value); + + // optional string hostname = 9; + inline bool has_hostname() const; + inline void clear_hostname(); + static const int kHostnameFieldNumber = 9; + inline const ::std::string& hostname() const; + inline void set_hostname(const ::std::string& value); + inline void set_hostname(const char* value); + inline void set_hostname(const char* value, size_t size); + inline ::std::string* mutable_hostname(); + inline ::std::string* release_hostname(); + inline void set_allocated_hostname(::std::string* hostname); + + // optional string savegamename = 10; + inline bool has_savegamename() const; + inline void clear_savegamename(); + static const int kSavegamenameFieldNumber = 10; + inline const ::std::string& savegamename() const; + inline void set_savegamename(const ::std::string& value); + inline void set_savegamename(const char* value); + inline void set_savegamename(const char* value, size_t size); + inline ::std::string* mutable_savegamename(); + inline ::std::string* release_savegamename(); + inline void set_allocated_savegamename(::std::string* savegamename); + + // optional string s1_mapname = 11; + inline bool has_s1_mapname() const; + inline void clear_s1_mapname(); + static const int kS1MapnameFieldNumber = 11; + inline const ::std::string& s1_mapname() const; + inline void set_s1_mapname(const ::std::string& value); + inline void set_s1_mapname(const char* value); + inline void set_s1_mapname(const char* value, size_t size); + inline ::std::string* mutable_s1_mapname(); + inline ::std::string* release_s1_mapname(); + inline void set_allocated_s1_mapname(::std::string* s1_mapname); + + // optional string gamemode = 12; + inline bool has_gamemode() const; + inline void clear_gamemode(); + static const int kGamemodeFieldNumber = 12; + inline const ::std::string& gamemode() const; + inline void set_gamemode(const ::std::string& value); + inline void set_gamemode(const char* value); + inline void set_gamemode(const char* value, size_t size); + inline ::std::string* mutable_gamemode(); + inline ::std::string* release_gamemode(); + inline void set_allocated_gamemode(::std::string* gamemode); + + // optional string server_ip_address = 13; + inline bool has_server_ip_address() const; + inline void clear_server_ip_address(); + static const int kServerIpAddressFieldNumber = 13; + inline const ::std::string& server_ip_address() const; + inline void set_server_ip_address(const ::std::string& value); + inline void set_server_ip_address(const char* value); + inline void set_server_ip_address(const char* value, size_t size); + inline ::std::string* mutable_server_ip_address(); + inline ::std::string* release_server_ip_address(); + inline void set_allocated_server_ip_address(::std::string* server_ip_address); + + // optional bytes data = 14; + inline bool has_data() const; + inline void clear_data(); + static const int kDataFieldNumber = 14; + inline const ::std::string& data() const; + inline void set_data(const ::std::string& value); + inline void set_data(const char* value); + inline void set_data(const void* value, size_t size); + inline ::std::string* mutable_data(); + inline ::std::string* release_data(); + inline void set_allocated_data(::std::string* data); + + // optional bool is_localonly = 15; + inline bool has_is_localonly() const; + inline void clear_is_localonly(); + static const int kIsLocalonlyFieldNumber = 15; + inline bool is_localonly() const; + inline void set_is_localonly(bool value); + + // @@protoc_insertion_point(class_scope:CSVCMsg_GameSessionConfiguration) + private: + inline void set_has_is_multiplayer(); + inline void clear_has_is_multiplayer(); + inline void set_has_is_loadsavegame(); + inline void clear_has_is_loadsavegame(); + inline void set_has_is_background_map(); + inline void clear_has_is_background_map(); + inline void set_has_is_headless(); + inline void clear_has_is_headless(); + inline void set_has_min_client_limit(); + inline void clear_has_min_client_limit(); + inline void set_has_max_client_limit(); + inline void clear_has_max_client_limit(); + inline void set_has_max_clients(); + inline void clear_has_max_clients(); + inline void set_has_tick_interval(); + inline void clear_has_tick_interval(); + inline void set_has_hostname(); + inline void clear_has_hostname(); + inline void set_has_savegamename(); + inline void clear_has_savegamename(); + inline void set_has_s1_mapname(); + inline void clear_has_s1_mapname(); + inline void set_has_gamemode(); + inline void clear_has_gamemode(); + inline void set_has_server_ip_address(); + inline void clear_has_server_ip_address(); + inline void set_has_data(); + inline void clear_has_data(); + inline void set_has_is_localonly(); + inline void clear_has_is_localonly(); + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + bool is_multiplayer_; + bool is_loadsavegame_; + bool is_background_map_; + bool is_headless_; + ::google::protobuf::uint32 min_client_limit_; + ::google::protobuf::uint32 max_client_limit_; + ::google::protobuf::uint32 max_clients_; + ::std::string* hostname_; + ::std::string* savegamename_; + ::std::string* s1_mapname_; + ::google::protobuf::uint32 tick_interval_; + bool is_localonly_; + ::std::string* gamemode_; + ::std::string* server_ip_address_; + ::std::string* data_; + friend void protobuf_AddDesc_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CSVCMsg_GameSessionConfiguration* default_instance_; +}; +// ------------------------------------------------------------------- + +class CNETMsg_ReliableMessageEndMarker : public ::google::protobuf::Message { + public: + CNETMsg_ReliableMessageEndMarker(); + virtual ~CNETMsg_ReliableMessageEndMarker(); + + CNETMsg_ReliableMessageEndMarker(const CNETMsg_ReliableMessageEndMarker& from); + + inline CNETMsg_ReliableMessageEndMarker& operator=(const CNETMsg_ReliableMessageEndMarker& from) { + CopyFrom(from); + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { + return _unknown_fields_; + } + + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { + return &_unknown_fields_; + } + + static const ::google::protobuf::Descriptor* descriptor(); + static const CNETMsg_ReliableMessageEndMarker& default_instance(); + + void Swap(CNETMsg_ReliableMessageEndMarker* other); + + // implements Message ---------------------------------------------- + + CNETMsg_ReliableMessageEndMarker* New() const; + void CopyFrom(const ::google::protobuf::Message& from); + void MergeFrom(const ::google::protobuf::Message& from); + void CopyFrom(const CNETMsg_ReliableMessageEndMarker& from); + void MergeFrom(const CNETMsg_ReliableMessageEndMarker& from); + void Clear(); + bool IsInitialized() const; + + int ByteSize() const; + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input); + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const; + ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; + int GetCachedSize() const { return _cached_size_; } + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + public: + ::google::protobuf::Metadata GetMetadata() const; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:CNETMsg_ReliableMessageEndMarker) + private: + + ::google::protobuf::UnknownFieldSet _unknown_fields_; + + ::google::protobuf::uint32 _has_bits_[1]; + mutable int _cached_size_; + friend void protobuf_AddDesc_networkbasetypes_2eproto(); + friend void protobuf_AssignDesc_networkbasetypes_2eproto(); + friend void protobuf_ShutdownFile_networkbasetypes_2eproto(); + + void InitAsDefaultInstance(); + static CNETMsg_ReliableMessageEndMarker* default_instance_; +}; // =================================================================== @@ -2246,6 +3400,260 @@ inline void CMsgQAngle::set_z(float value) { // ------------------------------------------------------------------- +// CMsgPlayerInfo + +// optional string name = 1; +inline bool CMsgPlayerInfo::has_name() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CMsgPlayerInfo::set_has_name() { + _has_bits_[0] |= 0x00000001u; +} +inline void CMsgPlayerInfo::clear_has_name() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CMsgPlayerInfo::clear_name() { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_->clear(); + } + clear_has_name(); +} +inline const ::std::string& CMsgPlayerInfo::name() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.name) + return *name_; +} +inline void CMsgPlayerInfo::set_name(const ::std::string& value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.name) +} +inline void CMsgPlayerInfo::set_name(const char* value) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(value); + // @@protoc_insertion_point(field_set_char:CMsgPlayerInfo.name) +} +inline void CMsgPlayerInfo::set_name(const char* value, size_t size) { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + name_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CMsgPlayerInfo.name) +} +inline ::std::string* CMsgPlayerInfo::mutable_name() { + set_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + name_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CMsgPlayerInfo.name) + return name_; +} +inline ::std::string* CMsgPlayerInfo::release_name() { + clear_has_name(); + if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = name_; + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CMsgPlayerInfo::set_allocated_name(::std::string* name) { + if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete name_; + } + if (name) { + set_has_name(); + name_ = name; + } else { + clear_has_name(); + name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CMsgPlayerInfo.name) +} + +// optional fixed64 xuid = 2; +inline bool CMsgPlayerInfo::has_xuid() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CMsgPlayerInfo::set_has_xuid() { + _has_bits_[0] |= 0x00000002u; +} +inline void CMsgPlayerInfo::clear_has_xuid() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CMsgPlayerInfo::clear_xuid() { + xuid_ = GOOGLE_ULONGLONG(0); + clear_has_xuid(); +} +inline ::google::protobuf::uint64 CMsgPlayerInfo::xuid() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.xuid) + return xuid_; +} +inline void CMsgPlayerInfo::set_xuid(::google::protobuf::uint64 value) { + set_has_xuid(); + xuid_ = value; + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.xuid) +} + +// optional int32 userid = 3; +inline bool CMsgPlayerInfo::has_userid() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CMsgPlayerInfo::set_has_userid() { + _has_bits_[0] |= 0x00000004u; +} +inline void CMsgPlayerInfo::clear_has_userid() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CMsgPlayerInfo::clear_userid() { + userid_ = 0; + clear_has_userid(); +} +inline ::google::protobuf::int32 CMsgPlayerInfo::userid() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.userid) + return userid_; +} +inline void CMsgPlayerInfo::set_userid(::google::protobuf::int32 value) { + set_has_userid(); + userid_ = value; + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.userid) +} + +// optional fixed64 steamid = 4; +inline bool CMsgPlayerInfo::has_steamid() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CMsgPlayerInfo::set_has_steamid() { + _has_bits_[0] |= 0x00000008u; +} +inline void CMsgPlayerInfo::clear_has_steamid() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CMsgPlayerInfo::clear_steamid() { + steamid_ = GOOGLE_ULONGLONG(0); + clear_has_steamid(); +} +inline ::google::protobuf::uint64 CMsgPlayerInfo::steamid() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.steamid) + return steamid_; +} +inline void CMsgPlayerInfo::set_steamid(::google::protobuf::uint64 value) { + set_has_steamid(); + steamid_ = value; + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.steamid) +} + +// optional bool fakeplayer = 5; +inline bool CMsgPlayerInfo::has_fakeplayer() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CMsgPlayerInfo::set_has_fakeplayer() { + _has_bits_[0] |= 0x00000010u; +} +inline void CMsgPlayerInfo::clear_has_fakeplayer() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CMsgPlayerInfo::clear_fakeplayer() { + fakeplayer_ = false; + clear_has_fakeplayer(); +} +inline bool CMsgPlayerInfo::fakeplayer() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.fakeplayer) + return fakeplayer_; +} +inline void CMsgPlayerInfo::set_fakeplayer(bool value) { + set_has_fakeplayer(); + fakeplayer_ = value; + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.fakeplayer) +} + +// optional bool ishltv = 6; +inline bool CMsgPlayerInfo::has_ishltv() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CMsgPlayerInfo::set_has_ishltv() { + _has_bits_[0] |= 0x00000020u; +} +inline void CMsgPlayerInfo::clear_has_ishltv() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CMsgPlayerInfo::clear_ishltv() { + ishltv_ = false; + clear_has_ishltv(); +} +inline bool CMsgPlayerInfo::ishltv() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.ishltv) + return ishltv_; +} +inline void CMsgPlayerInfo::set_ishltv(bool value) { + set_has_ishltv(); + ishltv_ = value; + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.ishltv) +} + +// repeated fixed32 customFiles = 7; +inline int CMsgPlayerInfo::customfiles_size() const { + return customfiles_.size(); +} +inline void CMsgPlayerInfo::clear_customfiles() { + customfiles_.Clear(); +} +inline ::google::protobuf::uint32 CMsgPlayerInfo::customfiles(int index) const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.customFiles) + return customfiles_.Get(index); +} +inline void CMsgPlayerInfo::set_customfiles(int index, ::google::protobuf::uint32 value) { + customfiles_.Set(index, value); + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.customFiles) +} +inline void CMsgPlayerInfo::add_customfiles(::google::protobuf::uint32 value) { + customfiles_.Add(value); + // @@protoc_insertion_point(field_add:CMsgPlayerInfo.customFiles) +} +inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& +CMsgPlayerInfo::customfiles() const { + // @@protoc_insertion_point(field_list:CMsgPlayerInfo.customFiles) + return customfiles_; +} +inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* +CMsgPlayerInfo::mutable_customfiles() { + // @@protoc_insertion_point(field_mutable_list:CMsgPlayerInfo.customFiles) + return &customfiles_; +} + +// optional int32 filesDownloaded = 8; +inline bool CMsgPlayerInfo::has_filesdownloaded() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CMsgPlayerInfo::set_has_filesdownloaded() { + _has_bits_[0] |= 0x00000080u; +} +inline void CMsgPlayerInfo::clear_has_filesdownloaded() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CMsgPlayerInfo::clear_filesdownloaded() { + filesdownloaded_ = 0; + clear_has_filesdownloaded(); +} +inline ::google::protobuf::int32 CMsgPlayerInfo::filesdownloaded() const { + // @@protoc_insertion_point(field_get:CMsgPlayerInfo.filesDownloaded) + return filesdownloaded_; +} +inline void CMsgPlayerInfo::set_filesdownloaded(::google::protobuf::int32 value) { + set_has_filesdownloaded(); + filesdownloaded_ = value; + // @@protoc_insertion_point(field_set:CMsgPlayerInfo.filesDownloaded) +} + +// ------------------------------------------------------------------- + // CMsg_CVars_CVar // optional string name = 1; @@ -2699,16 +4107,64 @@ inline void CNETMsg_Tick::set_tick(::google::protobuf::uint32 value) { // @@protoc_insertion_point(field_set:CNETMsg_Tick.tick) } -// optional uint32 host_computationtime = 4; -inline bool CNETMsg_Tick::has_host_computationtime() const { +// optional uint32 host_frametime = 2; +inline bool CNETMsg_Tick::has_host_frametime() const { return (_has_bits_[0] & 0x00000002u) != 0; } -inline void CNETMsg_Tick::set_has_host_computationtime() { +inline void CNETMsg_Tick::set_has_host_frametime() { _has_bits_[0] |= 0x00000002u; } -inline void CNETMsg_Tick::clear_has_host_computationtime() { +inline void CNETMsg_Tick::clear_has_host_frametime() { _has_bits_[0] &= ~0x00000002u; } +inline void CNETMsg_Tick::clear_host_frametime() { + host_frametime_ = 0u; + clear_has_host_frametime(); +} +inline ::google::protobuf::uint32 CNETMsg_Tick::host_frametime() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_frametime) + return host_frametime_; +} +inline void CNETMsg_Tick::set_host_frametime(::google::protobuf::uint32 value) { + set_has_host_frametime(); + host_frametime_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_frametime) +} + +// optional uint32 host_frametime_std_deviation = 3; +inline bool CNETMsg_Tick::has_host_frametime_std_deviation() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CNETMsg_Tick::set_has_host_frametime_std_deviation() { + _has_bits_[0] |= 0x00000004u; +} +inline void CNETMsg_Tick::clear_has_host_frametime_std_deviation() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CNETMsg_Tick::clear_host_frametime_std_deviation() { + host_frametime_std_deviation_ = 0u; + clear_has_host_frametime_std_deviation(); +} +inline ::google::protobuf::uint32 CNETMsg_Tick::host_frametime_std_deviation() const { + // @@protoc_insertion_point(field_get:CNETMsg_Tick.host_frametime_std_deviation) + return host_frametime_std_deviation_; +} +inline void CNETMsg_Tick::set_host_frametime_std_deviation(::google::protobuf::uint32 value) { + set_has_host_frametime_std_deviation(); + host_frametime_std_deviation_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_Tick.host_frametime_std_deviation) +} + +// optional uint32 host_computationtime = 4; +inline bool CNETMsg_Tick::has_host_computationtime() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CNETMsg_Tick::set_has_host_computationtime() { + _has_bits_[0] |= 0x00000008u; +} +inline void CNETMsg_Tick::clear_has_host_computationtime() { + _has_bits_[0] &= ~0x00000008u; +} inline void CNETMsg_Tick::clear_host_computationtime() { host_computationtime_ = 0u; clear_has_host_computationtime(); @@ -2725,13 +4181,13 @@ inline void CNETMsg_Tick::set_host_computationtime(::google::protobuf::uint32 va // optional uint32 host_computationtime_std_deviation = 5; inline bool CNETMsg_Tick::has_host_computationtime_std_deviation() const { - return (_has_bits_[0] & 0x00000004u) != 0; + return (_has_bits_[0] & 0x00000010u) != 0; } inline void CNETMsg_Tick::set_has_host_computationtime_std_deviation() { - _has_bits_[0] |= 0x00000004u; + _has_bits_[0] |= 0x00000010u; } inline void CNETMsg_Tick::clear_has_host_computationtime_std_deviation() { - _has_bits_[0] &= ~0x00000004u; + _has_bits_[0] &= ~0x00000010u; } inline void CNETMsg_Tick::clear_host_computationtime_std_deviation() { host_computationtime_std_deviation_ = 0u; @@ -2749,13 +4205,13 @@ inline void CNETMsg_Tick::set_host_computationtime_std_deviation(::google::proto // optional uint32 host_framestarttime_std_deviation = 6; inline bool CNETMsg_Tick::has_host_framestarttime_std_deviation() const { - return (_has_bits_[0] & 0x00000008u) != 0; + return (_has_bits_[0] & 0x00000020u) != 0; } inline void CNETMsg_Tick::set_has_host_framestarttime_std_deviation() { - _has_bits_[0] |= 0x00000008u; + _has_bits_[0] |= 0x00000020u; } inline void CNETMsg_Tick::clear_has_host_framestarttime_std_deviation() { - _has_bits_[0] &= ~0x00000008u; + _has_bits_[0] &= ~0x00000020u; } inline void CNETMsg_Tick::clear_host_framestarttime_std_deviation() { host_framestarttime_std_deviation_ = 0u; @@ -3794,6 +5250,1728 @@ CSVCMsgList_UserMessages::mutable_usermsgs() { return &usermsgs_; } +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_Load + +// optional string worldname = 1; +inline bool CNETMsg_SpawnGroup_Load::has_worldname() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_worldname() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_worldname() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_SpawnGroup_Load::clear_worldname() { + if (worldname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + worldname_->clear(); + } + clear_has_worldname(); +} +inline const ::std::string& CNETMsg_SpawnGroup_Load::worldname() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.worldname) + return *worldname_; +} +inline void CNETMsg_SpawnGroup_Load::set_worldname(const ::std::string& value) { + set_has_worldname(); + if (worldname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + worldname_ = new ::std::string; + } + worldname_->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.worldname) +} +inline void CNETMsg_SpawnGroup_Load::set_worldname(const char* value) { + set_has_worldname(); + if (worldname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + worldname_ = new ::std::string; + } + worldname_->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_SpawnGroup_Load.worldname) +} +inline void CNETMsg_SpawnGroup_Load::set_worldname(const char* value, size_t size) { + set_has_worldname(); + if (worldname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + worldname_ = new ::std::string; + } + worldname_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_SpawnGroup_Load.worldname) +} +inline ::std::string* CNETMsg_SpawnGroup_Load::mutable_worldname() { + set_has_worldname(); + if (worldname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + worldname_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.worldname) + return worldname_; +} +inline ::std::string* CNETMsg_SpawnGroup_Load::release_worldname() { + clear_has_worldname(); + if (worldname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = worldname_; + worldname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_worldname(::std::string* worldname) { + if (worldname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete worldname_; + } + if (worldname) { + set_has_worldname(); + worldname_ = worldname; + } else { + clear_has_worldname(); + worldname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.worldname) +} + +// optional string entitylumpname = 2; +inline bool CNETMsg_SpawnGroup_Load::has_entitylumpname() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_entitylumpname() { + _has_bits_[0] |= 0x00000002u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_entitylumpname() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CNETMsg_SpawnGroup_Load::clear_entitylumpname() { + if (entitylumpname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entitylumpname_->clear(); + } + clear_has_entitylumpname(); +} +inline const ::std::string& CNETMsg_SpawnGroup_Load::entitylumpname() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.entitylumpname) + return *entitylumpname_; +} +inline void CNETMsg_SpawnGroup_Load::set_entitylumpname(const ::std::string& value) { + set_has_entitylumpname(); + if (entitylumpname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entitylumpname_ = new ::std::string; + } + entitylumpname_->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.entitylumpname) +} +inline void CNETMsg_SpawnGroup_Load::set_entitylumpname(const char* value) { + set_has_entitylumpname(); + if (entitylumpname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entitylumpname_ = new ::std::string; + } + entitylumpname_->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_SpawnGroup_Load.entitylumpname) +} +inline void CNETMsg_SpawnGroup_Load::set_entitylumpname(const char* value, size_t size) { + set_has_entitylumpname(); + if (entitylumpname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entitylumpname_ = new ::std::string; + } + entitylumpname_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_SpawnGroup_Load.entitylumpname) +} +inline ::std::string* CNETMsg_SpawnGroup_Load::mutable_entitylumpname() { + set_has_entitylumpname(); + if (entitylumpname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entitylumpname_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.entitylumpname) + return entitylumpname_; +} +inline ::std::string* CNETMsg_SpawnGroup_Load::release_entitylumpname() { + clear_has_entitylumpname(); + if (entitylumpname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = entitylumpname_; + entitylumpname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_entitylumpname(::std::string* entitylumpname) { + if (entitylumpname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete entitylumpname_; + } + if (entitylumpname) { + set_has_entitylumpname(); + entitylumpname_ = entitylumpname; + } else { + clear_has_entitylumpname(); + entitylumpname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.entitylumpname) +} + +// optional string entityfiltername = 3; +inline bool CNETMsg_SpawnGroup_Load::has_entityfiltername() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_entityfiltername() { + _has_bits_[0] |= 0x00000004u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_entityfiltername() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CNETMsg_SpawnGroup_Load::clear_entityfiltername() { + if (entityfiltername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entityfiltername_->clear(); + } + clear_has_entityfiltername(); +} +inline const ::std::string& CNETMsg_SpawnGroup_Load::entityfiltername() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.entityfiltername) + return *entityfiltername_; +} +inline void CNETMsg_SpawnGroup_Load::set_entityfiltername(const ::std::string& value) { + set_has_entityfiltername(); + if (entityfiltername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entityfiltername_ = new ::std::string; + } + entityfiltername_->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.entityfiltername) +} +inline void CNETMsg_SpawnGroup_Load::set_entityfiltername(const char* value) { + set_has_entityfiltername(); + if (entityfiltername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entityfiltername_ = new ::std::string; + } + entityfiltername_->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_SpawnGroup_Load.entityfiltername) +} +inline void CNETMsg_SpawnGroup_Load::set_entityfiltername(const char* value, size_t size) { + set_has_entityfiltername(); + if (entityfiltername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entityfiltername_ = new ::std::string; + } + entityfiltername_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_SpawnGroup_Load.entityfiltername) +} +inline ::std::string* CNETMsg_SpawnGroup_Load::mutable_entityfiltername() { + set_has_entityfiltername(); + if (entityfiltername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + entityfiltername_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.entityfiltername) + return entityfiltername_; +} +inline ::std::string* CNETMsg_SpawnGroup_Load::release_entityfiltername() { + clear_has_entityfiltername(); + if (entityfiltername_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = entityfiltername_; + entityfiltername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_entityfiltername(::std::string* entityfiltername) { + if (entityfiltername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete entityfiltername_; + } + if (entityfiltername) { + set_has_entityfiltername(); + entityfiltername_ = entityfiltername; + } else { + clear_has_entityfiltername(); + entityfiltername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.entityfiltername) +} + +// optional uint32 spawngrouphandle = 4; +inline bool CNETMsg_SpawnGroup_Load::has_spawngrouphandle() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_spawngrouphandle() { + _has_bits_[0] |= 0x00000008u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_spawngrouphandle() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CNETMsg_SpawnGroup_Load::clear_spawngrouphandle() { + spawngrouphandle_ = 0u; + clear_has_spawngrouphandle(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_Load::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngrouphandle) + return spawngrouphandle_; +} +inline void CNETMsg_SpawnGroup_Load::set_spawngrouphandle(::google::protobuf::uint32 value) { + set_has_spawngrouphandle(); + spawngrouphandle_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngrouphandle) +} + +// optional uint32 spawngroupownerhandle = 5; +inline bool CNETMsg_SpawnGroup_Load::has_spawngroupownerhandle() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_spawngroupownerhandle() { + _has_bits_[0] |= 0x00000010u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_spawngroupownerhandle() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CNETMsg_SpawnGroup_Load::clear_spawngroupownerhandle() { + spawngroupownerhandle_ = 0u; + clear_has_spawngroupownerhandle(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_Load::spawngroupownerhandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngroupownerhandle) + return spawngroupownerhandle_; +} +inline void CNETMsg_SpawnGroup_Load::set_spawngroupownerhandle(::google::protobuf::uint32 value) { + set_has_spawngroupownerhandle(); + spawngroupownerhandle_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngroupownerhandle) +} + +// optional .CMsgVector world_offset_pos = 6; +inline bool CNETMsg_SpawnGroup_Load::has_world_offset_pos() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_world_offset_pos() { + _has_bits_[0] |= 0x00000020u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_world_offset_pos() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CNETMsg_SpawnGroup_Load::clear_world_offset_pos() { + if (world_offset_pos_ != NULL) world_offset_pos_->::CMsgVector::Clear(); + clear_has_world_offset_pos(); +} +inline const ::CMsgVector& CNETMsg_SpawnGroup_Load::world_offset_pos() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.world_offset_pos) + return world_offset_pos_ != NULL ? *world_offset_pos_ : *default_instance_->world_offset_pos_; +} +inline ::CMsgVector* CNETMsg_SpawnGroup_Load::mutable_world_offset_pos() { + set_has_world_offset_pos(); + if (world_offset_pos_ == NULL) world_offset_pos_ = new ::CMsgVector; + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.world_offset_pos) + return world_offset_pos_; +} +inline ::CMsgVector* CNETMsg_SpawnGroup_Load::release_world_offset_pos() { + clear_has_world_offset_pos(); + ::CMsgVector* temp = world_offset_pos_; + world_offset_pos_ = NULL; + return temp; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_world_offset_pos(::CMsgVector* world_offset_pos) { + delete world_offset_pos_; + world_offset_pos_ = world_offset_pos; + if (world_offset_pos) { + set_has_world_offset_pos(); + } else { + clear_has_world_offset_pos(); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_pos) +} + +// optional .CMsgQAngle world_offset_angle = 7; +inline bool CNETMsg_SpawnGroup_Load::has_world_offset_angle() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_world_offset_angle() { + _has_bits_[0] |= 0x00000040u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_world_offset_angle() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CNETMsg_SpawnGroup_Load::clear_world_offset_angle() { + if (world_offset_angle_ != NULL) world_offset_angle_->::CMsgQAngle::Clear(); + clear_has_world_offset_angle(); +} +inline const ::CMsgQAngle& CNETMsg_SpawnGroup_Load::world_offset_angle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.world_offset_angle) + return world_offset_angle_ != NULL ? *world_offset_angle_ : *default_instance_->world_offset_angle_; +} +inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::mutable_world_offset_angle() { + set_has_world_offset_angle(); + if (world_offset_angle_ == NULL) world_offset_angle_ = new ::CMsgQAngle; + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.world_offset_angle) + return world_offset_angle_; +} +inline ::CMsgQAngle* CNETMsg_SpawnGroup_Load::release_world_offset_angle() { + clear_has_world_offset_angle(); + ::CMsgQAngle* temp = world_offset_angle_; + world_offset_angle_ = NULL; + return temp; +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_world_offset_angle(::CMsgQAngle* world_offset_angle) { + delete world_offset_angle_; + world_offset_angle_ = world_offset_angle; + if (world_offset_angle) { + set_has_world_offset_angle(); + } else { + clear_has_world_offset_angle(); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.world_offset_angle) +} + +// optional bytes spawngroupmanifest = 8; +inline bool CNETMsg_SpawnGroup_Load::has_spawngroupmanifest() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_spawngroupmanifest() { + _has_bits_[0] |= 0x00000080u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_spawngroupmanifest() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CNETMsg_SpawnGroup_Load::clear_spawngroupmanifest() { + if (spawngroupmanifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_->clear(); + } + clear_has_spawngroupmanifest(); +} +inline const ::std::string& CNETMsg_SpawnGroup_Load::spawngroupmanifest() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.spawngroupmanifest) + return *spawngroupmanifest_; +} +inline void CNETMsg_SpawnGroup_Load::set_spawngroupmanifest(const ::std::string& value) { + set_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_ = new ::std::string; + } + spawngroupmanifest_->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.spawngroupmanifest) +} +inline void CNETMsg_SpawnGroup_Load::set_spawngroupmanifest(const char* value) { + set_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_ = new ::std::string; + } + spawngroupmanifest_->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_SpawnGroup_Load.spawngroupmanifest) +} +inline void CNETMsg_SpawnGroup_Load::set_spawngroupmanifest(const void* value, size_t size) { + set_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_ = new ::std::string; + } + spawngroupmanifest_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_SpawnGroup_Load.spawngroupmanifest) +} +inline ::std::string* CNETMsg_SpawnGroup_Load::mutable_spawngroupmanifest() { + set_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.spawngroupmanifest) + return spawngroupmanifest_; +} +inline ::std::string* CNETMsg_SpawnGroup_Load::release_spawngroupmanifest() { + clear_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = spawngroupmanifest_; + spawngroupmanifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_spawngroupmanifest(::std::string* spawngroupmanifest) { + if (spawngroupmanifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete spawngroupmanifest_; + } + if (spawngroupmanifest) { + set_has_spawngroupmanifest(); + spawngroupmanifest_ = spawngroupmanifest; + } else { + clear_has_spawngroupmanifest(); + spawngroupmanifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.spawngroupmanifest) +} + +// optional uint32 flags = 9; +inline bool CNETMsg_SpawnGroup_Load::has_flags() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_flags() { + _has_bits_[0] |= 0x00000100u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_flags() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CNETMsg_SpawnGroup_Load::clear_flags() { + flags_ = 0u; + clear_has_flags(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_Load::flags() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.flags) + return flags_; +} +inline void CNETMsg_SpawnGroup_Load::set_flags(::google::protobuf::uint32 value) { + set_has_flags(); + flags_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.flags) +} + +// optional int32 tickcount = 10; +inline bool CNETMsg_SpawnGroup_Load::has_tickcount() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_tickcount() { + _has_bits_[0] |= 0x00000200u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_tickcount() { + _has_bits_[0] &= ~0x00000200u; +} +inline void CNETMsg_SpawnGroup_Load::clear_tickcount() { + tickcount_ = 0; + clear_has_tickcount(); +} +inline ::google::protobuf::int32 CNETMsg_SpawnGroup_Load::tickcount() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.tickcount) + return tickcount_; +} +inline void CNETMsg_SpawnGroup_Load::set_tickcount(::google::protobuf::int32 value) { + set_has_tickcount(); + tickcount_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.tickcount) +} + +// optional bool manifestincomplete = 11; +inline bool CNETMsg_SpawnGroup_Load::has_manifestincomplete() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_manifestincomplete() { + _has_bits_[0] |= 0x00000400u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_manifestincomplete() { + _has_bits_[0] &= ~0x00000400u; +} +inline void CNETMsg_SpawnGroup_Load::clear_manifestincomplete() { + manifestincomplete_ = false; + clear_has_manifestincomplete(); +} +inline bool CNETMsg_SpawnGroup_Load::manifestincomplete() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.manifestincomplete) + return manifestincomplete_; +} +inline void CNETMsg_SpawnGroup_Load::set_manifestincomplete(bool value) { + set_has_manifestincomplete(); + manifestincomplete_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.manifestincomplete) +} + +// optional string localnamefixup = 12; +inline bool CNETMsg_SpawnGroup_Load::has_localnamefixup() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_localnamefixup() { + _has_bits_[0] |= 0x00000800u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_localnamefixup() { + _has_bits_[0] &= ~0x00000800u; +} +inline void CNETMsg_SpawnGroup_Load::clear_localnamefixup() { + if (localnamefixup_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + localnamefixup_->clear(); + } + clear_has_localnamefixup(); +} +inline const ::std::string& CNETMsg_SpawnGroup_Load::localnamefixup() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.localnamefixup) + return *localnamefixup_; +} +inline void CNETMsg_SpawnGroup_Load::set_localnamefixup(const ::std::string& value) { + set_has_localnamefixup(); + if (localnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + localnamefixup_ = new ::std::string; + } + localnamefixup_->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.localnamefixup) +} +inline void CNETMsg_SpawnGroup_Load::set_localnamefixup(const char* value) { + set_has_localnamefixup(); + if (localnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + localnamefixup_ = new ::std::string; + } + localnamefixup_->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_SpawnGroup_Load.localnamefixup) +} +inline void CNETMsg_SpawnGroup_Load::set_localnamefixup(const char* value, size_t size) { + set_has_localnamefixup(); + if (localnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + localnamefixup_ = new ::std::string; + } + localnamefixup_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_SpawnGroup_Load.localnamefixup) +} +inline ::std::string* CNETMsg_SpawnGroup_Load::mutable_localnamefixup() { + set_has_localnamefixup(); + if (localnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + localnamefixup_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.localnamefixup) + return localnamefixup_; +} +inline ::std::string* CNETMsg_SpawnGroup_Load::release_localnamefixup() { + clear_has_localnamefixup(); + if (localnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = localnamefixup_; + localnamefixup_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_localnamefixup(::std::string* localnamefixup) { + if (localnamefixup_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete localnamefixup_; + } + if (localnamefixup) { + set_has_localnamefixup(); + localnamefixup_ = localnamefixup; + } else { + clear_has_localnamefixup(); + localnamefixup_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.localnamefixup) +} + +// optional string parentnamefixup = 13; +inline bool CNETMsg_SpawnGroup_Load::has_parentnamefixup() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_parentnamefixup() { + _has_bits_[0] |= 0x00001000u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_parentnamefixup() { + _has_bits_[0] &= ~0x00001000u; +} +inline void CNETMsg_SpawnGroup_Load::clear_parentnamefixup() { + if (parentnamefixup_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + parentnamefixup_->clear(); + } + clear_has_parentnamefixup(); +} +inline const ::std::string& CNETMsg_SpawnGroup_Load::parentnamefixup() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.parentnamefixup) + return *parentnamefixup_; +} +inline void CNETMsg_SpawnGroup_Load::set_parentnamefixup(const ::std::string& value) { + set_has_parentnamefixup(); + if (parentnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + parentnamefixup_ = new ::std::string; + } + parentnamefixup_->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.parentnamefixup) +} +inline void CNETMsg_SpawnGroup_Load::set_parentnamefixup(const char* value) { + set_has_parentnamefixup(); + if (parentnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + parentnamefixup_ = new ::std::string; + } + parentnamefixup_->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_SpawnGroup_Load.parentnamefixup) +} +inline void CNETMsg_SpawnGroup_Load::set_parentnamefixup(const char* value, size_t size) { + set_has_parentnamefixup(); + if (parentnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + parentnamefixup_ = new ::std::string; + } + parentnamefixup_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_SpawnGroup_Load.parentnamefixup) +} +inline ::std::string* CNETMsg_SpawnGroup_Load::mutable_parentnamefixup() { + set_has_parentnamefixup(); + if (parentnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + parentnamefixup_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_Load.parentnamefixup) + return parentnamefixup_; +} +inline ::std::string* CNETMsg_SpawnGroup_Load::release_parentnamefixup() { + clear_has_parentnamefixup(); + if (parentnamefixup_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = parentnamefixup_; + parentnamefixup_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CNETMsg_SpawnGroup_Load::set_allocated_parentnamefixup(::std::string* parentnamefixup) { + if (parentnamefixup_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete parentnamefixup_; + } + if (parentnamefixup) { + set_has_parentnamefixup(); + parentnamefixup_ = parentnamefixup; + } else { + clear_has_parentnamefixup(); + parentnamefixup_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_Load.parentnamefixup) +} + +// optional int32 manifestloadpriority = 14; +inline bool CNETMsg_SpawnGroup_Load::has_manifestloadpriority() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_manifestloadpriority() { + _has_bits_[0] |= 0x00002000u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_manifestloadpriority() { + _has_bits_[0] &= ~0x00002000u; +} +inline void CNETMsg_SpawnGroup_Load::clear_manifestloadpriority() { + manifestloadpriority_ = 0; + clear_has_manifestloadpriority(); +} +inline ::google::protobuf::int32 CNETMsg_SpawnGroup_Load::manifestloadpriority() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.manifestloadpriority) + return manifestloadpriority_; +} +inline void CNETMsg_SpawnGroup_Load::set_manifestloadpriority(::google::protobuf::int32 value) { + set_has_manifestloadpriority(); + manifestloadpriority_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.manifestloadpriority) +} + +// optional uint32 worldgroupid = 15; +inline bool CNETMsg_SpawnGroup_Load::has_worldgroupid() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_worldgroupid() { + _has_bits_[0] |= 0x00004000u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_worldgroupid() { + _has_bits_[0] &= ~0x00004000u; +} +inline void CNETMsg_SpawnGroup_Load::clear_worldgroupid() { + worldgroupid_ = 0u; + clear_has_worldgroupid(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_Load::worldgroupid() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.worldgroupid) + return worldgroupid_; +} +inline void CNETMsg_SpawnGroup_Load::set_worldgroupid(::google::protobuf::uint32 value) { + set_has_worldgroupid(); + worldgroupid_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.worldgroupid) +} + +// optional uint32 creationsequence = 16; +inline bool CNETMsg_SpawnGroup_Load::has_creationsequence() const { + return (_has_bits_[0] & 0x00008000u) != 0; +} +inline void CNETMsg_SpawnGroup_Load::set_has_creationsequence() { + _has_bits_[0] |= 0x00008000u; +} +inline void CNETMsg_SpawnGroup_Load::clear_has_creationsequence() { + _has_bits_[0] &= ~0x00008000u; +} +inline void CNETMsg_SpawnGroup_Load::clear_creationsequence() { + creationsequence_ = 0u; + clear_has_creationsequence(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_Load::creationsequence() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Load.creationsequence) + return creationsequence_; +} +inline void CNETMsg_SpawnGroup_Load::set_creationsequence(::google::protobuf::uint32 value) { + set_has_creationsequence(); + creationsequence_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Load.creationsequence) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_ManifestUpdate + +// optional uint32 spawngrouphandle = 1; +inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_spawngrouphandle() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_has_spawngrouphandle() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_has_spawngrouphandle() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_spawngrouphandle() { + spawngrouphandle_ = 0u; + clear_has_spawngrouphandle(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_ManifestUpdate::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.spawngrouphandle) + return spawngrouphandle_; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_spawngrouphandle(::google::protobuf::uint32 value) { + set_has_spawngrouphandle(); + spawngrouphandle_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.spawngrouphandle) +} + +// optional bytes spawngroupmanifest = 2; +inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_spawngroupmanifest() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_has_spawngroupmanifest() { + _has_bits_[0] |= 0x00000002u; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_has_spawngroupmanifest() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_spawngroupmanifest() { + if (spawngroupmanifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_->clear(); + } + clear_has_spawngroupmanifest(); +} +inline const ::std::string& CNETMsg_SpawnGroup_ManifestUpdate::spawngroupmanifest() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) + return *spawngroupmanifest_; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_spawngroupmanifest(const ::std::string& value) { + set_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_ = new ::std::string; + } + spawngroupmanifest_->assign(value); + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_spawngroupmanifest(const char* value) { + set_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_ = new ::std::string; + } + spawngroupmanifest_->assign(value); + // @@protoc_insertion_point(field_set_char:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_spawngroupmanifest(const void* value, size_t size) { + set_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_ = new ::std::string; + } + spawngroupmanifest_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) +} +inline ::std::string* CNETMsg_SpawnGroup_ManifestUpdate::mutable_spawngroupmanifest() { + set_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + spawngroupmanifest_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) + return spawngroupmanifest_; +} +inline ::std::string* CNETMsg_SpawnGroup_ManifestUpdate::release_spawngroupmanifest() { + clear_has_spawngroupmanifest(); + if (spawngroupmanifest_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = spawngroupmanifest_; + spawngroupmanifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_allocated_spawngroupmanifest(::std::string* spawngroupmanifest) { + if (spawngroupmanifest_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete spawngroupmanifest_; + } + if (spawngroupmanifest) { + set_has_spawngroupmanifest(); + spawngroupmanifest_ = spawngroupmanifest; + } else { + clear_has_spawngroupmanifest(); + spawngroupmanifest_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CNETMsg_SpawnGroup_ManifestUpdate.spawngroupmanifest) +} + +// optional bool manifestincomplete = 3; +inline bool CNETMsg_SpawnGroup_ManifestUpdate::has_manifestincomplete() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_has_manifestincomplete() { + _has_bits_[0] |= 0x00000004u; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_has_manifestincomplete() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::clear_manifestincomplete() { + manifestincomplete_ = false; + clear_has_manifestincomplete(); +} +inline bool CNETMsg_SpawnGroup_ManifestUpdate::manifestincomplete() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_ManifestUpdate.manifestincomplete) + return manifestincomplete_; +} +inline void CNETMsg_SpawnGroup_ManifestUpdate::set_manifestincomplete(bool value) { + set_has_manifestincomplete(); + manifestincomplete_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_ManifestUpdate.manifestincomplete) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_SetCreationTick + +// optional uint32 spawngrouphandle = 1; +inline bool CNETMsg_SpawnGroup_SetCreationTick::has_spawngrouphandle() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_has_spawngrouphandle() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_has_spawngrouphandle() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_spawngrouphandle() { + spawngrouphandle_ = 0u; + clear_has_spawngrouphandle(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_SetCreationTick::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.spawngrouphandle) + return spawngrouphandle_; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_spawngrouphandle(::google::protobuf::uint32 value) { + set_has_spawngrouphandle(); + spawngrouphandle_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.spawngrouphandle) +} + +// optional int32 tickcount = 2; +inline bool CNETMsg_SpawnGroup_SetCreationTick::has_tickcount() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_has_tickcount() { + _has_bits_[0] |= 0x00000002u; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_has_tickcount() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_tickcount() { + tickcount_ = 0; + clear_has_tickcount(); +} +inline ::google::protobuf::int32 CNETMsg_SpawnGroup_SetCreationTick::tickcount() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.tickcount) + return tickcount_; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_tickcount(::google::protobuf::int32 value) { + set_has_tickcount(); + tickcount_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.tickcount) +} + +// optional uint32 creationsequence = 3; +inline bool CNETMsg_SpawnGroup_SetCreationTick::has_creationsequence() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_has_creationsequence() { + _has_bits_[0] |= 0x00000004u; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_has_creationsequence() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::clear_creationsequence() { + creationsequence_ = 0u; + clear_has_creationsequence(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_SetCreationTick::creationsequence() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_SetCreationTick.creationsequence) + return creationsequence_; +} +inline void CNETMsg_SpawnGroup_SetCreationTick::set_creationsequence(::google::protobuf::uint32 value) { + set_has_creationsequence(); + creationsequence_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_SetCreationTick.creationsequence) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_Unload + +// optional uint32 spawngrouphandle = 1; +inline bool CNETMsg_SpawnGroup_Unload::has_spawngrouphandle() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_SpawnGroup_Unload::set_has_spawngrouphandle() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_SpawnGroup_Unload::clear_has_spawngrouphandle() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_SpawnGroup_Unload::clear_spawngrouphandle() { + spawngrouphandle_ = 0u; + clear_has_spawngrouphandle(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_Unload::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.spawngrouphandle) + return spawngrouphandle_; +} +inline void CNETMsg_SpawnGroup_Unload::set_spawngrouphandle(::google::protobuf::uint32 value) { + set_has_spawngrouphandle(); + spawngrouphandle_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.spawngrouphandle) +} + +// optional uint32 flags = 2; +inline bool CNETMsg_SpawnGroup_Unload::has_flags() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CNETMsg_SpawnGroup_Unload::set_has_flags() { + _has_bits_[0] |= 0x00000002u; +} +inline void CNETMsg_SpawnGroup_Unload::clear_has_flags() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CNETMsg_SpawnGroup_Unload::clear_flags() { + flags_ = 0u; + clear_has_flags(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_Unload::flags() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.flags) + return flags_; +} +inline void CNETMsg_SpawnGroup_Unload::set_flags(::google::protobuf::uint32 value) { + set_has_flags(); + flags_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.flags) +} + +// optional int32 tickcount = 3; +inline bool CNETMsg_SpawnGroup_Unload::has_tickcount() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CNETMsg_SpawnGroup_Unload::set_has_tickcount() { + _has_bits_[0] |= 0x00000004u; +} +inline void CNETMsg_SpawnGroup_Unload::clear_has_tickcount() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CNETMsg_SpawnGroup_Unload::clear_tickcount() { + tickcount_ = 0; + clear_has_tickcount(); +} +inline ::google::protobuf::int32 CNETMsg_SpawnGroup_Unload::tickcount() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_Unload.tickcount) + return tickcount_; +} +inline void CNETMsg_SpawnGroup_Unload::set_tickcount(::google::protobuf::int32 value) { + set_has_tickcount(); + tickcount_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_Unload.tickcount) +} + +// ------------------------------------------------------------------- + +// CNETMsg_SpawnGroup_LoadCompleted + +// optional uint32 spawngrouphandle = 1; +inline bool CNETMsg_SpawnGroup_LoadCompleted::has_spawngrouphandle() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CNETMsg_SpawnGroup_LoadCompleted::set_has_spawngrouphandle() { + _has_bits_[0] |= 0x00000001u; +} +inline void CNETMsg_SpawnGroup_LoadCompleted::clear_has_spawngrouphandle() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CNETMsg_SpawnGroup_LoadCompleted::clear_spawngrouphandle() { + spawngrouphandle_ = 0u; + clear_has_spawngrouphandle(); +} +inline ::google::protobuf::uint32 CNETMsg_SpawnGroup_LoadCompleted::spawngrouphandle() const { + // @@protoc_insertion_point(field_get:CNETMsg_SpawnGroup_LoadCompleted.spawngrouphandle) + return spawngrouphandle_; +} +inline void CNETMsg_SpawnGroup_LoadCompleted::set_spawngrouphandle(::google::protobuf::uint32 value) { + set_has_spawngrouphandle(); + spawngrouphandle_ = value; + // @@protoc_insertion_point(field_set:CNETMsg_SpawnGroup_LoadCompleted.spawngrouphandle) +} + +// ------------------------------------------------------------------- + +// CSVCMsg_GameSessionConfiguration + +// optional bool is_multiplayer = 1; +inline bool CSVCMsg_GameSessionConfiguration::has_is_multiplayer() const { + return (_has_bits_[0] & 0x00000001u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_is_multiplayer() { + _has_bits_[0] |= 0x00000001u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_is_multiplayer() { + _has_bits_[0] &= ~0x00000001u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_multiplayer() { + is_multiplayer_ = false; + clear_has_is_multiplayer(); +} +inline bool CSVCMsg_GameSessionConfiguration::is_multiplayer() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_multiplayer) + return is_multiplayer_; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_multiplayer(bool value) { + set_has_is_multiplayer(); + is_multiplayer_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_multiplayer) +} + +// optional bool is_loadsavegame = 2; +inline bool CSVCMsg_GameSessionConfiguration::has_is_loadsavegame() const { + return (_has_bits_[0] & 0x00000002u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_is_loadsavegame() { + _has_bits_[0] |= 0x00000002u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_is_loadsavegame() { + _has_bits_[0] &= ~0x00000002u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_loadsavegame() { + is_loadsavegame_ = false; + clear_has_is_loadsavegame(); +} +inline bool CSVCMsg_GameSessionConfiguration::is_loadsavegame() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_loadsavegame) + return is_loadsavegame_; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_loadsavegame(bool value) { + set_has_is_loadsavegame(); + is_loadsavegame_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_loadsavegame) +} + +// optional bool is_background_map = 3; +inline bool CSVCMsg_GameSessionConfiguration::has_is_background_map() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_is_background_map() { + _has_bits_[0] |= 0x00000004u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_is_background_map() { + _has_bits_[0] &= ~0x00000004u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_background_map() { + is_background_map_ = false; + clear_has_is_background_map(); +} +inline bool CSVCMsg_GameSessionConfiguration::is_background_map() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_background_map) + return is_background_map_; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_background_map(bool value) { + set_has_is_background_map(); + is_background_map_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_background_map) +} + +// optional bool is_headless = 4; +inline bool CSVCMsg_GameSessionConfiguration::has_is_headless() const { + return (_has_bits_[0] & 0x00000008u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_is_headless() { + _has_bits_[0] |= 0x00000008u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_is_headless() { + _has_bits_[0] &= ~0x00000008u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_headless() { + is_headless_ = false; + clear_has_is_headless(); +} +inline bool CSVCMsg_GameSessionConfiguration::is_headless() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_headless) + return is_headless_; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_headless(bool value) { + set_has_is_headless(); + is_headless_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_headless) +} + +// optional uint32 min_client_limit = 5; +inline bool CSVCMsg_GameSessionConfiguration::has_min_client_limit() const { + return (_has_bits_[0] & 0x00000010u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_min_client_limit() { + _has_bits_[0] |= 0x00000010u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_min_client_limit() { + _has_bits_[0] &= ~0x00000010u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_min_client_limit() { + min_client_limit_ = 0u; + clear_has_min_client_limit(); +} +inline ::google::protobuf::uint32 CSVCMsg_GameSessionConfiguration::min_client_limit() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.min_client_limit) + return min_client_limit_; +} +inline void CSVCMsg_GameSessionConfiguration::set_min_client_limit(::google::protobuf::uint32 value) { + set_has_min_client_limit(); + min_client_limit_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.min_client_limit) +} + +// optional uint32 max_client_limit = 6; +inline bool CSVCMsg_GameSessionConfiguration::has_max_client_limit() const { + return (_has_bits_[0] & 0x00000020u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_max_client_limit() { + _has_bits_[0] |= 0x00000020u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_max_client_limit() { + _has_bits_[0] &= ~0x00000020u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_max_client_limit() { + max_client_limit_ = 0u; + clear_has_max_client_limit(); +} +inline ::google::protobuf::uint32 CSVCMsg_GameSessionConfiguration::max_client_limit() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.max_client_limit) + return max_client_limit_; +} +inline void CSVCMsg_GameSessionConfiguration::set_max_client_limit(::google::protobuf::uint32 value) { + set_has_max_client_limit(); + max_client_limit_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.max_client_limit) +} + +// optional uint32 max_clients = 7; +inline bool CSVCMsg_GameSessionConfiguration::has_max_clients() const { + return (_has_bits_[0] & 0x00000040u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_max_clients() { + _has_bits_[0] |= 0x00000040u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_max_clients() { + _has_bits_[0] &= ~0x00000040u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_max_clients() { + max_clients_ = 0u; + clear_has_max_clients(); +} +inline ::google::protobuf::uint32 CSVCMsg_GameSessionConfiguration::max_clients() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.max_clients) + return max_clients_; +} +inline void CSVCMsg_GameSessionConfiguration::set_max_clients(::google::protobuf::uint32 value) { + set_has_max_clients(); + max_clients_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.max_clients) +} + +// optional fixed32 tick_interval = 8; +inline bool CSVCMsg_GameSessionConfiguration::has_tick_interval() const { + return (_has_bits_[0] & 0x00000080u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_tick_interval() { + _has_bits_[0] |= 0x00000080u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_tick_interval() { + _has_bits_[0] &= ~0x00000080u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_tick_interval() { + tick_interval_ = 0u; + clear_has_tick_interval(); +} +inline ::google::protobuf::uint32 CSVCMsg_GameSessionConfiguration::tick_interval() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.tick_interval) + return tick_interval_; +} +inline void CSVCMsg_GameSessionConfiguration::set_tick_interval(::google::protobuf::uint32 value) { + set_has_tick_interval(); + tick_interval_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.tick_interval) +} + +// optional string hostname = 9; +inline bool CSVCMsg_GameSessionConfiguration::has_hostname() const { + return (_has_bits_[0] & 0x00000100u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_hostname() { + _has_bits_[0] |= 0x00000100u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_hostname() { + _has_bits_[0] &= ~0x00000100u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_hostname() { + if (hostname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + hostname_->clear(); + } + clear_has_hostname(); +} +inline const ::std::string& CSVCMsg_GameSessionConfiguration::hostname() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.hostname) + return *hostname_; +} +inline void CSVCMsg_GameSessionConfiguration::set_hostname(const ::std::string& value) { + set_has_hostname(); + if (hostname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + hostname_ = new ::std::string; + } + hostname_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.hostname) +} +inline void CSVCMsg_GameSessionConfiguration::set_hostname(const char* value) { + set_has_hostname(); + if (hostname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + hostname_ = new ::std::string; + } + hostname_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_GameSessionConfiguration.hostname) +} +inline void CSVCMsg_GameSessionConfiguration::set_hostname(const char* value, size_t size) { + set_has_hostname(); + if (hostname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + hostname_ = new ::std::string; + } + hostname_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_GameSessionConfiguration.hostname) +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::mutable_hostname() { + set_has_hostname(); + if (hostname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + hostname_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.hostname) + return hostname_; +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::release_hostname() { + clear_has_hostname(); + if (hostname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = hostname_; + hostname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_hostname(::std::string* hostname) { + if (hostname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete hostname_; + } + if (hostname) { + set_has_hostname(); + hostname_ = hostname; + } else { + clear_has_hostname(); + hostname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.hostname) +} + +// optional string savegamename = 10; +inline bool CSVCMsg_GameSessionConfiguration::has_savegamename() const { + return (_has_bits_[0] & 0x00000200u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_savegamename() { + _has_bits_[0] |= 0x00000200u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_savegamename() { + _has_bits_[0] &= ~0x00000200u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_savegamename() { + if (savegamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + savegamename_->clear(); + } + clear_has_savegamename(); +} +inline const ::std::string& CSVCMsg_GameSessionConfiguration::savegamename() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.savegamename) + return *savegamename_; +} +inline void CSVCMsg_GameSessionConfiguration::set_savegamename(const ::std::string& value) { + set_has_savegamename(); + if (savegamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + savegamename_ = new ::std::string; + } + savegamename_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.savegamename) +} +inline void CSVCMsg_GameSessionConfiguration::set_savegamename(const char* value) { + set_has_savegamename(); + if (savegamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + savegamename_ = new ::std::string; + } + savegamename_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_GameSessionConfiguration.savegamename) +} +inline void CSVCMsg_GameSessionConfiguration::set_savegamename(const char* value, size_t size) { + set_has_savegamename(); + if (savegamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + savegamename_ = new ::std::string; + } + savegamename_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_GameSessionConfiguration.savegamename) +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::mutable_savegamename() { + set_has_savegamename(); + if (savegamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + savegamename_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.savegamename) + return savegamename_; +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::release_savegamename() { + clear_has_savegamename(); + if (savegamename_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = savegamename_; + savegamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_savegamename(::std::string* savegamename) { + if (savegamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete savegamename_; + } + if (savegamename) { + set_has_savegamename(); + savegamename_ = savegamename; + } else { + clear_has_savegamename(); + savegamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.savegamename) +} + +// optional string s1_mapname = 11; +inline bool CSVCMsg_GameSessionConfiguration::has_s1_mapname() const { + return (_has_bits_[0] & 0x00000400u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_s1_mapname() { + _has_bits_[0] |= 0x00000400u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_s1_mapname() { + _has_bits_[0] &= ~0x00000400u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_s1_mapname() { + if (s1_mapname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + s1_mapname_->clear(); + } + clear_has_s1_mapname(); +} +inline const ::std::string& CSVCMsg_GameSessionConfiguration::s1_mapname() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.s1_mapname) + return *s1_mapname_; +} +inline void CSVCMsg_GameSessionConfiguration::set_s1_mapname(const ::std::string& value) { + set_has_s1_mapname(); + if (s1_mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + s1_mapname_ = new ::std::string; + } + s1_mapname_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.s1_mapname) +} +inline void CSVCMsg_GameSessionConfiguration::set_s1_mapname(const char* value) { + set_has_s1_mapname(); + if (s1_mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + s1_mapname_ = new ::std::string; + } + s1_mapname_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_GameSessionConfiguration.s1_mapname) +} +inline void CSVCMsg_GameSessionConfiguration::set_s1_mapname(const char* value, size_t size) { + set_has_s1_mapname(); + if (s1_mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + s1_mapname_ = new ::std::string; + } + s1_mapname_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_GameSessionConfiguration.s1_mapname) +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::mutable_s1_mapname() { + set_has_s1_mapname(); + if (s1_mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + s1_mapname_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.s1_mapname) + return s1_mapname_; +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::release_s1_mapname() { + clear_has_s1_mapname(); + if (s1_mapname_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = s1_mapname_; + s1_mapname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_s1_mapname(::std::string* s1_mapname) { + if (s1_mapname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete s1_mapname_; + } + if (s1_mapname) { + set_has_s1_mapname(); + s1_mapname_ = s1_mapname; + } else { + clear_has_s1_mapname(); + s1_mapname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.s1_mapname) +} + +// optional string gamemode = 12; +inline bool CSVCMsg_GameSessionConfiguration::has_gamemode() const { + return (_has_bits_[0] & 0x00000800u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_gamemode() { + _has_bits_[0] |= 0x00000800u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_gamemode() { + _has_bits_[0] &= ~0x00000800u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_gamemode() { + if (gamemode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + gamemode_->clear(); + } + clear_has_gamemode(); +} +inline const ::std::string& CSVCMsg_GameSessionConfiguration::gamemode() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.gamemode) + return *gamemode_; +} +inline void CSVCMsg_GameSessionConfiguration::set_gamemode(const ::std::string& value) { + set_has_gamemode(); + if (gamemode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + gamemode_ = new ::std::string; + } + gamemode_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.gamemode) +} +inline void CSVCMsg_GameSessionConfiguration::set_gamemode(const char* value) { + set_has_gamemode(); + if (gamemode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + gamemode_ = new ::std::string; + } + gamemode_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_GameSessionConfiguration.gamemode) +} +inline void CSVCMsg_GameSessionConfiguration::set_gamemode(const char* value, size_t size) { + set_has_gamemode(); + if (gamemode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + gamemode_ = new ::std::string; + } + gamemode_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_GameSessionConfiguration.gamemode) +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::mutable_gamemode() { + set_has_gamemode(); + if (gamemode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + gamemode_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.gamemode) + return gamemode_; +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::release_gamemode() { + clear_has_gamemode(); + if (gamemode_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = gamemode_; + gamemode_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_gamemode(::std::string* gamemode) { + if (gamemode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete gamemode_; + } + if (gamemode) { + set_has_gamemode(); + gamemode_ = gamemode; + } else { + clear_has_gamemode(); + gamemode_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.gamemode) +} + +// optional string server_ip_address = 13; +inline bool CSVCMsg_GameSessionConfiguration::has_server_ip_address() const { + return (_has_bits_[0] & 0x00001000u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_server_ip_address() { + _has_bits_[0] |= 0x00001000u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_server_ip_address() { + _has_bits_[0] &= ~0x00001000u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_server_ip_address() { + if (server_ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + server_ip_address_->clear(); + } + clear_has_server_ip_address(); +} +inline const ::std::string& CSVCMsg_GameSessionConfiguration::server_ip_address() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.server_ip_address) + return *server_ip_address_; +} +inline void CSVCMsg_GameSessionConfiguration::set_server_ip_address(const ::std::string& value) { + set_has_server_ip_address(); + if (server_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + server_ip_address_ = new ::std::string; + } + server_ip_address_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.server_ip_address) +} +inline void CSVCMsg_GameSessionConfiguration::set_server_ip_address(const char* value) { + set_has_server_ip_address(); + if (server_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + server_ip_address_ = new ::std::string; + } + server_ip_address_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_GameSessionConfiguration.server_ip_address) +} +inline void CSVCMsg_GameSessionConfiguration::set_server_ip_address(const char* value, size_t size) { + set_has_server_ip_address(); + if (server_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + server_ip_address_ = new ::std::string; + } + server_ip_address_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_GameSessionConfiguration.server_ip_address) +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::mutable_server_ip_address() { + set_has_server_ip_address(); + if (server_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + server_ip_address_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.server_ip_address) + return server_ip_address_; +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::release_server_ip_address() { + clear_has_server_ip_address(); + if (server_ip_address_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = server_ip_address_; + server_ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_server_ip_address(::std::string* server_ip_address) { + if (server_ip_address_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete server_ip_address_; + } + if (server_ip_address) { + set_has_server_ip_address(); + server_ip_address_ = server_ip_address; + } else { + clear_has_server_ip_address(); + server_ip_address_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.server_ip_address) +} + +// optional bytes data = 14; +inline bool CSVCMsg_GameSessionConfiguration::has_data() const { + return (_has_bits_[0] & 0x00002000u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_data() { + _has_bits_[0] |= 0x00002000u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_data() { + _has_bits_[0] &= ~0x00002000u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_data() { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_->clear(); + } + clear_has_data(); +} +inline const ::std::string& CSVCMsg_GameSessionConfiguration::data() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.data) + return *data_; +} +inline void CSVCMsg_GameSessionConfiguration::set_data(const ::std::string& value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(value); + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.data) +} +inline void CSVCMsg_GameSessionConfiguration::set_data(const char* value) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(value); + // @@protoc_insertion_point(field_set_char:CSVCMsg_GameSessionConfiguration.data) +} +inline void CSVCMsg_GameSessionConfiguration::set_data(const void* value, size_t size) { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + data_->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:CSVCMsg_GameSessionConfiguration.data) +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::mutable_data() { + set_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + data_ = new ::std::string; + } + // @@protoc_insertion_point(field_mutable:CSVCMsg_GameSessionConfiguration.data) + return data_; +} +inline ::std::string* CSVCMsg_GameSessionConfiguration::release_data() { + clear_has_data(); + if (data_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + return NULL; + } else { + ::std::string* temp = data_; + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + return temp; + } +} +inline void CSVCMsg_GameSessionConfiguration::set_allocated_data(::std::string* data) { + if (data_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { + delete data_; + } + if (data) { + set_has_data(); + data_ = data; + } else { + clear_has_data(); + data_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + } + // @@protoc_insertion_point(field_set_allocated:CSVCMsg_GameSessionConfiguration.data) +} + +// optional bool is_localonly = 15; +inline bool CSVCMsg_GameSessionConfiguration::has_is_localonly() const { + return (_has_bits_[0] & 0x00004000u) != 0; +} +inline void CSVCMsg_GameSessionConfiguration::set_has_is_localonly() { + _has_bits_[0] |= 0x00004000u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_has_is_localonly() { + _has_bits_[0] &= ~0x00004000u; +} +inline void CSVCMsg_GameSessionConfiguration::clear_is_localonly() { + is_localonly_ = false; + clear_has_is_localonly(); +} +inline bool CSVCMsg_GameSessionConfiguration::is_localonly() const { + // @@protoc_insertion_point(field_get:CSVCMsg_GameSessionConfiguration.is_localonly) + return is_localonly_; +} +inline void CSVCMsg_GameSessionConfiguration::set_is_localonly(bool value) { + set_has_is_localonly(); + is_localonly_ = value; + // @@protoc_insertion_point(field_set:CSVCMsg_GameSessionConfiguration.is_localonly) +} + +// ------------------------------------------------------------------- + +// CNETMsg_ReliableMessageEndMarker + // @@protoc_insertion_point(namespace_scope) @@ -3806,10 +6984,10 @@ template <> inline const EnumDescriptor* GetEnumDescriptor< ::NET_Messages>() { return ::NET_Messages_descriptor(); } -template <> struct is_proto_enum< ::SIGNONSTATE> : ::google::protobuf::internal::true_type {}; +template <> struct is_proto_enum< ::SpawnGroupFlags_t> : ::google::protobuf::internal::true_type {}; template <> -inline const EnumDescriptor* GetEnumDescriptor< ::SIGNONSTATE>() { - return ::SIGNONSTATE_descriptor(); +inline const EnumDescriptor* GetEnumDescriptor< ::SpawnGroupFlags_t>() { + return ::SpawnGroupFlags_t_descriptor(); } } // namespace google diff --git a/public/engine/protobuf/networkbasetypes.proto b/public/engine/protobuf/networkbasetypes.proto index a2da5795..c7e6ae32 100644 --- a/public/engine/protobuf/networkbasetypes.proto +++ b/public/engine/protobuf/networkbasetypes.proto @@ -1,235 +1,216 @@ -//====== 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 "network_connection.proto"; - - - -//============================================================================= -// Common Types -//============================================================================= - -message CMsgVector -{ - optional float x = 1; - optional float y = 2; - optional float z = 3; -} - -message CMsgVector2D -{ - optional float x = 1; - optional float y = 2; -} - -message CMsgQAngle -{ - optional float x = 1; - optional float y = 2; - optional float z = 3; -} - -//============================================================================= -// Bidirectional NET Messages -//============================================================================= - -enum NET_Messages -{ - net_NOP = 0; - net_Disconnect = 1; // disconnect, last message in connection - net_File = 2; // file transmission message request/deny - net_SplitScreenUser = 3; // Changes split screen user, client and server must both provide handler - net_Tick = 4; // s->c world tick, c->s ack world tick - net_StringCmd = 5; // a string command - net_SetConVar = 6; // sends one/multiple convar/userinfo settings - net_SignonState = 7; // signals or acks current signon state -} - -enum SIGNONSTATE -{ - SIGNONSTATE_NONE = 0; // no state yet; about to connect - SIGNONSTATE_CHALLENGE = 1; // client challenging server; all OOB packets - SIGNONSTATE_CONNECTED = 2; // client is connected to server; netchans ready - SIGNONSTATE_NEW = 3; // just got serverinfo and string tables - SIGNONSTATE_PRESPAWN = 4; // received signon buffers - SIGNONSTATE_SPAWN = 5; // ready to receive entity packets - SIGNONSTATE_FULL = 6; // we are fully connected; first non-delta packet received - SIGNONSTATE_CHANGELEVEL = 7; // server is changing level; please wait -} - -message CMsg_CVars -{ - message CVar - { - optional string name = 1; - optional string value = 2; - } - - repeated CVar cvars = 1; -} - -message CNETMsg_NOP -{ -} - -message CNETMsg_SplitScreenUser -{ - optional int32 slot = 1; -} - -message CNETMsg_Disconnect -{ - optional ENetworkDisconnectionReason reason = 2 [default = NETWORK_DISCONNECT_INVALID]; -} - -message CNETMsg_File -{ - optional int32 transfer_id = 1; - optional string file_name = 2; - optional bool is_replay_demo_file = 3; - optional bool deny = 4; - optional bool is_file_requested = 5; -} - -message CNETMsg_Tick -{ - optional uint32 tick = 1; // current tick count - optional uint32 host_computationtime = 4; - optional uint32 host_computationtime_std_deviation = 5; - optional uint32 host_framestarttime_std_deviation = 6; -} - -message CNETMsg_StringCmd -{ - optional string command = 1; -} - -message CNETMsg_SetConVar -{ - optional CMsg_CVars convars = 1; -} - -message CNETMsg_SignonState -{ - optional uint32 signon_state = 1; // See SIGNONSTATE_ defines - optional uint32 spawn_count = 2; // server spawn count (session number) - optional uint32 num_server_players = 3; // Number of players the server discloses as connected to the server - repeated string players_networkids = 4; // player network ids - optional string map_name = 5; // Name of the current map -} - -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; -} - +import "network_connection.proto"; + +option cc_generic_services = false; + +enum NET_Messages { + net_NOP = 0; + net_Disconnect = 1; + net_File = 2; + net_SplitScreenUser = 3; + net_Tick = 4; + net_StringCmd = 5; + net_SetConVar = 6; + net_SignonState = 7; + net_SpawnGroup_Load = 8; + net_SpawnGroup_ManifestUpdate = 9; + net_SpawnGroup_SetCreationTick = 11; + net_SpawnGroup_Unload = 12; + net_SpawnGroup_LoadCompleted = 13; + net_ReliableMessageEndMarker = 14; +} + +enum SpawnGroupFlags_t { + SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE = 1; + SPAWN_GROUP_DONT_SPAWN_ENTITIES = 2; + SPAWN_GROUP_SYNCHRONOUS_SPAWN = 4; + SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP = 8; + SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES = 16; + SPAWN_GROUP_SAVE_ENTITIES = 32; + SPAWN_GROUP_BLOCK_UNTIL_LOADED = 64; + SPAWN_GROUP_LOAD_STREAMING_DATA = 128; + SPAWN_GROUP_CREATE_NEW_SCENE_WORLD = 256; +} + +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; +} + +message CMsgPlayerInfo { + optional string name = 1; + optional fixed64 xuid = 2; + optional int32 userid = 3; + optional fixed64 steamid = 4; + optional bool fakeplayer = 5; + optional bool ishltv = 6; + repeated fixed32 customFiles = 7; + optional int32 filesDownloaded = 8; +} + +message CMsg_CVars { + message CVar { + optional string name = 1; + optional string value = 2; + } + + repeated .CMsg_CVars.CVar cvars = 1; +} + +message CNETMsg_NOP { +} + +message CNETMsg_SplitScreenUser { + optional int32 slot = 1; +} + +message CNETMsg_Disconnect { + optional .ENetworkDisconnectionReason reason = 2 [default = NETWORK_DISCONNECT_INVALID]; +} + +message CNETMsg_File { + optional int32 transfer_id = 1; + optional string file_name = 2; + optional bool is_replay_demo_file = 3; + optional bool deny = 4; + optional bool is_file_requested = 5; +} + +message CNETMsg_Tick { + optional uint32 tick = 1; + optional uint32 host_frametime = 2; + optional uint32 host_frametime_std_deviation = 3; + optional uint32 host_computationtime = 4; + optional uint32 host_computationtime_std_deviation = 5; + optional uint32 host_framestarttime_std_deviation = 6; +} + +message CNETMsg_StringCmd { + optional string command = 1; +} + +message CNETMsg_SetConVar { + optional .CMsg_CVars convars = 1; +} + +message CNETMsg_SignonState { + optional uint32 signon_state = 1; + optional uint32 spawn_count = 2; + optional uint32 num_server_players = 3; + repeated string players_networkids = 4; + optional string map_name = 5; +} + +message CSVCMsg_GameEvent { + message key_t { + optional int32 type = 1; + optional string val_string = 2; + optional float val_float = 3; + optional int32 val_long = 4; + optional int32 val_short = 5; + optional int32 val_byte = 6; + optional bool val_bool = 7; + optional uint64 val_uint64 = 8; + } + + optional string event_name = 1; + optional int32 eventid = 2; + repeated .CSVCMsg_GameEvent.key_t keys = 3; +} + +message CSVCMsgList_GameEvents { + message event_t { + optional int32 tick = 1; + optional .CSVCMsg_GameEvent event = 2; + } + + repeated .CSVCMsgList_GameEvents.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 .CSVCMsgList_UserMessages.usermsg_t usermsgs = 1; +} + +message CNETMsg_SpawnGroup_Load { + optional string worldname = 1; + optional string entitylumpname = 2; + optional string entityfiltername = 3; + optional uint32 spawngrouphandle = 4; + optional uint32 spawngroupownerhandle = 5; + optional .CMsgVector world_offset_pos = 6; + optional .CMsgQAngle world_offset_angle = 7; + optional bytes spawngroupmanifest = 8; + optional uint32 flags = 9; + optional int32 tickcount = 10; + optional bool manifestincomplete = 11; + optional string localnamefixup = 12; + optional string parentnamefixup = 13; + optional int32 manifestloadpriority = 14; + optional uint32 worldgroupid = 15; + optional uint32 creationsequence = 16; +} + +message CNETMsg_SpawnGroup_ManifestUpdate { + optional uint32 spawngrouphandle = 1; + optional bytes spawngroupmanifest = 2; + optional bool manifestincomplete = 3; +} + +message CNETMsg_SpawnGroup_SetCreationTick { + optional uint32 spawngrouphandle = 1; + optional int32 tickcount = 2; + optional uint32 creationsequence = 3; +} + +message CNETMsg_SpawnGroup_Unload { + optional uint32 spawngrouphandle = 1; + optional uint32 flags = 2; + optional int32 tickcount = 3; +} + +message CNETMsg_SpawnGroup_LoadCompleted { + optional uint32 spawngrouphandle = 1; +} + +message CSVCMsg_GameSessionConfiguration { + optional bool is_multiplayer = 1; + optional bool is_loadsavegame = 2; + optional bool is_background_map = 3; + optional bool is_headless = 4; + optional uint32 min_client_limit = 5; + optional uint32 max_client_limit = 6; + optional uint32 max_clients = 7; + optional fixed32 tick_interval = 8; + optional string hostname = 9; + optional string savegamename = 10; + optional string s1_mapname = 11; + optional string gamemode = 12; + optional string server_ip_address = 13; + optional bytes data = 14; + optional bool is_localonly = 15; +} + +message CNETMsg_ReliableMessageEndMarker { +} + diff --git a/public/iserver.h b/public/iserver.h index 8d476cae..3bb1ec05 100644 --- a/public/iserver.h +++ b/public/iserver.h @@ -11,60 +11,121 @@ #endif #include -#include -#include +#include +#include +#include -class INetMessage; -class IRecipientFilter; -class IClient; +class IGameSpawnGroupMgr; +struct EventServerAdvanceTick_t; +struct EventServerPollNetworking_t; +struct EventServerProcessNetworking_t; +struct EventServerSimulate_t; +struct EventServerPostSimulate_t; +struct server_state_t; +class IPrerequisite; +class CServerChangelevelState; +class INetworkGameServerFactory; +class ISource2WorldSession; +class INetworkGameClient; +class GameSessionConfiguration_t; -typedef struct player_info_s player_info_t; +typedef int HGameResourceManifest; -abstract_class IServer : public IConnectionlessPacketHandler +enum ESpawnGroupUnloadOption +{ + +}; + +abstract_class INetworkGameServer : public IConnectionlessPacketHandler { public: - virtual ~IServer() {} - - virtual int GetNumClients( void ) const = 0; // returns current number of clients - virtual int GetNumProxies( void ) const = 0; // returns number of attached HLTV proxies - virtual int GetNumFakeClients() const = 0; // returns number of fake clients/bots - virtual int GetMaxClients( void ) const = 0; // returns current client limit - virtual IClient *GetClient( int index ) = 0; // returns interface to client - virtual int GetClientCount() const = 0; // returns number of clients slots (used & unused) - virtual int GetUDPPort( void ) const = 0; // returns current used UDP port - virtual float GetTime( void ) const = 0; // returns game world time - virtual int GetTick( void ) const = 0; // returns game world tick - virtual float GetTickInterval( void ) const = 0; // tick interval in seconds - virtual float GetTimescale( void ) const = 0; // returns the game time scale (multiplied in conjunction with host_timescale) - virtual const char *GetName( void ) const = 0; // public server name - virtual const char *GetMapName( void ) const = 0; // current map name (BSP) - virtual int GetSpawnCount( void ) const = 0; - virtual int GetNumClasses( void ) const = 0; - virtual int GetClassBits( void ) const = 0; - virtual void GetNetStats( float &avgIn, float &avgOut ) = 0; // total net in/out in bytes/sec - virtual int GetNumPlayers() = 0; - virtual bool GetPlayerInfo( int nClientIndex, player_info_t *pinfo ) = 0; - + virtual void Init( const GameSessionConfiguration_t &, const char * ) = 0; + virtual void SetGameSpawnGroupMgr( IGameSpawnGroupMgr * ) = 0; + virtual void SetGameSessionManifest( HGameResourceManifest * ) = 0; + virtual void RegisterLoadingSpawnGroups( CUtlVector & ) = 0; + virtual void Shutdown( void ) = 0; + virtual void AddRef( void ) = 0; + virtual void Release ( void ) = 0; + virtual CGlobalVars *GetGlobals(void) = 0; virtual bool IsActive( void ) const = 0; - virtual bool IsLoading( void ) const = 0; - virtual bool IsDedicated( void ) const = 0; - virtual bool IsPaused( void ) const = 0; - virtual bool IsMultiplayer( void ) const = 0; - virtual bool IsPausable() const = 0; - virtual bool IsHLTV() const = 0; - virtual bool IsReplay() const = 0; - - virtual const char * GetPassword() const = 0; // returns the password or NULL if none set - - virtual void SetPaused(bool paused) = 0; - virtual void SetTimescale( float flTimescale ) = 0; - virtual void SetPassword(const char *password) = 0; // set password (NULL to disable) - - virtual void BroadcastMessage( INetMessage &msg, bool onlyActive = false, bool reliable = false) = 0; - virtual void BroadcastMessage( INetMessage &msg, IRecipientFilter &filter ) = 0; - - virtual void DisconnectClient( IClient *client, /* ENetworkDisconnectionReason */ int reason ) = 0; + virtual void SetServerTick( int tick ) = 0; + virtual int GetServerTick( void ) const = 0; // returns game world tick + virtual void SetFinalSimulationTickThisFrame( int ) = 0; + virtual int GetMaxClients( void ) const = 0; // returns current client limit + virtual float GetTickInterval( void ) const = 0; // tick interval in seconds + virtual void ServerAdvanceTick( const EventServerAdvanceTick_t & ) = 0; + virtual void ServerPollNetworking( const EventServerPollNetworking_t & ) = 0; + virtual void ServerProcessNetworking( const EventServerProcessNetworking_t & ) = 0; + virtual void ServerSimulate( const EventServerSimulate_t & ) = 0; + virtual void ServerPostSimulate( const EventServerPostSimulate_t & ) = 0; + virtual void LoadSpawnGroup( const SpawnGroupDesc_t & ) = 0; + virtual void AsyncUnloadSpawnGroup( unsigned int, ESpawnGroupUnloadOption ) = 0; + virtual void PrintSpawnGroupStatus( void ) const = 0; + virtual float GetTimescale( void ) const = 0; // returns the game time scale (multiplied in conjunction with host_timescale) + virtual bool IsSaveRestoreAllowed( void ) const = 0; + virtual void SetMapName( const char *pszNewName ) = 0; + virtual const char *GetMapName( void ) const = 0; // current map name (BSP) + virtual const char *GetAddonName( void ) const = 0; + virtual bool IsBackgroundMap( void ) const = 0; + virtual float GetTime( void ) const = 0; // returns game world time + virtual int GetMapVersion( void ) const = 0; + virtual void ActivateServer( void ) = 0; + virtual void PrepareForAssetLoad( void ) = 0; + virtual int GetServerNetworkAddress( void ) = 0; + virtual SpawnGroupHandle_t FindSpawnGroupByName( const char *pszName ) = 0; + virtual void MakeSpawnGroupActive( SpawnGroupHandle_t ) = 0; + virtual void SynchronouslySpawnGroup( SpawnGroupHandle_t ) = 0; + virtual void SetServerState( server_state_t ) = 0; + virtual void SpawnServer( const char * ) = 0; + virtual void GetSpawnGroupLoadingStatus( SpawnGroupHandle_t ) = 0; + virtual void SetSpawnGroupDescription( SpawnGroupHandle_t, const char * ) = 0; + virtual void AddServerPrerequisites( IPrerequisite * ) = 0; + virtual void RemoveServerPrerequisites( void ) = 0; + virtual CUtlVector *StartChangeLevel(void) = 0; + virtual void FinishChangeLevel( CServerChangelevelState * ) = 0; + virtual bool IsChangelevelPending( void ) const = 0; + virtual void GetAllLoadingSpawnGroups( CUtlVector *pOut ) = 0; + virtual void PreserveSteamID( void ) = 0; + virtual void OnKickById( const CCommandContext &context, const CCommand &args) = 0; + virtual void OnKickByName( const CCommandContext &context, const CCommand &args) = 0; }; +abstract_class INetworkServerService : public IEngineService +{ +public: + virtual ~INetworkServerService() {} + virtual INetworkGameServer *GetIGameServer( void ) = 0; + virtual bool IsActiveInGame( void ) const = 0; + virtual bool IsMultiplayer( void ) const = 0; + virtual void StartupServer( const GameSessionConfiguration_t &config, INetworkGameServerFactory *pFactory, + ISource2WorldSession *pWorldSession, const char * ) = 0; + virtual void SetGameSpawnGroupMgr( IGameSpawnGroupMgr *pMgr ) = 0; + virtual void AddServerPrerequisites( const GameSessionConfiguration_t &, const char *, ILoopModePrerequisiteRegistry *, bool ) = 0; + virtual void SetServerSocket( int ) = 0; + virtual bool IsServerRunning( void ) const = 0; + virtual void DisconnectGameNow( ENetworkDisconnectionReason ) = 0; + virtual void PrintSpawnGroupStatus( void ) const = 0; + virtual void SetFinalSimulationTickThisFrame( int ) = 0; + virtual void *GetGameServer( void ) = 0; + virtual int GetTickInterval( void ) const = 0; + virtual void ProcessSocket( void ) = 0; + virtual int GetServerNetworkAddress( void ) = 0; + virtual bool GameLoadFailed( void ) const = 0; + virtual void SetGameLoadFailed( bool bFailed ) = 0; + virtual void SetGameLoadStarted( void ) = 0; + virtual void StartChangeLevel( void ) = 0; + virtual void PreserveSteamID( void ) = 0; + virtual CRC32_t GetServerSerializersCRC( void ) = 0; + virtual void *GetServerSerializersMsg( void ) = 0; +}; + +abstract_class INetworkGameServerFactory +{ +public: + virtual INetworkGameServer *Allocate(int, INetworkServerService *, ISource2WorldSession *) = 0; +}; + +typedef INetworkGameServer IServer; + #endif // ISERVER_H