From 89ed3735af37d35c6bdcdabcc75351e0952676c0 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 31 Mar 2024 15:57:13 +0200 Subject: [PATCH] Server: implement LiveAPI into the game Full implementation of all LiveAPI events into the game server. NOTE: The only event left to be implemented in code is CustomEvent. NOTE: ObserverSwitched and WeaponSwitched events are implemented in code, but they need a proper CodeCallback to hook them up properly in scripts. The events.proto file is from build "R5pc_r5-200_J33_CL6243000_2024_02_27_14_53" with some slight modifications: - PlayerStatChanged.newValue is now a oneof field, which can be either int, float or bool as Season 3 Apex still handles stats in one of those 3 types while retail was only int (which is most likely why they kept it just int only int he proto file). - PlayerRespawnTeam.respawned is now a repeated Player field instead of a string. Initially the respawned field contained a comma separated list of player names that were respawned in the team, it now contains the actual Player data that is respawned as this was much easier to get from scripts, and also makes a bunch more sense than just string names. - New CustomEvent event: since R5Reloaded is a modding platform, and we can't make new events for literally all gamemodes that modders create, we added another event "CustomEvent" which allows modders to sent their own data to their own tracker or anything while still remaining compatibility with the protocol. --- src/core/init.cpp | 2 + src/game/CMakeLists.txt | 51 +- src/game/server/liveapi/events.pb.cc | 22283 +++++++++++++++++++++ src/game/server/liveapi/events.pb.h | 25748 +++++++++++++++++++++++++ src/game/server/liveapi/liveapi.cpp | 2064 ++ src/game/server/liveapi/liveapi.h | 11 + src/game/server/vscript_server.cpp | 8 + src/game/server/vscript_server.h | 3 + src/resource/protobuf/events.proto | 780 + src/resource/protobuf/generate.bat | 1 + 10 files changed, 50938 insertions(+), 13 deletions(-) create mode 100644 src/game/server/liveapi/events.pb.cc create mode 100644 src/game/server/liveapi/events.pb.h create mode 100644 src/game/server/liveapi/liveapi.cpp create mode 100644 src/game/server/liveapi/liveapi.h create mode 100644 src/resource/protobuf/events.proto diff --git a/src/core/init.cpp b/src/core/init.cpp index 7f1bc28f..13f7b8b9 100644 --- a/src/core/init.cpp +++ b/src/core/init.cpp @@ -250,6 +250,8 @@ void Systems_Init() ServerScriptRegister_Callback = Script_RegisterServerFunctions; CoreServerScriptRegister_Callback = Script_RegisterCoreServerFunctions; AdminPanelScriptRegister_Callback = Script_RegisterAdminPanelFunctions; + + ServerScriptRegisterEnum_Callback = Script_RegisterServerEnums; #endif// !CLIENT_DLL #ifndef SERVER_DLL diff --git a/src/game/CMakeLists.txt b/src/game/CMakeLists.txt index 0cade5e0..015b5d71 100644 --- a/src/game/CMakeLists.txt +++ b/src/game/CMakeLists.txt @@ -41,7 +41,7 @@ endif() if( ${PROJECT_NAME} STREQUAL "server_static" ) -add_sources( SOURCE_GROUP "Server" +add_sources( SOURCE_GROUP "AI" "server/ai_network.cpp" "server/ai_network.h" "server/ai_networkmanager.cpp" @@ -49,36 +49,61 @@ add_sources( SOURCE_GROUP "Server" "server/ai_node.h" "server/ai_utility.cpp" "server/ai_utility.h" + "server/detour_impl.h" +) + +add_sources( SOURCE_GROUP "Entity" "server/baseanimating.cpp" "server/baseanimating.h" "server/baseanimatingoverlay.h" "server/basecombatcharacter.h" "server/baseentity.cpp" "server/baseentity.h" - "server/cbase.cpp" - "server/cbase.h" - "server/detour_impl.h" "server/entitylist.cpp" "server/entitylist.h" "server/entityoutput.cpp" "server/entityoutput.h" +) + +add_sources( SOURCE_GROUP "Network" + "server/networkproperty.cpp" + "server/networkproperty.h" +) + +add_sources( SOURCE_GROUP "Player" + "server/player.cpp" + "server/player.h" + "server/playerlocaldata.h" +) + +add_sources( SOURCE_GROUP "Script" + "server/vscript_server.cpp" + "server/vscript_server.h" +) + +add_sources( SOURCE_GROUP "Physics" + "server/physics_main.cpp" + "server/physics_main.h" +) + +add_sources( SOURCE_GROUP "Utility" + "server/cbase.cpp" + "server/cbase.h" "server/gameinterface.cpp" "server/gameinterface.h" "server/movehelper_server.cpp" "server/movehelper_server.h" - "server/networkproperty.cpp" - "server/networkproperty.h" - "server/physics_main.cpp" - "server/physics_main.h" - "server/player.cpp" - "server/player.h" - "server/playerlocaldata.h" "server/util_server.cpp" "server/util_server.h" "server/variant_t.cpp" "server/variant_t.h" - "server/vscript_server.cpp" - "server/vscript_server.h" +) + +add_sources( SOURCE_GROUP "LiveAPI" + "server/liveapi/events.pb.cc" + "server/liveapi/events.pb.h" + "server/liveapi/liveapi.cpp" + "server/liveapi/liveapi.h" ) add_sources( SOURCE_GROUP "Public" diff --git a/src/game/server/liveapi/events.pb.cc b/src/game/server/liveapi/events.pb.cc new file mode 100644 index 00000000..71a75236 --- /dev/null +++ b/src/game/server/liveapi/events.pb.cc @@ -0,0 +1,22283 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: events.proto + +#include "events.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +PROTOBUF_PRAGMA_INIT_SEG + +namespace _pb = ::PROTOBUF_NAMESPACE_ID; +namespace _pbi = _pb::internal; + +namespace rtech { +namespace liveapi { +PROTOBUF_CONSTEXPR Vector3::Vector3( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.x_)*/0 + , /*decltype(_impl_.y_)*/0 + , /*decltype(_impl_.z_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct Vector3DefaultTypeInternal { + PROTOBUF_CONSTEXPR Vector3DefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~Vector3DefaultTypeInternal() {} + union { + Vector3 _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Vector3DefaultTypeInternal _Vector3_default_instance_; +PROTOBUF_CONSTEXPR Player::Player( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.nucleushash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.hardwarename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.teamname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.character_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.skin_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.pos_)*/nullptr + , /*decltype(_impl_.angles_)*/nullptr + , /*decltype(_impl_.teamid_)*/0u + , /*decltype(_impl_.currenthealth_)*/0u + , /*decltype(_impl_.maxhealth_)*/0u + , /*decltype(_impl_.shieldhealth_)*/0u + , /*decltype(_impl_.shieldmaxhealth_)*/0u + , /*decltype(_impl_.squadindex_)*/0u + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerDefaultTypeInternal() {} + union { + Player _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerDefaultTypeInternal _Player_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_LobbyPlayer::CustomMatch_LobbyPlayer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.nucleushash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.hardwarename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.teamid_)*/0u + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_LobbyPlayerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_LobbyPlayerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_LobbyPlayerDefaultTypeInternal() {} + union { + CustomMatch_LobbyPlayer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_LobbyPlayerDefaultTypeInternal _CustomMatch_LobbyPlayer_default_instance_; +PROTOBUF_CONSTEXPR Datacenter::Datacenter( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct DatacenterDefaultTypeInternal { + PROTOBUF_CONSTEXPR DatacenterDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~DatacenterDefaultTypeInternal() {} + union { + Datacenter _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DatacenterDefaultTypeInternal _Datacenter_default_instance_; +PROTOBUF_CONSTEXPR Version::Version( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.revision_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.major_num_)*/0u + , /*decltype(_impl_.minor_num_)*/0u + , /*decltype(_impl_.build_stamp_)*/0u + , /*decltype(_impl_._cached_size_)*/{}} {} +struct VersionDefaultTypeInternal { + PROTOBUF_CONSTEXPR VersionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~VersionDefaultTypeInternal() {} + union { + Version _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VersionDefaultTypeInternal _Version_default_instance_; +PROTOBUF_CONSTEXPR InventoryItem::InventoryItem( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.extradata_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.quantity_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct InventoryItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR InventoryItemDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~InventoryItemDefaultTypeInternal() {} + union { + InventoryItem _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InventoryItemDefaultTypeInternal _InventoryItem_default_instance_; +PROTOBUF_CONSTEXPR LoadoutConfiguration::LoadoutConfiguration( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.weapons_)*/{} + , /*decltype(_impl_.equipment_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct LoadoutConfigurationDefaultTypeInternal { + PROTOBUF_CONSTEXPR LoadoutConfigurationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~LoadoutConfigurationDefaultTypeInternal() {} + union { + LoadoutConfiguration _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LoadoutConfigurationDefaultTypeInternal _LoadoutConfiguration_default_instance_; +PROTOBUF_CONSTEXPR Init::Init( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.gameversion_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.platform_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.apiversion_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct InitDefaultTypeInternal { + PROTOBUF_CONSTEXPR InitDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~InitDefaultTypeInternal() {} + union { + Init _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InitDefaultTypeInternal _Init_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_LobbyPlayers::CustomMatch_LobbyPlayers( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.players_)*/{} + , /*decltype(_impl_.playertoken_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_LobbyPlayersDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_LobbyPlayersDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_LobbyPlayersDefaultTypeInternal() {} + union { + CustomMatch_LobbyPlayers _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_LobbyPlayersDefaultTypeInternal _CustomMatch_LobbyPlayers_default_instance_; +PROTOBUF_CONSTEXPR ObserverSwitched::ObserverSwitched( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.targetteam_)*/{} + , /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.observer_)*/nullptr + , /*decltype(_impl_.target_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ObserverSwitchedDefaultTypeInternal { + PROTOBUF_CONSTEXPR ObserverSwitchedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ObserverSwitchedDefaultTypeInternal() {} + union { + ObserverSwitched _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObserverSwitchedDefaultTypeInternal _ObserverSwitched_default_instance_; +PROTOBUF_CONSTEXPR ObserverAnnotation::ObserverAnnotation( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.annotationserial_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ObserverAnnotationDefaultTypeInternal { + PROTOBUF_CONSTEXPR ObserverAnnotationDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ObserverAnnotationDefaultTypeInternal() {} + union { + ObserverAnnotation _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObserverAnnotationDefaultTypeInternal _ObserverAnnotation_default_instance_; +PROTOBUF_CONSTEXPR MatchSetup::MatchSetup( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.map_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.playlistname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.playlistdesc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.serverid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.datacenter_)*/nullptr + , /*decltype(_impl_.startingloadout_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.aimassiston_)*/false + , /*decltype(_impl_.anonymousmode_)*/false + , /*decltype(_impl_._cached_size_)*/{}} {} +struct MatchSetupDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchSetupDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchSetupDefaultTypeInternal() {} + union { + MatchSetup _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchSetupDefaultTypeInternal _MatchSetup_default_instance_; +PROTOBUF_CONSTEXPR GameStateChanged::GameStateChanged( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.state_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct GameStateChangedDefaultTypeInternal { + PROTOBUF_CONSTEXPR GameStateChangedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GameStateChangedDefaultTypeInternal() {} + union { + GameStateChanged _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GameStateChangedDefaultTypeInternal _GameStateChanged_default_instance_; +PROTOBUF_CONSTEXPR CharacterSelected::CharacterSelected( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CharacterSelectedDefaultTypeInternal { + PROTOBUF_CONSTEXPR CharacterSelectedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CharacterSelectedDefaultTypeInternal() {} + union { + CharacterSelected _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CharacterSelectedDefaultTypeInternal _CharacterSelected_default_instance_; +PROTOBUF_CONSTEXPR MatchStateEnd::MatchStateEnd( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.winners_)*/{} + , /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.state_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct MatchStateEndDefaultTypeInternal { + PROTOBUF_CONSTEXPR MatchStateEndDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~MatchStateEndDefaultTypeInternal() {} + union { + MatchStateEnd _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MatchStateEndDefaultTypeInternal _MatchStateEnd_default_instance_; +PROTOBUF_CONSTEXPR RingStartClosing::RingStartClosing( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.center_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.stage_)*/0u + , /*decltype(_impl_.currentradius_)*/0 + , /*decltype(_impl_.endradius_)*/0 + , /*decltype(_impl_.shrinkduration_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct RingStartClosingDefaultTypeInternal { + PROTOBUF_CONSTEXPR RingStartClosingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~RingStartClosingDefaultTypeInternal() {} + union { + RingStartClosing _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RingStartClosingDefaultTypeInternal _RingStartClosing_default_instance_; +PROTOBUF_CONSTEXPR RingFinishedClosing::RingFinishedClosing( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.center_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.stage_)*/0u + , /*decltype(_impl_.currentradius_)*/0 + , /*decltype(_impl_.shrinkduration_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct RingFinishedClosingDefaultTypeInternal { + PROTOBUF_CONSTEXPR RingFinishedClosingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~RingFinishedClosingDefaultTypeInternal() {} + union { + RingFinishedClosing _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RingFinishedClosingDefaultTypeInternal _RingFinishedClosing_default_instance_; +PROTOBUF_CONSTEXPR PlayerConnected::PlayerConnected( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerConnectedDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerConnectedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerConnectedDefaultTypeInternal() {} + union { + PlayerConnected _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerConnectedDefaultTypeInternal _PlayerConnected_default_instance_; +PROTOBUF_CONSTEXPR PlayerDisconnected::PlayerDisconnected( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.canreconnect_)*/false + , /*decltype(_impl_.isalive_)*/false + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerDisconnectedDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerDisconnectedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerDisconnectedDefaultTypeInternal() {} + union { + PlayerDisconnected _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerDisconnectedDefaultTypeInternal _PlayerDisconnected_default_instance_; +PROTOBUF_CONSTEXPR PlayerStatChanged::PlayerStatChanged( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.statname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.newValue_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}} {} +struct PlayerStatChangedDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerStatChangedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerStatChangedDefaultTypeInternal() {} + union { + PlayerStatChanged _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerStatChangedDefaultTypeInternal _PlayerStatChanged_default_instance_; +PROTOBUF_CONSTEXPR PlayerUpgradeTierChanged::PlayerUpgradeTierChanged( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.level_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerUpgradeTierChangedDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerUpgradeTierChangedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerUpgradeTierChangedDefaultTypeInternal() {} + union { + PlayerUpgradeTierChanged _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerUpgradeTierChangedDefaultTypeInternal _PlayerUpgradeTierChanged_default_instance_; +PROTOBUF_CONSTEXPR PlayerDamaged::PlayerDamaged( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.weapon_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.attacker_)*/nullptr + , /*decltype(_impl_.victim_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.damageinflicted_)*/0u + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerDamagedDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerDamagedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerDamagedDefaultTypeInternal() {} + union { + PlayerDamaged _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerDamagedDefaultTypeInternal _PlayerDamaged_default_instance_; +PROTOBUF_CONSTEXPR PlayerKilled::PlayerKilled( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.weapon_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.attacker_)*/nullptr + , /*decltype(_impl_.victim_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerKilledDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerKilledDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerKilledDefaultTypeInternal() {} + union { + PlayerKilled _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerKilledDefaultTypeInternal _PlayerKilled_default_instance_; +PROTOBUF_CONSTEXPR PlayerDowned::PlayerDowned( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.weapon_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.attacker_)*/nullptr + , /*decltype(_impl_.victim_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerDownedDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerDownedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerDownedDefaultTypeInternal() {} + union { + PlayerDowned _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerDownedDefaultTypeInternal _PlayerDowned_default_instance_; +PROTOBUF_CONSTEXPR PlayerAssist::PlayerAssist( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.weapon_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.assistant_)*/nullptr + , /*decltype(_impl_.victim_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerAssistDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerAssistDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerAssistDefaultTypeInternal() {} + union { + PlayerAssist _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerAssistDefaultTypeInternal _PlayerAssist_default_instance_; +PROTOBUF_CONSTEXPR SquadEliminated::SquadEliminated( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.players_)*/{} + , /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct SquadEliminatedDefaultTypeInternal { + PROTOBUF_CONSTEXPR SquadEliminatedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~SquadEliminatedDefaultTypeInternal() {} + union { + SquadEliminated _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SquadEliminatedDefaultTypeInternal _SquadEliminated_default_instance_; +PROTOBUF_CONSTEXPR GibraltarShieldAbsorbed::GibraltarShieldAbsorbed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.attacker_)*/nullptr + , /*decltype(_impl_.victim_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.damageinflicted_)*/0u + , /*decltype(_impl_._cached_size_)*/{}} {} +struct GibraltarShieldAbsorbedDefaultTypeInternal { + PROTOBUF_CONSTEXPR GibraltarShieldAbsorbedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GibraltarShieldAbsorbedDefaultTypeInternal() {} + union { + GibraltarShieldAbsorbed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GibraltarShieldAbsorbedDefaultTypeInternal _GibraltarShieldAbsorbed_default_instance_; +PROTOBUF_CONSTEXPR RevenantForgedShadowDamaged::RevenantForgedShadowDamaged( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.attacker_)*/nullptr + , /*decltype(_impl_.victim_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.damageinflicted_)*/0u + , /*decltype(_impl_._cached_size_)*/{}} {} +struct RevenantForgedShadowDamagedDefaultTypeInternal { + PROTOBUF_CONSTEXPR RevenantForgedShadowDamagedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~RevenantForgedShadowDamagedDefaultTypeInternal() {} + union { + RevenantForgedShadowDamaged _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RevenantForgedShadowDamagedDefaultTypeInternal _RevenantForgedShadowDamaged_default_instance_; +PROTOBUF_CONSTEXPR PlayerRespawnTeam::PlayerRespawnTeam( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.respawned_)*/{} + , /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerRespawnTeamDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerRespawnTeamDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerRespawnTeamDefaultTypeInternal() {} + union { + PlayerRespawnTeam _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerRespawnTeamDefaultTypeInternal _PlayerRespawnTeam_default_instance_; +PROTOBUF_CONSTEXPR PlayerRevive::PlayerRevive( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.revived_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerReviveDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerReviveDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerReviveDefaultTypeInternal() {} + union { + PlayerRevive _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerReviveDefaultTypeInternal _PlayerRevive_default_instance_; +PROTOBUF_CONSTEXPR ArenasItemSelected::ArenasItemSelected( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.quantity_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ArenasItemSelectedDefaultTypeInternal { + PROTOBUF_CONSTEXPR ArenasItemSelectedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ArenasItemSelectedDefaultTypeInternal() {} + union { + ArenasItemSelected _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArenasItemSelectedDefaultTypeInternal _ArenasItemSelected_default_instance_; +PROTOBUF_CONSTEXPR ArenasItemDeselected::ArenasItemDeselected( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.quantity_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ArenasItemDeselectedDefaultTypeInternal { + PROTOBUF_CONSTEXPR ArenasItemDeselectedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ArenasItemDeselectedDefaultTypeInternal() {} + union { + ArenasItemDeselected _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArenasItemDeselectedDefaultTypeInternal _ArenasItemDeselected_default_instance_; +PROTOBUF_CONSTEXPR InventoryPickUp::InventoryPickUp( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.quantity_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct InventoryPickUpDefaultTypeInternal { + PROTOBUF_CONSTEXPR InventoryPickUpDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~InventoryPickUpDefaultTypeInternal() {} + union { + InventoryPickUp _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InventoryPickUpDefaultTypeInternal _InventoryPickUp_default_instance_; +PROTOBUF_CONSTEXPR InventoryDrop::InventoryDrop( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.extradata_)*/{} + , /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.quantity_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct InventoryDropDefaultTypeInternal { + PROTOBUF_CONSTEXPR InventoryDropDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~InventoryDropDefaultTypeInternal() {} + union { + InventoryDrop _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InventoryDropDefaultTypeInternal _InventoryDrop_default_instance_; +PROTOBUF_CONSTEXPR InventoryUse::InventoryUse( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.quantity_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct InventoryUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR InventoryUseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~InventoryUseDefaultTypeInternal() {} + union { + InventoryUse _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InventoryUseDefaultTypeInternal _InventoryUse_default_instance_; +PROTOBUF_CONSTEXPR BannerCollected::BannerCollected( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.collected_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct BannerCollectedDefaultTypeInternal { + PROTOBUF_CONSTEXPR BannerCollectedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~BannerCollectedDefaultTypeInternal() {} + union { + BannerCollected _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BannerCollectedDefaultTypeInternal _BannerCollected_default_instance_; +PROTOBUF_CONSTEXPR PlayerAbilityUsed::PlayerAbilityUsed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.linkedentity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PlayerAbilityUsedDefaultTypeInternal { + PROTOBUF_CONSTEXPR PlayerAbilityUsedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PlayerAbilityUsedDefaultTypeInternal() {} + union { + PlayerAbilityUsed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PlayerAbilityUsedDefaultTypeInternal _PlayerAbilityUsed_default_instance_; +PROTOBUF_CONSTEXPR LegendUpgradeSelected::LegendUpgradeSelected( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.upgradename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.upgradedesc_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.level_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct LegendUpgradeSelectedDefaultTypeInternal { + PROTOBUF_CONSTEXPR LegendUpgradeSelectedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~LegendUpgradeSelectedDefaultTypeInternal() {} + union { + LegendUpgradeSelected _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LegendUpgradeSelectedDefaultTypeInternal _LegendUpgradeSelected_default_instance_; +PROTOBUF_CONSTEXPR ZiplineUsed::ZiplineUsed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.linkedentity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ZiplineUsedDefaultTypeInternal { + PROTOBUF_CONSTEXPR ZiplineUsedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ZiplineUsedDefaultTypeInternal() {} + union { + ZiplineUsed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ZiplineUsedDefaultTypeInternal _ZiplineUsed_default_instance_; +PROTOBUF_CONSTEXPR GrenadeThrown::GrenadeThrown( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.linkedentity_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct GrenadeThrownDefaultTypeInternal { + PROTOBUF_CONSTEXPR GrenadeThrownDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~GrenadeThrownDefaultTypeInternal() {} + union { + GrenadeThrown _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GrenadeThrownDefaultTypeInternal _GrenadeThrown_default_instance_; +PROTOBUF_CONSTEXPR BlackMarketAction::BlackMarketAction( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.item_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct BlackMarketActionDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackMarketActionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackMarketActionDefaultTypeInternal() {} + union { + BlackMarketAction _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackMarketActionDefaultTypeInternal _BlackMarketAction_default_instance_; +PROTOBUF_CONSTEXPR WraithPortal::WraithPortal( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct WraithPortalDefaultTypeInternal { + PROTOBUF_CONSTEXPR WraithPortalDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~WraithPortalDefaultTypeInternal() {} + union { + WraithPortal _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WraithPortalDefaultTypeInternal _WraithPortal_default_instance_; +PROTOBUF_CONSTEXPR WarpGateUsed::WarpGateUsed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct WarpGateUsedDefaultTypeInternal { + PROTOBUF_CONSTEXPR WarpGateUsedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~WarpGateUsedDefaultTypeInternal() {} + union { + WarpGateUsed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WarpGateUsedDefaultTypeInternal _WarpGateUsed_default_instance_; +PROTOBUF_CONSTEXPR AmmoUsed::AmmoUsed( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.ammotype_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_.amountused_)*/0u + , /*decltype(_impl_.oldammocount_)*/0u + , /*decltype(_impl_.newammocount_)*/0u + , /*decltype(_impl_._cached_size_)*/{}} {} +struct AmmoUsedDefaultTypeInternal { + PROTOBUF_CONSTEXPR AmmoUsedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~AmmoUsedDefaultTypeInternal() {} + union { + AmmoUsed _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AmmoUsedDefaultTypeInternal _AmmoUsed_default_instance_; +PROTOBUF_CONSTEXPR WeaponSwitched::WeaponSwitched( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.oldweapon_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.newweapon_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.player_)*/nullptr + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct WeaponSwitchedDefaultTypeInternal { + PROTOBUF_CONSTEXPR WeaponSwitchedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~WeaponSwitchedDefaultTypeInternal() {} + union { + WeaponSwitched _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WeaponSwitchedDefaultTypeInternal _WeaponSwitched_default_instance_; +PROTOBUF_CONSTEXPR CustomEvent::CustomEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.customdata_)*/{} + , /*decltype(_impl_.category_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.timestamp_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomEventDefaultTypeInternal() {} + union { + CustomEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomEventDefaultTypeInternal _CustomEvent_default_instance_; +PROTOBUF_CONSTEXPR ChangeCamera::ChangeCamera( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.target_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}} {} +struct ChangeCameraDefaultTypeInternal { + PROTOBUF_CONSTEXPR ChangeCameraDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ChangeCameraDefaultTypeInternal() {} + union { + ChangeCamera _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangeCameraDefaultTypeInternal _ChangeCamera_default_instance_; +PROTOBUF_CONSTEXPR PauseToggle::PauseToggle( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.pretimer_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PauseToggleDefaultTypeInternal { + PROTOBUF_CONSTEXPR PauseToggleDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PauseToggleDefaultTypeInternal() {} + union { + PauseToggle _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PauseToggleDefaultTypeInternal _PauseToggle_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_CreateLobby::CustomMatch_CreateLobby( + ::_pbi::ConstantInitialized) {} +struct CustomMatch_CreateLobbyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_CreateLobbyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_CreateLobbyDefaultTypeInternal() {} + union { + CustomMatch_CreateLobby _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_CreateLobbyDefaultTypeInternal _CustomMatch_CreateLobby_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_JoinLobby::CustomMatch_JoinLobby( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.roletoken_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_JoinLobbyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_JoinLobbyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_JoinLobbyDefaultTypeInternal() {} + union { + CustomMatch_JoinLobby _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_JoinLobbyDefaultTypeInternal _CustomMatch_JoinLobby_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_LeaveLobby::CustomMatch_LeaveLobby( + ::_pbi::ConstantInitialized) {} +struct CustomMatch_LeaveLobbyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_LeaveLobbyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_LeaveLobbyDefaultTypeInternal() {} + union { + CustomMatch_LeaveLobby _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_LeaveLobbyDefaultTypeInternal _CustomMatch_LeaveLobby_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_SetReady::CustomMatch_SetReady( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.isready_)*/false + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_SetReadyDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_SetReadyDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_SetReadyDefaultTypeInternal() {} + union { + CustomMatch_SetReady _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_SetReadyDefaultTypeInternal _CustomMatch_SetReady_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_GetLobbyPlayers::CustomMatch_GetLobbyPlayers( + ::_pbi::ConstantInitialized) {} +struct CustomMatch_GetLobbyPlayersDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_GetLobbyPlayersDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_GetLobbyPlayersDefaultTypeInternal() {} + union { + CustomMatch_GetLobbyPlayers _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_GetLobbyPlayersDefaultTypeInternal _CustomMatch_GetLobbyPlayers_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_SetMatchmaking::CustomMatch_SetMatchmaking( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.enabled_)*/false + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_SetMatchmakingDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_SetMatchmakingDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_SetMatchmakingDefaultTypeInternal() {} + union { + CustomMatch_SetMatchmaking _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_SetMatchmakingDefaultTypeInternal _CustomMatch_SetMatchmaking_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_SetTeam::CustomMatch_SetTeam( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.targethardwarename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.targetnucleushash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.teamid_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_SetTeamDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_SetTeamDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_SetTeamDefaultTypeInternal() {} + union { + CustomMatch_SetTeam _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_SetTeamDefaultTypeInternal _CustomMatch_SetTeam_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_KickPlayer::CustomMatch_KickPlayer( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.targethardwarename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.targetnucleushash_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_KickPlayerDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_KickPlayerDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_KickPlayerDefaultTypeInternal() {} + union { + CustomMatch_KickPlayer _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_KickPlayerDefaultTypeInternal _CustomMatch_KickPlayer_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_SetSettings::CustomMatch_SetSettings( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.playlistname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.adminchat_)*/false + , /*decltype(_impl_.teamrename_)*/false + , /*decltype(_impl_.selfassign_)*/false + , /*decltype(_impl_.aimassist_)*/false + , /*decltype(_impl_.anonmode_)*/false + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_SetSettingsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_SetSettingsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_SetSettingsDefaultTypeInternal() {} + union { + CustomMatch_SetSettings _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_SetSettingsDefaultTypeInternal _CustomMatch_SetSettings_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_GetSettings::CustomMatch_GetSettings( + ::_pbi::ConstantInitialized) {} +struct CustomMatch_GetSettingsDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_GetSettingsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_GetSettingsDefaultTypeInternal() {} + union { + CustomMatch_GetSettings _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_GetSettingsDefaultTypeInternal _CustomMatch_GetSettings_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_SetTeamName::CustomMatch_SetTeamName( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.teamname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.teamid_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_SetTeamNameDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_SetTeamNameDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_SetTeamNameDefaultTypeInternal() {} + union { + CustomMatch_SetTeamName _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_SetTeamNameDefaultTypeInternal _CustomMatch_SetTeamName_default_instance_; +PROTOBUF_CONSTEXPR CustomMatch_SendChat::CustomMatch_SendChat( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.text_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CustomMatch_SendChatDefaultTypeInternal { + PROTOBUF_CONSTEXPR CustomMatch_SendChatDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CustomMatch_SendChatDefaultTypeInternal() {} + union { + CustomMatch_SendChat _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CustomMatch_SendChatDefaultTypeInternal _CustomMatch_SendChat_default_instance_; +PROTOBUF_CONSTEXPR Request::Request( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.presharedkey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.withack_)*/false + , /*decltype(_impl_.actions_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}} {} +struct RequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR RequestDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~RequestDefaultTypeInternal() {} + union { + Request _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequestDefaultTypeInternal _Request_default_instance_; +PROTOBUF_CONSTEXPR RequestStatus::RequestStatus( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.status_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct RequestStatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR RequestStatusDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~RequestStatusDefaultTypeInternal() {} + union { + RequestStatus _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RequestStatusDefaultTypeInternal _RequestStatus_default_instance_; +PROTOBUF_CONSTEXPR Response::Response( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.result_)*/nullptr + , /*decltype(_impl_.success_)*/false + , /*decltype(_impl_._cached_size_)*/{}} {} +struct ResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR ResponseDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~ResponseDefaultTypeInternal() {} + union { + Response _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResponseDefaultTypeInternal _Response_default_instance_; +PROTOBUF_CONSTEXPR LiveAPIEvent::LiveAPIEvent( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.gamemessage_)*/nullptr + , /*decltype(_impl_.event_size_)*/0u + , /*decltype(_impl_._cached_size_)*/{}} {} +struct LiveAPIEventDefaultTypeInternal { + PROTOBUF_CONSTEXPR LiveAPIEventDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~LiveAPIEventDefaultTypeInternal() {} + union { + LiveAPIEvent _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LiveAPIEventDefaultTypeInternal _LiveAPIEvent_default_instance_; +} // namespace liveapi +} // namespace rtech +static ::_pb::Metadata file_level_metadata_events_2eproto[64]; +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_events_2eproto[1]; +static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_events_2eproto = nullptr; + +const uint32_t TableStruct_events_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Vector3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Vector3, _impl_.x_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Vector3, _impl_.y_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Vector3, _impl_.z_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.teamid_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.pos_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.angles_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.currenthealth_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.maxhealth_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.shieldhealth_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.shieldmaxhealth_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.nucleushash_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.hardwarename_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.teamname_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.squadindex_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.character_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Player, _impl_.skin_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LobbyPlayer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LobbyPlayer, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LobbyPlayer, _impl_.teamid_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LobbyPlayer, _impl_.nucleushash_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LobbyPlayer, _impl_.hardwarename_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Datacenter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Datacenter, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Datacenter, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Datacenter, _impl_.name_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Version, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Version, _impl_.major_num_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Version, _impl_.minor_num_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Version, _impl_.build_stamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Version, _impl_.revision_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryItem, _impl_.quantity_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryItem, _impl_.item_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryItem, _impl_.extradata_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LoadoutConfiguration, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LoadoutConfiguration, _impl_.weapons_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LoadoutConfiguration, _impl_.equipment_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Init, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Init, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Init, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Init, _impl_.gameversion_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Init, _impl_.apiversion_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Init, _impl_.platform_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Init, _impl_.name_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LobbyPlayers, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LobbyPlayers, _impl_.playertoken_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LobbyPlayers, _impl_.players_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverSwitched, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverSwitched, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverSwitched, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverSwitched, _impl_.observer_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverSwitched, _impl_.target_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverSwitched, _impl_.targetteam_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverAnnotation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverAnnotation, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverAnnotation, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ObserverAnnotation, _impl_.annotationserial_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.map_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.playlistname_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.playlistdesc_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.datacenter_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.aimassiston_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.anonymousmode_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.serverid_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchSetup, _impl_.startingloadout_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GameStateChanged, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GameStateChanged, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GameStateChanged, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GameStateChanged, _impl_.state_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CharacterSelected, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CharacterSelected, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CharacterSelected, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CharacterSelected, _impl_.player_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchStateEnd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchStateEnd, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchStateEnd, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchStateEnd, _impl_.state_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::MatchStateEnd, _impl_.winners_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingStartClosing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingStartClosing, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingStartClosing, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingStartClosing, _impl_.stage_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingStartClosing, _impl_.center_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingStartClosing, _impl_.currentradius_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingStartClosing, _impl_.endradius_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingStartClosing, _impl_.shrinkduration_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingFinishedClosing, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingFinishedClosing, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingFinishedClosing, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingFinishedClosing, _impl_.stage_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingFinishedClosing, _impl_.center_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingFinishedClosing, _impl_.currentradius_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RingFinishedClosing, _impl_.shrinkduration_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerConnected, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerConnected, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerConnected, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerConnected, _impl_.player_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDisconnected, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDisconnected, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDisconnected, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDisconnected, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDisconnected, _impl_.canreconnect_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDisconnected, _impl_.isalive_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerStatChanged, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerStatChanged, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerStatChanged, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerStatChanged, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerStatChanged, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerStatChanged, _impl_.statname_), + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerStatChanged, _impl_.newValue_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerUpgradeTierChanged, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerUpgradeTierChanged, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerUpgradeTierChanged, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerUpgradeTierChanged, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerUpgradeTierChanged, _impl_.level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDamaged, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDamaged, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDamaged, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDamaged, _impl_.attacker_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDamaged, _impl_.victim_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDamaged, _impl_.weapon_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDamaged, _impl_.damageinflicted_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerKilled, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerKilled, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerKilled, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerKilled, _impl_.attacker_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerKilled, _impl_.victim_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerKilled, _impl_.weapon_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDowned, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDowned, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDowned, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDowned, _impl_.attacker_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDowned, _impl_.victim_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerDowned, _impl_.weapon_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAssist, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAssist, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAssist, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAssist, _impl_.assistant_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAssist, _impl_.victim_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAssist, _impl_.weapon_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::SquadEliminated, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::SquadEliminated, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::SquadEliminated, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::SquadEliminated, _impl_.players_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GibraltarShieldAbsorbed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GibraltarShieldAbsorbed, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GibraltarShieldAbsorbed, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GibraltarShieldAbsorbed, _impl_.attacker_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GibraltarShieldAbsorbed, _impl_.victim_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GibraltarShieldAbsorbed, _impl_.damageinflicted_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RevenantForgedShadowDamaged, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RevenantForgedShadowDamaged, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RevenantForgedShadowDamaged, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RevenantForgedShadowDamaged, _impl_.attacker_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RevenantForgedShadowDamaged, _impl_.victim_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RevenantForgedShadowDamaged, _impl_.damageinflicted_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRespawnTeam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRespawnTeam, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRespawnTeam, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRespawnTeam, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRespawnTeam, _impl_.respawned_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRevive, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRevive, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRevive, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRevive, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerRevive, _impl_.revived_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemSelected, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemSelected, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemSelected, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemSelected, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemSelected, _impl_.item_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemSelected, _impl_.quantity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemDeselected, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemDeselected, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemDeselected, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemDeselected, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemDeselected, _impl_.item_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ArenasItemDeselected, _impl_.quantity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryPickUp, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryPickUp, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryPickUp, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryPickUp, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryPickUp, _impl_.item_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryPickUp, _impl_.quantity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryDrop, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryDrop, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryDrop, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryDrop, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryDrop, _impl_.item_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryDrop, _impl_.quantity_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryDrop, _impl_.extradata_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryUse, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryUse, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryUse, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryUse, _impl_.item_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::InventoryUse, _impl_.quantity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BannerCollected, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BannerCollected, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BannerCollected, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BannerCollected, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BannerCollected, _impl_.collected_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAbilityUsed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAbilityUsed, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAbilityUsed, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAbilityUsed, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PlayerAbilityUsed, _impl_.linkedentity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LegendUpgradeSelected, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LegendUpgradeSelected, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LegendUpgradeSelected, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LegendUpgradeSelected, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LegendUpgradeSelected, _impl_.upgradename_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LegendUpgradeSelected, _impl_.upgradedesc_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LegendUpgradeSelected, _impl_.level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ZiplineUsed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ZiplineUsed, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ZiplineUsed, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ZiplineUsed, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ZiplineUsed, _impl_.linkedentity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GrenadeThrown, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GrenadeThrown, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GrenadeThrown, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GrenadeThrown, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::GrenadeThrown, _impl_.linkedentity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BlackMarketAction, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BlackMarketAction, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BlackMarketAction, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BlackMarketAction, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::BlackMarketAction, _impl_.item_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WraithPortal, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WraithPortal, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WraithPortal, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WraithPortal, _impl_.player_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WarpGateUsed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WarpGateUsed, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WarpGateUsed, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WarpGateUsed, _impl_.player_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::AmmoUsed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::AmmoUsed, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::AmmoUsed, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::AmmoUsed, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::AmmoUsed, _impl_.ammotype_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::AmmoUsed, _impl_.amountused_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::AmmoUsed, _impl_.oldammocount_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::AmmoUsed, _impl_.newammocount_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WeaponSwitched, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WeaponSwitched, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WeaponSwitched, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WeaponSwitched, _impl_.player_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WeaponSwitched, _impl_.oldweapon_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::WeaponSwitched, _impl_.newweapon_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomEvent, _impl_.timestamp_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomEvent, _impl_.category_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomEvent, _impl_.customdata_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ChangeCamera, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ChangeCamera, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::ChangeCamera, _impl_.target_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PauseToggle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::PauseToggle, _impl_.pretimer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_CreateLobby, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_JoinLobby, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_JoinLobby, _impl_.roletoken_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_LeaveLobby, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetReady, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetReady, _impl_.isready_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_GetLobbyPlayers, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetMatchmaking, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetMatchmaking, _impl_.enabled_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetTeam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetTeam, _impl_.teamid_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetTeam, _impl_.targethardwarename_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetTeam, _impl_.targetnucleushash_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_KickPlayer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_KickPlayer, _impl_.targethardwarename_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_KickPlayer, _impl_.targetnucleushash_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetSettings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetSettings, _impl_.playlistname_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetSettings, _impl_.adminchat_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetSettings, _impl_.teamrename_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetSettings, _impl_.selfassign_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetSettings, _impl_.aimassist_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetSettings, _impl_.anonmode_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_GetSettings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetTeamName, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetTeamName, _impl_.teamid_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SetTeamName, _impl_.teamname_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SendChat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::CustomMatch_SendChat, _impl_.text_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Request, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Request, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Request, _impl_.withack_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Request, _impl_.presharedkey_), + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Request, _impl_.actions_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RequestStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::RequestStatus, _impl_.status_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Response, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Response, _impl_.success_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::Response, _impl_.result_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LiveAPIEvent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LiveAPIEvent, _impl_.event_size_), + PROTOBUF_FIELD_OFFSET(::rtech::liveapi::LiveAPIEvent, _impl_.gamemessage_), +}; +static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, -1, sizeof(::rtech::liveapi::Vector3)}, + { 9, -1, -1, sizeof(::rtech::liveapi::Player)}, + { 29, -1, -1, sizeof(::rtech::liveapi::CustomMatch_LobbyPlayer)}, + { 39, -1, -1, sizeof(::rtech::liveapi::Datacenter)}, + { 48, -1, -1, sizeof(::rtech::liveapi::Version)}, + { 58, -1, -1, sizeof(::rtech::liveapi::InventoryItem)}, + { 67, -1, -1, sizeof(::rtech::liveapi::LoadoutConfiguration)}, + { 75, -1, -1, sizeof(::rtech::liveapi::Init)}, + { 87, -1, -1, sizeof(::rtech::liveapi::CustomMatch_LobbyPlayers)}, + { 95, -1, -1, sizeof(::rtech::liveapi::ObserverSwitched)}, + { 106, -1, -1, sizeof(::rtech::liveapi::ObserverAnnotation)}, + { 115, -1, -1, sizeof(::rtech::liveapi::MatchSetup)}, + { 131, -1, -1, sizeof(::rtech::liveapi::GameStateChanged)}, + { 140, -1, -1, sizeof(::rtech::liveapi::CharacterSelected)}, + { 149, -1, -1, sizeof(::rtech::liveapi::MatchStateEnd)}, + { 159, -1, -1, sizeof(::rtech::liveapi::RingStartClosing)}, + { 172, -1, -1, sizeof(::rtech::liveapi::RingFinishedClosing)}, + { 184, -1, -1, sizeof(::rtech::liveapi::PlayerConnected)}, + { 193, -1, -1, sizeof(::rtech::liveapi::PlayerDisconnected)}, + { 204, -1, -1, sizeof(::rtech::liveapi::PlayerStatChanged)}, + { 218, -1, -1, sizeof(::rtech::liveapi::PlayerUpgradeTierChanged)}, + { 228, -1, -1, sizeof(::rtech::liveapi::PlayerDamaged)}, + { 240, -1, -1, sizeof(::rtech::liveapi::PlayerKilled)}, + { 251, -1, -1, sizeof(::rtech::liveapi::PlayerDowned)}, + { 262, -1, -1, sizeof(::rtech::liveapi::PlayerAssist)}, + { 273, -1, -1, sizeof(::rtech::liveapi::SquadEliminated)}, + { 282, -1, -1, sizeof(::rtech::liveapi::GibraltarShieldAbsorbed)}, + { 293, -1, -1, sizeof(::rtech::liveapi::RevenantForgedShadowDamaged)}, + { 304, -1, -1, sizeof(::rtech::liveapi::PlayerRespawnTeam)}, + { 314, -1, -1, sizeof(::rtech::liveapi::PlayerRevive)}, + { 324, -1, -1, sizeof(::rtech::liveapi::ArenasItemSelected)}, + { 335, -1, -1, sizeof(::rtech::liveapi::ArenasItemDeselected)}, + { 346, -1, -1, sizeof(::rtech::liveapi::InventoryPickUp)}, + { 357, -1, -1, sizeof(::rtech::liveapi::InventoryDrop)}, + { 369, -1, -1, sizeof(::rtech::liveapi::InventoryUse)}, + { 380, -1, -1, sizeof(::rtech::liveapi::BannerCollected)}, + { 390, -1, -1, sizeof(::rtech::liveapi::PlayerAbilityUsed)}, + { 400, -1, -1, sizeof(::rtech::liveapi::LegendUpgradeSelected)}, + { 412, -1, -1, sizeof(::rtech::liveapi::ZiplineUsed)}, + { 422, -1, -1, sizeof(::rtech::liveapi::GrenadeThrown)}, + { 432, -1, -1, sizeof(::rtech::liveapi::BlackMarketAction)}, + { 442, -1, -1, sizeof(::rtech::liveapi::WraithPortal)}, + { 451, -1, -1, sizeof(::rtech::liveapi::WarpGateUsed)}, + { 460, -1, -1, sizeof(::rtech::liveapi::AmmoUsed)}, + { 473, -1, -1, sizeof(::rtech::liveapi::WeaponSwitched)}, + { 484, -1, -1, sizeof(::rtech::liveapi::CustomEvent)}, + { 493, -1, -1, sizeof(::rtech::liveapi::ChangeCamera)}, + { 502, -1, -1, sizeof(::rtech::liveapi::PauseToggle)}, + { 509, -1, -1, sizeof(::rtech::liveapi::CustomMatch_CreateLobby)}, + { 515, -1, -1, sizeof(::rtech::liveapi::CustomMatch_JoinLobby)}, + { 522, -1, -1, sizeof(::rtech::liveapi::CustomMatch_LeaveLobby)}, + { 528, -1, -1, sizeof(::rtech::liveapi::CustomMatch_SetReady)}, + { 535, -1, -1, sizeof(::rtech::liveapi::CustomMatch_GetLobbyPlayers)}, + { 541, -1, -1, sizeof(::rtech::liveapi::CustomMatch_SetMatchmaking)}, + { 548, -1, -1, sizeof(::rtech::liveapi::CustomMatch_SetTeam)}, + { 557, -1, -1, sizeof(::rtech::liveapi::CustomMatch_KickPlayer)}, + { 565, -1, -1, sizeof(::rtech::liveapi::CustomMatch_SetSettings)}, + { 577, -1, -1, sizeof(::rtech::liveapi::CustomMatch_GetSettings)}, + { 583, -1, -1, sizeof(::rtech::liveapi::CustomMatch_SetTeamName)}, + { 591, -1, -1, sizeof(::rtech::liveapi::CustomMatch_SendChat)}, + { 598, -1, -1, sizeof(::rtech::liveapi::Request)}, + { 621, -1, -1, sizeof(::rtech::liveapi::RequestStatus)}, + { 628, -1, -1, sizeof(::rtech::liveapi::Response)}, + { 636, -1, -1, sizeof(::rtech::liveapi::LiveAPIEvent)}, +}; + +static const ::_pb::Message* const file_default_instances[] = { + &::rtech::liveapi::_Vector3_default_instance_._instance, + &::rtech::liveapi::_Player_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_LobbyPlayer_default_instance_._instance, + &::rtech::liveapi::_Datacenter_default_instance_._instance, + &::rtech::liveapi::_Version_default_instance_._instance, + &::rtech::liveapi::_InventoryItem_default_instance_._instance, + &::rtech::liveapi::_LoadoutConfiguration_default_instance_._instance, + &::rtech::liveapi::_Init_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_LobbyPlayers_default_instance_._instance, + &::rtech::liveapi::_ObserverSwitched_default_instance_._instance, + &::rtech::liveapi::_ObserverAnnotation_default_instance_._instance, + &::rtech::liveapi::_MatchSetup_default_instance_._instance, + &::rtech::liveapi::_GameStateChanged_default_instance_._instance, + &::rtech::liveapi::_CharacterSelected_default_instance_._instance, + &::rtech::liveapi::_MatchStateEnd_default_instance_._instance, + &::rtech::liveapi::_RingStartClosing_default_instance_._instance, + &::rtech::liveapi::_RingFinishedClosing_default_instance_._instance, + &::rtech::liveapi::_PlayerConnected_default_instance_._instance, + &::rtech::liveapi::_PlayerDisconnected_default_instance_._instance, + &::rtech::liveapi::_PlayerStatChanged_default_instance_._instance, + &::rtech::liveapi::_PlayerUpgradeTierChanged_default_instance_._instance, + &::rtech::liveapi::_PlayerDamaged_default_instance_._instance, + &::rtech::liveapi::_PlayerKilled_default_instance_._instance, + &::rtech::liveapi::_PlayerDowned_default_instance_._instance, + &::rtech::liveapi::_PlayerAssist_default_instance_._instance, + &::rtech::liveapi::_SquadEliminated_default_instance_._instance, + &::rtech::liveapi::_GibraltarShieldAbsorbed_default_instance_._instance, + &::rtech::liveapi::_RevenantForgedShadowDamaged_default_instance_._instance, + &::rtech::liveapi::_PlayerRespawnTeam_default_instance_._instance, + &::rtech::liveapi::_PlayerRevive_default_instance_._instance, + &::rtech::liveapi::_ArenasItemSelected_default_instance_._instance, + &::rtech::liveapi::_ArenasItemDeselected_default_instance_._instance, + &::rtech::liveapi::_InventoryPickUp_default_instance_._instance, + &::rtech::liveapi::_InventoryDrop_default_instance_._instance, + &::rtech::liveapi::_InventoryUse_default_instance_._instance, + &::rtech::liveapi::_BannerCollected_default_instance_._instance, + &::rtech::liveapi::_PlayerAbilityUsed_default_instance_._instance, + &::rtech::liveapi::_LegendUpgradeSelected_default_instance_._instance, + &::rtech::liveapi::_ZiplineUsed_default_instance_._instance, + &::rtech::liveapi::_GrenadeThrown_default_instance_._instance, + &::rtech::liveapi::_BlackMarketAction_default_instance_._instance, + &::rtech::liveapi::_WraithPortal_default_instance_._instance, + &::rtech::liveapi::_WarpGateUsed_default_instance_._instance, + &::rtech::liveapi::_AmmoUsed_default_instance_._instance, + &::rtech::liveapi::_WeaponSwitched_default_instance_._instance, + &::rtech::liveapi::_CustomEvent_default_instance_._instance, + &::rtech::liveapi::_ChangeCamera_default_instance_._instance, + &::rtech::liveapi::_PauseToggle_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_CreateLobby_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_JoinLobby_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_LeaveLobby_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_SetReady_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_GetLobbyPlayers_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_SetMatchmaking_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_SetTeam_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_KickPlayer_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_SetSettings_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_GetSettings_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_SetTeamName_default_instance_._instance, + &::rtech::liveapi::_CustomMatch_SendChat_default_instance_._instance, + &::rtech::liveapi::_Request_default_instance_._instance, + &::rtech::liveapi::_RequestStatus_default_instance_._instance, + &::rtech::liveapi::_Response_default_instance_._instance, + &::rtech::liveapi::_LiveAPIEvent_default_instance_._instance, +}; + +const char descriptor_table_protodef_events_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\014events.proto\022\rrtech.liveapi\032\031google/pr" + "otobuf/any.proto\"*\n\007Vector3\022\t\n\001x\030\001 \001(\002\022\t" + "\n\001y\030\002 \001(\002\022\t\n\001z\030\003 \001(\002\"\276\002\n\006Player\022\014\n\004name\030" + "\001 \001(\t\022\016\n\006teamId\030\002 \001(\r\022#\n\003pos\030\003 \001(\0132\026.rte" + "ch.liveapi.Vector3\022&\n\006angles\030\004 \001(\0132\026.rte" + "ch.liveapi.Vector3\022\025\n\rcurrentHealth\030\005 \001(" + "\r\022\021\n\tmaxHealth\030\006 \001(\r\022\024\n\014shieldHealth\030\007 \001" + "(\r\022\027\n\017shieldMaxHealth\030\010 \001(\r\022\023\n\013nucleusHa" + "sh\030\t \001(\t\022\024\n\014hardwareName\030\n \001(\t\022\020\n\010teamNa" + "me\030\013 \001(\t\022\022\n\nsquadIndex\030\014 \001(\r\022\021\n\tcharacte" + "r\030\r \001(\t\022\014\n\004skin\030\016 \001(\t\"b\n\027CustomMatch_Lob" + "byPlayer\022\014\n\004name\030\001 \001(\t\022\016\n\006teamId\030\002 \001(\r\022\023" + "\n\013nucleusHash\030\003 \001(\t\022\024\n\014hardwareName\030\004 \001(" + "\t\"\?\n\nDatacenter\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010ca" + "tegory\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"V\n\007Version\022\021\n" + "\tmajor_num\030\001 \001(\r\022\021\n\tminor_num\030\002 \001(\r\022\023\n\013b" + "uild_stamp\030\003 \001(\r\022\020\n\010revision\030\004 \001(\t\"B\n\rIn" + "ventoryItem\022\020\n\010quantity\030\001 \001(\005\022\014\n\004item\030\002 " + "\001(\t\022\021\n\textraData\030\003 \001(\t\"v\n\024LoadoutConfigu" + "ration\022-\n\007weapons\030\001 \003(\0132\034.rtech.liveapi." + "InventoryItem\022/\n\tequipment\030\002 \003(\0132\034.rtech" + ".liveapi.InventoryItem\"\214\001\n\004Init\022\021\n\ttimes" + "tamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022\023\n\013gameVers" + "ion\030\003 \001(\t\022*\n\napiVersion\030\004 \001(\0132\026.rtech.li" + "veapi.Version\022\020\n\010platform\030\005 \001(\t\022\014\n\004name\030" + "\006 \001(\t\"h\n\030CustomMatch_LobbyPlayers\022\023\n\013pla" + "yerToken\030\001 \001(\t\0227\n\007players\030\002 \003(\0132&.rtech." + "liveapi.CustomMatch_LobbyPlayer\"\262\001\n\020Obse" + "rverSwitched\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010categ" + "ory\030\002 \001(\t\022\'\n\010observer\030\003 \001(\0132\025.rtech.live" + "api.Player\022%\n\006target\030\004 \001(\0132\025.rtech.livea" + "pi.Player\022)\n\ntargetTeam\030\005 \003(\0132\025.rtech.li" + "veapi.Player\"S\n\022ObserverAnnotation\022\021\n\tti" + "mestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022\030\n\020annot" + "ationSerial\030\003 \001(\005\"\225\002\n\nMatchSetup\022\021\n\ttime" + "stamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022\013\n\003map\030\003 \001" + "(\t\022\024\n\014playlistName\030\004 \001(\t\022\024\n\014playlistDesc" + "\030\005 \001(\t\022-\n\ndatacenter\030\006 \001(\0132\031.rtech.livea" + "pi.Datacenter\022\023\n\013aimAssistOn\030\007 \001(\010\022\025\n\ran" + "onymousMode\030\010 \001(\010\022\020\n\010serverId\030\t \001(\t\022<\n\017s" + "tartingLoadout\030\n \001(\0132#.rtech.liveapi.Loa" + "doutConfiguration\"F\n\020GameStateChanged\022\021\n" + "\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022\r\n\005st" + "ate\030\003 \001(\t\"_\n\021CharacterSelected\022\021\n\ttimest" + "amp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006player\030\003 " + "\001(\0132\025.rtech.liveapi.Player\"k\n\rMatchState" + "End\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t" + "\022\r\n\005state\030\003 \001(\t\022&\n\007winners\030\004 \003(\0132\025.rtech" + ".liveapi.Player\"\260\001\n\020RingStartClosing\022\021\n\t" + "timestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022\r\n\005sta" + "ge\030\003 \001(\r\022&\n\006center\030\004 \001(\0132\026.rtech.liveapi" + ".Vector3\022\025\n\rcurrentRadius\030\005 \001(\002\022\021\n\tendRa" + "dius\030\006 \001(\002\022\026\n\016shrinkDuration\030\007 \001(\002\"\240\001\n\023R" + "ingFinishedClosing\022\021\n\ttimestamp\030\001 \001(\004\022\020\n" + "\010category\030\002 \001(\t\022\r\n\005stage\030\003 \001(\r\022&\n\006center" + "\030\004 \001(\0132\026.rtech.liveapi.Vector3\022\025\n\rcurren" + "tRadius\030\005 \001(\002\022\026\n\016shrinkDuration\030\007 \001(\002\"]\n" + "\017PlayerConnected\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010c" + "ategory\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.li" + "veapi.Player\"\207\001\n\022PlayerDisconnected\022\021\n\tt" + "imestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006play" + "er\030\003 \001(\0132\025.rtech.liveapi.Player\022\024\n\014canRe" + "connect\030\004 \001(\010\022\017\n\007isAlive\030\005 \001(\010\"\274\001\n\021Playe" + "rStatChanged\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010categ" + "ory\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liveap" + "i.Player\022\020\n\010statName\030\004 \001(\t\022\022\n\010intValue\030\005" + " \001(\rH\000\022\024\n\nfloatValue\030\006 \001(\002H\000\022\023\n\tboolValu" + "e\030\007 \001(\010H\000B\n\n\010newValue\"u\n\030PlayerUpgradeTi" + "erChanged\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category" + "\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liveapi.P" + "layer\022\r\n\005level\030\004 \001(\005\"\255\001\n\rPlayerDamaged\022\021" + "\n\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022\'\n\010a" + "ttacker\030\003 \001(\0132\025.rtech.liveapi.Player\022%\n\006" + "victim\030\004 \001(\0132\025.rtech.liveapi.Player\022\016\n\006w" + "eapon\030\005 \001(\t\022\027\n\017damageInflicted\030\006 \001(\r\"\231\001\n" + "\014PlayerKilled\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010cate" + "gory\030\002 \001(\t\022\'\n\010attacker\030\003 \001(\0132\025.rtech.liv" + "eapi.Player\022%\n\006victim\030\004 \001(\0132\025.rtech.live" + "api.Player\022\016\n\006weapon\030\006 \001(\tJ\004\010\005\020\006\"\223\001\n\014Pla" + "yerDowned\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category" + "\030\002 \001(\t\022\'\n\010attacker\030\003 \001(\0132\025.rtech.liveapi" + ".Player\022%\n\006victim\030\004 \001(\0132\025.rtech.liveapi." + "Player\022\016\n\006weapon\030\005 \001(\t\"\224\001\n\014PlayerAssist\022" + "\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022(\n\t" + "assistant\030\003 \001(\0132\025.rtech.liveapi.Player\022%" + "\n\006victim\030\004 \001(\0132\025.rtech.liveapi.Player\022\016\n" + "\006weapon\030\005 \001(\t\"^\n\017SquadEliminated\022\021\n\ttime" + "stamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022&\n\007players" + "\030\003 \003(\0132\025.rtech.liveapi.Player\"\247\001\n\027Gibral" + "tarShieldAbsorbed\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010" + "category\030\002 \001(\t\022\'\n\010attacker\030\003 \001(\0132\025.rtech" + ".liveapi.Player\022%\n\006victim\030\004 \001(\0132\025.rtech." + "liveapi.Player\022\027\n\017damageInflicted\030\006 \001(\r\"" + "\253\001\n\033RevenantForgedShadowDamaged\022\021\n\ttimes" + "tamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022\'\n\010attacker" + "\030\003 \001(\0132\025.rtech.liveapi.Player\022%\n\006victim\030" + "\004 \001(\0132\025.rtech.liveapi.Player\022\027\n\017damageIn" + "flicted\030\006 \001(\r\"\211\001\n\021PlayerRespawnTeam\022\021\n\tt" + "imestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006play" + "er\030\003 \001(\0132\025.rtech.liveapi.Player\022(\n\trespa" + "wned\030\004 \003(\0132\025.rtech.liveapi.Player\"\202\001\n\014Pl" + "ayerRevive\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010categor" + "y\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liveapi." + "Player\022&\n\007revived\030\004 \001(\0132\025.rtech.liveapi." + "Player\"\200\001\n\022ArenasItemSelected\022\021\n\ttimesta" + "mp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006player\030\003 \001" + "(\0132\025.rtech.liveapi.Player\022\014\n\004item\030\004 \001(\t\022" + "\020\n\010quantity\030\005 \001(\005\"\202\001\n\024ArenasItemDeselect" + "ed\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022" + "%\n\006player\030\003 \001(\0132\025.rtech.liveapi.Player\022\014" + "\n\004item\030\004 \001(\t\022\020\n\010quantity\030\005 \001(\005\"}\n\017Invent" + "oryPickUp\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category" + "\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liveapi.P" + "layer\022\014\n\004item\030\004 \001(\t\022\020\n\010quantity\030\005 \001(\005\"\216\001" + "\n\rInventoryDrop\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010ca" + "tegory\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liv" + "eapi.Player\022\014\n\004item\030\004 \001(\t\022\020\n\010quantity\030\005 " + "\001(\005\022\021\n\textraData\030\006 \003(\t\"z\n\014InventoryUse\022\021" + "\n\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006p" + "layer\030\003 \001(\0132\025.rtech.liveapi.Player\022\014\n\004it" + "em\030\004 \001(\t\022\020\n\010quantity\030\005 \001(\005\"\207\001\n\017BannerCol" + "lected\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 " + "\001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liveapi.Play" + "er\022(\n\tcollected\030\004 \001(\0132\025.rtech.liveapi.Pl" + "ayer\"u\n\021PlayerAbilityUsed\022\021\n\ttimestamp\030\001" + " \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025" + ".rtech.liveapi.Player\022\024\n\014linkedEntity\030\004 " + "\001(\t\"\234\001\n\025LegendUpgradeSelected\022\021\n\ttimesta" + "mp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006player\030\003 \001" + "(\0132\025.rtech.liveapi.Player\022\023\n\013upgradeName" + "\030\004 \001(\t\022\023\n\013upgradeDesc\030\005 \001(\t\022\r\n\005level\030\006 \001" + "(\005\"o\n\013ZiplineUsed\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010" + "category\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.l" + "iveapi.Player\022\024\n\014linkedEntity\030\004 \001(\t\"q\n\rG" + "renadeThrown\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010categ" + "ory\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liveap" + "i.Player\022\024\n\014linkedEntity\030\004 \001(\t\"m\n\021BlackM" + "arketAction\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010catego" + "ry\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liveapi" + ".Player\022\014\n\004item\030\004 \001(\t\"Z\n\014WraithPortal\022\021\n" + "\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006pl" + "ayer\030\003 \001(\0132\025.rtech.liveapi.Player\"Z\n\014War" + "pGateUsed\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category" + "\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech.liveapi.P" + "layer\"\250\001\n\010AmmoUsed\022\021\n\ttimestamp\030\001 \001(\004\022\020\n" + "\010category\030\002 \001(\t\022%\n\006player\030\003 \001(\0132\025.rtech." + "liveapi.Player\022\020\n\010ammoType\030\004 \001(\t\022\022\n\namou" + "ntUsed\030\005 \001(\r\022\024\n\014oldAmmoCount\030\006 \001(\r\022\024\n\014ne" + "wAmmoCount\030\007 \001(\r\"\202\001\n\016WeaponSwitched\022\021\n\tt" + "imestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(\t\022%\n\006play" + "er\030\003 \001(\0132\025.rtech.liveapi.Player\022\021\n\toldWe" + "apon\030\004 \001(\t\022\021\n\tnewWeapon\030\005 \001(\t\"\\\n\013CustomE" + "vent\022\021\n\ttimestamp\030\001 \001(\004\022\020\n\010category\030\002 \001(" + "\t\022(\n\ncustomData\030\003 \003(\0132\024.google.protobuf." + "Any\"X\n\014ChangeCamera\022.\n\003poi\030\001 \001(\0162\037.rtech" + ".liveapi.PlayerOfInterestH\000\022\016\n\004name\030\002 \001(" + "\tH\000B\010\n\006target\"\037\n\013PauseToggle\022\020\n\010preTimer" + "\030\001 \001(\002\"\031\n\027CustomMatch_CreateLobby\"*\n\025Cus" + "tomMatch_JoinLobby\022\021\n\troleToken\030\001 \001(\t\"\030\n" + "\026CustomMatch_LeaveLobby\"\'\n\024CustomMatch_S" + "etReady\022\017\n\007isReady\030\001 \001(\010\"\035\n\033CustomMatch_" + "GetLobbyPlayers\"-\n\032CustomMatch_SetMatchm" + "aking\022\017\n\007enabled\030\001 \001(\010\"\\\n\023CustomMatch_Se" + "tTeam\022\016\n\006teamId\030\001 \001(\005\022\032\n\022targetHardwareN" + "ame\030\002 \001(\t\022\031\n\021targetNucleusHash\030\003 \001(\t\"O\n\026" + "CustomMatch_KickPlayer\022\032\n\022targetHardware" + "Name\030\001 \001(\t\022\031\n\021targetNucleusHash\030\002 \001(\t\"\217\001" + "\n\027CustomMatch_SetSettings\022\024\n\014playlistNam" + "e\030\001 \001(\t\022\021\n\tadminChat\030\002 \001(\010\022\022\n\nteamRename" + "\030\003 \001(\010\022\022\n\nselfAssign\030\004 \001(\010\022\021\n\taimAssist\030" + "\005 \001(\010\022\020\n\010anonMode\030\006 \001(\010\"\031\n\027CustomMatch_G" + "etSettings\";\n\027CustomMatch_SetTeamName\022\016\n" + "\006teamId\030\001 \001(\005\022\020\n\010teamName\030\002 \001(\t\"$\n\024Custo" + "mMatch_SendChat\022\014\n\004text\030\001 \001(\t\"\226\010\n\007Reques" + "t\022\017\n\007withAck\030\001 \001(\010\022\024\n\014preSharedKey\030\002 \001(\t" + "\0220\n\tchangeCam\030\004 \001(\0132\033.rtech.liveapi.Chan" + "geCameraH\000\0221\n\013pauseToggle\030\005 \001(\0132\032.rtech." + "liveapi.PauseToggleH\000\022I\n\027customMatch_Cre" + "ateLobby\030\n \001(\0132&.rtech.liveapi.CustomMat" + "ch_CreateLobbyH\000\022E\n\025customMatch_JoinLobb" + "y\030\013 \001(\0132$.rtech.liveapi.CustomMatch_Join" + "LobbyH\000\022G\n\026customMatch_LeaveLobby\030\014 \001(\0132" + "%.rtech.liveapi.CustomMatch_LeaveLobbyH\000" + "\022C\n\024customMatch_SetReady\030\r \001(\0132#.rtech.l" + "iveapi.CustomMatch_SetReadyH\000\022O\n\032customM" + "atch_SetMatchmaking\030\016 \001(\0132).rtech.liveap" + "i.CustomMatch_SetMatchmakingH\000\022A\n\023custom" + "Match_SetTeam\030\017 \001(\0132\".rtech.liveapi.Cust" + "omMatch_SetTeamH\000\022G\n\026customMatch_KickPla" + "yer\030\020 \001(\0132%.rtech.liveapi.CustomMatch_Ki" + "ckPlayerH\000\022I\n\027customMatch_SetSettings\030\021 " + "\001(\0132&.rtech.liveapi.CustomMatch_SetSetti" + "ngsH\000\022C\n\024customMatch_SendChat\030\022 \001(\0132#.rt" + "ech.liveapi.CustomMatch_SendChatH\000\022Q\n\033cu" + "stomMatch_GetLobbyPlayers\030\023 \001(\0132*.rtech." + "liveapi.CustomMatch_GetLobbyPlayersH\000\022I\n" + "\027customMatch_SetTeamName\030\024 \001(\0132&.rtech.l" + "iveapi.CustomMatch_SetTeamNameH\000\022I\n\027cust" + "omMatch_GetSettings\030\025 \001(\0132&.rtech.liveap" + "i.CustomMatch_GetSettingsH\000B\t\n\007actions\"\037" + "\n\rRequestStatus\022\016\n\006status\030\001 \001(\t\"A\n\010Respo" + "nse\022\017\n\007success\030\001 \001(\010\022$\n\006result\030\002 \001(\0132\024.g" + "oogle.protobuf.Any\"M\n\014LiveAPIEvent\022\022\n\nev" + "ent_size\030\001 \001(\007\022)\n\013gameMessage\030\003 \001(\0132\024.go" + "ogle.protobuf.Any*\210\001\n\020PlayerOfInterest\022\017" + "\n\013UNSPECIFIED\020\000\022\010\n\004NEXT\020\001\022\014\n\010PREVIOUS\020\002\022" + "\017\n\013KILL_LEADER\020\003\022\021\n\rCLOSEST_ENEMY\020\004\022\022\n\016C" + "LOSEST_PLAYER\020\005\022\023\n\017LATEST_ATTACKER\020\006b\006pr" + "oto3" + ; +static const ::_pbi::DescriptorTable* const descriptor_table_events_2eproto_deps[1] = { + &::descriptor_table_google_2fprotobuf_2fany_2eproto, +}; +static ::_pbi::once_flag descriptor_table_events_2eproto_once; +const ::_pbi::DescriptorTable descriptor_table_events_2eproto = { + false, false, 8324, descriptor_table_protodef_events_2eproto, + "events.proto", + &descriptor_table_events_2eproto_once, descriptor_table_events_2eproto_deps, 1, 64, + schemas, file_default_instances, TableStruct_events_2eproto::offsets, + file_level_metadata_events_2eproto, file_level_enum_descriptors_events_2eproto, + file_level_service_descriptors_events_2eproto, +}; +PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_events_2eproto_getter() { + return &descriptor_table_events_2eproto; +} + +// Force running AddDescriptors() at dynamic initialization time. +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_events_2eproto(&descriptor_table_events_2eproto); +namespace rtech { +namespace liveapi { +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayerOfInterest_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_events_2eproto); + return file_level_enum_descriptors_events_2eproto[0]; +} +bool PlayerOfInterest_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + return true; + default: + return false; + } +} + + +// =================================================================== + +class Vector3::_Internal { + public: +}; + +Vector3::Vector3(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.Vector3) +} +Vector3::Vector3(const Vector3& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Vector3* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.x_){} + , decltype(_impl_.y_){} + , decltype(_impl_.z_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + ::memcpy(&_impl_.x_, &from._impl_.x_, + static_cast(reinterpret_cast(&_impl_.z_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.z_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.Vector3) +} + +inline void Vector3::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.x_){0} + , decltype(_impl_.y_){0} + , decltype(_impl_.z_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +Vector3::~Vector3() { + // @@protoc_insertion_point(destructor:rtech.liveapi.Vector3) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Vector3::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void Vector3::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Vector3::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.Vector3) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.x_, 0, static_cast( + reinterpret_cast(&_impl_.z_) - + reinterpret_cast(&_impl_.x_)) + sizeof(_impl_.z_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Vector3::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float x = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _impl_.x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // float y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 21)) { + _impl_.y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // float z = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 29)) { + _impl_.z_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Vector3::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.Vector3) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float x = 1; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_x = this->_internal_x(); + uint32_t raw_x; + memcpy(&raw_x, &tmp_x, sizeof(tmp_x)); + if (raw_x != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_x(), target); + } + + // float y = 2; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_y = this->_internal_y(); + uint32_t raw_y; + memcpy(&raw_y, &tmp_y, sizeof(tmp_y)); + if (raw_y != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(2, this->_internal_y(), target); + } + + // float z = 3; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_z = this->_internal_z(); + uint32_t raw_z; + memcpy(&raw_z, &tmp_z, sizeof(tmp_z)); + if (raw_z != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(3, this->_internal_z(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.Vector3) + return target; +} + +size_t Vector3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.Vector3) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float x = 1; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_x = this->_internal_x(); + uint32_t raw_x; + memcpy(&raw_x, &tmp_x, sizeof(tmp_x)); + if (raw_x != 0) { + total_size += 1 + 4; + } + + // float y = 2; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_y = this->_internal_y(); + uint32_t raw_y; + memcpy(&raw_y, &tmp_y, sizeof(tmp_y)); + if (raw_y != 0) { + total_size += 1 + 4; + } + + // float z = 3; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_z = this->_internal_z(); + uint32_t raw_z; + memcpy(&raw_z, &tmp_z, sizeof(tmp_z)); + if (raw_z != 0) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Vector3::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Vector3::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Vector3::GetClassData() const { return &_class_data_; } + + +void Vector3::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.Vector3) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_x = from._internal_x(); + uint32_t raw_x; + memcpy(&raw_x, &tmp_x, sizeof(tmp_x)); + if (raw_x != 0) { + _this->_internal_set_x(from._internal_x()); + } + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_y = from._internal_y(); + uint32_t raw_y; + memcpy(&raw_y, &tmp_y, sizeof(tmp_y)); + if (raw_y != 0) { + _this->_internal_set_y(from._internal_y()); + } + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_z = from._internal_z(); + uint32_t raw_z; + memcpy(&raw_z, &tmp_z, sizeof(tmp_z)); + if (raw_z != 0) { + _this->_internal_set_z(from._internal_z()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Vector3::CopyFrom(const Vector3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.Vector3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Vector3::IsInitialized() const { + return true; +} + +void Vector3::InternalSwap(Vector3* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Vector3, _impl_.z_) + + sizeof(Vector3::_impl_.z_) + - PROTOBUF_FIELD_OFFSET(Vector3, _impl_.x_)>( + reinterpret_cast(&_impl_.x_), + reinterpret_cast(&other->_impl_.x_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Vector3::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[0]); +} + +// =================================================================== + +class Player::_Internal { + public: + static const ::rtech::liveapi::Vector3& pos(const Player* msg); + static const ::rtech::liveapi::Vector3& angles(const Player* msg); +}; + +const ::rtech::liveapi::Vector3& +Player::_Internal::pos(const Player* msg) { + return *msg->_impl_.pos_; +} +const ::rtech::liveapi::Vector3& +Player::_Internal::angles(const Player* msg) { + return *msg->_impl_.angles_; +} +Player::Player(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.Player) +} +Player::Player(const Player& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Player* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.name_){} + , decltype(_impl_.nucleushash_){} + , decltype(_impl_.hardwarename_){} + , decltype(_impl_.teamname_){} + , decltype(_impl_.character_){} + , decltype(_impl_.skin_){} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.teamid_){} + , decltype(_impl_.currenthealth_){} + , decltype(_impl_.maxhealth_){} + , decltype(_impl_.shieldhealth_){} + , decltype(_impl_.shieldmaxhealth_){} + , decltype(_impl_.squadindex_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.nucleushash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nucleushash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_nucleushash().empty()) { + _this->_impl_.nucleushash_.Set(from._internal_nucleushash(), + _this->GetArenaForAllocation()); + } + _impl_.hardwarename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hardwarename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_hardwarename().empty()) { + _this->_impl_.hardwarename_.Set(from._internal_hardwarename(), + _this->GetArenaForAllocation()); + } + _impl_.teamname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.teamname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_teamname().empty()) { + _this->_impl_.teamname_.Set(from._internal_teamname(), + _this->GetArenaForAllocation()); + } + _impl_.character_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.character_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_character().empty()) { + _this->_impl_.character_.Set(from._internal_character(), + _this->GetArenaForAllocation()); + } + _impl_.skin_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.skin_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_skin().empty()) { + _this->_impl_.skin_.Set(from._internal_skin(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_pos()) { + _this->_impl_.pos_ = new ::rtech::liveapi::Vector3(*from._impl_.pos_); + } + if (from._internal_has_angles()) { + _this->_impl_.angles_ = new ::rtech::liveapi::Vector3(*from._impl_.angles_); + } + ::memcpy(&_impl_.teamid_, &from._impl_.teamid_, + static_cast(reinterpret_cast(&_impl_.squadindex_) - + reinterpret_cast(&_impl_.teamid_)) + sizeof(_impl_.squadindex_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.Player) +} + +inline void Player::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.name_){} + , decltype(_impl_.nucleushash_){} + , decltype(_impl_.hardwarename_){} + , decltype(_impl_.teamname_){} + , decltype(_impl_.character_){} + , decltype(_impl_.skin_){} + , decltype(_impl_.pos_){nullptr} + , decltype(_impl_.angles_){nullptr} + , decltype(_impl_.teamid_){0u} + , decltype(_impl_.currenthealth_){0u} + , decltype(_impl_.maxhealth_){0u} + , decltype(_impl_.shieldhealth_){0u} + , decltype(_impl_.shieldmaxhealth_){0u} + , decltype(_impl_.squadindex_){0u} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nucleushash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nucleushash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hardwarename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hardwarename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.teamname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.teamname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.character_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.character_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.skin_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.skin_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +Player::~Player() { + // @@protoc_insertion_point(destructor:rtech.liveapi.Player) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Player::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.nucleushash_.Destroy(); + _impl_.hardwarename_.Destroy(); + _impl_.teamname_.Destroy(); + _impl_.character_.Destroy(); + _impl_.skin_.Destroy(); + if (this != internal_default_instance()) delete _impl_.pos_; + if (this != internal_default_instance()) delete _impl_.angles_; +} + +void Player::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Player::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.Player) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.name_.ClearToEmpty(); + _impl_.nucleushash_.ClearToEmpty(); + _impl_.hardwarename_.ClearToEmpty(); + _impl_.teamname_.ClearToEmpty(); + _impl_.character_.ClearToEmpty(); + _impl_.skin_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.pos_ != nullptr) { + delete _impl_.pos_; + } + _impl_.pos_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.angles_ != nullptr) { + delete _impl_.angles_; + } + _impl_.angles_ = nullptr; + ::memset(&_impl_.teamid_, 0, static_cast( + reinterpret_cast(&_impl_.squadindex_) - + reinterpret_cast(&_impl_.teamid_)) + sizeof(_impl_.squadindex_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Player::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Player.name")); + } else + goto handle_unusual; + continue; + // uint32 teamId = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _impl_.teamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Vector3 pos = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_pos(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Vector3 angles = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_angles(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 currentHealth = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.currenthealth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 maxHealth = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _impl_.maxhealth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 shieldHealth = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _impl_.shieldhealth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 shieldMaxHealth = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _impl_.shieldmaxhealth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string nucleusHash = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_nucleushash(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Player.nucleusHash")); + } else + goto handle_unusual; + continue; + // string hardwareName = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + auto str = _internal_mutable_hardwarename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Player.hardwareName")); + } else + goto handle_unusual; + continue; + // string teamName = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + auto str = _internal_mutable_teamname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Player.teamName")); + } else + goto handle_unusual; + continue; + // uint32 squadIndex = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { + _impl_.squadindex_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string character = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + auto str = _internal_mutable_character(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Player.character")); + } else + goto handle_unusual; + continue; + // string skin = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + auto str = _internal_mutable_skin(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Player.skin")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Player::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.Player) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string name = 1; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Player.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // uint32 teamId = 2; + if (this->_internal_teamid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_teamid(), target); + } + + // .rtech.liveapi.Vector3 pos = 3; + if (this->_internal_has_pos()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::pos(this), + _Internal::pos(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Vector3 angles = 4; + if (this->_internal_has_angles()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::angles(this), + _Internal::angles(this).GetCachedSize(), target, stream); + } + + // uint32 currentHealth = 5; + if (this->_internal_currenthealth() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_currenthealth(), target); + } + + // uint32 maxHealth = 6; + if (this->_internal_maxhealth() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_maxhealth(), target); + } + + // uint32 shieldHealth = 7; + if (this->_internal_shieldhealth() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_shieldhealth(), target); + } + + // uint32 shieldMaxHealth = 8; + if (this->_internal_shieldmaxhealth() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_shieldmaxhealth(), target); + } + + // string nucleusHash = 9; + if (!this->_internal_nucleushash().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_nucleushash().data(), static_cast(this->_internal_nucleushash().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Player.nucleusHash"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_nucleushash(), target); + } + + // string hardwareName = 10; + if (!this->_internal_hardwarename().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_hardwarename().data(), static_cast(this->_internal_hardwarename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Player.hardwareName"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_hardwarename(), target); + } + + // string teamName = 11; + if (!this->_internal_teamname().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_teamname().data(), static_cast(this->_internal_teamname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Player.teamName"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_teamname(), target); + } + + // uint32 squadIndex = 12; + if (this->_internal_squadindex() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(12, this->_internal_squadindex(), target); + } + + // string character = 13; + if (!this->_internal_character().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_character().data(), static_cast(this->_internal_character().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Player.character"); + target = stream->WriteStringMaybeAliased( + 13, this->_internal_character(), target); + } + + // string skin = 14; + if (!this->_internal_skin().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_skin().data(), static_cast(this->_internal_skin().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Player.skin"); + target = stream->WriteStringMaybeAliased( + 14, this->_internal_skin(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.Player) + return target; +} + +size_t Player::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.Player) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string name = 1; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // string nucleusHash = 9; + if (!this->_internal_nucleushash().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nucleushash()); + } + + // string hardwareName = 10; + if (!this->_internal_hardwarename().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_hardwarename()); + } + + // string teamName = 11; + if (!this->_internal_teamname().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_teamname()); + } + + // string character = 13; + if (!this->_internal_character().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_character()); + } + + // string skin = 14; + if (!this->_internal_skin().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_skin()); + } + + // .rtech.liveapi.Vector3 pos = 3; + if (this->_internal_has_pos()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.pos_); + } + + // .rtech.liveapi.Vector3 angles = 4; + if (this->_internal_has_angles()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.angles_); + } + + // uint32 teamId = 2; + if (this->_internal_teamid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_teamid()); + } + + // uint32 currentHealth = 5; + if (this->_internal_currenthealth() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_currenthealth()); + } + + // uint32 maxHealth = 6; + if (this->_internal_maxhealth() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_maxhealth()); + } + + // uint32 shieldHealth = 7; + if (this->_internal_shieldhealth() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_shieldhealth()); + } + + // uint32 shieldMaxHealth = 8; + if (this->_internal_shieldmaxhealth() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_shieldmaxhealth()); + } + + // uint32 squadIndex = 12; + if (this->_internal_squadindex() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_squadindex()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Player::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Player::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Player::GetClassData() const { return &_class_data_; } + + +void Player::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.Player) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } + if (!from._internal_nucleushash().empty()) { + _this->_internal_set_nucleushash(from._internal_nucleushash()); + } + if (!from._internal_hardwarename().empty()) { + _this->_internal_set_hardwarename(from._internal_hardwarename()); + } + if (!from._internal_teamname().empty()) { + _this->_internal_set_teamname(from._internal_teamname()); + } + if (!from._internal_character().empty()) { + _this->_internal_set_character(from._internal_character()); + } + if (!from._internal_skin().empty()) { + _this->_internal_set_skin(from._internal_skin()); + } + if (from._internal_has_pos()) { + _this->_internal_mutable_pos()->::rtech::liveapi::Vector3::MergeFrom( + from._internal_pos()); + } + if (from._internal_has_angles()) { + _this->_internal_mutable_angles()->::rtech::liveapi::Vector3::MergeFrom( + from._internal_angles()); + } + if (from._internal_teamid() != 0) { + _this->_internal_set_teamid(from._internal_teamid()); + } + if (from._internal_currenthealth() != 0) { + _this->_internal_set_currenthealth(from._internal_currenthealth()); + } + if (from._internal_maxhealth() != 0) { + _this->_internal_set_maxhealth(from._internal_maxhealth()); + } + if (from._internal_shieldhealth() != 0) { + _this->_internal_set_shieldhealth(from._internal_shieldhealth()); + } + if (from._internal_shieldmaxhealth() != 0) { + _this->_internal_set_shieldmaxhealth(from._internal_shieldmaxhealth()); + } + if (from._internal_squadindex() != 0) { + _this->_internal_set_squadindex(from._internal_squadindex()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Player::CopyFrom(const Player& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.Player) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Player::IsInitialized() const { + return true; +} + +void Player::InternalSwap(Player* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.nucleushash_, lhs_arena, + &other->_impl_.nucleushash_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.hardwarename_, lhs_arena, + &other->_impl_.hardwarename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.teamname_, lhs_arena, + &other->_impl_.teamname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.character_, lhs_arena, + &other->_impl_.character_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.skin_, lhs_arena, + &other->_impl_.skin_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Player, _impl_.squadindex_) + + sizeof(Player::_impl_.squadindex_) + - PROTOBUF_FIELD_OFFSET(Player, _impl_.pos_)>( + reinterpret_cast(&_impl_.pos_), + reinterpret_cast(&other->_impl_.pos_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Player::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[1]); +} + +// =================================================================== + +class CustomMatch_LobbyPlayer::_Internal { + public: +}; + +CustomMatch_LobbyPlayer::CustomMatch_LobbyPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_LobbyPlayer) +} +CustomMatch_LobbyPlayer::CustomMatch_LobbyPlayer(const CustomMatch_LobbyPlayer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_LobbyPlayer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.name_){} + , decltype(_impl_.nucleushash_){} + , decltype(_impl_.hardwarename_){} + , decltype(_impl_.teamid_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _impl_.nucleushash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nucleushash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_nucleushash().empty()) { + _this->_impl_.nucleushash_.Set(from._internal_nucleushash(), + _this->GetArenaForAllocation()); + } + _impl_.hardwarename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hardwarename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_hardwarename().empty()) { + _this->_impl_.hardwarename_.Set(from._internal_hardwarename(), + _this->GetArenaForAllocation()); + } + _this->_impl_.teamid_ = from._impl_.teamid_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_LobbyPlayer) +} + +inline void CustomMatch_LobbyPlayer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.name_){} + , decltype(_impl_.nucleushash_){} + , decltype(_impl_.hardwarename_){} + , decltype(_impl_.teamid_){0u} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nucleushash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.nucleushash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hardwarename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.hardwarename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomMatch_LobbyPlayer::~CustomMatch_LobbyPlayer() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_LobbyPlayer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_LobbyPlayer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.name_.Destroy(); + _impl_.nucleushash_.Destroy(); + _impl_.hardwarename_.Destroy(); +} + +void CustomMatch_LobbyPlayer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_LobbyPlayer::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_LobbyPlayer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.name_.ClearToEmpty(); + _impl_.nucleushash_.ClearToEmpty(); + _impl_.hardwarename_.ClearToEmpty(); + _impl_.teamid_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_LobbyPlayer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_LobbyPlayer.name")); + } else + goto handle_unusual; + continue; + // uint32 teamId = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _impl_.teamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string nucleusHash = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_nucleushash(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_LobbyPlayer.nucleusHash")); + } else + goto handle_unusual; + continue; + // string hardwareName = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_hardwarename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_LobbyPlayer.hardwareName")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_LobbyPlayer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_LobbyPlayer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string name = 1; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_LobbyPlayer.name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_name(), target); + } + + // uint32 teamId = 2; + if (this->_internal_teamid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_teamid(), target); + } + + // string nucleusHash = 3; + if (!this->_internal_nucleushash().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_nucleushash().data(), static_cast(this->_internal_nucleushash().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_LobbyPlayer.nucleusHash"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_nucleushash(), target); + } + + // string hardwareName = 4; + if (!this->_internal_hardwarename().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_hardwarename().data(), static_cast(this->_internal_hardwarename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_LobbyPlayer.hardwareName"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_hardwarename(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_LobbyPlayer) + return target; +} + +size_t CustomMatch_LobbyPlayer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_LobbyPlayer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string name = 1; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // string nucleusHash = 3; + if (!this->_internal_nucleushash().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_nucleushash()); + } + + // string hardwareName = 4; + if (!this->_internal_hardwarename().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_hardwarename()); + } + + // uint32 teamId = 2; + if (this->_internal_teamid() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_teamid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_LobbyPlayer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_LobbyPlayer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_LobbyPlayer::GetClassData() const { return &_class_data_; } + + +void CustomMatch_LobbyPlayer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_LobbyPlayer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } + if (!from._internal_nucleushash().empty()) { + _this->_internal_set_nucleushash(from._internal_nucleushash()); + } + if (!from._internal_hardwarename().empty()) { + _this->_internal_set_hardwarename(from._internal_hardwarename()); + } + if (from._internal_teamid() != 0) { + _this->_internal_set_teamid(from._internal_teamid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_LobbyPlayer::CopyFrom(const CustomMatch_LobbyPlayer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_LobbyPlayer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_LobbyPlayer::IsInitialized() const { + return true; +} + +void CustomMatch_LobbyPlayer::InternalSwap(CustomMatch_LobbyPlayer* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.nucleushash_, lhs_arena, + &other->_impl_.nucleushash_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.hardwarename_, lhs_arena, + &other->_impl_.hardwarename_, rhs_arena + ); + swap(_impl_.teamid_, other->_impl_.teamid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_LobbyPlayer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[2]); +} + +// =================================================================== + +class Datacenter::_Internal { + public: +}; + +Datacenter::Datacenter(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.Datacenter) +} +Datacenter::Datacenter(const Datacenter& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Datacenter* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.name_){} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.Datacenter) +} + +inline void Datacenter::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.name_){} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +Datacenter::~Datacenter() { + // @@protoc_insertion_point(destructor:rtech.liveapi.Datacenter) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Datacenter::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.name_.Destroy(); +} + +void Datacenter::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Datacenter::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.Datacenter) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.name_.ClearToEmpty(); + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Datacenter::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Datacenter.category")); + } else + goto handle_unusual; + continue; + // string name = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Datacenter.name")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Datacenter::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.Datacenter) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Datacenter.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // string name = 3; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Datacenter.name"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_name(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.Datacenter) + return target; +} + +size_t Datacenter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.Datacenter) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string name = 3; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Datacenter::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Datacenter::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Datacenter::GetClassData() const { return &_class_data_; } + + +void Datacenter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.Datacenter) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Datacenter::CopyFrom(const Datacenter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.Datacenter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Datacenter::IsInitialized() const { + return true; +} + +void Datacenter::InternalSwap(Datacenter* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + swap(_impl_.timestamp_, other->_impl_.timestamp_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Datacenter::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[3]); +} + +// =================================================================== + +class Version::_Internal { + public: +}; + +Version::Version(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.Version) +} +Version::Version(const Version& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Version* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.revision_){} + , decltype(_impl_.major_num_){} + , decltype(_impl_.minor_num_){} + , decltype(_impl_.build_stamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.revision_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.revision_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_revision().empty()) { + _this->_impl_.revision_.Set(from._internal_revision(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.major_num_, &from._impl_.major_num_, + static_cast(reinterpret_cast(&_impl_.build_stamp_) - + reinterpret_cast(&_impl_.major_num_)) + sizeof(_impl_.build_stamp_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.Version) +} + +inline void Version::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.revision_){} + , decltype(_impl_.major_num_){0u} + , decltype(_impl_.minor_num_){0u} + , decltype(_impl_.build_stamp_){0u} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.revision_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.revision_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +Version::~Version() { + // @@protoc_insertion_point(destructor:rtech.liveapi.Version) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Version::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.revision_.Destroy(); +} + +void Version::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Version::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.Version) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.revision_.ClearToEmpty(); + ::memset(&_impl_.major_num_, 0, static_cast( + reinterpret_cast(&_impl_.build_stamp_) - + reinterpret_cast(&_impl_.major_num_)) + sizeof(_impl_.build_stamp_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Version::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint32 major_num = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.major_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 minor_num = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _impl_.minor_num_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 build_stamp = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _impl_.build_stamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string revision = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_revision(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Version.revision")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Version::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.Version) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 major_num = 1; + if (this->_internal_major_num() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_major_num(), target); + } + + // uint32 minor_num = 2; + if (this->_internal_minor_num() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_minor_num(), target); + } + + // uint32 build_stamp = 3; + if (this->_internal_build_stamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_build_stamp(), target); + } + + // string revision = 4; + if (!this->_internal_revision().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_revision().data(), static_cast(this->_internal_revision().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Version.revision"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_revision(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.Version) + return target; +} + +size_t Version::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.Version) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string revision = 4; + if (!this->_internal_revision().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_revision()); + } + + // uint32 major_num = 1; + if (this->_internal_major_num() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_major_num()); + } + + // uint32 minor_num = 2; + if (this->_internal_minor_num() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_minor_num()); + } + + // uint32 build_stamp = 3; + if (this->_internal_build_stamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_build_stamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Version::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Version::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Version::GetClassData() const { return &_class_data_; } + + +void Version::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.Version) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_revision().empty()) { + _this->_internal_set_revision(from._internal_revision()); + } + if (from._internal_major_num() != 0) { + _this->_internal_set_major_num(from._internal_major_num()); + } + if (from._internal_minor_num() != 0) { + _this->_internal_set_minor_num(from._internal_minor_num()); + } + if (from._internal_build_stamp() != 0) { + _this->_internal_set_build_stamp(from._internal_build_stamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Version::CopyFrom(const Version& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.Version) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Version::IsInitialized() const { + return true; +} + +void Version::InternalSwap(Version* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.revision_, lhs_arena, + &other->_impl_.revision_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Version, _impl_.build_stamp_) + + sizeof(Version::_impl_.build_stamp_) + - PROTOBUF_FIELD_OFFSET(Version, _impl_.major_num_)>( + reinterpret_cast(&_impl_.major_num_), + reinterpret_cast(&other->_impl_.major_num_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Version::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[4]); +} + +// =================================================================== + +class InventoryItem::_Internal { + public: +}; + +InventoryItem::InventoryItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.InventoryItem) +} +InventoryItem::InventoryItem(const InventoryItem& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + InventoryItem* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.item_){} + , decltype(_impl_.extradata_){} + , decltype(_impl_.quantity_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_item().empty()) { + _this->_impl_.item_.Set(from._internal_item(), + _this->GetArenaForAllocation()); + } + _impl_.extradata_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.extradata_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_extradata().empty()) { + _this->_impl_.extradata_.Set(from._internal_extradata(), + _this->GetArenaForAllocation()); + } + _this->_impl_.quantity_ = from._impl_.quantity_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.InventoryItem) +} + +inline void InventoryItem::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.item_){} + , decltype(_impl_.extradata_){} + , decltype(_impl_.quantity_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.extradata_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.extradata_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +InventoryItem::~InventoryItem() { + // @@protoc_insertion_point(destructor:rtech.liveapi.InventoryItem) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void InventoryItem::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.item_.Destroy(); + _impl_.extradata_.Destroy(); +} + +void InventoryItem::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void InventoryItem::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.InventoryItem) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.item_.ClearToEmpty(); + _impl_.extradata_.ClearToEmpty(); + _impl_.quantity_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* InventoryItem::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 quantity = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string item = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_item(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryItem.item")); + } else + goto handle_unusual; + continue; + // string extraData = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_extradata(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryItem.extraData")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* InventoryItem::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.InventoryItem) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 quantity = 1; + if (this->_internal_quantity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_quantity(), target); + } + + // string item = 2; + if (!this->_internal_item().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_item().data(), static_cast(this->_internal_item().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryItem.item"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_item(), target); + } + + // string extraData = 3; + if (!this->_internal_extradata().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_extradata().data(), static_cast(this->_internal_extradata().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryItem.extraData"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_extradata(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.InventoryItem) + return target; +} + +size_t InventoryItem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.InventoryItem) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string item = 2; + if (!this->_internal_item().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item()); + } + + // string extraData = 3; + if (!this->_internal_extradata().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_extradata()); + } + + // int32 quantity = 1; + if (this->_internal_quantity() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quantity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InventoryItem::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + InventoryItem::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InventoryItem::GetClassData() const { return &_class_data_; } + + +void InventoryItem::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.InventoryItem) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_item().empty()) { + _this->_internal_set_item(from._internal_item()); + } + if (!from._internal_extradata().empty()) { + _this->_internal_set_extradata(from._internal_extradata()); + } + if (from._internal_quantity() != 0) { + _this->_internal_set_quantity(from._internal_quantity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void InventoryItem::CopyFrom(const InventoryItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.InventoryItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool InventoryItem::IsInitialized() const { + return true; +} + +void InventoryItem::InternalSwap(InventoryItem* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_, lhs_arena, + &other->_impl_.item_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.extradata_, lhs_arena, + &other->_impl_.extradata_, rhs_arena + ); + swap(_impl_.quantity_, other->_impl_.quantity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata InventoryItem::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[5]); +} + +// =================================================================== + +class LoadoutConfiguration::_Internal { + public: +}; + +LoadoutConfiguration::LoadoutConfiguration(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.LoadoutConfiguration) +} +LoadoutConfiguration::LoadoutConfiguration(const LoadoutConfiguration& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + LoadoutConfiguration* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.weapons_){from._impl_.weapons_} + , decltype(_impl_.equipment_){from._impl_.equipment_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.LoadoutConfiguration) +} + +inline void LoadoutConfiguration::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.weapons_){arena} + , decltype(_impl_.equipment_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +LoadoutConfiguration::~LoadoutConfiguration() { + // @@protoc_insertion_point(destructor:rtech.liveapi.LoadoutConfiguration) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void LoadoutConfiguration::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.weapons_.~RepeatedPtrField(); + _impl_.equipment_.~RepeatedPtrField(); +} + +void LoadoutConfiguration::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void LoadoutConfiguration::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.LoadoutConfiguration) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.weapons_.Clear(); + _impl_.equipment_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* LoadoutConfiguration::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // repeated .rtech.liveapi.InventoryItem weapons = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_weapons(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // repeated .rtech.liveapi.InventoryItem equipment = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_equipment(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* LoadoutConfiguration::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.LoadoutConfiguration) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated .rtech.liveapi.InventoryItem weapons = 1; + for (unsigned i = 0, + n = static_cast(this->_internal_weapons_size()); i < n; i++) { + const auto& repfield = this->_internal_weapons(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream); + } + + // repeated .rtech.liveapi.InventoryItem equipment = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_equipment_size()); i < n; i++) { + const auto& repfield = this->_internal_equipment(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.LoadoutConfiguration) + return target; +} + +size_t LoadoutConfiguration::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.LoadoutConfiguration) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .rtech.liveapi.InventoryItem weapons = 1; + total_size += 1UL * this->_internal_weapons_size(); + for (const auto& msg : this->_impl_.weapons_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // repeated .rtech.liveapi.InventoryItem equipment = 2; + total_size += 1UL * this->_internal_equipment_size(); + for (const auto& msg : this->_impl_.equipment_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LoadoutConfiguration::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + LoadoutConfiguration::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LoadoutConfiguration::GetClassData() const { return &_class_data_; } + + +void LoadoutConfiguration::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.LoadoutConfiguration) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.weapons_.MergeFrom(from._impl_.weapons_); + _this->_impl_.equipment_.MergeFrom(from._impl_.equipment_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void LoadoutConfiguration::CopyFrom(const LoadoutConfiguration& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.LoadoutConfiguration) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool LoadoutConfiguration::IsInitialized() const { + return true; +} + +void LoadoutConfiguration::InternalSwap(LoadoutConfiguration* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.weapons_.InternalSwap(&other->_impl_.weapons_); + _impl_.equipment_.InternalSwap(&other->_impl_.equipment_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata LoadoutConfiguration::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[6]); +} + +// =================================================================== + +class Init::_Internal { + public: + static const ::rtech::liveapi::Version& apiversion(const Init* msg); +}; + +const ::rtech::liveapi::Version& +Init::_Internal::apiversion(const Init* msg) { + return *msg->_impl_.apiversion_; +} +Init::Init(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.Init) +} +Init::Init(const Init& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Init* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.gameversion_){} + , decltype(_impl_.platform_){} + , decltype(_impl_.name_){} + , decltype(_impl_.apiversion_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.gameversion_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameversion_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_gameversion().empty()) { + _this->_impl_.gameversion_.Set(from._internal_gameversion(), + _this->GetArenaForAllocation()); + } + _impl_.platform_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.platform_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_platform().empty()) { + _this->_impl_.platform_.Set(from._internal_platform(), + _this->GetArenaForAllocation()); + } + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_name().empty()) { + _this->_impl_.name_.Set(from._internal_name(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_apiversion()) { + _this->_impl_.apiversion_ = new ::rtech::liveapi::Version(*from._impl_.apiversion_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.Init) +} + +inline void Init::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.gameversion_){} + , decltype(_impl_.platform_){} + , decltype(_impl_.name_){} + , decltype(_impl_.apiversion_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameversion_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.gameversion_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.platform_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.platform_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +Init::~Init() { + // @@protoc_insertion_point(destructor:rtech.liveapi.Init) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Init::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.gameversion_.Destroy(); + _impl_.platform_.Destroy(); + _impl_.name_.Destroy(); + if (this != internal_default_instance()) delete _impl_.apiversion_; +} + +void Init::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Init::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.Init) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.gameversion_.ClearToEmpty(); + _impl_.platform_.ClearToEmpty(); + _impl_.name_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.apiversion_ != nullptr) { + delete _impl_.apiversion_; + } + _impl_.apiversion_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Init::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Init.category")); + } else + goto handle_unusual; + continue; + // string gameVersion = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_gameversion(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Init.gameVersion")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Version apiVersion = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_apiversion(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string platform = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_platform(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Init.platform")); + } else + goto handle_unusual; + continue; + // string name = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Init.name")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Init::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.Init) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Init.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // string gameVersion = 3; + if (!this->_internal_gameversion().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_gameversion().data(), static_cast(this->_internal_gameversion().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Init.gameVersion"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_gameversion(), target); + } + + // .rtech.liveapi.Version apiVersion = 4; + if (this->_internal_has_apiversion()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::apiversion(this), + _Internal::apiversion(this).GetCachedSize(), target, stream); + } + + // string platform = 5; + if (!this->_internal_platform().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_platform().data(), static_cast(this->_internal_platform().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Init.platform"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_platform(), target); + } + + // string name = 6; + if (!this->_internal_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Init.name"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_name(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.Init) + return target; +} + +size_t Init::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.Init) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string gameVersion = 3; + if (!this->_internal_gameversion().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gameversion()); + } + + // string platform = 5; + if (!this->_internal_platform().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_platform()); + } + + // string name = 6; + if (!this->_internal_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + } + + // .rtech.liveapi.Version apiVersion = 4; + if (this->_internal_has_apiversion()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.apiversion_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Init::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Init::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Init::GetClassData() const { return &_class_data_; } + + +void Init::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.Init) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_gameversion().empty()) { + _this->_internal_set_gameversion(from._internal_gameversion()); + } + if (!from._internal_platform().empty()) { + _this->_internal_set_platform(from._internal_platform()); + } + if (!from._internal_name().empty()) { + _this->_internal_set_name(from._internal_name()); + } + if (from._internal_has_apiversion()) { + _this->_internal_mutable_apiversion()->::rtech::liveapi::Version::MergeFrom( + from._internal_apiversion()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Init::CopyFrom(const Init& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.Init) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Init::IsInitialized() const { + return true; +} + +void Init::InternalSwap(Init* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.gameversion_, lhs_arena, + &other->_impl_.gameversion_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.platform_, lhs_arena, + &other->_impl_.platform_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.name_, lhs_arena, + &other->_impl_.name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Init, _impl_.timestamp_) + + sizeof(Init::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(Init, _impl_.apiversion_)>( + reinterpret_cast(&_impl_.apiversion_), + reinterpret_cast(&other->_impl_.apiversion_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Init::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[7]); +} + +// =================================================================== + +class CustomMatch_LobbyPlayers::_Internal { + public: +}; + +CustomMatch_LobbyPlayers::CustomMatch_LobbyPlayers(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_LobbyPlayers) +} +CustomMatch_LobbyPlayers::CustomMatch_LobbyPlayers(const CustomMatch_LobbyPlayers& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_LobbyPlayers* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.players_){from._impl_.players_} + , decltype(_impl_.playertoken_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.playertoken_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playertoken_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_playertoken().empty()) { + _this->_impl_.playertoken_.Set(from._internal_playertoken(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_LobbyPlayers) +} + +inline void CustomMatch_LobbyPlayers::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.players_){arena} + , decltype(_impl_.playertoken_){} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.playertoken_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playertoken_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomMatch_LobbyPlayers::~CustomMatch_LobbyPlayers() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_LobbyPlayers) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_LobbyPlayers::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.players_.~RepeatedPtrField(); + _impl_.playertoken_.Destroy(); +} + +void CustomMatch_LobbyPlayers::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_LobbyPlayers::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_LobbyPlayers) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.players_.Clear(); + _impl_.playertoken_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_LobbyPlayers::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string playerToken = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_playertoken(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_LobbyPlayers.playerToken")); + } else + goto handle_unusual; + continue; + // repeated .rtech.liveapi.CustomMatch_LobbyPlayer players = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_players(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_LobbyPlayers::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_LobbyPlayers) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string playerToken = 1; + if (!this->_internal_playertoken().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_playertoken().data(), static_cast(this->_internal_playertoken().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_LobbyPlayers.playerToken"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_playertoken(), target); + } + + // repeated .rtech.liveapi.CustomMatch_LobbyPlayer players = 2; + for (unsigned i = 0, + n = static_cast(this->_internal_players_size()); i < n; i++) { + const auto& repfield = this->_internal_players(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_LobbyPlayers) + return target; +} + +size_t CustomMatch_LobbyPlayers::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_LobbyPlayers) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .rtech.liveapi.CustomMatch_LobbyPlayer players = 2; + total_size += 1UL * this->_internal_players_size(); + for (const auto& msg : this->_impl_.players_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // string playerToken = 1; + if (!this->_internal_playertoken().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_playertoken()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_LobbyPlayers::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_LobbyPlayers::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_LobbyPlayers::GetClassData() const { return &_class_data_; } + + +void CustomMatch_LobbyPlayers::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_LobbyPlayers) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.players_.MergeFrom(from._impl_.players_); + if (!from._internal_playertoken().empty()) { + _this->_internal_set_playertoken(from._internal_playertoken()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_LobbyPlayers::CopyFrom(const CustomMatch_LobbyPlayers& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_LobbyPlayers) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_LobbyPlayers::IsInitialized() const { + return true; +} + +void CustomMatch_LobbyPlayers::InternalSwap(CustomMatch_LobbyPlayers* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.players_.InternalSwap(&other->_impl_.players_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.playertoken_, lhs_arena, + &other->_impl_.playertoken_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_LobbyPlayers::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[8]); +} + +// =================================================================== + +class ObserverSwitched::_Internal { + public: + static const ::rtech::liveapi::Player& observer(const ObserverSwitched* msg); + static const ::rtech::liveapi::Player& target(const ObserverSwitched* msg); +}; + +const ::rtech::liveapi::Player& +ObserverSwitched::_Internal::observer(const ObserverSwitched* msg) { + return *msg->_impl_.observer_; +} +const ::rtech::liveapi::Player& +ObserverSwitched::_Internal::target(const ObserverSwitched* msg) { + return *msg->_impl_.target_; +} +ObserverSwitched::ObserverSwitched(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.ObserverSwitched) +} +ObserverSwitched::ObserverSwitched(const ObserverSwitched& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ObserverSwitched* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.targetteam_){from._impl_.targetteam_} + , decltype(_impl_.category_){} + , decltype(_impl_.observer_){nullptr} + , decltype(_impl_.target_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_observer()) { + _this->_impl_.observer_ = new ::rtech::liveapi::Player(*from._impl_.observer_); + } + if (from._internal_has_target()) { + _this->_impl_.target_ = new ::rtech::liveapi::Player(*from._impl_.target_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.ObserverSwitched) +} + +inline void ObserverSwitched::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.targetteam_){arena} + , decltype(_impl_.category_){} + , decltype(_impl_.observer_){nullptr} + , decltype(_impl_.target_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ObserverSwitched::~ObserverSwitched() { + // @@protoc_insertion_point(destructor:rtech.liveapi.ObserverSwitched) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ObserverSwitched::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.targetteam_.~RepeatedPtrField(); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.observer_; + if (this != internal_default_instance()) delete _impl_.target_; +} + +void ObserverSwitched::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ObserverSwitched::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.ObserverSwitched) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.targetteam_.Clear(); + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.observer_ != nullptr) { + delete _impl_.observer_; + } + _impl_.observer_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.target_ != nullptr) { + delete _impl_.target_; + } + _impl_.target_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ObserverSwitched::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ObserverSwitched.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player observer = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_observer(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player target = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_target(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .rtech.liveapi.Player targetTeam = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_targetteam(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ObserverSwitched::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.ObserverSwitched) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ObserverSwitched.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player observer = 3; + if (this->_internal_has_observer()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::observer(this), + _Internal::observer(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player target = 4; + if (this->_internal_has_target()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::target(this), + _Internal::target(this).GetCachedSize(), target, stream); + } + + // repeated .rtech.liveapi.Player targetTeam = 5; + for (unsigned i = 0, + n = static_cast(this->_internal_targetteam_size()); i < n; i++) { + const auto& repfield = this->_internal_targetteam(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.ObserverSwitched) + return target; +} + +size_t ObserverSwitched::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.ObserverSwitched) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .rtech.liveapi.Player targetTeam = 5; + total_size += 1UL * this->_internal_targetteam_size(); + for (const auto& msg : this->_impl_.targetteam_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player observer = 3; + if (this->_internal_has_observer()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.observer_); + } + + // .rtech.liveapi.Player target = 4; + if (this->_internal_has_target()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.target_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ObserverSwitched::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ObserverSwitched::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ObserverSwitched::GetClassData() const { return &_class_data_; } + + +void ObserverSwitched::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.ObserverSwitched) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.targetteam_.MergeFrom(from._impl_.targetteam_); + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_observer()) { + _this->_internal_mutable_observer()->::rtech::liveapi::Player::MergeFrom( + from._internal_observer()); + } + if (from._internal_has_target()) { + _this->_internal_mutable_target()->::rtech::liveapi::Player::MergeFrom( + from._internal_target()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ObserverSwitched::CopyFrom(const ObserverSwitched& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.ObserverSwitched) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ObserverSwitched::IsInitialized() const { + return true; +} + +void ObserverSwitched::InternalSwap(ObserverSwitched* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.targetteam_.InternalSwap(&other->_impl_.targetteam_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ObserverSwitched, _impl_.timestamp_) + + sizeof(ObserverSwitched::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(ObserverSwitched, _impl_.observer_)>( + reinterpret_cast(&_impl_.observer_), + reinterpret_cast(&other->_impl_.observer_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ObserverSwitched::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[9]); +} + +// =================================================================== + +class ObserverAnnotation::_Internal { + public: +}; + +ObserverAnnotation::ObserverAnnotation(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.ObserverAnnotation) +} +ObserverAnnotation::ObserverAnnotation(const ObserverAnnotation& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ObserverAnnotation* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.annotationserial_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.annotationserial_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.annotationserial_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.ObserverAnnotation) +} + +inline void ObserverAnnotation::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.annotationserial_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ObserverAnnotation::~ObserverAnnotation() { + // @@protoc_insertion_point(destructor:rtech.liveapi.ObserverAnnotation) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ObserverAnnotation::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); +} + +void ObserverAnnotation::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ObserverAnnotation::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.ObserverAnnotation) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.annotationserial_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.annotationserial_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ObserverAnnotation::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ObserverAnnotation.category")); + } else + goto handle_unusual; + continue; + // int32 annotationSerial = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _impl_.annotationserial_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ObserverAnnotation::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.ObserverAnnotation) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ObserverAnnotation.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // int32 annotationSerial = 3; + if (this->_internal_annotationserial() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_annotationserial(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.ObserverAnnotation) + return target; +} + +size_t ObserverAnnotation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.ObserverAnnotation) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // int32 annotationSerial = 3; + if (this->_internal_annotationserial() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_annotationserial()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ObserverAnnotation::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ObserverAnnotation::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ObserverAnnotation::GetClassData() const { return &_class_data_; } + + +void ObserverAnnotation::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.ObserverAnnotation) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_annotationserial() != 0) { + _this->_internal_set_annotationserial(from._internal_annotationserial()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ObserverAnnotation::CopyFrom(const ObserverAnnotation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.ObserverAnnotation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ObserverAnnotation::IsInitialized() const { + return true; +} + +void ObserverAnnotation::InternalSwap(ObserverAnnotation* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ObserverAnnotation, _impl_.annotationserial_) + + sizeof(ObserverAnnotation::_impl_.annotationserial_) + - PROTOBUF_FIELD_OFFSET(ObserverAnnotation, _impl_.timestamp_)>( + reinterpret_cast(&_impl_.timestamp_), + reinterpret_cast(&other->_impl_.timestamp_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ObserverAnnotation::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[10]); +} + +// =================================================================== + +class MatchSetup::_Internal { + public: + static const ::rtech::liveapi::Datacenter& datacenter(const MatchSetup* msg); + static const ::rtech::liveapi::LoadoutConfiguration& startingloadout(const MatchSetup* msg); +}; + +const ::rtech::liveapi::Datacenter& +MatchSetup::_Internal::datacenter(const MatchSetup* msg) { + return *msg->_impl_.datacenter_; +} +const ::rtech::liveapi::LoadoutConfiguration& +MatchSetup::_Internal::startingloadout(const MatchSetup* msg) { + return *msg->_impl_.startingloadout_; +} +MatchSetup::MatchSetup(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.MatchSetup) +} +MatchSetup::MatchSetup(const MatchSetup& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MatchSetup* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.map_){} + , decltype(_impl_.playlistname_){} + , decltype(_impl_.playlistdesc_){} + , decltype(_impl_.serverid_){} + , decltype(_impl_.datacenter_){nullptr} + , decltype(_impl_.startingloadout_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.aimassiston_){} + , decltype(_impl_.anonymousmode_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_map().empty()) { + _this->_impl_.map_.Set(from._internal_map(), + _this->GetArenaForAllocation()); + } + _impl_.playlistname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playlistname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_playlistname().empty()) { + _this->_impl_.playlistname_.Set(from._internal_playlistname(), + _this->GetArenaForAllocation()); + } + _impl_.playlistdesc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playlistdesc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_playlistdesc().empty()) { + _this->_impl_.playlistdesc_.Set(from._internal_playlistdesc(), + _this->GetArenaForAllocation()); + } + _impl_.serverid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.serverid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_serverid().empty()) { + _this->_impl_.serverid_.Set(from._internal_serverid(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_datacenter()) { + _this->_impl_.datacenter_ = new ::rtech::liveapi::Datacenter(*from._impl_.datacenter_); + } + if (from._internal_has_startingloadout()) { + _this->_impl_.startingloadout_ = new ::rtech::liveapi::LoadoutConfiguration(*from._impl_.startingloadout_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.anonymousmode_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.anonymousmode_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.MatchSetup) +} + +inline void MatchSetup::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.map_){} + , decltype(_impl_.playlistname_){} + , decltype(_impl_.playlistdesc_){} + , decltype(_impl_.serverid_){} + , decltype(_impl_.datacenter_){nullptr} + , decltype(_impl_.startingloadout_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.aimassiston_){false} + , decltype(_impl_.anonymousmode_){false} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.map_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playlistname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playlistname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playlistdesc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playlistdesc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.serverid_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.serverid_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +MatchSetup::~MatchSetup() { + // @@protoc_insertion_point(destructor:rtech.liveapi.MatchSetup) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MatchSetup::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.map_.Destroy(); + _impl_.playlistname_.Destroy(); + _impl_.playlistdesc_.Destroy(); + _impl_.serverid_.Destroy(); + if (this != internal_default_instance()) delete _impl_.datacenter_; + if (this != internal_default_instance()) delete _impl_.startingloadout_; +} + +void MatchSetup::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MatchSetup::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.MatchSetup) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.map_.ClearToEmpty(); + _impl_.playlistname_.ClearToEmpty(); + _impl_.playlistdesc_.ClearToEmpty(); + _impl_.serverid_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.datacenter_ != nullptr) { + delete _impl_.datacenter_; + } + _impl_.datacenter_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.startingloadout_ != nullptr) { + delete _impl_.startingloadout_; + } + _impl_.startingloadout_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.anonymousmode_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.anonymousmode_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MatchSetup::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.MatchSetup.category")); + } else + goto handle_unusual; + continue; + // string map = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_map(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.MatchSetup.map")); + } else + goto handle_unusual; + continue; + // string playlistName = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_playlistname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.MatchSetup.playlistName")); + } else + goto handle_unusual; + continue; + // string playlistDesc = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_playlistdesc(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.MatchSetup.playlistDesc")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Datacenter datacenter = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_datacenter(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool aimAssistOn = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _impl_.aimassiston_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool anonymousMode = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { + _impl_.anonymousmode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string serverId = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { + auto str = _internal_mutable_serverid(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.MatchSetup.serverId")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.LoadoutConfiguration startingLoadout = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_startingloadout(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MatchSetup::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.MatchSetup) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.MatchSetup.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // string map = 3; + if (!this->_internal_map().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_map().data(), static_cast(this->_internal_map().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.MatchSetup.map"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_map(), target); + } + + // string playlistName = 4; + if (!this->_internal_playlistname().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_playlistname().data(), static_cast(this->_internal_playlistname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.MatchSetup.playlistName"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_playlistname(), target); + } + + // string playlistDesc = 5; + if (!this->_internal_playlistdesc().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_playlistdesc().data(), static_cast(this->_internal_playlistdesc().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.MatchSetup.playlistDesc"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_playlistdesc(), target); + } + + // .rtech.liveapi.Datacenter datacenter = 6; + if (this->_internal_has_datacenter()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(6, _Internal::datacenter(this), + _Internal::datacenter(this).GetCachedSize(), target, stream); + } + + // bool aimAssistOn = 7; + if (this->_internal_aimassiston() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_aimassiston(), target); + } + + // bool anonymousMode = 8; + if (this->_internal_anonymousmode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(8, this->_internal_anonymousmode(), target); + } + + // string serverId = 9; + if (!this->_internal_serverid().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_serverid().data(), static_cast(this->_internal_serverid().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.MatchSetup.serverId"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_serverid(), target); + } + + // .rtech.liveapi.LoadoutConfiguration startingLoadout = 10; + if (this->_internal_has_startingloadout()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::startingloadout(this), + _Internal::startingloadout(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.MatchSetup) + return target; +} + +size_t MatchSetup::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.MatchSetup) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string map = 3; + if (!this->_internal_map().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_map()); + } + + // string playlistName = 4; + if (!this->_internal_playlistname().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_playlistname()); + } + + // string playlistDesc = 5; + if (!this->_internal_playlistdesc().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_playlistdesc()); + } + + // string serverId = 9; + if (!this->_internal_serverid().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_serverid()); + } + + // .rtech.liveapi.Datacenter datacenter = 6; + if (this->_internal_has_datacenter()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.datacenter_); + } + + // .rtech.liveapi.LoadoutConfiguration startingLoadout = 10; + if (this->_internal_has_startingloadout()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.startingloadout_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // bool aimAssistOn = 7; + if (this->_internal_aimassiston() != 0) { + total_size += 1 + 1; + } + + // bool anonymousMode = 8; + if (this->_internal_anonymousmode() != 0) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MatchSetup::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MatchSetup::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MatchSetup::GetClassData() const { return &_class_data_; } + + +void MatchSetup::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.MatchSetup) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_map().empty()) { + _this->_internal_set_map(from._internal_map()); + } + if (!from._internal_playlistname().empty()) { + _this->_internal_set_playlistname(from._internal_playlistname()); + } + if (!from._internal_playlistdesc().empty()) { + _this->_internal_set_playlistdesc(from._internal_playlistdesc()); + } + if (!from._internal_serverid().empty()) { + _this->_internal_set_serverid(from._internal_serverid()); + } + if (from._internal_has_datacenter()) { + _this->_internal_mutable_datacenter()->::rtech::liveapi::Datacenter::MergeFrom( + from._internal_datacenter()); + } + if (from._internal_has_startingloadout()) { + _this->_internal_mutable_startingloadout()->::rtech::liveapi::LoadoutConfiguration::MergeFrom( + from._internal_startingloadout()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_aimassiston() != 0) { + _this->_internal_set_aimassiston(from._internal_aimassiston()); + } + if (from._internal_anonymousmode() != 0) { + _this->_internal_set_anonymousmode(from._internal_anonymousmode()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MatchSetup::CopyFrom(const MatchSetup& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.MatchSetup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MatchSetup::IsInitialized() const { + return true; +} + +void MatchSetup::InternalSwap(MatchSetup* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.map_, lhs_arena, + &other->_impl_.map_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.playlistname_, lhs_arena, + &other->_impl_.playlistname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.playlistdesc_, lhs_arena, + &other->_impl_.playlistdesc_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.serverid_, lhs_arena, + &other->_impl_.serverid_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(MatchSetup, _impl_.anonymousmode_) + + sizeof(MatchSetup::_impl_.anonymousmode_) + - PROTOBUF_FIELD_OFFSET(MatchSetup, _impl_.datacenter_)>( + reinterpret_cast(&_impl_.datacenter_), + reinterpret_cast(&other->_impl_.datacenter_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MatchSetup::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[11]); +} + +// =================================================================== + +class GameStateChanged::_Internal { + public: +}; + +GameStateChanged::GameStateChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.GameStateChanged) +} +GameStateChanged::GameStateChanged(const GameStateChanged& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + GameStateChanged* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.state_){} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.state_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.state_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_state().empty()) { + _this->_impl_.state_.Set(from._internal_state(), + _this->GetArenaForAllocation()); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.GameStateChanged) +} + +inline void GameStateChanged::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.state_){} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.state_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.state_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +GameStateChanged::~GameStateChanged() { + // @@protoc_insertion_point(destructor:rtech.liveapi.GameStateChanged) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void GameStateChanged::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.state_.Destroy(); +} + +void GameStateChanged::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void GameStateChanged::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.GameStateChanged) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.state_.ClearToEmpty(); + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GameStateChanged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.GameStateChanged.category")); + } else + goto handle_unusual; + continue; + // string state = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_state(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.GameStateChanged.state")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GameStateChanged::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.GameStateChanged) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.GameStateChanged.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // string state = 3; + if (!this->_internal_state().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_state().data(), static_cast(this->_internal_state().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.GameStateChanged.state"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_state(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.GameStateChanged) + return target; +} + +size_t GameStateChanged::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.GameStateChanged) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string state = 3; + if (!this->_internal_state().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_state()); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GameStateChanged::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + GameStateChanged::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GameStateChanged::GetClassData() const { return &_class_data_; } + + +void GameStateChanged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.GameStateChanged) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_state().empty()) { + _this->_internal_set_state(from._internal_state()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GameStateChanged::CopyFrom(const GameStateChanged& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.GameStateChanged) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GameStateChanged::IsInitialized() const { + return true; +} + +void GameStateChanged::InternalSwap(GameStateChanged* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.state_, lhs_arena, + &other->_impl_.state_, rhs_arena + ); + swap(_impl_.timestamp_, other->_impl_.timestamp_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GameStateChanged::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[12]); +} + +// =================================================================== + +class CharacterSelected::_Internal { + public: + static const ::rtech::liveapi::Player& player(const CharacterSelected* msg); +}; + +const ::rtech::liveapi::Player& +CharacterSelected::_Internal::player(const CharacterSelected* msg) { + return *msg->_impl_.player_; +} +CharacterSelected::CharacterSelected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CharacterSelected) +} +CharacterSelected::CharacterSelected(const CharacterSelected& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CharacterSelected* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CharacterSelected) +} + +inline void CharacterSelected::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CharacterSelected::~CharacterSelected() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CharacterSelected) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CharacterSelected::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void CharacterSelected::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CharacterSelected::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CharacterSelected) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CharacterSelected::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CharacterSelected.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CharacterSelected::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CharacterSelected) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CharacterSelected.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CharacterSelected) + return target; +} + +size_t CharacterSelected::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CharacterSelected) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CharacterSelected::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CharacterSelected::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CharacterSelected::GetClassData() const { return &_class_data_; } + + +void CharacterSelected::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CharacterSelected) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CharacterSelected::CopyFrom(const CharacterSelected& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CharacterSelected) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CharacterSelected::IsInitialized() const { + return true; +} + +void CharacterSelected::InternalSwap(CharacterSelected* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CharacterSelected, _impl_.timestamp_) + + sizeof(CharacterSelected::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(CharacterSelected, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CharacterSelected::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[13]); +} + +// =================================================================== + +class MatchStateEnd::_Internal { + public: +}; + +MatchStateEnd::MatchStateEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.MatchStateEnd) +} +MatchStateEnd::MatchStateEnd(const MatchStateEnd& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + MatchStateEnd* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.winners_){from._impl_.winners_} + , decltype(_impl_.category_){} + , decltype(_impl_.state_){} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.state_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.state_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_state().empty()) { + _this->_impl_.state_.Set(from._internal_state(), + _this->GetArenaForAllocation()); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.MatchStateEnd) +} + +inline void MatchStateEnd::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.winners_){arena} + , decltype(_impl_.category_){} + , decltype(_impl_.state_){} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.state_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.state_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +MatchStateEnd::~MatchStateEnd() { + // @@protoc_insertion_point(destructor:rtech.liveapi.MatchStateEnd) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void MatchStateEnd::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.winners_.~RepeatedPtrField(); + _impl_.category_.Destroy(); + _impl_.state_.Destroy(); +} + +void MatchStateEnd::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void MatchStateEnd::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.MatchStateEnd) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.winners_.Clear(); + _impl_.category_.ClearToEmpty(); + _impl_.state_.ClearToEmpty(); + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* MatchStateEnd::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.MatchStateEnd.category")); + } else + goto handle_unusual; + continue; + // string state = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_state(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.MatchStateEnd.state")); + } else + goto handle_unusual; + continue; + // repeated .rtech.liveapi.Player winners = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_winners(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* MatchStateEnd::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.MatchStateEnd) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.MatchStateEnd.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // string state = 3; + if (!this->_internal_state().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_state().data(), static_cast(this->_internal_state().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.MatchStateEnd.state"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_state(), target); + } + + // repeated .rtech.liveapi.Player winners = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_winners_size()); i < n; i++) { + const auto& repfield = this->_internal_winners(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.MatchStateEnd) + return target; +} + +size_t MatchStateEnd::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.MatchStateEnd) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .rtech.liveapi.Player winners = 4; + total_size += 1UL * this->_internal_winners_size(); + for (const auto& msg : this->_impl_.winners_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string state = 3; + if (!this->_internal_state().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_state()); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData MatchStateEnd::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + MatchStateEnd::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*MatchStateEnd::GetClassData() const { return &_class_data_; } + + +void MatchStateEnd::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.MatchStateEnd) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.winners_.MergeFrom(from._impl_.winners_); + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_state().empty()) { + _this->_internal_set_state(from._internal_state()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void MatchStateEnd::CopyFrom(const MatchStateEnd& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.MatchStateEnd) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MatchStateEnd::IsInitialized() const { + return true; +} + +void MatchStateEnd::InternalSwap(MatchStateEnd* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.winners_.InternalSwap(&other->_impl_.winners_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.state_, lhs_arena, + &other->_impl_.state_, rhs_arena + ); + swap(_impl_.timestamp_, other->_impl_.timestamp_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata MatchStateEnd::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[14]); +} + +// =================================================================== + +class RingStartClosing::_Internal { + public: + static const ::rtech::liveapi::Vector3& center(const RingStartClosing* msg); +}; + +const ::rtech::liveapi::Vector3& +RingStartClosing::_Internal::center(const RingStartClosing* msg) { + return *msg->_impl_.center_; +} +RingStartClosing::RingStartClosing(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.RingStartClosing) +} +RingStartClosing::RingStartClosing(const RingStartClosing& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + RingStartClosing* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.center_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.stage_){} + , decltype(_impl_.currentradius_){} + , decltype(_impl_.endradius_){} + , decltype(_impl_.shrinkduration_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_center()) { + _this->_impl_.center_ = new ::rtech::liveapi::Vector3(*from._impl_.center_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.shrinkduration_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.shrinkduration_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.RingStartClosing) +} + +inline void RingStartClosing::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.center_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.stage_){0u} + , decltype(_impl_.currentradius_){0} + , decltype(_impl_.endradius_){0} + , decltype(_impl_.shrinkduration_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +RingStartClosing::~RingStartClosing() { + // @@protoc_insertion_point(destructor:rtech.liveapi.RingStartClosing) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void RingStartClosing::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.center_; +} + +void RingStartClosing::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void RingStartClosing::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.RingStartClosing) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.center_ != nullptr) { + delete _impl_.center_; + } + _impl_.center_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.shrinkduration_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.shrinkduration_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RingStartClosing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.RingStartClosing.category")); + } else + goto handle_unusual; + continue; + // uint32 stage = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _impl_.stage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Vector3 center = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_center(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // float currentRadius = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _impl_.currentradius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // float endRadius = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _impl_.endradius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // float shrinkDuration = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _impl_.shrinkduration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* RingStartClosing::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.RingStartClosing) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.RingStartClosing.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // uint32 stage = 3; + if (this->_internal_stage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_stage(), target); + } + + // .rtech.liveapi.Vector3 center = 4; + if (this->_internal_has_center()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::center(this), + _Internal::center(this).GetCachedSize(), target, stream); + } + + // float currentRadius = 5; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_currentradius = this->_internal_currentradius(); + uint32_t raw_currentradius; + memcpy(&raw_currentradius, &tmp_currentradius, sizeof(tmp_currentradius)); + if (raw_currentradius != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_currentradius(), target); + } + + // float endRadius = 6; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_endradius = this->_internal_endradius(); + uint32_t raw_endradius; + memcpy(&raw_endradius, &tmp_endradius, sizeof(tmp_endradius)); + if (raw_endradius != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_endradius(), target); + } + + // float shrinkDuration = 7; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_shrinkduration = this->_internal_shrinkduration(); + uint32_t raw_shrinkduration; + memcpy(&raw_shrinkduration, &tmp_shrinkduration, sizeof(tmp_shrinkduration)); + if (raw_shrinkduration != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_shrinkduration(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.RingStartClosing) + return target; +} + +size_t RingStartClosing::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.RingStartClosing) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Vector3 center = 4; + if (this->_internal_has_center()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.center_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // uint32 stage = 3; + if (this->_internal_stage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stage()); + } + + // float currentRadius = 5; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_currentradius = this->_internal_currentradius(); + uint32_t raw_currentradius; + memcpy(&raw_currentradius, &tmp_currentradius, sizeof(tmp_currentradius)); + if (raw_currentradius != 0) { + total_size += 1 + 4; + } + + // float endRadius = 6; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_endradius = this->_internal_endradius(); + uint32_t raw_endradius; + memcpy(&raw_endradius, &tmp_endradius, sizeof(tmp_endradius)); + if (raw_endradius != 0) { + total_size += 1 + 4; + } + + // float shrinkDuration = 7; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_shrinkduration = this->_internal_shrinkduration(); + uint32_t raw_shrinkduration; + memcpy(&raw_shrinkduration, &tmp_shrinkduration, sizeof(tmp_shrinkduration)); + if (raw_shrinkduration != 0) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RingStartClosing::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + RingStartClosing::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RingStartClosing::GetClassData() const { return &_class_data_; } + + +void RingStartClosing::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.RingStartClosing) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_center()) { + _this->_internal_mutable_center()->::rtech::liveapi::Vector3::MergeFrom( + from._internal_center()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_stage() != 0) { + _this->_internal_set_stage(from._internal_stage()); + } + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_currentradius = from._internal_currentradius(); + uint32_t raw_currentradius; + memcpy(&raw_currentradius, &tmp_currentradius, sizeof(tmp_currentradius)); + if (raw_currentradius != 0) { + _this->_internal_set_currentradius(from._internal_currentradius()); + } + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_endradius = from._internal_endradius(); + uint32_t raw_endradius; + memcpy(&raw_endradius, &tmp_endradius, sizeof(tmp_endradius)); + if (raw_endradius != 0) { + _this->_internal_set_endradius(from._internal_endradius()); + } + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_shrinkduration = from._internal_shrinkduration(); + uint32_t raw_shrinkduration; + memcpy(&raw_shrinkduration, &tmp_shrinkduration, sizeof(tmp_shrinkduration)); + if (raw_shrinkduration != 0) { + _this->_internal_set_shrinkduration(from._internal_shrinkduration()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RingStartClosing::CopyFrom(const RingStartClosing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.RingStartClosing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RingStartClosing::IsInitialized() const { + return true; +} + +void RingStartClosing::InternalSwap(RingStartClosing* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(RingStartClosing, _impl_.shrinkduration_) + + sizeof(RingStartClosing::_impl_.shrinkduration_) + - PROTOBUF_FIELD_OFFSET(RingStartClosing, _impl_.center_)>( + reinterpret_cast(&_impl_.center_), + reinterpret_cast(&other->_impl_.center_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RingStartClosing::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[15]); +} + +// =================================================================== + +class RingFinishedClosing::_Internal { + public: + static const ::rtech::liveapi::Vector3& center(const RingFinishedClosing* msg); +}; + +const ::rtech::liveapi::Vector3& +RingFinishedClosing::_Internal::center(const RingFinishedClosing* msg) { + return *msg->_impl_.center_; +} +RingFinishedClosing::RingFinishedClosing(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.RingFinishedClosing) +} +RingFinishedClosing::RingFinishedClosing(const RingFinishedClosing& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + RingFinishedClosing* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.center_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.stage_){} + , decltype(_impl_.currentradius_){} + , decltype(_impl_.shrinkduration_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_center()) { + _this->_impl_.center_ = new ::rtech::liveapi::Vector3(*from._impl_.center_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.shrinkduration_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.shrinkduration_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.RingFinishedClosing) +} + +inline void RingFinishedClosing::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.center_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.stage_){0u} + , decltype(_impl_.currentradius_){0} + , decltype(_impl_.shrinkduration_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +RingFinishedClosing::~RingFinishedClosing() { + // @@protoc_insertion_point(destructor:rtech.liveapi.RingFinishedClosing) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void RingFinishedClosing::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.center_; +} + +void RingFinishedClosing::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void RingFinishedClosing::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.RingFinishedClosing) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.center_ != nullptr) { + delete _impl_.center_; + } + _impl_.center_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.shrinkduration_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.shrinkduration_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RingFinishedClosing::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.RingFinishedClosing.category")); + } else + goto handle_unusual; + continue; + // uint32 stage = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _impl_.stage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Vector3 center = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_center(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // float currentRadius = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 45)) { + _impl_.currentradius_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // float shrinkDuration = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 61)) { + _impl_.shrinkduration_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* RingFinishedClosing::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.RingFinishedClosing) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.RingFinishedClosing.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // uint32 stage = 3; + if (this->_internal_stage() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_stage(), target); + } + + // .rtech.liveapi.Vector3 center = 4; + if (this->_internal_has_center()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::center(this), + _Internal::center(this).GetCachedSize(), target, stream); + } + + // float currentRadius = 5; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_currentradius = this->_internal_currentradius(); + uint32_t raw_currentradius; + memcpy(&raw_currentradius, &tmp_currentradius, sizeof(tmp_currentradius)); + if (raw_currentradius != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(5, this->_internal_currentradius(), target); + } + + // float shrinkDuration = 7; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_shrinkduration = this->_internal_shrinkduration(); + uint32_t raw_shrinkduration; + memcpy(&raw_shrinkduration, &tmp_shrinkduration, sizeof(tmp_shrinkduration)); + if (raw_shrinkduration != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(7, this->_internal_shrinkduration(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.RingFinishedClosing) + return target; +} + +size_t RingFinishedClosing::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.RingFinishedClosing) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Vector3 center = 4; + if (this->_internal_has_center()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.center_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // uint32 stage = 3; + if (this->_internal_stage() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_stage()); + } + + // float currentRadius = 5; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_currentradius = this->_internal_currentradius(); + uint32_t raw_currentradius; + memcpy(&raw_currentradius, &tmp_currentradius, sizeof(tmp_currentradius)); + if (raw_currentradius != 0) { + total_size += 1 + 4; + } + + // float shrinkDuration = 7; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_shrinkduration = this->_internal_shrinkduration(); + uint32_t raw_shrinkduration; + memcpy(&raw_shrinkduration, &tmp_shrinkduration, sizeof(tmp_shrinkduration)); + if (raw_shrinkduration != 0) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RingFinishedClosing::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + RingFinishedClosing::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RingFinishedClosing::GetClassData() const { return &_class_data_; } + + +void RingFinishedClosing::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.RingFinishedClosing) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_center()) { + _this->_internal_mutable_center()->::rtech::liveapi::Vector3::MergeFrom( + from._internal_center()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_stage() != 0) { + _this->_internal_set_stage(from._internal_stage()); + } + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_currentradius = from._internal_currentradius(); + uint32_t raw_currentradius; + memcpy(&raw_currentradius, &tmp_currentradius, sizeof(tmp_currentradius)); + if (raw_currentradius != 0) { + _this->_internal_set_currentradius(from._internal_currentradius()); + } + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_shrinkduration = from._internal_shrinkduration(); + uint32_t raw_shrinkduration; + memcpy(&raw_shrinkduration, &tmp_shrinkduration, sizeof(tmp_shrinkduration)); + if (raw_shrinkduration != 0) { + _this->_internal_set_shrinkduration(from._internal_shrinkduration()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RingFinishedClosing::CopyFrom(const RingFinishedClosing& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.RingFinishedClosing) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RingFinishedClosing::IsInitialized() const { + return true; +} + +void RingFinishedClosing::InternalSwap(RingFinishedClosing* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(RingFinishedClosing, _impl_.shrinkduration_) + + sizeof(RingFinishedClosing::_impl_.shrinkduration_) + - PROTOBUF_FIELD_OFFSET(RingFinishedClosing, _impl_.center_)>( + reinterpret_cast(&_impl_.center_), + reinterpret_cast(&other->_impl_.center_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RingFinishedClosing::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[16]); +} + +// =================================================================== + +class PlayerConnected::_Internal { + public: + static const ::rtech::liveapi::Player& player(const PlayerConnected* msg); +}; + +const ::rtech::liveapi::Player& +PlayerConnected::_Internal::player(const PlayerConnected* msg) { + return *msg->_impl_.player_; +} +PlayerConnected::PlayerConnected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerConnected) +} +PlayerConnected::PlayerConnected(const PlayerConnected& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerConnected* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerConnected) +} + +inline void PlayerConnected::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerConnected::~PlayerConnected() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerConnected) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerConnected::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void PlayerConnected::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerConnected::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerConnected) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerConnected::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerConnected.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerConnected::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerConnected) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerConnected.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerConnected) + return target; +} + +size_t PlayerConnected::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerConnected) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerConnected::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerConnected::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerConnected::GetClassData() const { return &_class_data_; } + + +void PlayerConnected::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerConnected) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerConnected::CopyFrom(const PlayerConnected& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerConnected) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerConnected::IsInitialized() const { + return true; +} + +void PlayerConnected::InternalSwap(PlayerConnected* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerConnected, _impl_.timestamp_) + + sizeof(PlayerConnected::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(PlayerConnected, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerConnected::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[17]); +} + +// =================================================================== + +class PlayerDisconnected::_Internal { + public: + static const ::rtech::liveapi::Player& player(const PlayerDisconnected* msg); +}; + +const ::rtech::liveapi::Player& +PlayerDisconnected::_Internal::player(const PlayerDisconnected* msg) { + return *msg->_impl_.player_; +} +PlayerDisconnected::PlayerDisconnected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerDisconnected) +} +PlayerDisconnected::PlayerDisconnected(const PlayerDisconnected& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerDisconnected* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.canreconnect_){} + , decltype(_impl_.isalive_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.isalive_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.isalive_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerDisconnected) +} + +inline void PlayerDisconnected::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.canreconnect_){false} + , decltype(_impl_.isalive_){false} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerDisconnected::~PlayerDisconnected() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerDisconnected) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerDisconnected::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void PlayerDisconnected::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerDisconnected::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerDisconnected) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.isalive_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.isalive_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerDisconnected::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerDisconnected.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool canReconnect = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _impl_.canreconnect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool isAlive = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.isalive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerDisconnected::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerDisconnected) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerDisconnected.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // bool canReconnect = 4; + if (this->_internal_canreconnect() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_canreconnect(), target); + } + + // bool isAlive = 5; + if (this->_internal_isalive() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_isalive(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerDisconnected) + return target; +} + +size_t PlayerDisconnected::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerDisconnected) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // bool canReconnect = 4; + if (this->_internal_canreconnect() != 0) { + total_size += 1 + 1; + } + + // bool isAlive = 5; + if (this->_internal_isalive() != 0) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerDisconnected::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerDisconnected::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerDisconnected::GetClassData() const { return &_class_data_; } + + +void PlayerDisconnected::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerDisconnected) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_canreconnect() != 0) { + _this->_internal_set_canreconnect(from._internal_canreconnect()); + } + if (from._internal_isalive() != 0) { + _this->_internal_set_isalive(from._internal_isalive()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerDisconnected::CopyFrom(const PlayerDisconnected& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerDisconnected) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerDisconnected::IsInitialized() const { + return true; +} + +void PlayerDisconnected::InternalSwap(PlayerDisconnected* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerDisconnected, _impl_.isalive_) + + sizeof(PlayerDisconnected::_impl_.isalive_) + - PROTOBUF_FIELD_OFFSET(PlayerDisconnected, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerDisconnected::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[18]); +} + +// =================================================================== + +class PlayerStatChanged::_Internal { + public: + static const ::rtech::liveapi::Player& player(const PlayerStatChanged* msg); +}; + +const ::rtech::liveapi::Player& +PlayerStatChanged::_Internal::player(const PlayerStatChanged* msg) { + return *msg->_impl_.player_; +} +PlayerStatChanged::PlayerStatChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerStatChanged) +} +PlayerStatChanged::PlayerStatChanged(const PlayerStatChanged& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerStatChanged* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.statname_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.newValue_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.statname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.statname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_statname().empty()) { + _this->_impl_.statname_.Set(from._internal_statname(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + clear_has_newValue(); + switch (from.newValue_case()) { + case kIntValue: { + _this->_internal_set_intvalue(from._internal_intvalue()); + break; + } + case kFloatValue: { + _this->_internal_set_floatvalue(from._internal_floatvalue()); + break; + } + case kBoolValue: { + _this->_internal_set_boolvalue(from._internal_boolvalue()); + break; + } + case NEWVALUE_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerStatChanged) +} + +inline void PlayerStatChanged::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.statname_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.newValue_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.statname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.statname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + clear_has_newValue(); +} + +PlayerStatChanged::~PlayerStatChanged() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerStatChanged) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerStatChanged::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.statname_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; + if (has_newValue()) { + clear_newValue(); + } +} + +void PlayerStatChanged::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerStatChanged::clear_newValue() { +// @@protoc_insertion_point(one_of_clear_start:rtech.liveapi.PlayerStatChanged) + switch (newValue_case()) { + case kIntValue: { + // No need to clear + break; + } + case kFloatValue: { + // No need to clear + break; + } + case kBoolValue: { + // No need to clear + break; + } + case NEWVALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = NEWVALUE_NOT_SET; +} + + +void PlayerStatChanged::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerStatChanged) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.statname_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + clear_newValue(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerStatChanged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerStatChanged.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string statName = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_statname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerStatChanged.statName")); + } else + goto handle_unusual; + continue; + // uint32 intValue = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _internal_set_intvalue(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // float floatValue = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 53)) { + _internal_set_floatvalue(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr)); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + // bool boolValue = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _internal_set_boolvalue(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr)); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerStatChanged::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerStatChanged) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerStatChanged.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string statName = 4; + if (!this->_internal_statname().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_statname().data(), static_cast(this->_internal_statname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerStatChanged.statName"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_statname(), target); + } + + // uint32 intValue = 5; + if (_internal_has_intvalue()) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_intvalue(), target); + } + + // float floatValue = 6; + if (_internal_has_floatvalue()) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(6, this->_internal_floatvalue(), target); + } + + // bool boolValue = 7; + if (_internal_has_boolvalue()) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(7, this->_internal_boolvalue(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerStatChanged) + return target; +} + +size_t PlayerStatChanged::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerStatChanged) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string statName = 4; + if (!this->_internal_statname().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_statname()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + switch (newValue_case()) { + // uint32 intValue = 5; + case kIntValue: { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_intvalue()); + break; + } + // float floatValue = 6; + case kFloatValue: { + total_size += 1 + 4; + break; + } + // bool boolValue = 7; + case kBoolValue: { + total_size += 1 + 1; + break; + } + case NEWVALUE_NOT_SET: { + break; + } + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerStatChanged::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerStatChanged::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerStatChanged::GetClassData() const { return &_class_data_; } + + +void PlayerStatChanged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerStatChanged) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_statname().empty()) { + _this->_internal_set_statname(from._internal_statname()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + switch (from.newValue_case()) { + case kIntValue: { + _this->_internal_set_intvalue(from._internal_intvalue()); + break; + } + case kFloatValue: { + _this->_internal_set_floatvalue(from._internal_floatvalue()); + break; + } + case kBoolValue: { + _this->_internal_set_boolvalue(from._internal_boolvalue()); + break; + } + case NEWVALUE_NOT_SET: { + break; + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerStatChanged::CopyFrom(const PlayerStatChanged& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerStatChanged) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerStatChanged::IsInitialized() const { + return true; +} + +void PlayerStatChanged::InternalSwap(PlayerStatChanged* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.statname_, lhs_arena, + &other->_impl_.statname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerStatChanged, _impl_.timestamp_) + + sizeof(PlayerStatChanged::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(PlayerStatChanged, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); + swap(_impl_.newValue_, other->_impl_.newValue_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerStatChanged::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[19]); +} + +// =================================================================== + +class PlayerUpgradeTierChanged::_Internal { + public: + static const ::rtech::liveapi::Player& player(const PlayerUpgradeTierChanged* msg); +}; + +const ::rtech::liveapi::Player& +PlayerUpgradeTierChanged::_Internal::player(const PlayerUpgradeTierChanged* msg) { + return *msg->_impl_.player_; +} +PlayerUpgradeTierChanged::PlayerUpgradeTierChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerUpgradeTierChanged) +} +PlayerUpgradeTierChanged::PlayerUpgradeTierChanged(const PlayerUpgradeTierChanged& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerUpgradeTierChanged* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.level_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.level_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.level_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerUpgradeTierChanged) +} + +inline void PlayerUpgradeTierChanged::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.level_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerUpgradeTierChanged::~PlayerUpgradeTierChanged() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerUpgradeTierChanged) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerUpgradeTierChanged::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void PlayerUpgradeTierChanged::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerUpgradeTierChanged::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerUpgradeTierChanged) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.level_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.level_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerUpgradeTierChanged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerUpgradeTierChanged.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // int32 level = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerUpgradeTierChanged::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerUpgradeTierChanged) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerUpgradeTierChanged.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // int32 level = 4; + if (this->_internal_level() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_level(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerUpgradeTierChanged) + return target; +} + +size_t PlayerUpgradeTierChanged::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerUpgradeTierChanged) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // int32 level = 4; + if (this->_internal_level() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_level()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerUpgradeTierChanged::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerUpgradeTierChanged::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerUpgradeTierChanged::GetClassData() const { return &_class_data_; } + + +void PlayerUpgradeTierChanged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerUpgradeTierChanged) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_level() != 0) { + _this->_internal_set_level(from._internal_level()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerUpgradeTierChanged::CopyFrom(const PlayerUpgradeTierChanged& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerUpgradeTierChanged) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerUpgradeTierChanged::IsInitialized() const { + return true; +} + +void PlayerUpgradeTierChanged::InternalSwap(PlayerUpgradeTierChanged* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerUpgradeTierChanged, _impl_.level_) + + sizeof(PlayerUpgradeTierChanged::_impl_.level_) + - PROTOBUF_FIELD_OFFSET(PlayerUpgradeTierChanged, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerUpgradeTierChanged::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[20]); +} + +// =================================================================== + +class PlayerDamaged::_Internal { + public: + static const ::rtech::liveapi::Player& attacker(const PlayerDamaged* msg); + static const ::rtech::liveapi::Player& victim(const PlayerDamaged* msg); +}; + +const ::rtech::liveapi::Player& +PlayerDamaged::_Internal::attacker(const PlayerDamaged* msg) { + return *msg->_impl_.attacker_; +} +const ::rtech::liveapi::Player& +PlayerDamaged::_Internal::victim(const PlayerDamaged* msg) { + return *msg->_impl_.victim_; +} +PlayerDamaged::PlayerDamaged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerDamaged) +} +PlayerDamaged::PlayerDamaged(const PlayerDamaged& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerDamaged* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.weapon_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.damageinflicted_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.weapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_weapon().empty()) { + _this->_impl_.weapon_.Set(from._internal_weapon(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_attacker()) { + _this->_impl_.attacker_ = new ::rtech::liveapi::Player(*from._impl_.attacker_); + } + if (from._internal_has_victim()) { + _this->_impl_.victim_ = new ::rtech::liveapi::Player(*from._impl_.victim_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.damageinflicted_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.damageinflicted_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerDamaged) +} + +inline void PlayerDamaged::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.weapon_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.damageinflicted_){0u} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerDamaged::~PlayerDamaged() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerDamaged) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerDamaged::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.weapon_.Destroy(); + if (this != internal_default_instance()) delete _impl_.attacker_; + if (this != internal_default_instance()) delete _impl_.victim_; +} + +void PlayerDamaged::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerDamaged::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerDamaged) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.weapon_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.damageinflicted_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.damageinflicted_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerDamaged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerDamaged.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player attacker = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_attacker(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player victim = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_victim(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string weapon = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_weapon(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerDamaged.weapon")); + } else + goto handle_unusual; + continue; + // uint32 damageInflicted = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _impl_.damageinflicted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerDamaged::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerDamaged) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerDamaged.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::attacker(this), + _Internal::attacker(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::victim(this), + _Internal::victim(this).GetCachedSize(), target, stream); + } + + // string weapon = 5; + if (!this->_internal_weapon().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_weapon().data(), static_cast(this->_internal_weapon().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerDamaged.weapon"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_weapon(), target); + } + + // uint32 damageInflicted = 6; + if (this->_internal_damageinflicted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_damageinflicted(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerDamaged) + return target; +} + +size_t PlayerDamaged::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerDamaged) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string weapon = 5; + if (!this->_internal_weapon().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_weapon()); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.attacker_); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.victim_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // uint32 damageInflicted = 6; + if (this->_internal_damageinflicted() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_damageinflicted()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerDamaged::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerDamaged::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerDamaged::GetClassData() const { return &_class_data_; } + + +void PlayerDamaged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerDamaged) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_weapon().empty()) { + _this->_internal_set_weapon(from._internal_weapon()); + } + if (from._internal_has_attacker()) { + _this->_internal_mutable_attacker()->::rtech::liveapi::Player::MergeFrom( + from._internal_attacker()); + } + if (from._internal_has_victim()) { + _this->_internal_mutable_victim()->::rtech::liveapi::Player::MergeFrom( + from._internal_victim()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_damageinflicted() != 0) { + _this->_internal_set_damageinflicted(from._internal_damageinflicted()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerDamaged::CopyFrom(const PlayerDamaged& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerDamaged) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerDamaged::IsInitialized() const { + return true; +} + +void PlayerDamaged::InternalSwap(PlayerDamaged* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.weapon_, lhs_arena, + &other->_impl_.weapon_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerDamaged, _impl_.damageinflicted_) + + sizeof(PlayerDamaged::_impl_.damageinflicted_) + - PROTOBUF_FIELD_OFFSET(PlayerDamaged, _impl_.attacker_)>( + reinterpret_cast(&_impl_.attacker_), + reinterpret_cast(&other->_impl_.attacker_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerDamaged::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[21]); +} + +// =================================================================== + +class PlayerKilled::_Internal { + public: + static const ::rtech::liveapi::Player& attacker(const PlayerKilled* msg); + static const ::rtech::liveapi::Player& victim(const PlayerKilled* msg); +}; + +const ::rtech::liveapi::Player& +PlayerKilled::_Internal::attacker(const PlayerKilled* msg) { + return *msg->_impl_.attacker_; +} +const ::rtech::liveapi::Player& +PlayerKilled::_Internal::victim(const PlayerKilled* msg) { + return *msg->_impl_.victim_; +} +PlayerKilled::PlayerKilled(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerKilled) +} +PlayerKilled::PlayerKilled(const PlayerKilled& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerKilled* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.weapon_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.weapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_weapon().empty()) { + _this->_impl_.weapon_.Set(from._internal_weapon(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_attacker()) { + _this->_impl_.attacker_ = new ::rtech::liveapi::Player(*from._impl_.attacker_); + } + if (from._internal_has_victim()) { + _this->_impl_.victim_ = new ::rtech::liveapi::Player(*from._impl_.victim_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerKilled) +} + +inline void PlayerKilled::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.weapon_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerKilled::~PlayerKilled() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerKilled) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerKilled::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.weapon_.Destroy(); + if (this != internal_default_instance()) delete _impl_.attacker_; + if (this != internal_default_instance()) delete _impl_.victim_; +} + +void PlayerKilled::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerKilled::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerKilled) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.weapon_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerKilled::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerKilled.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player attacker = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_attacker(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player victim = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_victim(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string weapon = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_weapon(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerKilled.weapon")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerKilled::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerKilled) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerKilled.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::attacker(this), + _Internal::attacker(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::victim(this), + _Internal::victim(this).GetCachedSize(), target, stream); + } + + // string weapon = 6; + if (!this->_internal_weapon().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_weapon().data(), static_cast(this->_internal_weapon().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerKilled.weapon"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_weapon(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerKilled) + return target; +} + +size_t PlayerKilled::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerKilled) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string weapon = 6; + if (!this->_internal_weapon().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_weapon()); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.attacker_); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.victim_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerKilled::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerKilled::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerKilled::GetClassData() const { return &_class_data_; } + + +void PlayerKilled::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerKilled) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_weapon().empty()) { + _this->_internal_set_weapon(from._internal_weapon()); + } + if (from._internal_has_attacker()) { + _this->_internal_mutable_attacker()->::rtech::liveapi::Player::MergeFrom( + from._internal_attacker()); + } + if (from._internal_has_victim()) { + _this->_internal_mutable_victim()->::rtech::liveapi::Player::MergeFrom( + from._internal_victim()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerKilled::CopyFrom(const PlayerKilled& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerKilled) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerKilled::IsInitialized() const { + return true; +} + +void PlayerKilled::InternalSwap(PlayerKilled* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.weapon_, lhs_arena, + &other->_impl_.weapon_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerKilled, _impl_.timestamp_) + + sizeof(PlayerKilled::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(PlayerKilled, _impl_.attacker_)>( + reinterpret_cast(&_impl_.attacker_), + reinterpret_cast(&other->_impl_.attacker_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerKilled::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[22]); +} + +// =================================================================== + +class PlayerDowned::_Internal { + public: + static const ::rtech::liveapi::Player& attacker(const PlayerDowned* msg); + static const ::rtech::liveapi::Player& victim(const PlayerDowned* msg); +}; + +const ::rtech::liveapi::Player& +PlayerDowned::_Internal::attacker(const PlayerDowned* msg) { + return *msg->_impl_.attacker_; +} +const ::rtech::liveapi::Player& +PlayerDowned::_Internal::victim(const PlayerDowned* msg) { + return *msg->_impl_.victim_; +} +PlayerDowned::PlayerDowned(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerDowned) +} +PlayerDowned::PlayerDowned(const PlayerDowned& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerDowned* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.weapon_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.weapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_weapon().empty()) { + _this->_impl_.weapon_.Set(from._internal_weapon(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_attacker()) { + _this->_impl_.attacker_ = new ::rtech::liveapi::Player(*from._impl_.attacker_); + } + if (from._internal_has_victim()) { + _this->_impl_.victim_ = new ::rtech::liveapi::Player(*from._impl_.victim_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerDowned) +} + +inline void PlayerDowned::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.weapon_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerDowned::~PlayerDowned() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerDowned) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerDowned::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.weapon_.Destroy(); + if (this != internal_default_instance()) delete _impl_.attacker_; + if (this != internal_default_instance()) delete _impl_.victim_; +} + +void PlayerDowned::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerDowned::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerDowned) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.weapon_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerDowned::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerDowned.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player attacker = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_attacker(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player victim = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_victim(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string weapon = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_weapon(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerDowned.weapon")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerDowned::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerDowned) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerDowned.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::attacker(this), + _Internal::attacker(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::victim(this), + _Internal::victim(this).GetCachedSize(), target, stream); + } + + // string weapon = 5; + if (!this->_internal_weapon().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_weapon().data(), static_cast(this->_internal_weapon().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerDowned.weapon"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_weapon(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerDowned) + return target; +} + +size_t PlayerDowned::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerDowned) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string weapon = 5; + if (!this->_internal_weapon().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_weapon()); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.attacker_); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.victim_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerDowned::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerDowned::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerDowned::GetClassData() const { return &_class_data_; } + + +void PlayerDowned::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerDowned) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_weapon().empty()) { + _this->_internal_set_weapon(from._internal_weapon()); + } + if (from._internal_has_attacker()) { + _this->_internal_mutable_attacker()->::rtech::liveapi::Player::MergeFrom( + from._internal_attacker()); + } + if (from._internal_has_victim()) { + _this->_internal_mutable_victim()->::rtech::liveapi::Player::MergeFrom( + from._internal_victim()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerDowned::CopyFrom(const PlayerDowned& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerDowned) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerDowned::IsInitialized() const { + return true; +} + +void PlayerDowned::InternalSwap(PlayerDowned* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.weapon_, lhs_arena, + &other->_impl_.weapon_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerDowned, _impl_.timestamp_) + + sizeof(PlayerDowned::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(PlayerDowned, _impl_.attacker_)>( + reinterpret_cast(&_impl_.attacker_), + reinterpret_cast(&other->_impl_.attacker_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerDowned::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[23]); +} + +// =================================================================== + +class PlayerAssist::_Internal { + public: + static const ::rtech::liveapi::Player& assistant(const PlayerAssist* msg); + static const ::rtech::liveapi::Player& victim(const PlayerAssist* msg); +}; + +const ::rtech::liveapi::Player& +PlayerAssist::_Internal::assistant(const PlayerAssist* msg) { + return *msg->_impl_.assistant_; +} +const ::rtech::liveapi::Player& +PlayerAssist::_Internal::victim(const PlayerAssist* msg) { + return *msg->_impl_.victim_; +} +PlayerAssist::PlayerAssist(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerAssist) +} +PlayerAssist::PlayerAssist(const PlayerAssist& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerAssist* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.weapon_){} + , decltype(_impl_.assistant_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.weapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_weapon().empty()) { + _this->_impl_.weapon_.Set(from._internal_weapon(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_assistant()) { + _this->_impl_.assistant_ = new ::rtech::liveapi::Player(*from._impl_.assistant_); + } + if (from._internal_has_victim()) { + _this->_impl_.victim_ = new ::rtech::liveapi::Player(*from._impl_.victim_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerAssist) +} + +inline void PlayerAssist::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.weapon_){} + , decltype(_impl_.assistant_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.weapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerAssist::~PlayerAssist() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerAssist) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerAssist::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.weapon_.Destroy(); + if (this != internal_default_instance()) delete _impl_.assistant_; + if (this != internal_default_instance()) delete _impl_.victim_; +} + +void PlayerAssist::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerAssist::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerAssist) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.weapon_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.assistant_ != nullptr) { + delete _impl_.assistant_; + } + _impl_.assistant_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerAssist::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerAssist.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player assistant = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_assistant(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player victim = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_victim(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string weapon = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_weapon(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerAssist.weapon")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerAssist::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerAssist) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerAssist.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player assistant = 3; + if (this->_internal_has_assistant()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::assistant(this), + _Internal::assistant(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::victim(this), + _Internal::victim(this).GetCachedSize(), target, stream); + } + + // string weapon = 5; + if (!this->_internal_weapon().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_weapon().data(), static_cast(this->_internal_weapon().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerAssist.weapon"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_weapon(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerAssist) + return target; +} + +size_t PlayerAssist::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerAssist) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string weapon = 5; + if (!this->_internal_weapon().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_weapon()); + } + + // .rtech.liveapi.Player assistant = 3; + if (this->_internal_has_assistant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.assistant_); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.victim_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerAssist::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerAssist::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerAssist::GetClassData() const { return &_class_data_; } + + +void PlayerAssist::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerAssist) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_weapon().empty()) { + _this->_internal_set_weapon(from._internal_weapon()); + } + if (from._internal_has_assistant()) { + _this->_internal_mutable_assistant()->::rtech::liveapi::Player::MergeFrom( + from._internal_assistant()); + } + if (from._internal_has_victim()) { + _this->_internal_mutable_victim()->::rtech::liveapi::Player::MergeFrom( + from._internal_victim()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerAssist::CopyFrom(const PlayerAssist& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerAssist) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerAssist::IsInitialized() const { + return true; +} + +void PlayerAssist::InternalSwap(PlayerAssist* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.weapon_, lhs_arena, + &other->_impl_.weapon_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerAssist, _impl_.timestamp_) + + sizeof(PlayerAssist::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(PlayerAssist, _impl_.assistant_)>( + reinterpret_cast(&_impl_.assistant_), + reinterpret_cast(&other->_impl_.assistant_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerAssist::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[24]); +} + +// =================================================================== + +class SquadEliminated::_Internal { + public: +}; + +SquadEliminated::SquadEliminated(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.SquadEliminated) +} +SquadEliminated::SquadEliminated(const SquadEliminated& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + SquadEliminated* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.players_){from._impl_.players_} + , decltype(_impl_.category_){} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.SquadEliminated) +} + +inline void SquadEliminated::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.players_){arena} + , decltype(_impl_.category_){} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +SquadEliminated::~SquadEliminated() { + // @@protoc_insertion_point(destructor:rtech.liveapi.SquadEliminated) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SquadEliminated::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.players_.~RepeatedPtrField(); + _impl_.category_.Destroy(); +} + +void SquadEliminated::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SquadEliminated::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.SquadEliminated) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.players_.Clear(); + _impl_.category_.ClearToEmpty(); + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* SquadEliminated::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.SquadEliminated.category")); + } else + goto handle_unusual; + continue; + // repeated .rtech.liveapi.Player players = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_players(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* SquadEliminated::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.SquadEliminated) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.SquadEliminated.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // repeated .rtech.liveapi.Player players = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_players_size()); i < n; i++) { + const auto& repfield = this->_internal_players(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.SquadEliminated) + return target; +} + +size_t SquadEliminated::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.SquadEliminated) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .rtech.liveapi.Player players = 3; + total_size += 1UL * this->_internal_players_size(); + for (const auto& msg : this->_impl_.players_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SquadEliminated::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SquadEliminated::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SquadEliminated::GetClassData() const { return &_class_data_; } + + +void SquadEliminated::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.SquadEliminated) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.players_.MergeFrom(from._impl_.players_); + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void SquadEliminated::CopyFrom(const SquadEliminated& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.SquadEliminated) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SquadEliminated::IsInitialized() const { + return true; +} + +void SquadEliminated::InternalSwap(SquadEliminated* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.players_.InternalSwap(&other->_impl_.players_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + swap(_impl_.timestamp_, other->_impl_.timestamp_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata SquadEliminated::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[25]); +} + +// =================================================================== + +class GibraltarShieldAbsorbed::_Internal { + public: + static const ::rtech::liveapi::Player& attacker(const GibraltarShieldAbsorbed* msg); + static const ::rtech::liveapi::Player& victim(const GibraltarShieldAbsorbed* msg); +}; + +const ::rtech::liveapi::Player& +GibraltarShieldAbsorbed::_Internal::attacker(const GibraltarShieldAbsorbed* msg) { + return *msg->_impl_.attacker_; +} +const ::rtech::liveapi::Player& +GibraltarShieldAbsorbed::_Internal::victim(const GibraltarShieldAbsorbed* msg) { + return *msg->_impl_.victim_; +} +GibraltarShieldAbsorbed::GibraltarShieldAbsorbed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.GibraltarShieldAbsorbed) +} +GibraltarShieldAbsorbed::GibraltarShieldAbsorbed(const GibraltarShieldAbsorbed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + GibraltarShieldAbsorbed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.damageinflicted_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_attacker()) { + _this->_impl_.attacker_ = new ::rtech::liveapi::Player(*from._impl_.attacker_); + } + if (from._internal_has_victim()) { + _this->_impl_.victim_ = new ::rtech::liveapi::Player(*from._impl_.victim_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.damageinflicted_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.damageinflicted_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.GibraltarShieldAbsorbed) +} + +inline void GibraltarShieldAbsorbed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.damageinflicted_){0u} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +GibraltarShieldAbsorbed::~GibraltarShieldAbsorbed() { + // @@protoc_insertion_point(destructor:rtech.liveapi.GibraltarShieldAbsorbed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void GibraltarShieldAbsorbed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.attacker_; + if (this != internal_default_instance()) delete _impl_.victim_; +} + +void GibraltarShieldAbsorbed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void GibraltarShieldAbsorbed::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.GibraltarShieldAbsorbed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.damageinflicted_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.damageinflicted_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GibraltarShieldAbsorbed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.GibraltarShieldAbsorbed.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player attacker = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_attacker(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player victim = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_victim(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 damageInflicted = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _impl_.damageinflicted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GibraltarShieldAbsorbed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.GibraltarShieldAbsorbed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.GibraltarShieldAbsorbed.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::attacker(this), + _Internal::attacker(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::victim(this), + _Internal::victim(this).GetCachedSize(), target, stream); + } + + // uint32 damageInflicted = 6; + if (this->_internal_damageinflicted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_damageinflicted(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.GibraltarShieldAbsorbed) + return target; +} + +size_t GibraltarShieldAbsorbed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.GibraltarShieldAbsorbed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.attacker_); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.victim_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // uint32 damageInflicted = 6; + if (this->_internal_damageinflicted() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_damageinflicted()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GibraltarShieldAbsorbed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + GibraltarShieldAbsorbed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GibraltarShieldAbsorbed::GetClassData() const { return &_class_data_; } + + +void GibraltarShieldAbsorbed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.GibraltarShieldAbsorbed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_attacker()) { + _this->_internal_mutable_attacker()->::rtech::liveapi::Player::MergeFrom( + from._internal_attacker()); + } + if (from._internal_has_victim()) { + _this->_internal_mutable_victim()->::rtech::liveapi::Player::MergeFrom( + from._internal_victim()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_damageinflicted() != 0) { + _this->_internal_set_damageinflicted(from._internal_damageinflicted()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GibraltarShieldAbsorbed::CopyFrom(const GibraltarShieldAbsorbed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.GibraltarShieldAbsorbed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GibraltarShieldAbsorbed::IsInitialized() const { + return true; +} + +void GibraltarShieldAbsorbed::InternalSwap(GibraltarShieldAbsorbed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GibraltarShieldAbsorbed, _impl_.damageinflicted_) + + sizeof(GibraltarShieldAbsorbed::_impl_.damageinflicted_) + - PROTOBUF_FIELD_OFFSET(GibraltarShieldAbsorbed, _impl_.attacker_)>( + reinterpret_cast(&_impl_.attacker_), + reinterpret_cast(&other->_impl_.attacker_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GibraltarShieldAbsorbed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[26]); +} + +// =================================================================== + +class RevenantForgedShadowDamaged::_Internal { + public: + static const ::rtech::liveapi::Player& attacker(const RevenantForgedShadowDamaged* msg); + static const ::rtech::liveapi::Player& victim(const RevenantForgedShadowDamaged* msg); +}; + +const ::rtech::liveapi::Player& +RevenantForgedShadowDamaged::_Internal::attacker(const RevenantForgedShadowDamaged* msg) { + return *msg->_impl_.attacker_; +} +const ::rtech::liveapi::Player& +RevenantForgedShadowDamaged::_Internal::victim(const RevenantForgedShadowDamaged* msg) { + return *msg->_impl_.victim_; +} +RevenantForgedShadowDamaged::RevenantForgedShadowDamaged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.RevenantForgedShadowDamaged) +} +RevenantForgedShadowDamaged::RevenantForgedShadowDamaged(const RevenantForgedShadowDamaged& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + RevenantForgedShadowDamaged* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.damageinflicted_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_attacker()) { + _this->_impl_.attacker_ = new ::rtech::liveapi::Player(*from._impl_.attacker_); + } + if (from._internal_has_victim()) { + _this->_impl_.victim_ = new ::rtech::liveapi::Player(*from._impl_.victim_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.damageinflicted_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.damageinflicted_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.RevenantForgedShadowDamaged) +} + +inline void RevenantForgedShadowDamaged::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.attacker_){nullptr} + , decltype(_impl_.victim_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.damageinflicted_){0u} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +RevenantForgedShadowDamaged::~RevenantForgedShadowDamaged() { + // @@protoc_insertion_point(destructor:rtech.liveapi.RevenantForgedShadowDamaged) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void RevenantForgedShadowDamaged::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.attacker_; + if (this != internal_default_instance()) delete _impl_.victim_; +} + +void RevenantForgedShadowDamaged::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void RevenantForgedShadowDamaged::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.RevenantForgedShadowDamaged) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.damageinflicted_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.damageinflicted_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RevenantForgedShadowDamaged::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.RevenantForgedShadowDamaged.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player attacker = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_attacker(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player victim = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_victim(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 damageInflicted = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _impl_.damageinflicted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* RevenantForgedShadowDamaged::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.RevenantForgedShadowDamaged) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.RevenantForgedShadowDamaged.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::attacker(this), + _Internal::attacker(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::victim(this), + _Internal::victim(this).GetCachedSize(), target, stream); + } + + // uint32 damageInflicted = 6; + if (this->_internal_damageinflicted() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_damageinflicted(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.RevenantForgedShadowDamaged) + return target; +} + +size_t RevenantForgedShadowDamaged::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.RevenantForgedShadowDamaged) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player attacker = 3; + if (this->_internal_has_attacker()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.attacker_); + } + + // .rtech.liveapi.Player victim = 4; + if (this->_internal_has_victim()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.victim_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // uint32 damageInflicted = 6; + if (this->_internal_damageinflicted() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_damageinflicted()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RevenantForgedShadowDamaged::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + RevenantForgedShadowDamaged::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RevenantForgedShadowDamaged::GetClassData() const { return &_class_data_; } + + +void RevenantForgedShadowDamaged::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.RevenantForgedShadowDamaged) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_attacker()) { + _this->_internal_mutable_attacker()->::rtech::liveapi::Player::MergeFrom( + from._internal_attacker()); + } + if (from._internal_has_victim()) { + _this->_internal_mutable_victim()->::rtech::liveapi::Player::MergeFrom( + from._internal_victim()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_damageinflicted() != 0) { + _this->_internal_set_damageinflicted(from._internal_damageinflicted()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RevenantForgedShadowDamaged::CopyFrom(const RevenantForgedShadowDamaged& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.RevenantForgedShadowDamaged) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RevenantForgedShadowDamaged::IsInitialized() const { + return true; +} + +void RevenantForgedShadowDamaged::InternalSwap(RevenantForgedShadowDamaged* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(RevenantForgedShadowDamaged, _impl_.damageinflicted_) + + sizeof(RevenantForgedShadowDamaged::_impl_.damageinflicted_) + - PROTOBUF_FIELD_OFFSET(RevenantForgedShadowDamaged, _impl_.attacker_)>( + reinterpret_cast(&_impl_.attacker_), + reinterpret_cast(&other->_impl_.attacker_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RevenantForgedShadowDamaged::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[27]); +} + +// =================================================================== + +class PlayerRespawnTeam::_Internal { + public: + static const ::rtech::liveapi::Player& player(const PlayerRespawnTeam* msg); +}; + +const ::rtech::liveapi::Player& +PlayerRespawnTeam::_Internal::player(const PlayerRespawnTeam* msg) { + return *msg->_impl_.player_; +} +PlayerRespawnTeam::PlayerRespawnTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerRespawnTeam) +} +PlayerRespawnTeam::PlayerRespawnTeam(const PlayerRespawnTeam& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerRespawnTeam* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.respawned_){from._impl_.respawned_} + , decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerRespawnTeam) +} + +inline void PlayerRespawnTeam::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.respawned_){arena} + , decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerRespawnTeam::~PlayerRespawnTeam() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerRespawnTeam) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerRespawnTeam::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.respawned_.~RepeatedPtrField(); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void PlayerRespawnTeam::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerRespawnTeam::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerRespawnTeam) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.respawned_.Clear(); + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerRespawnTeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerRespawnTeam.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .rtech.liveapi.Player respawned = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_respawned(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerRespawnTeam::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerRespawnTeam) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerRespawnTeam.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // repeated .rtech.liveapi.Player respawned = 4; + for (unsigned i = 0, + n = static_cast(this->_internal_respawned_size()); i < n; i++) { + const auto& repfield = this->_internal_respawned(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerRespawnTeam) + return target; +} + +size_t PlayerRespawnTeam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerRespawnTeam) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .rtech.liveapi.Player respawned = 4; + total_size += 1UL * this->_internal_respawned_size(); + for (const auto& msg : this->_impl_.respawned_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerRespawnTeam::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerRespawnTeam::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerRespawnTeam::GetClassData() const { return &_class_data_; } + + +void PlayerRespawnTeam::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerRespawnTeam) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.respawned_.MergeFrom(from._impl_.respawned_); + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerRespawnTeam::CopyFrom(const PlayerRespawnTeam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerRespawnTeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerRespawnTeam::IsInitialized() const { + return true; +} + +void PlayerRespawnTeam::InternalSwap(PlayerRespawnTeam* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.respawned_.InternalSwap(&other->_impl_.respawned_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerRespawnTeam, _impl_.timestamp_) + + sizeof(PlayerRespawnTeam::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(PlayerRespawnTeam, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerRespawnTeam::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[28]); +} + +// =================================================================== + +class PlayerRevive::_Internal { + public: + static const ::rtech::liveapi::Player& player(const PlayerRevive* msg); + static const ::rtech::liveapi::Player& revived(const PlayerRevive* msg); +}; + +const ::rtech::liveapi::Player& +PlayerRevive::_Internal::player(const PlayerRevive* msg) { + return *msg->_impl_.player_; +} +const ::rtech::liveapi::Player& +PlayerRevive::_Internal::revived(const PlayerRevive* msg) { + return *msg->_impl_.revived_; +} +PlayerRevive::PlayerRevive(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerRevive) +} +PlayerRevive::PlayerRevive(const PlayerRevive& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerRevive* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.revived_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + if (from._internal_has_revived()) { + _this->_impl_.revived_ = new ::rtech::liveapi::Player(*from._impl_.revived_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerRevive) +} + +inline void PlayerRevive::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.revived_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerRevive::~PlayerRevive() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerRevive) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerRevive::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; + if (this != internal_default_instance()) delete _impl_.revived_; +} + +void PlayerRevive::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerRevive::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerRevive) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.revived_ != nullptr) { + delete _impl_.revived_; + } + _impl_.revived_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerRevive::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerRevive.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player revived = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_revived(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerRevive::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerRevive) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerRevive.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player revived = 4; + if (this->_internal_has_revived()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::revived(this), + _Internal::revived(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerRevive) + return target; +} + +size_t PlayerRevive::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerRevive) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // .rtech.liveapi.Player revived = 4; + if (this->_internal_has_revived()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.revived_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerRevive::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerRevive::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerRevive::GetClassData() const { return &_class_data_; } + + +void PlayerRevive::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerRevive) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_has_revived()) { + _this->_internal_mutable_revived()->::rtech::liveapi::Player::MergeFrom( + from._internal_revived()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerRevive::CopyFrom(const PlayerRevive& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerRevive) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerRevive::IsInitialized() const { + return true; +} + +void PlayerRevive::InternalSwap(PlayerRevive* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerRevive, _impl_.timestamp_) + + sizeof(PlayerRevive::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(PlayerRevive, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerRevive::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[29]); +} + +// =================================================================== + +class ArenasItemSelected::_Internal { + public: + static const ::rtech::liveapi::Player& player(const ArenasItemSelected* msg); +}; + +const ::rtech::liveapi::Player& +ArenasItemSelected::_Internal::player(const ArenasItemSelected* msg) { + return *msg->_impl_.player_; +} +ArenasItemSelected::ArenasItemSelected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.ArenasItemSelected) +} +ArenasItemSelected::ArenasItemSelected(const ArenasItemSelected& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ArenasItemSelected* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.quantity_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_item().empty()) { + _this->_impl_.item_.Set(from._internal_item(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.ArenasItemSelected) +} + +inline void ArenasItemSelected::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.quantity_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ArenasItemSelected::~ArenasItemSelected() { + // @@protoc_insertion_point(destructor:rtech.liveapi.ArenasItemSelected) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ArenasItemSelected::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.item_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void ArenasItemSelected::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ArenasItemSelected::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.ArenasItemSelected) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.item_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ArenasItemSelected::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ArenasItemSelected.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string item = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_item(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ArenasItemSelected.item")); + } else + goto handle_unusual; + continue; + // int32 quantity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ArenasItemSelected::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.ArenasItemSelected) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ArenasItemSelected.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_item().data(), static_cast(this->_internal_item().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ArenasItemSelected.item"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_item(), target); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_quantity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.ArenasItemSelected) + return target; +} + +size_t ArenasItemSelected::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.ArenasItemSelected) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quantity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArenasItemSelected::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ArenasItemSelected::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArenasItemSelected::GetClassData() const { return &_class_data_; } + + +void ArenasItemSelected::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.ArenasItemSelected) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_item().empty()) { + _this->_internal_set_item(from._internal_item()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_quantity() != 0) { + _this->_internal_set_quantity(from._internal_quantity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ArenasItemSelected::CopyFrom(const ArenasItemSelected& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.ArenasItemSelected) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArenasItemSelected::IsInitialized() const { + return true; +} + +void ArenasItemSelected::InternalSwap(ArenasItemSelected* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_, lhs_arena, + &other->_impl_.item_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ArenasItemSelected, _impl_.quantity_) + + sizeof(ArenasItemSelected::_impl_.quantity_) + - PROTOBUF_FIELD_OFFSET(ArenasItemSelected, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ArenasItemSelected::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[30]); +} + +// =================================================================== + +class ArenasItemDeselected::_Internal { + public: + static const ::rtech::liveapi::Player& player(const ArenasItemDeselected* msg); +}; + +const ::rtech::liveapi::Player& +ArenasItemDeselected::_Internal::player(const ArenasItemDeselected* msg) { + return *msg->_impl_.player_; +} +ArenasItemDeselected::ArenasItemDeselected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.ArenasItemDeselected) +} +ArenasItemDeselected::ArenasItemDeselected(const ArenasItemDeselected& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ArenasItemDeselected* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.quantity_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_item().empty()) { + _this->_impl_.item_.Set(from._internal_item(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.ArenasItemDeselected) +} + +inline void ArenasItemDeselected::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.quantity_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ArenasItemDeselected::~ArenasItemDeselected() { + // @@protoc_insertion_point(destructor:rtech.liveapi.ArenasItemDeselected) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ArenasItemDeselected::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.item_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void ArenasItemDeselected::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ArenasItemDeselected::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.ArenasItemDeselected) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.item_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ArenasItemDeselected::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ArenasItemDeselected.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string item = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_item(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ArenasItemDeselected.item")); + } else + goto handle_unusual; + continue; + // int32 quantity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ArenasItemDeselected::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.ArenasItemDeselected) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ArenasItemDeselected.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_item().data(), static_cast(this->_internal_item().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ArenasItemDeselected.item"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_item(), target); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_quantity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.ArenasItemDeselected) + return target; +} + +size_t ArenasItemDeselected::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.ArenasItemDeselected) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quantity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArenasItemDeselected::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ArenasItemDeselected::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArenasItemDeselected::GetClassData() const { return &_class_data_; } + + +void ArenasItemDeselected::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.ArenasItemDeselected) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_item().empty()) { + _this->_internal_set_item(from._internal_item()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_quantity() != 0) { + _this->_internal_set_quantity(from._internal_quantity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ArenasItemDeselected::CopyFrom(const ArenasItemDeselected& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.ArenasItemDeselected) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ArenasItemDeselected::IsInitialized() const { + return true; +} + +void ArenasItemDeselected::InternalSwap(ArenasItemDeselected* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_, lhs_arena, + &other->_impl_.item_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ArenasItemDeselected, _impl_.quantity_) + + sizeof(ArenasItemDeselected::_impl_.quantity_) + - PROTOBUF_FIELD_OFFSET(ArenasItemDeselected, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ArenasItemDeselected::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[31]); +} + +// =================================================================== + +class InventoryPickUp::_Internal { + public: + static const ::rtech::liveapi::Player& player(const InventoryPickUp* msg); +}; + +const ::rtech::liveapi::Player& +InventoryPickUp::_Internal::player(const InventoryPickUp* msg) { + return *msg->_impl_.player_; +} +InventoryPickUp::InventoryPickUp(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.InventoryPickUp) +} +InventoryPickUp::InventoryPickUp(const InventoryPickUp& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + InventoryPickUp* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.quantity_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_item().empty()) { + _this->_impl_.item_.Set(from._internal_item(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.InventoryPickUp) +} + +inline void InventoryPickUp::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.quantity_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +InventoryPickUp::~InventoryPickUp() { + // @@protoc_insertion_point(destructor:rtech.liveapi.InventoryPickUp) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void InventoryPickUp::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.item_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void InventoryPickUp::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void InventoryPickUp::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.InventoryPickUp) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.item_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* InventoryPickUp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryPickUp.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string item = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_item(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryPickUp.item")); + } else + goto handle_unusual; + continue; + // int32 quantity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* InventoryPickUp::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.InventoryPickUp) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryPickUp.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_item().data(), static_cast(this->_internal_item().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryPickUp.item"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_item(), target); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_quantity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.InventoryPickUp) + return target; +} + +size_t InventoryPickUp::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.InventoryPickUp) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quantity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InventoryPickUp::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + InventoryPickUp::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InventoryPickUp::GetClassData() const { return &_class_data_; } + + +void InventoryPickUp::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.InventoryPickUp) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_item().empty()) { + _this->_internal_set_item(from._internal_item()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_quantity() != 0) { + _this->_internal_set_quantity(from._internal_quantity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void InventoryPickUp::CopyFrom(const InventoryPickUp& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.InventoryPickUp) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool InventoryPickUp::IsInitialized() const { + return true; +} + +void InventoryPickUp::InternalSwap(InventoryPickUp* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_, lhs_arena, + &other->_impl_.item_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(InventoryPickUp, _impl_.quantity_) + + sizeof(InventoryPickUp::_impl_.quantity_) + - PROTOBUF_FIELD_OFFSET(InventoryPickUp, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata InventoryPickUp::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[32]); +} + +// =================================================================== + +class InventoryDrop::_Internal { + public: + static const ::rtech::liveapi::Player& player(const InventoryDrop* msg); +}; + +const ::rtech::liveapi::Player& +InventoryDrop::_Internal::player(const InventoryDrop* msg) { + return *msg->_impl_.player_; +} +InventoryDrop::InventoryDrop(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.InventoryDrop) +} +InventoryDrop::InventoryDrop(const InventoryDrop& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + InventoryDrop* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.extradata_){from._impl_.extradata_} + , decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.quantity_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_item().empty()) { + _this->_impl_.item_.Set(from._internal_item(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.InventoryDrop) +} + +inline void InventoryDrop::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.extradata_){arena} + , decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.quantity_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +InventoryDrop::~InventoryDrop() { + // @@protoc_insertion_point(destructor:rtech.liveapi.InventoryDrop) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void InventoryDrop::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.extradata_.~RepeatedPtrField(); + _impl_.category_.Destroy(); + _impl_.item_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void InventoryDrop::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void InventoryDrop::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.InventoryDrop) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.extradata_.Clear(); + _impl_.category_.ClearToEmpty(); + _impl_.item_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* InventoryDrop::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryDrop.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string item = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_item(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryDrop.item")); + } else + goto handle_unusual; + continue; + // int32 quantity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated string extraData = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_extradata(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryDrop.extraData")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* InventoryDrop::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.InventoryDrop) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryDrop.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_item().data(), static_cast(this->_internal_item().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryDrop.item"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_item(), target); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_quantity(), target); + } + + // repeated string extraData = 6; + for (int i = 0, n = this->_internal_extradata_size(); i < n; i++) { + const auto& s = this->_internal_extradata(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryDrop.extraData"); + target = stream->WriteString(6, s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.InventoryDrop) + return target; +} + +size_t InventoryDrop::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.InventoryDrop) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string extraData = 6; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.extradata_.size()); + for (int i = 0, n = _impl_.extradata_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.extradata_.Get(i)); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quantity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InventoryDrop::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + InventoryDrop::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InventoryDrop::GetClassData() const { return &_class_data_; } + + +void InventoryDrop::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.InventoryDrop) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.extradata_.MergeFrom(from._impl_.extradata_); + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_item().empty()) { + _this->_internal_set_item(from._internal_item()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_quantity() != 0) { + _this->_internal_set_quantity(from._internal_quantity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void InventoryDrop::CopyFrom(const InventoryDrop& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.InventoryDrop) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool InventoryDrop::IsInitialized() const { + return true; +} + +void InventoryDrop::InternalSwap(InventoryDrop* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.extradata_.InternalSwap(&other->_impl_.extradata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_, lhs_arena, + &other->_impl_.item_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(InventoryDrop, _impl_.quantity_) + + sizeof(InventoryDrop::_impl_.quantity_) + - PROTOBUF_FIELD_OFFSET(InventoryDrop, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata InventoryDrop::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[33]); +} + +// =================================================================== + +class InventoryUse::_Internal { + public: + static const ::rtech::liveapi::Player& player(const InventoryUse* msg); +}; + +const ::rtech::liveapi::Player& +InventoryUse::_Internal::player(const InventoryUse* msg) { + return *msg->_impl_.player_; +} +InventoryUse::InventoryUse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.InventoryUse) +} +InventoryUse::InventoryUse(const InventoryUse& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + InventoryUse* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.quantity_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_item().empty()) { + _this->_impl_.item_.Set(from._internal_item(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.InventoryUse) +} + +inline void InventoryUse::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.quantity_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +InventoryUse::~InventoryUse() { + // @@protoc_insertion_point(destructor:rtech.liveapi.InventoryUse) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void InventoryUse::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.item_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void InventoryUse::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void InventoryUse::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.InventoryUse) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.item_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.quantity_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.quantity_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* InventoryUse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryUse.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string item = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_item(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.InventoryUse.item")); + } else + goto handle_unusual; + continue; + // int32 quantity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.quantity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* InventoryUse::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.InventoryUse) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryUse.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_item().data(), static_cast(this->_internal_item().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.InventoryUse.item"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_item(), target); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_quantity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.InventoryUse) + return target; +} + +size_t InventoryUse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.InventoryUse) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // int32 quantity = 5; + if (this->_internal_quantity() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_quantity()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData InventoryUse::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + InventoryUse::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*InventoryUse::GetClassData() const { return &_class_data_; } + + +void InventoryUse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.InventoryUse) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_item().empty()) { + _this->_internal_set_item(from._internal_item()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_quantity() != 0) { + _this->_internal_set_quantity(from._internal_quantity()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void InventoryUse::CopyFrom(const InventoryUse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.InventoryUse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool InventoryUse::IsInitialized() const { + return true; +} + +void InventoryUse::InternalSwap(InventoryUse* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_, lhs_arena, + &other->_impl_.item_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(InventoryUse, _impl_.quantity_) + + sizeof(InventoryUse::_impl_.quantity_) + - PROTOBUF_FIELD_OFFSET(InventoryUse, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata InventoryUse::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[34]); +} + +// =================================================================== + +class BannerCollected::_Internal { + public: + static const ::rtech::liveapi::Player& player(const BannerCollected* msg); + static const ::rtech::liveapi::Player& collected(const BannerCollected* msg); +}; + +const ::rtech::liveapi::Player& +BannerCollected::_Internal::player(const BannerCollected* msg) { + return *msg->_impl_.player_; +} +const ::rtech::liveapi::Player& +BannerCollected::_Internal::collected(const BannerCollected* msg) { + return *msg->_impl_.collected_; +} +BannerCollected::BannerCollected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.BannerCollected) +} +BannerCollected::BannerCollected(const BannerCollected& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + BannerCollected* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.collected_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + if (from._internal_has_collected()) { + _this->_impl_.collected_ = new ::rtech::liveapi::Player(*from._impl_.collected_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.BannerCollected) +} + +inline void BannerCollected::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.collected_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +BannerCollected::~BannerCollected() { + // @@protoc_insertion_point(destructor:rtech.liveapi.BannerCollected) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void BannerCollected::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; + if (this != internal_default_instance()) delete _impl_.collected_; +} + +void BannerCollected::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void BannerCollected::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.BannerCollected) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.collected_ != nullptr) { + delete _impl_.collected_; + } + _impl_.collected_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* BannerCollected::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.BannerCollected.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player collected = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_collected(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* BannerCollected::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.BannerCollected) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.BannerCollected.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.Player collected = 4; + if (this->_internal_has_collected()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::collected(this), + _Internal::collected(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.BannerCollected) + return target; +} + +size_t BannerCollected::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.BannerCollected) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // .rtech.liveapi.Player collected = 4; + if (this->_internal_has_collected()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.collected_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BannerCollected::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + BannerCollected::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BannerCollected::GetClassData() const { return &_class_data_; } + + +void BannerCollected::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.BannerCollected) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_has_collected()) { + _this->_internal_mutable_collected()->::rtech::liveapi::Player::MergeFrom( + from._internal_collected()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void BannerCollected::CopyFrom(const BannerCollected& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.BannerCollected) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BannerCollected::IsInitialized() const { + return true; +} + +void BannerCollected::InternalSwap(BannerCollected* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(BannerCollected, _impl_.timestamp_) + + sizeof(BannerCollected::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(BannerCollected, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata BannerCollected::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[35]); +} + +// =================================================================== + +class PlayerAbilityUsed::_Internal { + public: + static const ::rtech::liveapi::Player& player(const PlayerAbilityUsed* msg); +}; + +const ::rtech::liveapi::Player& +PlayerAbilityUsed::_Internal::player(const PlayerAbilityUsed* msg) { + return *msg->_impl_.player_; +} +PlayerAbilityUsed::PlayerAbilityUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PlayerAbilityUsed) +} +PlayerAbilityUsed::PlayerAbilityUsed(const PlayerAbilityUsed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PlayerAbilityUsed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.linkedentity_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.linkedentity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_linkedentity().empty()) { + _this->_impl_.linkedentity_.Set(from._internal_linkedentity(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PlayerAbilityUsed) +} + +inline void PlayerAbilityUsed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.linkedentity_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +PlayerAbilityUsed::~PlayerAbilityUsed() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PlayerAbilityUsed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PlayerAbilityUsed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.linkedentity_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void PlayerAbilityUsed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PlayerAbilityUsed::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PlayerAbilityUsed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.linkedentity_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PlayerAbilityUsed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerAbilityUsed.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string linkedEntity = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_linkedentity(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.PlayerAbilityUsed.linkedEntity")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PlayerAbilityUsed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PlayerAbilityUsed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerAbilityUsed.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string linkedEntity = 4; + if (!this->_internal_linkedentity().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_linkedentity().data(), static_cast(this->_internal_linkedentity().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.PlayerAbilityUsed.linkedEntity"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_linkedentity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PlayerAbilityUsed) + return target; +} + +size_t PlayerAbilityUsed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PlayerAbilityUsed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string linkedEntity = 4; + if (!this->_internal_linkedentity().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_linkedentity()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PlayerAbilityUsed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PlayerAbilityUsed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PlayerAbilityUsed::GetClassData() const { return &_class_data_; } + + +void PlayerAbilityUsed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PlayerAbilityUsed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_linkedentity().empty()) { + _this->_internal_set_linkedentity(from._internal_linkedentity()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PlayerAbilityUsed::CopyFrom(const PlayerAbilityUsed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PlayerAbilityUsed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PlayerAbilityUsed::IsInitialized() const { + return true; +} + +void PlayerAbilityUsed::InternalSwap(PlayerAbilityUsed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.linkedentity_, lhs_arena, + &other->_impl_.linkedentity_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(PlayerAbilityUsed, _impl_.timestamp_) + + sizeof(PlayerAbilityUsed::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(PlayerAbilityUsed, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PlayerAbilityUsed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[36]); +} + +// =================================================================== + +class LegendUpgradeSelected::_Internal { + public: + static const ::rtech::liveapi::Player& player(const LegendUpgradeSelected* msg); +}; + +const ::rtech::liveapi::Player& +LegendUpgradeSelected::_Internal::player(const LegendUpgradeSelected* msg) { + return *msg->_impl_.player_; +} +LegendUpgradeSelected::LegendUpgradeSelected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.LegendUpgradeSelected) +} +LegendUpgradeSelected::LegendUpgradeSelected(const LegendUpgradeSelected& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + LegendUpgradeSelected* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.upgradename_){} + , decltype(_impl_.upgradedesc_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.level_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.upgradename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.upgradename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_upgradename().empty()) { + _this->_impl_.upgradename_.Set(from._internal_upgradename(), + _this->GetArenaForAllocation()); + } + _impl_.upgradedesc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.upgradedesc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_upgradedesc().empty()) { + _this->_impl_.upgradedesc_.Set(from._internal_upgradedesc(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.level_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.level_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.LegendUpgradeSelected) +} + +inline void LegendUpgradeSelected::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.upgradename_){} + , decltype(_impl_.upgradedesc_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.level_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.upgradename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.upgradename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.upgradedesc_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.upgradedesc_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +LegendUpgradeSelected::~LegendUpgradeSelected() { + // @@protoc_insertion_point(destructor:rtech.liveapi.LegendUpgradeSelected) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void LegendUpgradeSelected::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.upgradename_.Destroy(); + _impl_.upgradedesc_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void LegendUpgradeSelected::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void LegendUpgradeSelected::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.LegendUpgradeSelected) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.upgradename_.ClearToEmpty(); + _impl_.upgradedesc_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.level_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.level_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* LegendUpgradeSelected::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.LegendUpgradeSelected.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string upgradeName = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_upgradename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.LegendUpgradeSelected.upgradeName")); + } else + goto handle_unusual; + continue; + // string upgradeDesc = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_upgradedesc(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.LegendUpgradeSelected.upgradeDesc")); + } else + goto handle_unusual; + continue; + // int32 level = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _impl_.level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* LegendUpgradeSelected::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.LegendUpgradeSelected) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.LegendUpgradeSelected.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string upgradeName = 4; + if (!this->_internal_upgradename().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_upgradename().data(), static_cast(this->_internal_upgradename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.LegendUpgradeSelected.upgradeName"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_upgradename(), target); + } + + // string upgradeDesc = 5; + if (!this->_internal_upgradedesc().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_upgradedesc().data(), static_cast(this->_internal_upgradedesc().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.LegendUpgradeSelected.upgradeDesc"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_upgradedesc(), target); + } + + // int32 level = 6; + if (this->_internal_level() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_level(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.LegendUpgradeSelected) + return target; +} + +size_t LegendUpgradeSelected::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.LegendUpgradeSelected) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string upgradeName = 4; + if (!this->_internal_upgradename().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_upgradename()); + } + + // string upgradeDesc = 5; + if (!this->_internal_upgradedesc().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_upgradedesc()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // int32 level = 6; + if (this->_internal_level() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_level()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LegendUpgradeSelected::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + LegendUpgradeSelected::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LegendUpgradeSelected::GetClassData() const { return &_class_data_; } + + +void LegendUpgradeSelected::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.LegendUpgradeSelected) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_upgradename().empty()) { + _this->_internal_set_upgradename(from._internal_upgradename()); + } + if (!from._internal_upgradedesc().empty()) { + _this->_internal_set_upgradedesc(from._internal_upgradedesc()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_level() != 0) { + _this->_internal_set_level(from._internal_level()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void LegendUpgradeSelected::CopyFrom(const LegendUpgradeSelected& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.LegendUpgradeSelected) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool LegendUpgradeSelected::IsInitialized() const { + return true; +} + +void LegendUpgradeSelected::InternalSwap(LegendUpgradeSelected* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.upgradename_, lhs_arena, + &other->_impl_.upgradename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.upgradedesc_, lhs_arena, + &other->_impl_.upgradedesc_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(LegendUpgradeSelected, _impl_.level_) + + sizeof(LegendUpgradeSelected::_impl_.level_) + - PROTOBUF_FIELD_OFFSET(LegendUpgradeSelected, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata LegendUpgradeSelected::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[37]); +} + +// =================================================================== + +class ZiplineUsed::_Internal { + public: + static const ::rtech::liveapi::Player& player(const ZiplineUsed* msg); +}; + +const ::rtech::liveapi::Player& +ZiplineUsed::_Internal::player(const ZiplineUsed* msg) { + return *msg->_impl_.player_; +} +ZiplineUsed::ZiplineUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.ZiplineUsed) +} +ZiplineUsed::ZiplineUsed(const ZiplineUsed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ZiplineUsed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.linkedentity_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.linkedentity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_linkedentity().empty()) { + _this->_impl_.linkedentity_.Set(from._internal_linkedentity(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.ZiplineUsed) +} + +inline void ZiplineUsed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.linkedentity_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +ZiplineUsed::~ZiplineUsed() { + // @@protoc_insertion_point(destructor:rtech.liveapi.ZiplineUsed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ZiplineUsed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.linkedentity_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void ZiplineUsed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ZiplineUsed::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.ZiplineUsed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.linkedentity_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ZiplineUsed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ZiplineUsed.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string linkedEntity = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_linkedentity(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ZiplineUsed.linkedEntity")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ZiplineUsed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.ZiplineUsed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ZiplineUsed.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string linkedEntity = 4; + if (!this->_internal_linkedentity().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_linkedentity().data(), static_cast(this->_internal_linkedentity().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ZiplineUsed.linkedEntity"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_linkedentity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.ZiplineUsed) + return target; +} + +size_t ZiplineUsed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.ZiplineUsed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string linkedEntity = 4; + if (!this->_internal_linkedentity().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_linkedentity()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ZiplineUsed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ZiplineUsed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ZiplineUsed::GetClassData() const { return &_class_data_; } + + +void ZiplineUsed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.ZiplineUsed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_linkedentity().empty()) { + _this->_internal_set_linkedentity(from._internal_linkedentity()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ZiplineUsed::CopyFrom(const ZiplineUsed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.ZiplineUsed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ZiplineUsed::IsInitialized() const { + return true; +} + +void ZiplineUsed::InternalSwap(ZiplineUsed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.linkedentity_, lhs_arena, + &other->_impl_.linkedentity_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(ZiplineUsed, _impl_.timestamp_) + + sizeof(ZiplineUsed::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(ZiplineUsed, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ZiplineUsed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[38]); +} + +// =================================================================== + +class GrenadeThrown::_Internal { + public: + static const ::rtech::liveapi::Player& player(const GrenadeThrown* msg); +}; + +const ::rtech::liveapi::Player& +GrenadeThrown::_Internal::player(const GrenadeThrown* msg) { + return *msg->_impl_.player_; +} +GrenadeThrown::GrenadeThrown(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.GrenadeThrown) +} +GrenadeThrown::GrenadeThrown(const GrenadeThrown& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + GrenadeThrown* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.linkedentity_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.linkedentity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_linkedentity().empty()) { + _this->_impl_.linkedentity_.Set(from._internal_linkedentity(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.GrenadeThrown) +} + +inline void GrenadeThrown::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.linkedentity_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +GrenadeThrown::~GrenadeThrown() { + // @@protoc_insertion_point(destructor:rtech.liveapi.GrenadeThrown) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void GrenadeThrown::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.linkedentity_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void GrenadeThrown::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void GrenadeThrown::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.GrenadeThrown) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.linkedentity_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* GrenadeThrown::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.GrenadeThrown.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string linkedEntity = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_linkedentity(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.GrenadeThrown.linkedEntity")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GrenadeThrown::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.GrenadeThrown) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.GrenadeThrown.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string linkedEntity = 4; + if (!this->_internal_linkedentity().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_linkedentity().data(), static_cast(this->_internal_linkedentity().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.GrenadeThrown.linkedEntity"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_linkedentity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.GrenadeThrown) + return target; +} + +size_t GrenadeThrown::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.GrenadeThrown) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string linkedEntity = 4; + if (!this->_internal_linkedentity().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_linkedentity()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GrenadeThrown::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + GrenadeThrown::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GrenadeThrown::GetClassData() const { return &_class_data_; } + + +void GrenadeThrown::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.GrenadeThrown) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_linkedentity().empty()) { + _this->_internal_set_linkedentity(from._internal_linkedentity()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void GrenadeThrown::CopyFrom(const GrenadeThrown& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.GrenadeThrown) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GrenadeThrown::IsInitialized() const { + return true; +} + +void GrenadeThrown::InternalSwap(GrenadeThrown* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.linkedentity_, lhs_arena, + &other->_impl_.linkedentity_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GrenadeThrown, _impl_.timestamp_) + + sizeof(GrenadeThrown::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(GrenadeThrown, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GrenadeThrown::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[39]); +} + +// =================================================================== + +class BlackMarketAction::_Internal { + public: + static const ::rtech::liveapi::Player& player(const BlackMarketAction* msg); +}; + +const ::rtech::liveapi::Player& +BlackMarketAction::_Internal::player(const BlackMarketAction* msg) { + return *msg->_impl_.player_; +} +BlackMarketAction::BlackMarketAction(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.BlackMarketAction) +} +BlackMarketAction::BlackMarketAction(const BlackMarketAction& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + BlackMarketAction* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_item().empty()) { + _this->_impl_.item_.Set(from._internal_item(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.BlackMarketAction) +} + +inline void BlackMarketAction::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.item_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.item_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +BlackMarketAction::~BlackMarketAction() { + // @@protoc_insertion_point(destructor:rtech.liveapi.BlackMarketAction) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void BlackMarketAction::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.item_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void BlackMarketAction::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void BlackMarketAction::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.BlackMarketAction) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.item_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* BlackMarketAction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.BlackMarketAction.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string item = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_item(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.BlackMarketAction.item")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* BlackMarketAction::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.BlackMarketAction) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.BlackMarketAction.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_item().data(), static_cast(this->_internal_item().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.BlackMarketAction.item"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_item(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.BlackMarketAction) + return target; +} + +size_t BlackMarketAction::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.BlackMarketAction) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string item = 4; + if (!this->_internal_item().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_item()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BlackMarketAction::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + BlackMarketAction::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BlackMarketAction::GetClassData() const { return &_class_data_; } + + +void BlackMarketAction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.BlackMarketAction) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_item().empty()) { + _this->_internal_set_item(from._internal_item()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackMarketAction::CopyFrom(const BlackMarketAction& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.BlackMarketAction) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool BlackMarketAction::IsInitialized() const { + return true; +} + +void BlackMarketAction::InternalSwap(BlackMarketAction* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.item_, lhs_arena, + &other->_impl_.item_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(BlackMarketAction, _impl_.timestamp_) + + sizeof(BlackMarketAction::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(BlackMarketAction, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata BlackMarketAction::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[40]); +} + +// =================================================================== + +class WraithPortal::_Internal { + public: + static const ::rtech::liveapi::Player& player(const WraithPortal* msg); +}; + +const ::rtech::liveapi::Player& +WraithPortal::_Internal::player(const WraithPortal* msg) { + return *msg->_impl_.player_; +} +WraithPortal::WraithPortal(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.WraithPortal) +} +WraithPortal::WraithPortal(const WraithPortal& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + WraithPortal* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.WraithPortal) +} + +inline void WraithPortal::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +WraithPortal::~WraithPortal() { + // @@protoc_insertion_point(destructor:rtech.liveapi.WraithPortal) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void WraithPortal::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void WraithPortal::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void WraithPortal::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.WraithPortal) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* WraithPortal::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.WraithPortal.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* WraithPortal::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.WraithPortal) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.WraithPortal.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.WraithPortal) + return target; +} + +size_t WraithPortal::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.WraithPortal) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WraithPortal::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + WraithPortal::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WraithPortal::GetClassData() const { return &_class_data_; } + + +void WraithPortal::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.WraithPortal) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void WraithPortal::CopyFrom(const WraithPortal& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.WraithPortal) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WraithPortal::IsInitialized() const { + return true; +} + +void WraithPortal::InternalSwap(WraithPortal* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(WraithPortal, _impl_.timestamp_) + + sizeof(WraithPortal::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(WraithPortal, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata WraithPortal::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[41]); +} + +// =================================================================== + +class WarpGateUsed::_Internal { + public: + static const ::rtech::liveapi::Player& player(const WarpGateUsed* msg); +}; + +const ::rtech::liveapi::Player& +WarpGateUsed::_Internal::player(const WarpGateUsed* msg) { + return *msg->_impl_.player_; +} +WarpGateUsed::WarpGateUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.WarpGateUsed) +} +WarpGateUsed::WarpGateUsed(const WarpGateUsed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + WarpGateUsed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.WarpGateUsed) +} + +inline void WarpGateUsed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +WarpGateUsed::~WarpGateUsed() { + // @@protoc_insertion_point(destructor:rtech.liveapi.WarpGateUsed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void WarpGateUsed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void WarpGateUsed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void WarpGateUsed::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.WarpGateUsed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* WarpGateUsed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.WarpGateUsed.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* WarpGateUsed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.WarpGateUsed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.WarpGateUsed.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.WarpGateUsed) + return target; +} + +size_t WarpGateUsed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.WarpGateUsed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WarpGateUsed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + WarpGateUsed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WarpGateUsed::GetClassData() const { return &_class_data_; } + + +void WarpGateUsed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.WarpGateUsed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void WarpGateUsed::CopyFrom(const WarpGateUsed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.WarpGateUsed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WarpGateUsed::IsInitialized() const { + return true; +} + +void WarpGateUsed::InternalSwap(WarpGateUsed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(WarpGateUsed, _impl_.timestamp_) + + sizeof(WarpGateUsed::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(WarpGateUsed, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata WarpGateUsed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[42]); +} + +// =================================================================== + +class AmmoUsed::_Internal { + public: + static const ::rtech::liveapi::Player& player(const AmmoUsed* msg); +}; + +const ::rtech::liveapi::Player& +AmmoUsed::_Internal::player(const AmmoUsed* msg) { + return *msg->_impl_.player_; +} +AmmoUsed::AmmoUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.AmmoUsed) +} +AmmoUsed::AmmoUsed(const AmmoUsed& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + AmmoUsed* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.ammotype_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , decltype(_impl_.amountused_){} + , decltype(_impl_.oldammocount_){} + , decltype(_impl_.newammocount_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.ammotype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ammotype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_ammotype().empty()) { + _this->_impl_.ammotype_.Set(from._internal_ammotype(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + ::memcpy(&_impl_.timestamp_, &from._impl_.timestamp_, + static_cast(reinterpret_cast(&_impl_.newammocount_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.newammocount_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.AmmoUsed) +} + +inline void AmmoUsed::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.ammotype_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , decltype(_impl_.amountused_){0u} + , decltype(_impl_.oldammocount_){0u} + , decltype(_impl_.newammocount_){0u} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ammotype_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.ammotype_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +AmmoUsed::~AmmoUsed() { + // @@protoc_insertion_point(destructor:rtech.liveapi.AmmoUsed) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void AmmoUsed::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.ammotype_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void AmmoUsed::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void AmmoUsed::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.AmmoUsed) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.ammotype_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + ::memset(&_impl_.timestamp_, 0, static_cast( + reinterpret_cast(&_impl_.newammocount_) - + reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.newammocount_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* AmmoUsed::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.AmmoUsed.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string ammoType = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_ammotype(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.AmmoUsed.ammoType")); + } else + goto handle_unusual; + continue; + // uint32 amountUsed = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.amountused_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 oldAmmoCount = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _impl_.oldammocount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // uint32 newAmmoCount = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + _impl_.newammocount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* AmmoUsed::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.AmmoUsed) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.AmmoUsed.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string ammoType = 4; + if (!this->_internal_ammotype().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_ammotype().data(), static_cast(this->_internal_ammotype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.AmmoUsed.ammoType"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_ammotype(), target); + } + + // uint32 amountUsed = 5; + if (this->_internal_amountused() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(5, this->_internal_amountused(), target); + } + + // uint32 oldAmmoCount = 6; + if (this->_internal_oldammocount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_oldammocount(), target); + } + + // uint32 newAmmoCount = 7; + if (this->_internal_newammocount() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray(7, this->_internal_newammocount(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.AmmoUsed) + return target; +} + +size_t AmmoUsed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.AmmoUsed) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string ammoType = 4; + if (!this->_internal_ammotype().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_ammotype()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + // uint32 amountUsed = 5; + if (this->_internal_amountused() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_amountused()); + } + + // uint32 oldAmmoCount = 6; + if (this->_internal_oldammocount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_oldammocount()); + } + + // uint32 newAmmoCount = 7; + if (this->_internal_newammocount() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_newammocount()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AmmoUsed::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + AmmoUsed::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AmmoUsed::GetClassData() const { return &_class_data_; } + + +void AmmoUsed::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.AmmoUsed) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_ammotype().empty()) { + _this->_internal_set_ammotype(from._internal_ammotype()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + if (from._internal_amountused() != 0) { + _this->_internal_set_amountused(from._internal_amountused()); + } + if (from._internal_oldammocount() != 0) { + _this->_internal_set_oldammocount(from._internal_oldammocount()); + } + if (from._internal_newammocount() != 0) { + _this->_internal_set_newammocount(from._internal_newammocount()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void AmmoUsed::CopyFrom(const AmmoUsed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.AmmoUsed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool AmmoUsed::IsInitialized() const { + return true; +} + +void AmmoUsed::InternalSwap(AmmoUsed* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.ammotype_, lhs_arena, + &other->_impl_.ammotype_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(AmmoUsed, _impl_.newammocount_) + + sizeof(AmmoUsed::_impl_.newammocount_) + - PROTOBUF_FIELD_OFFSET(AmmoUsed, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata AmmoUsed::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[43]); +} + +// =================================================================== + +class WeaponSwitched::_Internal { + public: + static const ::rtech::liveapi::Player& player(const WeaponSwitched* msg); +}; + +const ::rtech::liveapi::Player& +WeaponSwitched::_Internal::player(const WeaponSwitched* msg) { + return *msg->_impl_.player_; +} +WeaponSwitched::WeaponSwitched(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.WeaponSwitched) +} +WeaponSwitched::WeaponSwitched(const WeaponSwitched& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + WeaponSwitched* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.oldweapon_){} + , decltype(_impl_.newweapon_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _impl_.oldweapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.oldweapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_oldweapon().empty()) { + _this->_impl_.oldweapon_.Set(from._internal_oldweapon(), + _this->GetArenaForAllocation()); + } + _impl_.newweapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.newweapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_newweapon().empty()) { + _this->_impl_.newweapon_.Set(from._internal_newweapon(), + _this->GetArenaForAllocation()); + } + if (from._internal_has_player()) { + _this->_impl_.player_ = new ::rtech::liveapi::Player(*from._impl_.player_); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.WeaponSwitched) +} + +inline void WeaponSwitched::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.category_){} + , decltype(_impl_.oldweapon_){} + , decltype(_impl_.newweapon_){} + , decltype(_impl_.player_){nullptr} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.oldweapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.oldweapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.newweapon_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.newweapon_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +WeaponSwitched::~WeaponSwitched() { + // @@protoc_insertion_point(destructor:rtech.liveapi.WeaponSwitched) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void WeaponSwitched::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.category_.Destroy(); + _impl_.oldweapon_.Destroy(); + _impl_.newweapon_.Destroy(); + if (this != internal_default_instance()) delete _impl_.player_; +} + +void WeaponSwitched::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void WeaponSwitched::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.WeaponSwitched) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.category_.ClearToEmpty(); + _impl_.oldweapon_.ClearToEmpty(); + _impl_.newweapon_.ClearToEmpty(); + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* WeaponSwitched::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.WeaponSwitched.category")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.Player player = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_player(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string oldWeapon = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_oldweapon(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.WeaponSwitched.oldWeapon")); + } else + goto handle_unusual; + continue; + // string newWeapon = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_newweapon(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.WeaponSwitched.newWeapon")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* WeaponSwitched::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.WeaponSwitched) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.WeaponSwitched.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::player(this), + _Internal::player(this).GetCachedSize(), target, stream); + } + + // string oldWeapon = 4; + if (!this->_internal_oldweapon().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_oldweapon().data(), static_cast(this->_internal_oldweapon().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.WeaponSwitched.oldWeapon"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_oldweapon(), target); + } + + // string newWeapon = 5; + if (!this->_internal_newweapon().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_newweapon().data(), static_cast(this->_internal_newweapon().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.WeaponSwitched.newWeapon"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_newweapon(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.WeaponSwitched) + return target; +} + +size_t WeaponSwitched::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.WeaponSwitched) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // string oldWeapon = 4; + if (!this->_internal_oldweapon().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_oldweapon()); + } + + // string newWeapon = 5; + if (!this->_internal_newweapon().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_newweapon()); + } + + // .rtech.liveapi.Player player = 3; + if (this->_internal_has_player()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.player_); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData WeaponSwitched::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + WeaponSwitched::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*WeaponSwitched::GetClassData() const { return &_class_data_; } + + +void WeaponSwitched::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.WeaponSwitched) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (!from._internal_oldweapon().empty()) { + _this->_internal_set_oldweapon(from._internal_oldweapon()); + } + if (!from._internal_newweapon().empty()) { + _this->_internal_set_newweapon(from._internal_newweapon()); + } + if (from._internal_has_player()) { + _this->_internal_mutable_player()->::rtech::liveapi::Player::MergeFrom( + from._internal_player()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void WeaponSwitched::CopyFrom(const WeaponSwitched& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.WeaponSwitched) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WeaponSwitched::IsInitialized() const { + return true; +} + +void WeaponSwitched::InternalSwap(WeaponSwitched* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.oldweapon_, lhs_arena, + &other->_impl_.oldweapon_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.newweapon_, lhs_arena, + &other->_impl_.newweapon_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(WeaponSwitched, _impl_.timestamp_) + + sizeof(WeaponSwitched::_impl_.timestamp_) + - PROTOBUF_FIELD_OFFSET(WeaponSwitched, _impl_.player_)>( + reinterpret_cast(&_impl_.player_), + reinterpret_cast(&other->_impl_.player_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata WeaponSwitched::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[44]); +} + +// =================================================================== + +class CustomEvent::_Internal { + public: +}; + +void CustomEvent::clear_customdata() { + _impl_.customdata_.Clear(); +} +CustomEvent::CustomEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomEvent) +} +CustomEvent::CustomEvent(const CustomEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.customdata_){from._impl_.customdata_} + , decltype(_impl_.category_){} + , decltype(_impl_.timestamp_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_category().empty()) { + _this->_impl_.category_.Set(from._internal_category(), + _this->GetArenaForAllocation()); + } + _this->_impl_.timestamp_ = from._impl_.timestamp_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomEvent) +} + +inline void CustomEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.customdata_){arena} + , decltype(_impl_.category_){} + , decltype(_impl_.timestamp_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.category_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.category_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomEvent::~CustomEvent() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.customdata_.~RepeatedPtrField(); + _impl_.category_.Destroy(); +} + +void CustomEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.customdata_.Clear(); + _impl_.category_.ClearToEmpty(); + _impl_.timestamp_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // uint64 timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string category = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_category(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomEvent.category")); + } else + goto handle_unusual; + continue; + // repeated .google.protobuf.Any customData = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_customdata(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_timestamp(), target); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_category().data(), static_cast(this->_internal_category().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomEvent.category"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_category(), target); + } + + // repeated .google.protobuf.Any customData = 3; + for (unsigned i = 0, + n = static_cast(this->_internal_customdata_size()); i < n; i++) { + const auto& repfield = this->_internal_customdata(i); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomEvent) + return target; +} + +size_t CustomEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .google.protobuf.Any customData = 3; + total_size += 1UL * this->_internal_customdata_size(); + for (const auto& msg : this->_impl_.customdata_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + // string category = 2; + if (!this->_internal_category().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_category()); + } + + // uint64 timestamp = 1; + if (this->_internal_timestamp() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_timestamp()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomEvent::GetClassData() const { return &_class_data_; } + + +void CustomEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.customdata_.MergeFrom(from._impl_.customdata_); + if (!from._internal_category().empty()) { + _this->_internal_set_category(from._internal_category()); + } + if (from._internal_timestamp() != 0) { + _this->_internal_set_timestamp(from._internal_timestamp()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomEvent::CopyFrom(const CustomEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomEvent::IsInitialized() const { + return true; +} + +void CustomEvent::InternalSwap(CustomEvent* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.customdata_.InternalSwap(&other->_impl_.customdata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.category_, lhs_arena, + &other->_impl_.category_, rhs_arena + ); + swap(_impl_.timestamp_, other->_impl_.timestamp_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[45]); +} + +// =================================================================== + +class ChangeCamera::_Internal { + public: +}; + +ChangeCamera::ChangeCamera(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.ChangeCamera) +} +ChangeCamera::ChangeCamera(const ChangeCamera& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + ChangeCamera* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.target_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + clear_has_target(); + switch (from.target_case()) { + case kPoi: { + _this->_internal_set_poi(from._internal_poi()); + break; + } + case kName: { + _this->_internal_set_name(from._internal_name()); + break; + } + case TARGET_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.ChangeCamera) +} + +inline void ChangeCamera::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.target_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{} + }; + clear_has_target(); +} + +ChangeCamera::~ChangeCamera() { + // @@protoc_insertion_point(destructor:rtech.liveapi.ChangeCamera) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void ChangeCamera::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (has_target()) { + clear_target(); + } +} + +void ChangeCamera::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void ChangeCamera::clear_target() { +// @@protoc_insertion_point(one_of_clear_start:rtech.liveapi.ChangeCamera) + switch (target_case()) { + case kPoi: { + // No need to clear + break; + } + case kName: { + _impl_.target_.name_.Destroy(); + break; + } + case TARGET_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = TARGET_NOT_SET; +} + + +void ChangeCamera::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.ChangeCamera) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_target(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* ChangeCamera::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .rtech.liveapi.PlayerOfInterest poi = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_poi(static_cast<::rtech::liveapi::PlayerOfInterest>(val)); + } else + goto handle_unusual; + continue; + // string name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.ChangeCamera.name")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* ChangeCamera::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.ChangeCamera) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .rtech.liveapi.PlayerOfInterest poi = 1; + if (_internal_has_poi()) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this->_internal_poi(), target); + } + + // string name = 2; + if (_internal_has_name()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_name().data(), static_cast(this->_internal_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.ChangeCamera.name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_name(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.ChangeCamera) + return target; +} + +size_t ChangeCamera::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.ChangeCamera) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch (target_case()) { + // .rtech.liveapi.PlayerOfInterest poi = 1; + case kPoi: { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_poi()); + break; + } + // string name = 2; + case kName: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_name()); + break; + } + case TARGET_NOT_SET: { + break; + } + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ChangeCamera::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + ChangeCamera::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeCamera::GetClassData() const { return &_class_data_; } + + +void ChangeCamera::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.ChangeCamera) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.target_case()) { + case kPoi: { + _this->_internal_set_poi(from._internal_poi()); + break; + } + case kName: { + _this->_internal_set_name(from._internal_name()); + break; + } + case TARGET_NOT_SET: { + break; + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void ChangeCamera::CopyFrom(const ChangeCamera& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.ChangeCamera) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ChangeCamera::IsInitialized() const { + return true; +} + +void ChangeCamera::InternalSwap(ChangeCamera* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.target_, other->_impl_.target_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ChangeCamera::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[46]); +} + +// =================================================================== + +class PauseToggle::_Internal { + public: +}; + +PauseToggle::PauseToggle(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.PauseToggle) +} +PauseToggle::PauseToggle(const PauseToggle& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PauseToggle* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.pretimer_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.pretimer_ = from._impl_.pretimer_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.PauseToggle) +} + +inline void PauseToggle::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.pretimer_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +PauseToggle::~PauseToggle() { + // @@protoc_insertion_point(destructor:rtech.liveapi.PauseToggle) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PauseToggle::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void PauseToggle::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PauseToggle::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.PauseToggle) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.pretimer_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PauseToggle::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // float preTimer = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _impl_.pretimer_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(float); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* PauseToggle::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.PauseToggle) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // float preTimer = 1; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_pretimer = this->_internal_pretimer(); + uint32_t raw_pretimer; + memcpy(&raw_pretimer, &tmp_pretimer, sizeof(tmp_pretimer)); + if (raw_pretimer != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFloatToArray(1, this->_internal_pretimer(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.PauseToggle) + return target; +} + +size_t PauseToggle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.PauseToggle) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float preTimer = 1; + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_pretimer = this->_internal_pretimer(); + uint32_t raw_pretimer; + memcpy(&raw_pretimer, &tmp_pretimer, sizeof(tmp_pretimer)); + if (raw_pretimer != 0) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PauseToggle::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PauseToggle::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PauseToggle::GetClassData() const { return &_class_data_; } + + +void PauseToggle::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.PauseToggle) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + static_assert(sizeof(uint32_t) == sizeof(float), "Code assumes uint32_t and float are the same size."); + float tmp_pretimer = from._internal_pretimer(); + uint32_t raw_pretimer; + memcpy(&raw_pretimer, &tmp_pretimer, sizeof(tmp_pretimer)); + if (raw_pretimer != 0) { + _this->_internal_set_pretimer(from._internal_pretimer()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PauseToggle::CopyFrom(const PauseToggle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.PauseToggle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PauseToggle::IsInitialized() const { + return true; +} + +void PauseToggle::InternalSwap(PauseToggle* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.pretimer_, other->_impl_.pretimer_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PauseToggle::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[47]); +} + +// =================================================================== + +class CustomMatch_CreateLobby::_Internal { + public: +}; + +CustomMatch_CreateLobby::CustomMatch_CreateLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_CreateLobby) +} +CustomMatch_CreateLobby::CustomMatch_CreateLobby(const CustomMatch_CreateLobby& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CustomMatch_CreateLobby* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_CreateLobby) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_CreateLobby::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_CreateLobby::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_CreateLobby::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[48]); +} + +// =================================================================== + +class CustomMatch_JoinLobby::_Internal { + public: +}; + +CustomMatch_JoinLobby::CustomMatch_JoinLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_JoinLobby) +} +CustomMatch_JoinLobby::CustomMatch_JoinLobby(const CustomMatch_JoinLobby& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_JoinLobby* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.roletoken_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.roletoken_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.roletoken_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_roletoken().empty()) { + _this->_impl_.roletoken_.Set(from._internal_roletoken(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_JoinLobby) +} + +inline void CustomMatch_JoinLobby::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.roletoken_){} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.roletoken_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.roletoken_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomMatch_JoinLobby::~CustomMatch_JoinLobby() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_JoinLobby) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_JoinLobby::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.roletoken_.Destroy(); +} + +void CustomMatch_JoinLobby::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_JoinLobby::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_JoinLobby) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.roletoken_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_JoinLobby::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string roleToken = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_roletoken(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_JoinLobby.roleToken")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_JoinLobby::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_JoinLobby) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string roleToken = 1; + if (!this->_internal_roletoken().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_roletoken().data(), static_cast(this->_internal_roletoken().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_JoinLobby.roleToken"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_roletoken(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_JoinLobby) + return target; +} + +size_t CustomMatch_JoinLobby::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_JoinLobby) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string roleToken = 1; + if (!this->_internal_roletoken().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_roletoken()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_JoinLobby::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_JoinLobby::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_JoinLobby::GetClassData() const { return &_class_data_; } + + +void CustomMatch_JoinLobby::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_JoinLobby) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_roletoken().empty()) { + _this->_internal_set_roletoken(from._internal_roletoken()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_JoinLobby::CopyFrom(const CustomMatch_JoinLobby& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_JoinLobby) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_JoinLobby::IsInitialized() const { + return true; +} + +void CustomMatch_JoinLobby::InternalSwap(CustomMatch_JoinLobby* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.roletoken_, lhs_arena, + &other->_impl_.roletoken_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_JoinLobby::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[49]); +} + +// =================================================================== + +class CustomMatch_LeaveLobby::_Internal { + public: +}; + +CustomMatch_LeaveLobby::CustomMatch_LeaveLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_LeaveLobby) +} +CustomMatch_LeaveLobby::CustomMatch_LeaveLobby(const CustomMatch_LeaveLobby& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CustomMatch_LeaveLobby* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_LeaveLobby) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_LeaveLobby::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_LeaveLobby::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_LeaveLobby::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[50]); +} + +// =================================================================== + +class CustomMatch_SetReady::_Internal { + public: +}; + +CustomMatch_SetReady::CustomMatch_SetReady(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_SetReady) +} +CustomMatch_SetReady::CustomMatch_SetReady(const CustomMatch_SetReady& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_SetReady* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.isready_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.isready_ = from._impl_.isready_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_SetReady) +} + +inline void CustomMatch_SetReady::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.isready_){false} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CustomMatch_SetReady::~CustomMatch_SetReady() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_SetReady) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_SetReady::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CustomMatch_SetReady::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_SetReady::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_SetReady) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.isready_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_SetReady::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool isReady = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.isready_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_SetReady::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_SetReady) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool isReady = 1; + if (this->_internal_isready() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_isready(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_SetReady) + return target; +} + +size_t CustomMatch_SetReady::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_SetReady) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool isReady = 1; + if (this->_internal_isready() != 0) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_SetReady::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_SetReady::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_SetReady::GetClassData() const { return &_class_data_; } + + +void CustomMatch_SetReady::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_SetReady) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_isready() != 0) { + _this->_internal_set_isready(from._internal_isready()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_SetReady::CopyFrom(const CustomMatch_SetReady& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_SetReady) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_SetReady::IsInitialized() const { + return true; +} + +void CustomMatch_SetReady::InternalSwap(CustomMatch_SetReady* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.isready_, other->_impl_.isready_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_SetReady::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[51]); +} + +// =================================================================== + +class CustomMatch_GetLobbyPlayers::_Internal { + public: +}; + +CustomMatch_GetLobbyPlayers::CustomMatch_GetLobbyPlayers(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_GetLobbyPlayers) +} +CustomMatch_GetLobbyPlayers::CustomMatch_GetLobbyPlayers(const CustomMatch_GetLobbyPlayers& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CustomMatch_GetLobbyPlayers* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_GetLobbyPlayers) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_GetLobbyPlayers::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_GetLobbyPlayers::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_GetLobbyPlayers::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[52]); +} + +// =================================================================== + +class CustomMatch_SetMatchmaking::_Internal { + public: +}; + +CustomMatch_SetMatchmaking::CustomMatch_SetMatchmaking(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_SetMatchmaking) +} +CustomMatch_SetMatchmaking::CustomMatch_SetMatchmaking(const CustomMatch_SetMatchmaking& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_SetMatchmaking* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.enabled_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.enabled_ = from._impl_.enabled_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_SetMatchmaking) +} + +inline void CustomMatch_SetMatchmaking::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.enabled_){false} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CustomMatch_SetMatchmaking::~CustomMatch_SetMatchmaking() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_SetMatchmaking) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_SetMatchmaking::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void CustomMatch_SetMatchmaking::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_SetMatchmaking::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_SetMatchmaking) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.enabled_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_SetMatchmaking::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool enabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.enabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_SetMatchmaking::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_SetMatchmaking) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool enabled = 1; + if (this->_internal_enabled() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_enabled(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_SetMatchmaking) + return target; +} + +size_t CustomMatch_SetMatchmaking::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_SetMatchmaking) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool enabled = 1; + if (this->_internal_enabled() != 0) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_SetMatchmaking::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_SetMatchmaking::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_SetMatchmaking::GetClassData() const { return &_class_data_; } + + +void CustomMatch_SetMatchmaking::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_SetMatchmaking) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_enabled() != 0) { + _this->_internal_set_enabled(from._internal_enabled()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_SetMatchmaking::CopyFrom(const CustomMatch_SetMatchmaking& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_SetMatchmaking) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_SetMatchmaking::IsInitialized() const { + return true; +} + +void CustomMatch_SetMatchmaking::InternalSwap(CustomMatch_SetMatchmaking* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.enabled_, other->_impl_.enabled_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_SetMatchmaking::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[53]); +} + +// =================================================================== + +class CustomMatch_SetTeam::_Internal { + public: +}; + +CustomMatch_SetTeam::CustomMatch_SetTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_SetTeam) +} +CustomMatch_SetTeam::CustomMatch_SetTeam(const CustomMatch_SetTeam& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_SetTeam* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.targethardwarename_){} + , decltype(_impl_.targetnucleushash_){} + , decltype(_impl_.teamid_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.targethardwarename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targethardwarename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_targethardwarename().empty()) { + _this->_impl_.targethardwarename_.Set(from._internal_targethardwarename(), + _this->GetArenaForAllocation()); + } + _impl_.targetnucleushash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targetnucleushash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_targetnucleushash().empty()) { + _this->_impl_.targetnucleushash_.Set(from._internal_targetnucleushash(), + _this->GetArenaForAllocation()); + } + _this->_impl_.teamid_ = from._impl_.teamid_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_SetTeam) +} + +inline void CustomMatch_SetTeam::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.targethardwarename_){} + , decltype(_impl_.targetnucleushash_){} + , decltype(_impl_.teamid_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.targethardwarename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targethardwarename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targetnucleushash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targetnucleushash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomMatch_SetTeam::~CustomMatch_SetTeam() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_SetTeam) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_SetTeam::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.targethardwarename_.Destroy(); + _impl_.targetnucleushash_.Destroy(); +} + +void CustomMatch_SetTeam::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_SetTeam::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_SetTeam) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.targethardwarename_.ClearToEmpty(); + _impl_.targetnucleushash_.ClearToEmpty(); + _impl_.teamid_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_SetTeam::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 teamId = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.teamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string targetHardwareName = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_targethardwarename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_SetTeam.targetHardwareName")); + } else + goto handle_unusual; + continue; + // string targetNucleusHash = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + auto str = _internal_mutable_targetnucleushash(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_SetTeam.targetNucleusHash")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_SetTeam::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_SetTeam) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 teamId = 1; + if (this->_internal_teamid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_teamid(), target); + } + + // string targetHardwareName = 2; + if (!this->_internal_targethardwarename().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_targethardwarename().data(), static_cast(this->_internal_targethardwarename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_SetTeam.targetHardwareName"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_targethardwarename(), target); + } + + // string targetNucleusHash = 3; + if (!this->_internal_targetnucleushash().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_targetnucleushash().data(), static_cast(this->_internal_targetnucleushash().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_SetTeam.targetNucleusHash"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_targetnucleushash(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_SetTeam) + return target; +} + +size_t CustomMatch_SetTeam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_SetTeam) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string targetHardwareName = 2; + if (!this->_internal_targethardwarename().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_targethardwarename()); + } + + // string targetNucleusHash = 3; + if (!this->_internal_targetnucleushash().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_targetnucleushash()); + } + + // int32 teamId = 1; + if (this->_internal_teamid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_teamid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_SetTeam::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_SetTeam::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_SetTeam::GetClassData() const { return &_class_data_; } + + +void CustomMatch_SetTeam::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_SetTeam) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_targethardwarename().empty()) { + _this->_internal_set_targethardwarename(from._internal_targethardwarename()); + } + if (!from._internal_targetnucleushash().empty()) { + _this->_internal_set_targetnucleushash(from._internal_targetnucleushash()); + } + if (from._internal_teamid() != 0) { + _this->_internal_set_teamid(from._internal_teamid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_SetTeam::CopyFrom(const CustomMatch_SetTeam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_SetTeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_SetTeam::IsInitialized() const { + return true; +} + +void CustomMatch_SetTeam::InternalSwap(CustomMatch_SetTeam* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.targethardwarename_, lhs_arena, + &other->_impl_.targethardwarename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.targetnucleushash_, lhs_arena, + &other->_impl_.targetnucleushash_, rhs_arena + ); + swap(_impl_.teamid_, other->_impl_.teamid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_SetTeam::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[54]); +} + +// =================================================================== + +class CustomMatch_KickPlayer::_Internal { + public: +}; + +CustomMatch_KickPlayer::CustomMatch_KickPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_KickPlayer) +} +CustomMatch_KickPlayer::CustomMatch_KickPlayer(const CustomMatch_KickPlayer& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_KickPlayer* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.targethardwarename_){} + , decltype(_impl_.targetnucleushash_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.targethardwarename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targethardwarename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_targethardwarename().empty()) { + _this->_impl_.targethardwarename_.Set(from._internal_targethardwarename(), + _this->GetArenaForAllocation()); + } + _impl_.targetnucleushash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targetnucleushash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_targetnucleushash().empty()) { + _this->_impl_.targetnucleushash_.Set(from._internal_targetnucleushash(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_KickPlayer) +} + +inline void CustomMatch_KickPlayer::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.targethardwarename_){} + , decltype(_impl_.targetnucleushash_){} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.targethardwarename_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targethardwarename_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targetnucleushash_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.targetnucleushash_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomMatch_KickPlayer::~CustomMatch_KickPlayer() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_KickPlayer) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_KickPlayer::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.targethardwarename_.Destroy(); + _impl_.targetnucleushash_.Destroy(); +} + +void CustomMatch_KickPlayer::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_KickPlayer::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_KickPlayer) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.targethardwarename_.ClearToEmpty(); + _impl_.targetnucleushash_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_KickPlayer::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string targetHardwareName = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_targethardwarename(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_KickPlayer.targetHardwareName")); + } else + goto handle_unusual; + continue; + // string targetNucleusHash = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_targetnucleushash(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_KickPlayer.targetNucleusHash")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_KickPlayer::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_KickPlayer) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string targetHardwareName = 1; + if (!this->_internal_targethardwarename().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_targethardwarename().data(), static_cast(this->_internal_targethardwarename().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_KickPlayer.targetHardwareName"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_targethardwarename(), target); + } + + // string targetNucleusHash = 2; + if (!this->_internal_targetnucleushash().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_targetnucleushash().data(), static_cast(this->_internal_targetnucleushash().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_KickPlayer.targetNucleusHash"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_targetnucleushash(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_KickPlayer) + return target; +} + +size_t CustomMatch_KickPlayer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_KickPlayer) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string targetHardwareName = 1; + if (!this->_internal_targethardwarename().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_targethardwarename()); + } + + // string targetNucleusHash = 2; + if (!this->_internal_targetnucleushash().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_targetnucleushash()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_KickPlayer::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_KickPlayer::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_KickPlayer::GetClassData() const { return &_class_data_; } + + +void CustomMatch_KickPlayer::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_KickPlayer) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_targethardwarename().empty()) { + _this->_internal_set_targethardwarename(from._internal_targethardwarename()); + } + if (!from._internal_targetnucleushash().empty()) { + _this->_internal_set_targetnucleushash(from._internal_targetnucleushash()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_KickPlayer::CopyFrom(const CustomMatch_KickPlayer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_KickPlayer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_KickPlayer::IsInitialized() const { + return true; +} + +void CustomMatch_KickPlayer::InternalSwap(CustomMatch_KickPlayer* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.targethardwarename_, lhs_arena, + &other->_impl_.targethardwarename_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.targetnucleushash_, lhs_arena, + &other->_impl_.targetnucleushash_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_KickPlayer::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[55]); +} + +// =================================================================== + +class CustomMatch_SetSettings::_Internal { + public: +}; + +CustomMatch_SetSettings::CustomMatch_SetSettings(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_SetSettings) +} +CustomMatch_SetSettings::CustomMatch_SetSettings(const CustomMatch_SetSettings& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_SetSettings* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.playlistname_){} + , decltype(_impl_.adminchat_){} + , decltype(_impl_.teamrename_){} + , decltype(_impl_.selfassign_){} + , decltype(_impl_.aimassist_){} + , decltype(_impl_.anonmode_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.playlistname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playlistname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_playlistname().empty()) { + _this->_impl_.playlistname_.Set(from._internal_playlistname(), + _this->GetArenaForAllocation()); + } + ::memcpy(&_impl_.adminchat_, &from._impl_.adminchat_, + static_cast(reinterpret_cast(&_impl_.anonmode_) - + reinterpret_cast(&_impl_.adminchat_)) + sizeof(_impl_.anonmode_)); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_SetSettings) +} + +inline void CustomMatch_SetSettings::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.playlistname_){} + , decltype(_impl_.adminchat_){false} + , decltype(_impl_.teamrename_){false} + , decltype(_impl_.selfassign_){false} + , decltype(_impl_.aimassist_){false} + , decltype(_impl_.anonmode_){false} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.playlistname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.playlistname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomMatch_SetSettings::~CustomMatch_SetSettings() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_SetSettings) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_SetSettings::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.playlistname_.Destroy(); +} + +void CustomMatch_SetSettings::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_SetSettings::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_SetSettings) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.playlistname_.ClearToEmpty(); + ::memset(&_impl_.adminchat_, 0, static_cast( + reinterpret_cast(&_impl_.anonmode_) - + reinterpret_cast(&_impl_.adminchat_)) + sizeof(_impl_.anonmode_)); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_SetSettings::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string playlistName = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_playlistname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_SetSettings.playlistName")); + } else + goto handle_unusual; + continue; + // bool adminChat = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _impl_.adminchat_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool teamRename = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _impl_.teamrename_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool selfAssign = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + _impl_.selfassign_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool aimAssist = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + _impl_.aimassist_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // bool anonMode = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + _impl_.anonmode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_SetSettings::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_SetSettings) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string playlistName = 1; + if (!this->_internal_playlistname().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_playlistname().data(), static_cast(this->_internal_playlistname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_SetSettings.playlistName"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_playlistname(), target); + } + + // bool adminChat = 2; + if (this->_internal_adminchat() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(2, this->_internal_adminchat(), target); + } + + // bool teamRename = 3; + if (this->_internal_teamrename() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_teamrename(), target); + } + + // bool selfAssign = 4; + if (this->_internal_selfassign() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_selfassign(), target); + } + + // bool aimAssist = 5; + if (this->_internal_aimassist() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_aimassist(), target); + } + + // bool anonMode = 6; + if (this->_internal_anonmode() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_anonmode(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_SetSettings) + return target; +} + +size_t CustomMatch_SetSettings::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_SetSettings) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string playlistName = 1; + if (!this->_internal_playlistname().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_playlistname()); + } + + // bool adminChat = 2; + if (this->_internal_adminchat() != 0) { + total_size += 1 + 1; + } + + // bool teamRename = 3; + if (this->_internal_teamrename() != 0) { + total_size += 1 + 1; + } + + // bool selfAssign = 4; + if (this->_internal_selfassign() != 0) { + total_size += 1 + 1; + } + + // bool aimAssist = 5; + if (this->_internal_aimassist() != 0) { + total_size += 1 + 1; + } + + // bool anonMode = 6; + if (this->_internal_anonmode() != 0) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_SetSettings::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_SetSettings::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_SetSettings::GetClassData() const { return &_class_data_; } + + +void CustomMatch_SetSettings::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_SetSettings) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_playlistname().empty()) { + _this->_internal_set_playlistname(from._internal_playlistname()); + } + if (from._internal_adminchat() != 0) { + _this->_internal_set_adminchat(from._internal_adminchat()); + } + if (from._internal_teamrename() != 0) { + _this->_internal_set_teamrename(from._internal_teamrename()); + } + if (from._internal_selfassign() != 0) { + _this->_internal_set_selfassign(from._internal_selfassign()); + } + if (from._internal_aimassist() != 0) { + _this->_internal_set_aimassist(from._internal_aimassist()); + } + if (from._internal_anonmode() != 0) { + _this->_internal_set_anonmode(from._internal_anonmode()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_SetSettings::CopyFrom(const CustomMatch_SetSettings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_SetSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_SetSettings::IsInitialized() const { + return true; +} + +void CustomMatch_SetSettings::InternalSwap(CustomMatch_SetSettings* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.playlistname_, lhs_arena, + &other->_impl_.playlistname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(CustomMatch_SetSettings, _impl_.anonmode_) + + sizeof(CustomMatch_SetSettings::_impl_.anonmode_) + - PROTOBUF_FIELD_OFFSET(CustomMatch_SetSettings, _impl_.adminchat_)>( + reinterpret_cast(&_impl_.adminchat_), + reinterpret_cast(&other->_impl_.adminchat_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_SetSettings::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[56]); +} + +// =================================================================== + +class CustomMatch_GetSettings::_Internal { + public: +}; + +CustomMatch_GetSettings::CustomMatch_GetSettings(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) { + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_GetSettings) +} +CustomMatch_GetSettings::CustomMatch_GetSettings(const CustomMatch_GetSettings& from) + : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() { + CustomMatch_GetSettings* const _this = this; (void)_this; + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_GetSettings) +} + + + + + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_GetSettings::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl, + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl, +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_GetSettings::GetClassData() const { return &_class_data_; } + + + + + + + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_GetSettings::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[57]); +} + +// =================================================================== + +class CustomMatch_SetTeamName::_Internal { + public: +}; + +CustomMatch_SetTeamName::CustomMatch_SetTeamName(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_SetTeamName) +} +CustomMatch_SetTeamName::CustomMatch_SetTeamName(const CustomMatch_SetTeamName& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_SetTeamName* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.teamname_){} + , decltype(_impl_.teamid_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.teamname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.teamname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_teamname().empty()) { + _this->_impl_.teamname_.Set(from._internal_teamname(), + _this->GetArenaForAllocation()); + } + _this->_impl_.teamid_ = from._impl_.teamid_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_SetTeamName) +} + +inline void CustomMatch_SetTeamName::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.teamname_){} + , decltype(_impl_.teamid_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.teamname_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.teamname_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomMatch_SetTeamName::~CustomMatch_SetTeamName() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_SetTeamName) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_SetTeamName::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.teamname_.Destroy(); +} + +void CustomMatch_SetTeamName::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_SetTeamName::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_SetTeamName) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.teamname_.ClearToEmpty(); + _impl_.teamid_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_SetTeamName::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // int32 teamId = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.teamid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string teamName = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_teamname(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_SetTeamName.teamName")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_SetTeamName::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_SetTeamName) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // int32 teamId = 1; + if (this->_internal_teamid() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_teamid(), target); + } + + // string teamName = 2; + if (!this->_internal_teamname().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_teamname().data(), static_cast(this->_internal_teamname().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_SetTeamName.teamName"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_teamname(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_SetTeamName) + return target; +} + +size_t CustomMatch_SetTeamName::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_SetTeamName) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string teamName = 2; + if (!this->_internal_teamname().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_teamname()); + } + + // int32 teamId = 1; + if (this->_internal_teamid() != 0) { + total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_teamid()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_SetTeamName::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_SetTeamName::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_SetTeamName::GetClassData() const { return &_class_data_; } + + +void CustomMatch_SetTeamName::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_SetTeamName) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_teamname().empty()) { + _this->_internal_set_teamname(from._internal_teamname()); + } + if (from._internal_teamid() != 0) { + _this->_internal_set_teamid(from._internal_teamid()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_SetTeamName::CopyFrom(const CustomMatch_SetTeamName& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_SetTeamName) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_SetTeamName::IsInitialized() const { + return true; +} + +void CustomMatch_SetTeamName::InternalSwap(CustomMatch_SetTeamName* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.teamname_, lhs_arena, + &other->_impl_.teamname_, rhs_arena + ); + swap(_impl_.teamid_, other->_impl_.teamid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_SetTeamName::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[58]); +} + +// =================================================================== + +class CustomMatch_SendChat::_Internal { + public: +}; + +CustomMatch_SendChat::CustomMatch_SendChat(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.CustomMatch_SendChat) +} +CustomMatch_SendChat::CustomMatch_SendChat(const CustomMatch_SendChat& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CustomMatch_SendChat* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.text_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_text().empty()) { + _this->_impl_.text_.Set(from._internal_text(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.CustomMatch_SendChat) +} + +inline void CustomMatch_SendChat::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.text_){} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.text_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.text_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CustomMatch_SendChat::~CustomMatch_SendChat() { + // @@protoc_insertion_point(destructor:rtech.liveapi.CustomMatch_SendChat) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CustomMatch_SendChat::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.text_.Destroy(); +} + +void CustomMatch_SendChat::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CustomMatch_SendChat::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.CustomMatch_SendChat) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.text_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CustomMatch_SendChat::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string text = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_text(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.CustomMatch_SendChat.text")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CustomMatch_SendChat::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.CustomMatch_SendChat) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string text = 1; + if (!this->_internal_text().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_text().data(), static_cast(this->_internal_text().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.CustomMatch_SendChat.text"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_text(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.CustomMatch_SendChat) + return target; +} + +size_t CustomMatch_SendChat::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.CustomMatch_SendChat) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string text = 1; + if (!this->_internal_text().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_text()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CustomMatch_SendChat::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CustomMatch_SendChat::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CustomMatch_SendChat::GetClassData() const { return &_class_data_; } + + +void CustomMatch_SendChat::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.CustomMatch_SendChat) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_text().empty()) { + _this->_internal_set_text(from._internal_text()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CustomMatch_SendChat::CopyFrom(const CustomMatch_SendChat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.CustomMatch_SendChat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CustomMatch_SendChat::IsInitialized() const { + return true; +} + +void CustomMatch_SendChat::InternalSwap(CustomMatch_SendChat* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.text_, lhs_arena, + &other->_impl_.text_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CustomMatch_SendChat::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[59]); +} + +// =================================================================== + +class Request::_Internal { + public: + static const ::rtech::liveapi::ChangeCamera& changecam(const Request* msg); + static const ::rtech::liveapi::PauseToggle& pausetoggle(const Request* msg); + static const ::rtech::liveapi::CustomMatch_CreateLobby& custommatch_createlobby(const Request* msg); + static const ::rtech::liveapi::CustomMatch_JoinLobby& custommatch_joinlobby(const Request* msg); + static const ::rtech::liveapi::CustomMatch_LeaveLobby& custommatch_leavelobby(const Request* msg); + static const ::rtech::liveapi::CustomMatch_SetReady& custommatch_setready(const Request* msg); + static const ::rtech::liveapi::CustomMatch_SetMatchmaking& custommatch_setmatchmaking(const Request* msg); + static const ::rtech::liveapi::CustomMatch_SetTeam& custommatch_setteam(const Request* msg); + static const ::rtech::liveapi::CustomMatch_KickPlayer& custommatch_kickplayer(const Request* msg); + static const ::rtech::liveapi::CustomMatch_SetSettings& custommatch_setsettings(const Request* msg); + static const ::rtech::liveapi::CustomMatch_SendChat& custommatch_sendchat(const Request* msg); + static const ::rtech::liveapi::CustomMatch_GetLobbyPlayers& custommatch_getlobbyplayers(const Request* msg); + static const ::rtech::liveapi::CustomMatch_SetTeamName& custommatch_setteamname(const Request* msg); + static const ::rtech::liveapi::CustomMatch_GetSettings& custommatch_getsettings(const Request* msg); +}; + +const ::rtech::liveapi::ChangeCamera& +Request::_Internal::changecam(const Request* msg) { + return *msg->_impl_.actions_.changecam_; +} +const ::rtech::liveapi::PauseToggle& +Request::_Internal::pausetoggle(const Request* msg) { + return *msg->_impl_.actions_.pausetoggle_; +} +const ::rtech::liveapi::CustomMatch_CreateLobby& +Request::_Internal::custommatch_createlobby(const Request* msg) { + return *msg->_impl_.actions_.custommatch_createlobby_; +} +const ::rtech::liveapi::CustomMatch_JoinLobby& +Request::_Internal::custommatch_joinlobby(const Request* msg) { + return *msg->_impl_.actions_.custommatch_joinlobby_; +} +const ::rtech::liveapi::CustomMatch_LeaveLobby& +Request::_Internal::custommatch_leavelobby(const Request* msg) { + return *msg->_impl_.actions_.custommatch_leavelobby_; +} +const ::rtech::liveapi::CustomMatch_SetReady& +Request::_Internal::custommatch_setready(const Request* msg) { + return *msg->_impl_.actions_.custommatch_setready_; +} +const ::rtech::liveapi::CustomMatch_SetMatchmaking& +Request::_Internal::custommatch_setmatchmaking(const Request* msg) { + return *msg->_impl_.actions_.custommatch_setmatchmaking_; +} +const ::rtech::liveapi::CustomMatch_SetTeam& +Request::_Internal::custommatch_setteam(const Request* msg) { + return *msg->_impl_.actions_.custommatch_setteam_; +} +const ::rtech::liveapi::CustomMatch_KickPlayer& +Request::_Internal::custommatch_kickplayer(const Request* msg) { + return *msg->_impl_.actions_.custommatch_kickplayer_; +} +const ::rtech::liveapi::CustomMatch_SetSettings& +Request::_Internal::custommatch_setsettings(const Request* msg) { + return *msg->_impl_.actions_.custommatch_setsettings_; +} +const ::rtech::liveapi::CustomMatch_SendChat& +Request::_Internal::custommatch_sendchat(const Request* msg) { + return *msg->_impl_.actions_.custommatch_sendchat_; +} +const ::rtech::liveapi::CustomMatch_GetLobbyPlayers& +Request::_Internal::custommatch_getlobbyplayers(const Request* msg) { + return *msg->_impl_.actions_.custommatch_getlobbyplayers_; +} +const ::rtech::liveapi::CustomMatch_SetTeamName& +Request::_Internal::custommatch_setteamname(const Request* msg) { + return *msg->_impl_.actions_.custommatch_setteamname_; +} +const ::rtech::liveapi::CustomMatch_GetSettings& +Request::_Internal::custommatch_getsettings(const Request* msg) { + return *msg->_impl_.actions_.custommatch_getsettings_; +} +void Request::set_allocated_changecam(::rtech::liveapi::ChangeCamera* changecam) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (changecam) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(changecam); + if (message_arena != submessage_arena) { + changecam = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, changecam, submessage_arena); + } + set_has_changecam(); + _impl_.actions_.changecam_ = changecam; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.changeCam) +} +void Request::set_allocated_pausetoggle(::rtech::liveapi::PauseToggle* pausetoggle) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (pausetoggle) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pausetoggle); + if (message_arena != submessage_arena) { + pausetoggle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pausetoggle, submessage_arena); + } + set_has_pausetoggle(); + _impl_.actions_.pausetoggle_ = pausetoggle; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.pauseToggle) +} +void Request::set_allocated_custommatch_createlobby(::rtech::liveapi::CustomMatch_CreateLobby* custommatch_createlobby) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_createlobby) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_createlobby); + if (message_arena != submessage_arena) { + custommatch_createlobby = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_createlobby, submessage_arena); + } + set_has_custommatch_createlobby(); + _impl_.actions_.custommatch_createlobby_ = custommatch_createlobby; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_CreateLobby) +} +void Request::set_allocated_custommatch_joinlobby(::rtech::liveapi::CustomMatch_JoinLobby* custommatch_joinlobby) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_joinlobby) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_joinlobby); + if (message_arena != submessage_arena) { + custommatch_joinlobby = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_joinlobby, submessage_arena); + } + set_has_custommatch_joinlobby(); + _impl_.actions_.custommatch_joinlobby_ = custommatch_joinlobby; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_JoinLobby) +} +void Request::set_allocated_custommatch_leavelobby(::rtech::liveapi::CustomMatch_LeaveLobby* custommatch_leavelobby) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_leavelobby) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_leavelobby); + if (message_arena != submessage_arena) { + custommatch_leavelobby = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_leavelobby, submessage_arena); + } + set_has_custommatch_leavelobby(); + _impl_.actions_.custommatch_leavelobby_ = custommatch_leavelobby; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_LeaveLobby) +} +void Request::set_allocated_custommatch_setready(::rtech::liveapi::CustomMatch_SetReady* custommatch_setready) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_setready) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_setready); + if (message_arena != submessage_arena) { + custommatch_setready = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_setready, submessage_arena); + } + set_has_custommatch_setready(); + _impl_.actions_.custommatch_setready_ = custommatch_setready; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_SetReady) +} +void Request::set_allocated_custommatch_setmatchmaking(::rtech::liveapi::CustomMatch_SetMatchmaking* custommatch_setmatchmaking) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_setmatchmaking) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_setmatchmaking); + if (message_arena != submessage_arena) { + custommatch_setmatchmaking = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_setmatchmaking, submessage_arena); + } + set_has_custommatch_setmatchmaking(); + _impl_.actions_.custommatch_setmatchmaking_ = custommatch_setmatchmaking; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_SetMatchmaking) +} +void Request::set_allocated_custommatch_setteam(::rtech::liveapi::CustomMatch_SetTeam* custommatch_setteam) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_setteam) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_setteam); + if (message_arena != submessage_arena) { + custommatch_setteam = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_setteam, submessage_arena); + } + set_has_custommatch_setteam(); + _impl_.actions_.custommatch_setteam_ = custommatch_setteam; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_SetTeam) +} +void Request::set_allocated_custommatch_kickplayer(::rtech::liveapi::CustomMatch_KickPlayer* custommatch_kickplayer) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_kickplayer) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_kickplayer); + if (message_arena != submessage_arena) { + custommatch_kickplayer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_kickplayer, submessage_arena); + } + set_has_custommatch_kickplayer(); + _impl_.actions_.custommatch_kickplayer_ = custommatch_kickplayer; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_KickPlayer) +} +void Request::set_allocated_custommatch_setsettings(::rtech::liveapi::CustomMatch_SetSettings* custommatch_setsettings) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_setsettings) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_setsettings); + if (message_arena != submessage_arena) { + custommatch_setsettings = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_setsettings, submessage_arena); + } + set_has_custommatch_setsettings(); + _impl_.actions_.custommatch_setsettings_ = custommatch_setsettings; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_SetSettings) +} +void Request::set_allocated_custommatch_sendchat(::rtech::liveapi::CustomMatch_SendChat* custommatch_sendchat) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_sendchat) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_sendchat); + if (message_arena != submessage_arena) { + custommatch_sendchat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_sendchat, submessage_arena); + } + set_has_custommatch_sendchat(); + _impl_.actions_.custommatch_sendchat_ = custommatch_sendchat; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_SendChat) +} +void Request::set_allocated_custommatch_getlobbyplayers(::rtech::liveapi::CustomMatch_GetLobbyPlayers* custommatch_getlobbyplayers) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_getlobbyplayers) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_getlobbyplayers); + if (message_arena != submessage_arena) { + custommatch_getlobbyplayers = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_getlobbyplayers, submessage_arena); + } + set_has_custommatch_getlobbyplayers(); + _impl_.actions_.custommatch_getlobbyplayers_ = custommatch_getlobbyplayers; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_GetLobbyPlayers) +} +void Request::set_allocated_custommatch_setteamname(::rtech::liveapi::CustomMatch_SetTeamName* custommatch_setteamname) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_setteamname) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_setteamname); + if (message_arena != submessage_arena) { + custommatch_setteamname = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_setteamname, submessage_arena); + } + set_has_custommatch_setteamname(); + _impl_.actions_.custommatch_setteamname_ = custommatch_setteamname; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_SetTeamName) +} +void Request::set_allocated_custommatch_getsettings(::rtech::liveapi::CustomMatch_GetSettings* custommatch_getsettings) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_actions(); + if (custommatch_getsettings) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(custommatch_getsettings); + if (message_arena != submessage_arena) { + custommatch_getsettings = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, custommatch_getsettings, submessage_arena); + } + set_has_custommatch_getsettings(); + _impl_.actions_.custommatch_getsettings_ = custommatch_getsettings; + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.customMatch_GetSettings) +} +Request::Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.Request) +} +Request::Request(const Request& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Request* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.presharedkey_){} + , decltype(_impl_.withack_){} + , decltype(_impl_.actions_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.presharedkey_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.presharedkey_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_presharedkey().empty()) { + _this->_impl_.presharedkey_.Set(from._internal_presharedkey(), + _this->GetArenaForAllocation()); + } + _this->_impl_.withack_ = from._impl_.withack_; + clear_has_actions(); + switch (from.actions_case()) { + case kChangeCam: { + _this->_internal_mutable_changecam()->::rtech::liveapi::ChangeCamera::MergeFrom( + from._internal_changecam()); + break; + } + case kPauseToggle: { + _this->_internal_mutable_pausetoggle()->::rtech::liveapi::PauseToggle::MergeFrom( + from._internal_pausetoggle()); + break; + } + case kCustomMatchCreateLobby: { + _this->_internal_mutable_custommatch_createlobby()->::rtech::liveapi::CustomMatch_CreateLobby::MergeFrom( + from._internal_custommatch_createlobby()); + break; + } + case kCustomMatchJoinLobby: { + _this->_internal_mutable_custommatch_joinlobby()->::rtech::liveapi::CustomMatch_JoinLobby::MergeFrom( + from._internal_custommatch_joinlobby()); + break; + } + case kCustomMatchLeaveLobby: { + _this->_internal_mutable_custommatch_leavelobby()->::rtech::liveapi::CustomMatch_LeaveLobby::MergeFrom( + from._internal_custommatch_leavelobby()); + break; + } + case kCustomMatchSetReady: { + _this->_internal_mutable_custommatch_setready()->::rtech::liveapi::CustomMatch_SetReady::MergeFrom( + from._internal_custommatch_setready()); + break; + } + case kCustomMatchSetMatchmaking: { + _this->_internal_mutable_custommatch_setmatchmaking()->::rtech::liveapi::CustomMatch_SetMatchmaking::MergeFrom( + from._internal_custommatch_setmatchmaking()); + break; + } + case kCustomMatchSetTeam: { + _this->_internal_mutable_custommatch_setteam()->::rtech::liveapi::CustomMatch_SetTeam::MergeFrom( + from._internal_custommatch_setteam()); + break; + } + case kCustomMatchKickPlayer: { + _this->_internal_mutable_custommatch_kickplayer()->::rtech::liveapi::CustomMatch_KickPlayer::MergeFrom( + from._internal_custommatch_kickplayer()); + break; + } + case kCustomMatchSetSettings: { + _this->_internal_mutable_custommatch_setsettings()->::rtech::liveapi::CustomMatch_SetSettings::MergeFrom( + from._internal_custommatch_setsettings()); + break; + } + case kCustomMatchSendChat: { + _this->_internal_mutable_custommatch_sendchat()->::rtech::liveapi::CustomMatch_SendChat::MergeFrom( + from._internal_custommatch_sendchat()); + break; + } + case kCustomMatchGetLobbyPlayers: { + _this->_internal_mutable_custommatch_getlobbyplayers()->::rtech::liveapi::CustomMatch_GetLobbyPlayers::MergeFrom( + from._internal_custommatch_getlobbyplayers()); + break; + } + case kCustomMatchSetTeamName: { + _this->_internal_mutable_custommatch_setteamname()->::rtech::liveapi::CustomMatch_SetTeamName::MergeFrom( + from._internal_custommatch_setteamname()); + break; + } + case kCustomMatchGetSettings: { + _this->_internal_mutable_custommatch_getsettings()->::rtech::liveapi::CustomMatch_GetSettings::MergeFrom( + from._internal_custommatch_getsettings()); + break; + } + case ACTIONS_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.Request) +} + +inline void Request::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.presharedkey_){} + , decltype(_impl_.withack_){false} + , decltype(_impl_.actions_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{} + }; + _impl_.presharedkey_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.presharedkey_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + clear_has_actions(); +} + +Request::~Request() { + // @@protoc_insertion_point(destructor:rtech.liveapi.Request) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Request::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.presharedkey_.Destroy(); + if (has_actions()) { + clear_actions(); + } +} + +void Request::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Request::clear_actions() { +// @@protoc_insertion_point(one_of_clear_start:rtech.liveapi.Request) + switch (actions_case()) { + case kChangeCam: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.changecam_; + } + break; + } + case kPauseToggle: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.pausetoggle_; + } + break; + } + case kCustomMatchCreateLobby: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_createlobby_; + } + break; + } + case kCustomMatchJoinLobby: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_joinlobby_; + } + break; + } + case kCustomMatchLeaveLobby: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_leavelobby_; + } + break; + } + case kCustomMatchSetReady: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setready_; + } + break; + } + case kCustomMatchSetMatchmaking: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setmatchmaking_; + } + break; + } + case kCustomMatchSetTeam: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setteam_; + } + break; + } + case kCustomMatchKickPlayer: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_kickplayer_; + } + break; + } + case kCustomMatchSetSettings: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setsettings_; + } + break; + } + case kCustomMatchSendChat: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_sendchat_; + } + break; + } + case kCustomMatchGetLobbyPlayers: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_getlobbyplayers_; + } + break; + } + case kCustomMatchSetTeamName: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setteamname_; + } + break; + } + case kCustomMatchGetSettings: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_getsettings_; + } + break; + } + case ACTIONS_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = ACTIONS_NOT_SET; +} + + +void Request::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.Request) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.presharedkey_.ClearToEmpty(); + _impl_.withack_ = false; + clear_actions(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Request::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool withAck = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.withack_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // string preSharedKey = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_presharedkey(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.Request.preSharedKey")); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.ChangeCamera changeCam = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_changecam(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.PauseToggle pauseToggle = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_pausetoggle(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_CreateLobby customMatch_CreateLobby = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_createlobby(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_JoinLobby customMatch_JoinLobby = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_joinlobby(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_LeaveLobby customMatch_LeaveLobby = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_leavelobby(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_SetReady customMatch_SetReady = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_setready(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_SetMatchmaking customMatch_SetMatchmaking = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_setmatchmaking(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_SetTeam customMatch_SetTeam = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_setteam(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_KickPlayer customMatch_KickPlayer = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_kickplayer(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_SetSettings customMatch_SetSettings = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_setsettings(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_SendChat customMatch_SendChat = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_sendchat(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_GetLobbyPlayers customMatch_GetLobbyPlayers = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_getlobbyplayers(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_SetTeamName customMatch_SetTeamName = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_setteamname(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .rtech.liveapi.CustomMatch_GetSettings customMatch_GetSettings = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { + ptr = ctx->ParseMessage(_internal_mutable_custommatch_getsettings(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Request::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.Request) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool withAck = 1; + if (this->_internal_withack() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_withack(), target); + } + + // string preSharedKey = 2; + if (!this->_internal_presharedkey().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_presharedkey().data(), static_cast(this->_internal_presharedkey().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.Request.preSharedKey"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_presharedkey(), target); + } + + // .rtech.liveapi.ChangeCamera changeCam = 4; + if (_internal_has_changecam()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::changecam(this), + _Internal::changecam(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.PauseToggle pauseToggle = 5; + if (_internal_has_pausetoggle()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(5, _Internal::pausetoggle(this), + _Internal::pausetoggle(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_CreateLobby customMatch_CreateLobby = 10; + if (_internal_has_custommatch_createlobby()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::custommatch_createlobby(this), + _Internal::custommatch_createlobby(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_JoinLobby customMatch_JoinLobby = 11; + if (_internal_has_custommatch_joinlobby()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::custommatch_joinlobby(this), + _Internal::custommatch_joinlobby(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_LeaveLobby customMatch_LeaveLobby = 12; + if (_internal_has_custommatch_leavelobby()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::custommatch_leavelobby(this), + _Internal::custommatch_leavelobby(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_SetReady customMatch_SetReady = 13; + if (_internal_has_custommatch_setready()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::custommatch_setready(this), + _Internal::custommatch_setready(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_SetMatchmaking customMatch_SetMatchmaking = 14; + if (_internal_has_custommatch_setmatchmaking()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(14, _Internal::custommatch_setmatchmaking(this), + _Internal::custommatch_setmatchmaking(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_SetTeam customMatch_SetTeam = 15; + if (_internal_has_custommatch_setteam()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(15, _Internal::custommatch_setteam(this), + _Internal::custommatch_setteam(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_KickPlayer customMatch_KickPlayer = 16; + if (_internal_has_custommatch_kickplayer()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(16, _Internal::custommatch_kickplayer(this), + _Internal::custommatch_kickplayer(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_SetSettings customMatch_SetSettings = 17; + if (_internal_has_custommatch_setsettings()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(17, _Internal::custommatch_setsettings(this), + _Internal::custommatch_setsettings(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_SendChat customMatch_SendChat = 18; + if (_internal_has_custommatch_sendchat()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(18, _Internal::custommatch_sendchat(this), + _Internal::custommatch_sendchat(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_GetLobbyPlayers customMatch_GetLobbyPlayers = 19; + if (_internal_has_custommatch_getlobbyplayers()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(19, _Internal::custommatch_getlobbyplayers(this), + _Internal::custommatch_getlobbyplayers(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_SetTeamName customMatch_SetTeamName = 20; + if (_internal_has_custommatch_setteamname()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(20, _Internal::custommatch_setteamname(this), + _Internal::custommatch_setteamname(this).GetCachedSize(), target, stream); + } + + // .rtech.liveapi.CustomMatch_GetSettings customMatch_GetSettings = 21; + if (_internal_has_custommatch_getsettings()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(21, _Internal::custommatch_getsettings(this), + _Internal::custommatch_getsettings(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.Request) + return target; +} + +size_t Request::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.Request) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string preSharedKey = 2; + if (!this->_internal_presharedkey().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_presharedkey()); + } + + // bool withAck = 1; + if (this->_internal_withack() != 0) { + total_size += 1 + 1; + } + + switch (actions_case()) { + // .rtech.liveapi.ChangeCamera changeCam = 4; + case kChangeCam: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.changecam_); + break; + } + // .rtech.liveapi.PauseToggle pauseToggle = 5; + case kPauseToggle: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.pausetoggle_); + break; + } + // .rtech.liveapi.CustomMatch_CreateLobby customMatch_CreateLobby = 10; + case kCustomMatchCreateLobby: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_createlobby_); + break; + } + // .rtech.liveapi.CustomMatch_JoinLobby customMatch_JoinLobby = 11; + case kCustomMatchJoinLobby: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_joinlobby_); + break; + } + // .rtech.liveapi.CustomMatch_LeaveLobby customMatch_LeaveLobby = 12; + case kCustomMatchLeaveLobby: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_leavelobby_); + break; + } + // .rtech.liveapi.CustomMatch_SetReady customMatch_SetReady = 13; + case kCustomMatchSetReady: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_setready_); + break; + } + // .rtech.liveapi.CustomMatch_SetMatchmaking customMatch_SetMatchmaking = 14; + case kCustomMatchSetMatchmaking: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_setmatchmaking_); + break; + } + // .rtech.liveapi.CustomMatch_SetTeam customMatch_SetTeam = 15; + case kCustomMatchSetTeam: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_setteam_); + break; + } + // .rtech.liveapi.CustomMatch_KickPlayer customMatch_KickPlayer = 16; + case kCustomMatchKickPlayer: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_kickplayer_); + break; + } + // .rtech.liveapi.CustomMatch_SetSettings customMatch_SetSettings = 17; + case kCustomMatchSetSettings: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_setsettings_); + break; + } + // .rtech.liveapi.CustomMatch_SendChat customMatch_SendChat = 18; + case kCustomMatchSendChat: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_sendchat_); + break; + } + // .rtech.liveapi.CustomMatch_GetLobbyPlayers customMatch_GetLobbyPlayers = 19; + case kCustomMatchGetLobbyPlayers: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_getlobbyplayers_); + break; + } + // .rtech.liveapi.CustomMatch_SetTeamName customMatch_SetTeamName = 20; + case kCustomMatchSetTeamName: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_setteamname_); + break; + } + // .rtech.liveapi.CustomMatch_GetSettings customMatch_GetSettings = 21; + case kCustomMatchGetSettings: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.actions_.custommatch_getsettings_); + break; + } + case ACTIONS_NOT_SET: { + break; + } + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Request::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Request::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Request::GetClassData() const { return &_class_data_; } + + +void Request::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.Request) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_presharedkey().empty()) { + _this->_internal_set_presharedkey(from._internal_presharedkey()); + } + if (from._internal_withack() != 0) { + _this->_internal_set_withack(from._internal_withack()); + } + switch (from.actions_case()) { + case kChangeCam: { + _this->_internal_mutable_changecam()->::rtech::liveapi::ChangeCamera::MergeFrom( + from._internal_changecam()); + break; + } + case kPauseToggle: { + _this->_internal_mutable_pausetoggle()->::rtech::liveapi::PauseToggle::MergeFrom( + from._internal_pausetoggle()); + break; + } + case kCustomMatchCreateLobby: { + _this->_internal_mutable_custommatch_createlobby()->::rtech::liveapi::CustomMatch_CreateLobby::MergeFrom( + from._internal_custommatch_createlobby()); + break; + } + case kCustomMatchJoinLobby: { + _this->_internal_mutable_custommatch_joinlobby()->::rtech::liveapi::CustomMatch_JoinLobby::MergeFrom( + from._internal_custommatch_joinlobby()); + break; + } + case kCustomMatchLeaveLobby: { + _this->_internal_mutable_custommatch_leavelobby()->::rtech::liveapi::CustomMatch_LeaveLobby::MergeFrom( + from._internal_custommatch_leavelobby()); + break; + } + case kCustomMatchSetReady: { + _this->_internal_mutable_custommatch_setready()->::rtech::liveapi::CustomMatch_SetReady::MergeFrom( + from._internal_custommatch_setready()); + break; + } + case kCustomMatchSetMatchmaking: { + _this->_internal_mutable_custommatch_setmatchmaking()->::rtech::liveapi::CustomMatch_SetMatchmaking::MergeFrom( + from._internal_custommatch_setmatchmaking()); + break; + } + case kCustomMatchSetTeam: { + _this->_internal_mutable_custommatch_setteam()->::rtech::liveapi::CustomMatch_SetTeam::MergeFrom( + from._internal_custommatch_setteam()); + break; + } + case kCustomMatchKickPlayer: { + _this->_internal_mutable_custommatch_kickplayer()->::rtech::liveapi::CustomMatch_KickPlayer::MergeFrom( + from._internal_custommatch_kickplayer()); + break; + } + case kCustomMatchSetSettings: { + _this->_internal_mutable_custommatch_setsettings()->::rtech::liveapi::CustomMatch_SetSettings::MergeFrom( + from._internal_custommatch_setsettings()); + break; + } + case kCustomMatchSendChat: { + _this->_internal_mutable_custommatch_sendchat()->::rtech::liveapi::CustomMatch_SendChat::MergeFrom( + from._internal_custommatch_sendchat()); + break; + } + case kCustomMatchGetLobbyPlayers: { + _this->_internal_mutable_custommatch_getlobbyplayers()->::rtech::liveapi::CustomMatch_GetLobbyPlayers::MergeFrom( + from._internal_custommatch_getlobbyplayers()); + break; + } + case kCustomMatchSetTeamName: { + _this->_internal_mutable_custommatch_setteamname()->::rtech::liveapi::CustomMatch_SetTeamName::MergeFrom( + from._internal_custommatch_setteamname()); + break; + } + case kCustomMatchGetSettings: { + _this->_internal_mutable_custommatch_getsettings()->::rtech::liveapi::CustomMatch_GetSettings::MergeFrom( + from._internal_custommatch_getsettings()); + break; + } + case ACTIONS_NOT_SET: { + break; + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Request::CopyFrom(const Request& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.Request) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Request::IsInitialized() const { + return true; +} + +void Request::InternalSwap(Request* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.presharedkey_, lhs_arena, + &other->_impl_.presharedkey_, rhs_arena + ); + swap(_impl_.withack_, other->_impl_.withack_); + swap(_impl_.actions_, other->_impl_.actions_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Request::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[60]); +} + +// =================================================================== + +class RequestStatus::_Internal { + public: +}; + +RequestStatus::RequestStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.RequestStatus) +} +RequestStatus::RequestStatus(const RequestStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + RequestStatus* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.status_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.status_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.status_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_status().empty()) { + _this->_impl_.status_.Set(from._internal_status(), + _this->GetArenaForAllocation()); + } + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.RequestStatus) +} + +inline void RequestStatus::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.status_){} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.status_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.status_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +RequestStatus::~RequestStatus() { + // @@protoc_insertion_point(destructor:rtech.liveapi.RequestStatus) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void RequestStatus::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.status_.Destroy(); +} + +void RequestStatus::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void RequestStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.RequestStatus) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.status_.ClearToEmpty(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* RequestStatus::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string status = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_status(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "rtech.liveapi.RequestStatus.status")); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* RequestStatus::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.RequestStatus) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string status = 1; + if (!this->_internal_status().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_status().data(), static_cast(this->_internal_status().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "rtech.liveapi.RequestStatus.status"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_status(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.RequestStatus) + return target; +} + +size_t RequestStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.RequestStatus) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string status = 1; + if (!this->_internal_status().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_status()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RequestStatus::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + RequestStatus::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RequestStatus::GetClassData() const { return &_class_data_; } + + +void RequestStatus::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.RequestStatus) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_status().empty()) { + _this->_internal_set_status(from._internal_status()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void RequestStatus::CopyFrom(const RequestStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.RequestStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool RequestStatus::IsInitialized() const { + return true; +} + +void RequestStatus::InternalSwap(RequestStatus* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.status_, lhs_arena, + &other->_impl_.status_, rhs_arena + ); +} + +::PROTOBUF_NAMESPACE_ID::Metadata RequestStatus::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[61]); +} + +// =================================================================== + +class Response::_Internal { + public: + static const ::PROTOBUF_NAMESPACE_ID::Any& result(const Response* msg); +}; + +const ::PROTOBUF_NAMESPACE_ID::Any& +Response::_Internal::result(const Response* msg) { + return *msg->_impl_.result_; +} +void Response::clear_result() { + if (GetArenaForAllocation() == nullptr && _impl_.result_ != nullptr) { + delete _impl_.result_; + } + _impl_.result_ = nullptr; +} +Response::Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.Response) +} +Response::Response(const Response& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Response* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.result_){nullptr} + , decltype(_impl_.success_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_result()) { + _this->_impl_.result_ = new ::PROTOBUF_NAMESPACE_ID::Any(*from._impl_.result_); + } + _this->_impl_.success_ = from._impl_.success_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.Response) +} + +inline void Response::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.result_){nullptr} + , decltype(_impl_.success_){false} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +Response::~Response() { + // @@protoc_insertion_point(destructor:rtech.liveapi.Response) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Response::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.result_; +} + +void Response::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Response::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.Response) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.result_ != nullptr) { + delete _impl_.result_; + } + _impl_.result_ = nullptr; + _impl_.success_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Response::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // bool success = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.success_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .google.protobuf.Any result = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_result(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* Response::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.Response) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // bool success = 1; + if (this->_internal_success() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_success(), target); + } + + // .google.protobuf.Any result = 2; + if (this->_internal_has_result()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::result(this), + _Internal::result(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.Response) + return target; +} + +size_t Response::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.Response) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .google.protobuf.Any result = 2; + if (this->_internal_has_result()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.result_); + } + + // bool success = 1; + if (this->_internal_success() != 0) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Response::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Response::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Response::GetClassData() const { return &_class_data_; } + + +void Response::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.Response) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_result()) { + _this->_internal_mutable_result()->::PROTOBUF_NAMESPACE_ID::Any::MergeFrom( + from._internal_result()); + } + if (from._internal_success() != 0) { + _this->_internal_set_success(from._internal_success()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Response::CopyFrom(const Response& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.Response) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Response::IsInitialized() const { + return true; +} + +void Response::InternalSwap(Response* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(Response, _impl_.success_) + + sizeof(Response::_impl_.success_) + - PROTOBUF_FIELD_OFFSET(Response, _impl_.result_)>( + reinterpret_cast(&_impl_.result_), + reinterpret_cast(&other->_impl_.result_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Response::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[62]); +} + +// =================================================================== + +class LiveAPIEvent::_Internal { + public: + static const ::PROTOBUF_NAMESPACE_ID::Any& gamemessage(const LiveAPIEvent* msg); +}; + +const ::PROTOBUF_NAMESPACE_ID::Any& +LiveAPIEvent::_Internal::gamemessage(const LiveAPIEvent* msg) { + return *msg->_impl_.gamemessage_; +} +void LiveAPIEvent::clear_gamemessage() { + if (GetArenaForAllocation() == nullptr && _impl_.gamemessage_ != nullptr) { + delete _impl_.gamemessage_; + } + _impl_.gamemessage_ = nullptr; +} +LiveAPIEvent::LiveAPIEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { + SharedCtor(arena, is_message_owned); + // @@protoc_insertion_point(arena_constructor:rtech.liveapi.LiveAPIEvent) +} +LiveAPIEvent::LiveAPIEvent(const LiveAPIEvent& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + LiveAPIEvent* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.gamemessage_){nullptr} + , decltype(_impl_.event_size_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_gamemessage()) { + _this->_impl_.gamemessage_ = new ::PROTOBUF_NAMESPACE_ID::Any(*from._impl_.gamemessage_); + } + _this->_impl_.event_size_ = from._impl_.event_size_; + // @@protoc_insertion_point(copy_constructor:rtech.liveapi.LiveAPIEvent) +} + +inline void LiveAPIEvent::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.gamemessage_){nullptr} + , decltype(_impl_.event_size_){0u} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +LiveAPIEvent::~LiveAPIEvent() { + // @@protoc_insertion_point(destructor:rtech.liveapi.LiveAPIEvent) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void LiveAPIEvent::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.gamemessage_; +} + +void LiveAPIEvent::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void LiveAPIEvent::Clear() { +// @@protoc_insertion_point(message_clear_start:rtech.liveapi.LiveAPIEvent) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.gamemessage_ != nullptr) { + delete _impl_.gamemessage_; + } + _impl_.gamemessage_ = nullptr; + _impl_.event_size_ = 0u; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* LiveAPIEvent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // fixed32 event_size = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 13)) { + _impl_.event_size_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad(ptr); + ptr += sizeof(uint32_t); + } else + goto handle_unusual; + continue; + // .google.protobuf.Any gameMessage = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_gamemessage(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* LiveAPIEvent::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:rtech.liveapi.LiveAPIEvent) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // fixed32 event_size = 1; + if (this->_internal_event_size() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteFixed32ToArray(1, this->_internal_event_size(), target); + } + + // .google.protobuf.Any gameMessage = 3; + if (this->_internal_has_gamemessage()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::gamemessage(this), + _Internal::gamemessage(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:rtech.liveapi.LiveAPIEvent) + return target; +} + +size_t LiveAPIEvent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:rtech.liveapi.LiveAPIEvent) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .google.protobuf.Any gameMessage = 3; + if (this->_internal_has_gamemessage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.gamemessage_); + } + + // fixed32 event_size = 1; + if (this->_internal_event_size() != 0) { + total_size += 1 + 4; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData LiveAPIEvent::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + LiveAPIEvent::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*LiveAPIEvent::GetClassData() const { return &_class_data_; } + + +void LiveAPIEvent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:rtech.liveapi.LiveAPIEvent) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_gamemessage()) { + _this->_internal_mutable_gamemessage()->::PROTOBUF_NAMESPACE_ID::Any::MergeFrom( + from._internal_gamemessage()); + } + if (from._internal_event_size() != 0) { + _this->_internal_set_event_size(from._internal_event_size()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void LiveAPIEvent::CopyFrom(const LiveAPIEvent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:rtech.liveapi.LiveAPIEvent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool LiveAPIEvent::IsInitialized() const { + return true; +} + +void LiveAPIEvent::InternalSwap(LiveAPIEvent* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(LiveAPIEvent, _impl_.event_size_) + + sizeof(LiveAPIEvent::_impl_.event_size_) + - PROTOBUF_FIELD_OFFSET(LiveAPIEvent, _impl_.gamemessage_)>( + reinterpret_cast(&_impl_.gamemessage_), + reinterpret_cast(&other->_impl_.gamemessage_)); +} + +::PROTOBUF_NAMESPACE_ID::Metadata LiveAPIEvent::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_events_2eproto_getter, &descriptor_table_events_2eproto_once, + file_level_metadata_events_2eproto[63]); +} + +// @@protoc_insertion_point(namespace_scope) +} // namespace liveapi +} // namespace rtech +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::rtech::liveapi::Vector3* +Arena::CreateMaybeMessage< ::rtech::liveapi::Vector3 >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::Vector3 >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::Player* +Arena::CreateMaybeMessage< ::rtech::liveapi::Player >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::Player >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_LobbyPlayer* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_LobbyPlayer >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_LobbyPlayer >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::Datacenter* +Arena::CreateMaybeMessage< ::rtech::liveapi::Datacenter >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::Datacenter >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::Version* +Arena::CreateMaybeMessage< ::rtech::liveapi::Version >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::Version >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::InventoryItem* +Arena::CreateMaybeMessage< ::rtech::liveapi::InventoryItem >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::InventoryItem >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::LoadoutConfiguration* +Arena::CreateMaybeMessage< ::rtech::liveapi::LoadoutConfiguration >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::LoadoutConfiguration >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::Init* +Arena::CreateMaybeMessage< ::rtech::liveapi::Init >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::Init >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_LobbyPlayers* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_LobbyPlayers >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_LobbyPlayers >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::ObserverSwitched* +Arena::CreateMaybeMessage< ::rtech::liveapi::ObserverSwitched >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::ObserverSwitched >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::ObserverAnnotation* +Arena::CreateMaybeMessage< ::rtech::liveapi::ObserverAnnotation >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::ObserverAnnotation >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::MatchSetup* +Arena::CreateMaybeMessage< ::rtech::liveapi::MatchSetup >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::MatchSetup >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::GameStateChanged* +Arena::CreateMaybeMessage< ::rtech::liveapi::GameStateChanged >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::GameStateChanged >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CharacterSelected* +Arena::CreateMaybeMessage< ::rtech::liveapi::CharacterSelected >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CharacterSelected >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::MatchStateEnd* +Arena::CreateMaybeMessage< ::rtech::liveapi::MatchStateEnd >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::MatchStateEnd >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::RingStartClosing* +Arena::CreateMaybeMessage< ::rtech::liveapi::RingStartClosing >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::RingStartClosing >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::RingFinishedClosing* +Arena::CreateMaybeMessage< ::rtech::liveapi::RingFinishedClosing >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::RingFinishedClosing >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerConnected* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerConnected >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerConnected >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerDisconnected* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerDisconnected >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerDisconnected >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerStatChanged* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerStatChanged >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerStatChanged >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerUpgradeTierChanged* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerUpgradeTierChanged >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerUpgradeTierChanged >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerDamaged* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerDamaged >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerDamaged >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerKilled* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerKilled >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerKilled >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerDowned* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerDowned >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerDowned >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerAssist* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerAssist >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerAssist >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::SquadEliminated* +Arena::CreateMaybeMessage< ::rtech::liveapi::SquadEliminated >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::SquadEliminated >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::GibraltarShieldAbsorbed* +Arena::CreateMaybeMessage< ::rtech::liveapi::GibraltarShieldAbsorbed >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::GibraltarShieldAbsorbed >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::RevenantForgedShadowDamaged* +Arena::CreateMaybeMessage< ::rtech::liveapi::RevenantForgedShadowDamaged >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::RevenantForgedShadowDamaged >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerRespawnTeam* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerRespawnTeam >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerRespawnTeam >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerRevive* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerRevive >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerRevive >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::ArenasItemSelected* +Arena::CreateMaybeMessage< ::rtech::liveapi::ArenasItemSelected >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::ArenasItemSelected >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::ArenasItemDeselected* +Arena::CreateMaybeMessage< ::rtech::liveapi::ArenasItemDeselected >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::ArenasItemDeselected >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::InventoryPickUp* +Arena::CreateMaybeMessage< ::rtech::liveapi::InventoryPickUp >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::InventoryPickUp >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::InventoryDrop* +Arena::CreateMaybeMessage< ::rtech::liveapi::InventoryDrop >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::InventoryDrop >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::InventoryUse* +Arena::CreateMaybeMessage< ::rtech::liveapi::InventoryUse >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::InventoryUse >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::BannerCollected* +Arena::CreateMaybeMessage< ::rtech::liveapi::BannerCollected >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::BannerCollected >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PlayerAbilityUsed* +Arena::CreateMaybeMessage< ::rtech::liveapi::PlayerAbilityUsed >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PlayerAbilityUsed >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::LegendUpgradeSelected* +Arena::CreateMaybeMessage< ::rtech::liveapi::LegendUpgradeSelected >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::LegendUpgradeSelected >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::ZiplineUsed* +Arena::CreateMaybeMessage< ::rtech::liveapi::ZiplineUsed >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::ZiplineUsed >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::GrenadeThrown* +Arena::CreateMaybeMessage< ::rtech::liveapi::GrenadeThrown >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::GrenadeThrown >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::BlackMarketAction* +Arena::CreateMaybeMessage< ::rtech::liveapi::BlackMarketAction >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::BlackMarketAction >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::WraithPortal* +Arena::CreateMaybeMessage< ::rtech::liveapi::WraithPortal >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::WraithPortal >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::WarpGateUsed* +Arena::CreateMaybeMessage< ::rtech::liveapi::WarpGateUsed >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::WarpGateUsed >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::AmmoUsed* +Arena::CreateMaybeMessage< ::rtech::liveapi::AmmoUsed >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::AmmoUsed >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::WeaponSwitched* +Arena::CreateMaybeMessage< ::rtech::liveapi::WeaponSwitched >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::WeaponSwitched >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomEvent* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomEvent >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::ChangeCamera* +Arena::CreateMaybeMessage< ::rtech::liveapi::ChangeCamera >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::ChangeCamera >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::PauseToggle* +Arena::CreateMaybeMessage< ::rtech::liveapi::PauseToggle >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::PauseToggle >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_CreateLobby* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_CreateLobby >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_CreateLobby >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_JoinLobby* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_JoinLobby >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_JoinLobby >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_LeaveLobby* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_LeaveLobby >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_LeaveLobby >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_SetReady* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetReady >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_SetReady >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_GetLobbyPlayers* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_GetLobbyPlayers >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_GetLobbyPlayers >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_SetMatchmaking* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetMatchmaking >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_SetMatchmaking >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_SetTeam* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetTeam >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_SetTeam >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_KickPlayer* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_KickPlayer >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_KickPlayer >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_SetSettings* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetSettings >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_SetSettings >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_GetSettings* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_GetSettings >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_GetSettings >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_SetTeamName* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetTeamName >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_SetTeamName >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::CustomMatch_SendChat* +Arena::CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SendChat >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::CustomMatch_SendChat >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::Request* +Arena::CreateMaybeMessage< ::rtech::liveapi::Request >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::Request >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::RequestStatus* +Arena::CreateMaybeMessage< ::rtech::liveapi::RequestStatus >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::RequestStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::Response* +Arena::CreateMaybeMessage< ::rtech::liveapi::Response >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::Response >(arena); +} +template<> PROTOBUF_NOINLINE ::rtech::liveapi::LiveAPIEvent* +Arena::CreateMaybeMessage< ::rtech::liveapi::LiveAPIEvent >(Arena* arena) { + return Arena::CreateMessageInternal< ::rtech::liveapi::LiveAPIEvent >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include diff --git a/src/game/server/liveapi/events.pb.h b/src/game/server/liveapi/events.pb.h new file mode 100644 index 00000000..18a6841f --- /dev/null +++ b/src/game/server/liveapi/events.pb.h @@ -0,0 +1,25748 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: events.proto + +#ifndef GOOGLE_PROTOBUF_INCLUDED_events_2eproto +#define GOOGLE_PROTOBUF_INCLUDED_events_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3021000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_events_2eproto +PROTOBUF_NAMESPACE_OPEN +namespace internal { +class AnyMetadata; +} // namespace internal +PROTOBUF_NAMESPACE_CLOSE + +// Internal implementation detail -- do not use these members. +struct TableStruct_events_2eproto { + static const uint32_t offsets[]; +}; +extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_events_2eproto; +namespace rtech { +namespace liveapi { +class AmmoUsed; +struct AmmoUsedDefaultTypeInternal; +extern AmmoUsedDefaultTypeInternal _AmmoUsed_default_instance_; +class ArenasItemDeselected; +struct ArenasItemDeselectedDefaultTypeInternal; +extern ArenasItemDeselectedDefaultTypeInternal _ArenasItemDeselected_default_instance_; +class ArenasItemSelected; +struct ArenasItemSelectedDefaultTypeInternal; +extern ArenasItemSelectedDefaultTypeInternal _ArenasItemSelected_default_instance_; +class BannerCollected; +struct BannerCollectedDefaultTypeInternal; +extern BannerCollectedDefaultTypeInternal _BannerCollected_default_instance_; +class BlackMarketAction; +struct BlackMarketActionDefaultTypeInternal; +extern BlackMarketActionDefaultTypeInternal _BlackMarketAction_default_instance_; +class ChangeCamera; +struct ChangeCameraDefaultTypeInternal; +extern ChangeCameraDefaultTypeInternal _ChangeCamera_default_instance_; +class CharacterSelected; +struct CharacterSelectedDefaultTypeInternal; +extern CharacterSelectedDefaultTypeInternal _CharacterSelected_default_instance_; +class CustomEvent; +struct CustomEventDefaultTypeInternal; +extern CustomEventDefaultTypeInternal _CustomEvent_default_instance_; +class CustomMatch_CreateLobby; +struct CustomMatch_CreateLobbyDefaultTypeInternal; +extern CustomMatch_CreateLobbyDefaultTypeInternal _CustomMatch_CreateLobby_default_instance_; +class CustomMatch_GetLobbyPlayers; +struct CustomMatch_GetLobbyPlayersDefaultTypeInternal; +extern CustomMatch_GetLobbyPlayersDefaultTypeInternal _CustomMatch_GetLobbyPlayers_default_instance_; +class CustomMatch_GetSettings; +struct CustomMatch_GetSettingsDefaultTypeInternal; +extern CustomMatch_GetSettingsDefaultTypeInternal _CustomMatch_GetSettings_default_instance_; +class CustomMatch_JoinLobby; +struct CustomMatch_JoinLobbyDefaultTypeInternal; +extern CustomMatch_JoinLobbyDefaultTypeInternal _CustomMatch_JoinLobby_default_instance_; +class CustomMatch_KickPlayer; +struct CustomMatch_KickPlayerDefaultTypeInternal; +extern CustomMatch_KickPlayerDefaultTypeInternal _CustomMatch_KickPlayer_default_instance_; +class CustomMatch_LeaveLobby; +struct CustomMatch_LeaveLobbyDefaultTypeInternal; +extern CustomMatch_LeaveLobbyDefaultTypeInternal _CustomMatch_LeaveLobby_default_instance_; +class CustomMatch_LobbyPlayer; +struct CustomMatch_LobbyPlayerDefaultTypeInternal; +extern CustomMatch_LobbyPlayerDefaultTypeInternal _CustomMatch_LobbyPlayer_default_instance_; +class CustomMatch_LobbyPlayers; +struct CustomMatch_LobbyPlayersDefaultTypeInternal; +extern CustomMatch_LobbyPlayersDefaultTypeInternal _CustomMatch_LobbyPlayers_default_instance_; +class CustomMatch_SendChat; +struct CustomMatch_SendChatDefaultTypeInternal; +extern CustomMatch_SendChatDefaultTypeInternal _CustomMatch_SendChat_default_instance_; +class CustomMatch_SetMatchmaking; +struct CustomMatch_SetMatchmakingDefaultTypeInternal; +extern CustomMatch_SetMatchmakingDefaultTypeInternal _CustomMatch_SetMatchmaking_default_instance_; +class CustomMatch_SetReady; +struct CustomMatch_SetReadyDefaultTypeInternal; +extern CustomMatch_SetReadyDefaultTypeInternal _CustomMatch_SetReady_default_instance_; +class CustomMatch_SetSettings; +struct CustomMatch_SetSettingsDefaultTypeInternal; +extern CustomMatch_SetSettingsDefaultTypeInternal _CustomMatch_SetSettings_default_instance_; +class CustomMatch_SetTeam; +struct CustomMatch_SetTeamDefaultTypeInternal; +extern CustomMatch_SetTeamDefaultTypeInternal _CustomMatch_SetTeam_default_instance_; +class CustomMatch_SetTeamName; +struct CustomMatch_SetTeamNameDefaultTypeInternal; +extern CustomMatch_SetTeamNameDefaultTypeInternal _CustomMatch_SetTeamName_default_instance_; +class Datacenter; +struct DatacenterDefaultTypeInternal; +extern DatacenterDefaultTypeInternal _Datacenter_default_instance_; +class GameStateChanged; +struct GameStateChangedDefaultTypeInternal; +extern GameStateChangedDefaultTypeInternal _GameStateChanged_default_instance_; +class GibraltarShieldAbsorbed; +struct GibraltarShieldAbsorbedDefaultTypeInternal; +extern GibraltarShieldAbsorbedDefaultTypeInternal _GibraltarShieldAbsorbed_default_instance_; +class GrenadeThrown; +struct GrenadeThrownDefaultTypeInternal; +extern GrenadeThrownDefaultTypeInternal _GrenadeThrown_default_instance_; +class Init; +struct InitDefaultTypeInternal; +extern InitDefaultTypeInternal _Init_default_instance_; +class InventoryDrop; +struct InventoryDropDefaultTypeInternal; +extern InventoryDropDefaultTypeInternal _InventoryDrop_default_instance_; +class InventoryItem; +struct InventoryItemDefaultTypeInternal; +extern InventoryItemDefaultTypeInternal _InventoryItem_default_instance_; +class InventoryPickUp; +struct InventoryPickUpDefaultTypeInternal; +extern InventoryPickUpDefaultTypeInternal _InventoryPickUp_default_instance_; +class InventoryUse; +struct InventoryUseDefaultTypeInternal; +extern InventoryUseDefaultTypeInternal _InventoryUse_default_instance_; +class LegendUpgradeSelected; +struct LegendUpgradeSelectedDefaultTypeInternal; +extern LegendUpgradeSelectedDefaultTypeInternal _LegendUpgradeSelected_default_instance_; +class LiveAPIEvent; +struct LiveAPIEventDefaultTypeInternal; +extern LiveAPIEventDefaultTypeInternal _LiveAPIEvent_default_instance_; +class LoadoutConfiguration; +struct LoadoutConfigurationDefaultTypeInternal; +extern LoadoutConfigurationDefaultTypeInternal _LoadoutConfiguration_default_instance_; +class MatchSetup; +struct MatchSetupDefaultTypeInternal; +extern MatchSetupDefaultTypeInternal _MatchSetup_default_instance_; +class MatchStateEnd; +struct MatchStateEndDefaultTypeInternal; +extern MatchStateEndDefaultTypeInternal _MatchStateEnd_default_instance_; +class ObserverAnnotation; +struct ObserverAnnotationDefaultTypeInternal; +extern ObserverAnnotationDefaultTypeInternal _ObserverAnnotation_default_instance_; +class ObserverSwitched; +struct ObserverSwitchedDefaultTypeInternal; +extern ObserverSwitchedDefaultTypeInternal _ObserverSwitched_default_instance_; +class PauseToggle; +struct PauseToggleDefaultTypeInternal; +extern PauseToggleDefaultTypeInternal _PauseToggle_default_instance_; +class Player; +struct PlayerDefaultTypeInternal; +extern PlayerDefaultTypeInternal _Player_default_instance_; +class PlayerAbilityUsed; +struct PlayerAbilityUsedDefaultTypeInternal; +extern PlayerAbilityUsedDefaultTypeInternal _PlayerAbilityUsed_default_instance_; +class PlayerAssist; +struct PlayerAssistDefaultTypeInternal; +extern PlayerAssistDefaultTypeInternal _PlayerAssist_default_instance_; +class PlayerConnected; +struct PlayerConnectedDefaultTypeInternal; +extern PlayerConnectedDefaultTypeInternal _PlayerConnected_default_instance_; +class PlayerDamaged; +struct PlayerDamagedDefaultTypeInternal; +extern PlayerDamagedDefaultTypeInternal _PlayerDamaged_default_instance_; +class PlayerDisconnected; +struct PlayerDisconnectedDefaultTypeInternal; +extern PlayerDisconnectedDefaultTypeInternal _PlayerDisconnected_default_instance_; +class PlayerDowned; +struct PlayerDownedDefaultTypeInternal; +extern PlayerDownedDefaultTypeInternal _PlayerDowned_default_instance_; +class PlayerKilled; +struct PlayerKilledDefaultTypeInternal; +extern PlayerKilledDefaultTypeInternal _PlayerKilled_default_instance_; +class PlayerRespawnTeam; +struct PlayerRespawnTeamDefaultTypeInternal; +extern PlayerRespawnTeamDefaultTypeInternal _PlayerRespawnTeam_default_instance_; +class PlayerRevive; +struct PlayerReviveDefaultTypeInternal; +extern PlayerReviveDefaultTypeInternal _PlayerRevive_default_instance_; +class PlayerStatChanged; +struct PlayerStatChangedDefaultTypeInternal; +extern PlayerStatChangedDefaultTypeInternal _PlayerStatChanged_default_instance_; +class PlayerUpgradeTierChanged; +struct PlayerUpgradeTierChangedDefaultTypeInternal; +extern PlayerUpgradeTierChangedDefaultTypeInternal _PlayerUpgradeTierChanged_default_instance_; +class Request; +struct RequestDefaultTypeInternal; +extern RequestDefaultTypeInternal _Request_default_instance_; +class RequestStatus; +struct RequestStatusDefaultTypeInternal; +extern RequestStatusDefaultTypeInternal _RequestStatus_default_instance_; +class Response; +struct ResponseDefaultTypeInternal; +extern ResponseDefaultTypeInternal _Response_default_instance_; +class RevenantForgedShadowDamaged; +struct RevenantForgedShadowDamagedDefaultTypeInternal; +extern RevenantForgedShadowDamagedDefaultTypeInternal _RevenantForgedShadowDamaged_default_instance_; +class RingFinishedClosing; +struct RingFinishedClosingDefaultTypeInternal; +extern RingFinishedClosingDefaultTypeInternal _RingFinishedClosing_default_instance_; +class RingStartClosing; +struct RingStartClosingDefaultTypeInternal; +extern RingStartClosingDefaultTypeInternal _RingStartClosing_default_instance_; +class SquadEliminated; +struct SquadEliminatedDefaultTypeInternal; +extern SquadEliminatedDefaultTypeInternal _SquadEliminated_default_instance_; +class Vector3; +struct Vector3DefaultTypeInternal; +extern Vector3DefaultTypeInternal _Vector3_default_instance_; +class Version; +struct VersionDefaultTypeInternal; +extern VersionDefaultTypeInternal _Version_default_instance_; +class WarpGateUsed; +struct WarpGateUsedDefaultTypeInternal; +extern WarpGateUsedDefaultTypeInternal _WarpGateUsed_default_instance_; +class WeaponSwitched; +struct WeaponSwitchedDefaultTypeInternal; +extern WeaponSwitchedDefaultTypeInternal _WeaponSwitched_default_instance_; +class WraithPortal; +struct WraithPortalDefaultTypeInternal; +extern WraithPortalDefaultTypeInternal _WraithPortal_default_instance_; +class ZiplineUsed; +struct ZiplineUsedDefaultTypeInternal; +extern ZiplineUsedDefaultTypeInternal _ZiplineUsed_default_instance_; +} // namespace liveapi +} // namespace rtech +PROTOBUF_NAMESPACE_OPEN +template<> ::rtech::liveapi::AmmoUsed* Arena::CreateMaybeMessage<::rtech::liveapi::AmmoUsed>(Arena*); +template<> ::rtech::liveapi::ArenasItemDeselected* Arena::CreateMaybeMessage<::rtech::liveapi::ArenasItemDeselected>(Arena*); +template<> ::rtech::liveapi::ArenasItemSelected* Arena::CreateMaybeMessage<::rtech::liveapi::ArenasItemSelected>(Arena*); +template<> ::rtech::liveapi::BannerCollected* Arena::CreateMaybeMessage<::rtech::liveapi::BannerCollected>(Arena*); +template<> ::rtech::liveapi::BlackMarketAction* Arena::CreateMaybeMessage<::rtech::liveapi::BlackMarketAction>(Arena*); +template<> ::rtech::liveapi::ChangeCamera* Arena::CreateMaybeMessage<::rtech::liveapi::ChangeCamera>(Arena*); +template<> ::rtech::liveapi::CharacterSelected* Arena::CreateMaybeMessage<::rtech::liveapi::CharacterSelected>(Arena*); +template<> ::rtech::liveapi::CustomEvent* Arena::CreateMaybeMessage<::rtech::liveapi::CustomEvent>(Arena*); +template<> ::rtech::liveapi::CustomMatch_CreateLobby* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_CreateLobby>(Arena*); +template<> ::rtech::liveapi::CustomMatch_GetLobbyPlayers* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_GetLobbyPlayers>(Arena*); +template<> ::rtech::liveapi::CustomMatch_GetSettings* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_GetSettings>(Arena*); +template<> ::rtech::liveapi::CustomMatch_JoinLobby* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_JoinLobby>(Arena*); +template<> ::rtech::liveapi::CustomMatch_KickPlayer* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_KickPlayer>(Arena*); +template<> ::rtech::liveapi::CustomMatch_LeaveLobby* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_LeaveLobby>(Arena*); +template<> ::rtech::liveapi::CustomMatch_LobbyPlayer* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_LobbyPlayer>(Arena*); +template<> ::rtech::liveapi::CustomMatch_LobbyPlayers* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_LobbyPlayers>(Arena*); +template<> ::rtech::liveapi::CustomMatch_SendChat* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_SendChat>(Arena*); +template<> ::rtech::liveapi::CustomMatch_SetMatchmaking* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_SetMatchmaking>(Arena*); +template<> ::rtech::liveapi::CustomMatch_SetReady* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_SetReady>(Arena*); +template<> ::rtech::liveapi::CustomMatch_SetSettings* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_SetSettings>(Arena*); +template<> ::rtech::liveapi::CustomMatch_SetTeam* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_SetTeam>(Arena*); +template<> ::rtech::liveapi::CustomMatch_SetTeamName* Arena::CreateMaybeMessage<::rtech::liveapi::CustomMatch_SetTeamName>(Arena*); +template<> ::rtech::liveapi::Datacenter* Arena::CreateMaybeMessage<::rtech::liveapi::Datacenter>(Arena*); +template<> ::rtech::liveapi::GameStateChanged* Arena::CreateMaybeMessage<::rtech::liveapi::GameStateChanged>(Arena*); +template<> ::rtech::liveapi::GibraltarShieldAbsorbed* Arena::CreateMaybeMessage<::rtech::liveapi::GibraltarShieldAbsorbed>(Arena*); +template<> ::rtech::liveapi::GrenadeThrown* Arena::CreateMaybeMessage<::rtech::liveapi::GrenadeThrown>(Arena*); +template<> ::rtech::liveapi::Init* Arena::CreateMaybeMessage<::rtech::liveapi::Init>(Arena*); +template<> ::rtech::liveapi::InventoryDrop* Arena::CreateMaybeMessage<::rtech::liveapi::InventoryDrop>(Arena*); +template<> ::rtech::liveapi::InventoryItem* Arena::CreateMaybeMessage<::rtech::liveapi::InventoryItem>(Arena*); +template<> ::rtech::liveapi::InventoryPickUp* Arena::CreateMaybeMessage<::rtech::liveapi::InventoryPickUp>(Arena*); +template<> ::rtech::liveapi::InventoryUse* Arena::CreateMaybeMessage<::rtech::liveapi::InventoryUse>(Arena*); +template<> ::rtech::liveapi::LegendUpgradeSelected* Arena::CreateMaybeMessage<::rtech::liveapi::LegendUpgradeSelected>(Arena*); +template<> ::rtech::liveapi::LiveAPIEvent* Arena::CreateMaybeMessage<::rtech::liveapi::LiveAPIEvent>(Arena*); +template<> ::rtech::liveapi::LoadoutConfiguration* Arena::CreateMaybeMessage<::rtech::liveapi::LoadoutConfiguration>(Arena*); +template<> ::rtech::liveapi::MatchSetup* Arena::CreateMaybeMessage<::rtech::liveapi::MatchSetup>(Arena*); +template<> ::rtech::liveapi::MatchStateEnd* Arena::CreateMaybeMessage<::rtech::liveapi::MatchStateEnd>(Arena*); +template<> ::rtech::liveapi::ObserverAnnotation* Arena::CreateMaybeMessage<::rtech::liveapi::ObserverAnnotation>(Arena*); +template<> ::rtech::liveapi::ObserverSwitched* Arena::CreateMaybeMessage<::rtech::liveapi::ObserverSwitched>(Arena*); +template<> ::rtech::liveapi::PauseToggle* Arena::CreateMaybeMessage<::rtech::liveapi::PauseToggle>(Arena*); +template<> ::rtech::liveapi::Player* Arena::CreateMaybeMessage<::rtech::liveapi::Player>(Arena*); +template<> ::rtech::liveapi::PlayerAbilityUsed* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerAbilityUsed>(Arena*); +template<> ::rtech::liveapi::PlayerAssist* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerAssist>(Arena*); +template<> ::rtech::liveapi::PlayerConnected* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerConnected>(Arena*); +template<> ::rtech::liveapi::PlayerDamaged* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerDamaged>(Arena*); +template<> ::rtech::liveapi::PlayerDisconnected* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerDisconnected>(Arena*); +template<> ::rtech::liveapi::PlayerDowned* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerDowned>(Arena*); +template<> ::rtech::liveapi::PlayerKilled* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerKilled>(Arena*); +template<> ::rtech::liveapi::PlayerRespawnTeam* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerRespawnTeam>(Arena*); +template<> ::rtech::liveapi::PlayerRevive* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerRevive>(Arena*); +template<> ::rtech::liveapi::PlayerStatChanged* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerStatChanged>(Arena*); +template<> ::rtech::liveapi::PlayerUpgradeTierChanged* Arena::CreateMaybeMessage<::rtech::liveapi::PlayerUpgradeTierChanged>(Arena*); +template<> ::rtech::liveapi::Request* Arena::CreateMaybeMessage<::rtech::liveapi::Request>(Arena*); +template<> ::rtech::liveapi::RequestStatus* Arena::CreateMaybeMessage<::rtech::liveapi::RequestStatus>(Arena*); +template<> ::rtech::liveapi::Response* Arena::CreateMaybeMessage<::rtech::liveapi::Response>(Arena*); +template<> ::rtech::liveapi::RevenantForgedShadowDamaged* Arena::CreateMaybeMessage<::rtech::liveapi::RevenantForgedShadowDamaged>(Arena*); +template<> ::rtech::liveapi::RingFinishedClosing* Arena::CreateMaybeMessage<::rtech::liveapi::RingFinishedClosing>(Arena*); +template<> ::rtech::liveapi::RingStartClosing* Arena::CreateMaybeMessage<::rtech::liveapi::RingStartClosing>(Arena*); +template<> ::rtech::liveapi::SquadEliminated* Arena::CreateMaybeMessage<::rtech::liveapi::SquadEliminated>(Arena*); +template<> ::rtech::liveapi::Vector3* Arena::CreateMaybeMessage<::rtech::liveapi::Vector3>(Arena*); +template<> ::rtech::liveapi::Version* Arena::CreateMaybeMessage<::rtech::liveapi::Version>(Arena*); +template<> ::rtech::liveapi::WarpGateUsed* Arena::CreateMaybeMessage<::rtech::liveapi::WarpGateUsed>(Arena*); +template<> ::rtech::liveapi::WeaponSwitched* Arena::CreateMaybeMessage<::rtech::liveapi::WeaponSwitched>(Arena*); +template<> ::rtech::liveapi::WraithPortal* Arena::CreateMaybeMessage<::rtech::liveapi::WraithPortal>(Arena*); +template<> ::rtech::liveapi::ZiplineUsed* Arena::CreateMaybeMessage<::rtech::liveapi::ZiplineUsed>(Arena*); +PROTOBUF_NAMESPACE_CLOSE +namespace rtech { +namespace liveapi { + +enum PlayerOfInterest : int { + UNSPECIFIED = 0, + NEXT = 1, + PREVIOUS = 2, + KILL_LEADER = 3, + CLOSEST_ENEMY = 4, + CLOSEST_PLAYER = 5, + LATEST_ATTACKER = 6, + PlayerOfInterest_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), + PlayerOfInterest_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() +}; +bool PlayerOfInterest_IsValid(int value); +constexpr PlayerOfInterest PlayerOfInterest_MIN = UNSPECIFIED; +constexpr PlayerOfInterest PlayerOfInterest_MAX = LATEST_ATTACKER; +constexpr int PlayerOfInterest_ARRAYSIZE = PlayerOfInterest_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayerOfInterest_descriptor(); +template +inline const std::string& PlayerOfInterest_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function PlayerOfInterest_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + PlayerOfInterest_descriptor(), enum_t_value); +} +inline bool PlayerOfInterest_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayerOfInterest* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + PlayerOfInterest_descriptor(), name, value); +} +// =================================================================== + +class Vector3 final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.Vector3) */ { + public: + inline Vector3() : Vector3(nullptr) {} + ~Vector3() override; + explicit PROTOBUF_CONSTEXPR Vector3(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Vector3(const Vector3& from); + Vector3(Vector3&& from) noexcept + : Vector3() { + *this = ::std::move(from); + } + + inline Vector3& operator=(const Vector3& from) { + CopyFrom(from); + return *this; + } + inline Vector3& operator=(Vector3&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Vector3& default_instance() { + return *internal_default_instance(); + } + static inline const Vector3* internal_default_instance() { + return reinterpret_cast( + &_Vector3_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + friend void swap(Vector3& a, Vector3& b) { + a.Swap(&b); + } + inline void Swap(Vector3* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Vector3* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Vector3* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Vector3& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Vector3& from) { + Vector3::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Vector3* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.Vector3"; + } + protected: + explicit Vector3(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kXFieldNumber = 1, + kYFieldNumber = 2, + kZFieldNumber = 3, + }; + // float x = 1; + void clear_x(); + float x() const; + void set_x(float value); + private: + float _internal_x() const; + void _internal_set_x(float value); + public: + + // float y = 2; + void clear_y(); + float y() const; + void set_y(float value); + private: + float _internal_y() const; + void _internal_set_y(float value); + public: + + // float z = 3; + void clear_z(); + float z() const; + void set_z(float value); + private: + float _internal_z() const; + void _internal_set_z(float value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.Vector3) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + float x_; + float y_; + float z_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class Player final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.Player) */ { + public: + inline Player() : Player(nullptr) {} + ~Player() override; + explicit PROTOBUF_CONSTEXPR Player(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Player(const Player& from); + Player(Player&& from) noexcept + : Player() { + *this = ::std::move(from); + } + + inline Player& operator=(const Player& from) { + CopyFrom(from); + return *this; + } + inline Player& operator=(Player&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Player& default_instance() { + return *internal_default_instance(); + } + static inline const Player* internal_default_instance() { + return reinterpret_cast( + &_Player_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + friend void swap(Player& a, Player& b) { + a.Swap(&b); + } + inline void Swap(Player* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Player* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Player* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Player& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Player& from) { + Player::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Player* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.Player"; + } + protected: + explicit Player(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kNameFieldNumber = 1, + kNucleusHashFieldNumber = 9, + kHardwareNameFieldNumber = 10, + kTeamNameFieldNumber = 11, + kCharacterFieldNumber = 13, + kSkinFieldNumber = 14, + kPosFieldNumber = 3, + kAnglesFieldNumber = 4, + kTeamIdFieldNumber = 2, + kCurrentHealthFieldNumber = 5, + kMaxHealthFieldNumber = 6, + kShieldHealthFieldNumber = 7, + kShieldMaxHealthFieldNumber = 8, + kSquadIndexFieldNumber = 12, + }; + // string name = 1; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // string nucleusHash = 9; + void clear_nucleushash(); + const std::string& nucleushash() const; + template + void set_nucleushash(ArgT0&& arg0, ArgT... args); + std::string* mutable_nucleushash(); + PROTOBUF_NODISCARD std::string* release_nucleushash(); + void set_allocated_nucleushash(std::string* nucleushash); + private: + const std::string& _internal_nucleushash() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_nucleushash(const std::string& value); + std::string* _internal_mutable_nucleushash(); + public: + + // string hardwareName = 10; + void clear_hardwarename(); + const std::string& hardwarename() const; + template + void set_hardwarename(ArgT0&& arg0, ArgT... args); + std::string* mutable_hardwarename(); + PROTOBUF_NODISCARD std::string* release_hardwarename(); + void set_allocated_hardwarename(std::string* hardwarename); + private: + const std::string& _internal_hardwarename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_hardwarename(const std::string& value); + std::string* _internal_mutable_hardwarename(); + public: + + // string teamName = 11; + void clear_teamname(); + const std::string& teamname() const; + template + void set_teamname(ArgT0&& arg0, ArgT... args); + std::string* mutable_teamname(); + PROTOBUF_NODISCARD std::string* release_teamname(); + void set_allocated_teamname(std::string* teamname); + private: + const std::string& _internal_teamname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_teamname(const std::string& value); + std::string* _internal_mutable_teamname(); + public: + + // string character = 13; + void clear_character(); + const std::string& character() const; + template + void set_character(ArgT0&& arg0, ArgT... args); + std::string* mutable_character(); + PROTOBUF_NODISCARD std::string* release_character(); + void set_allocated_character(std::string* character); + private: + const std::string& _internal_character() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_character(const std::string& value); + std::string* _internal_mutable_character(); + public: + + // string skin = 14; + void clear_skin(); + const std::string& skin() const; + template + void set_skin(ArgT0&& arg0, ArgT... args); + std::string* mutable_skin(); + PROTOBUF_NODISCARD std::string* release_skin(); + void set_allocated_skin(std::string* skin); + private: + const std::string& _internal_skin() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_skin(const std::string& value); + std::string* _internal_mutable_skin(); + public: + + // .rtech.liveapi.Vector3 pos = 3; + bool has_pos() const; + private: + bool _internal_has_pos() const; + public: + void clear_pos(); + const ::rtech::liveapi::Vector3& pos() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Vector3* release_pos(); + ::rtech::liveapi::Vector3* mutable_pos(); + void set_allocated_pos(::rtech::liveapi::Vector3* pos); + private: + const ::rtech::liveapi::Vector3& _internal_pos() const; + ::rtech::liveapi::Vector3* _internal_mutable_pos(); + public: + void unsafe_arena_set_allocated_pos( + ::rtech::liveapi::Vector3* pos); + ::rtech::liveapi::Vector3* unsafe_arena_release_pos(); + + // .rtech.liveapi.Vector3 angles = 4; + bool has_angles() const; + private: + bool _internal_has_angles() const; + public: + void clear_angles(); + const ::rtech::liveapi::Vector3& angles() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Vector3* release_angles(); + ::rtech::liveapi::Vector3* mutable_angles(); + void set_allocated_angles(::rtech::liveapi::Vector3* angles); + private: + const ::rtech::liveapi::Vector3& _internal_angles() const; + ::rtech::liveapi::Vector3* _internal_mutable_angles(); + public: + void unsafe_arena_set_allocated_angles( + ::rtech::liveapi::Vector3* angles); + ::rtech::liveapi::Vector3* unsafe_arena_release_angles(); + + // uint32 teamId = 2; + void clear_teamid(); + uint32_t teamid() const; + void set_teamid(uint32_t value); + private: + uint32_t _internal_teamid() const; + void _internal_set_teamid(uint32_t value); + public: + + // uint32 currentHealth = 5; + void clear_currenthealth(); + uint32_t currenthealth() const; + void set_currenthealth(uint32_t value); + private: + uint32_t _internal_currenthealth() const; + void _internal_set_currenthealth(uint32_t value); + public: + + // uint32 maxHealth = 6; + void clear_maxhealth(); + uint32_t maxhealth() const; + void set_maxhealth(uint32_t value); + private: + uint32_t _internal_maxhealth() const; + void _internal_set_maxhealth(uint32_t value); + public: + + // uint32 shieldHealth = 7; + void clear_shieldhealth(); + uint32_t shieldhealth() const; + void set_shieldhealth(uint32_t value); + private: + uint32_t _internal_shieldhealth() const; + void _internal_set_shieldhealth(uint32_t value); + public: + + // uint32 shieldMaxHealth = 8; + void clear_shieldmaxhealth(); + uint32_t shieldmaxhealth() const; + void set_shieldmaxhealth(uint32_t value); + private: + uint32_t _internal_shieldmaxhealth() const; + void _internal_set_shieldmaxhealth(uint32_t value); + public: + + // uint32 squadIndex = 12; + void clear_squadindex(); + uint32_t squadindex() const; + void set_squadindex(uint32_t value); + private: + uint32_t _internal_squadindex() const; + void _internal_set_squadindex(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.Player) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nucleushash_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hardwarename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr teamname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr character_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr skin_; + ::rtech::liveapi::Vector3* pos_; + ::rtech::liveapi::Vector3* angles_; + uint32_t teamid_; + uint32_t currenthealth_; + uint32_t maxhealth_; + uint32_t shieldhealth_; + uint32_t shieldmaxhealth_; + uint32_t squadindex_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_LobbyPlayer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_LobbyPlayer) */ { + public: + inline CustomMatch_LobbyPlayer() : CustomMatch_LobbyPlayer(nullptr) {} + ~CustomMatch_LobbyPlayer() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_LobbyPlayer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_LobbyPlayer(const CustomMatch_LobbyPlayer& from); + CustomMatch_LobbyPlayer(CustomMatch_LobbyPlayer&& from) noexcept + : CustomMatch_LobbyPlayer() { + *this = ::std::move(from); + } + + inline CustomMatch_LobbyPlayer& operator=(const CustomMatch_LobbyPlayer& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_LobbyPlayer& operator=(CustomMatch_LobbyPlayer&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_LobbyPlayer& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_LobbyPlayer* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_LobbyPlayer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + friend void swap(CustomMatch_LobbyPlayer& a, CustomMatch_LobbyPlayer& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_LobbyPlayer* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_LobbyPlayer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_LobbyPlayer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_LobbyPlayer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_LobbyPlayer& from) { + CustomMatch_LobbyPlayer::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_LobbyPlayer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_LobbyPlayer"; + } + protected: + explicit CustomMatch_LobbyPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kNameFieldNumber = 1, + kNucleusHashFieldNumber = 3, + kHardwareNameFieldNumber = 4, + kTeamIdFieldNumber = 2, + }; + // string name = 1; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // string nucleusHash = 3; + void clear_nucleushash(); + const std::string& nucleushash() const; + template + void set_nucleushash(ArgT0&& arg0, ArgT... args); + std::string* mutable_nucleushash(); + PROTOBUF_NODISCARD std::string* release_nucleushash(); + void set_allocated_nucleushash(std::string* nucleushash); + private: + const std::string& _internal_nucleushash() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_nucleushash(const std::string& value); + std::string* _internal_mutable_nucleushash(); + public: + + // string hardwareName = 4; + void clear_hardwarename(); + const std::string& hardwarename() const; + template + void set_hardwarename(ArgT0&& arg0, ArgT... args); + std::string* mutable_hardwarename(); + PROTOBUF_NODISCARD std::string* release_hardwarename(); + void set_allocated_hardwarename(std::string* hardwarename); + private: + const std::string& _internal_hardwarename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_hardwarename(const std::string& value); + std::string* _internal_mutable_hardwarename(); + public: + + // uint32 teamId = 2; + void clear_teamid(); + uint32_t teamid() const; + void set_teamid(uint32_t value); + private: + uint32_t _internal_teamid() const; + void _internal_set_teamid(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_LobbyPlayer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nucleushash_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hardwarename_; + uint32_t teamid_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class Datacenter final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.Datacenter) */ { + public: + inline Datacenter() : Datacenter(nullptr) {} + ~Datacenter() override; + explicit PROTOBUF_CONSTEXPR Datacenter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Datacenter(const Datacenter& from); + Datacenter(Datacenter&& from) noexcept + : Datacenter() { + *this = ::std::move(from); + } + + inline Datacenter& operator=(const Datacenter& from) { + CopyFrom(from); + return *this; + } + inline Datacenter& operator=(Datacenter&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Datacenter& default_instance() { + return *internal_default_instance(); + } + static inline const Datacenter* internal_default_instance() { + return reinterpret_cast( + &_Datacenter_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + friend void swap(Datacenter& a, Datacenter& b) { + a.Swap(&b); + } + inline void Swap(Datacenter* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Datacenter* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Datacenter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Datacenter& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Datacenter& from) { + Datacenter::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Datacenter* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.Datacenter"; + } + protected: + explicit Datacenter(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kNameFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string name = 3; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.Datacenter) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class Version final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.Version) */ { + public: + inline Version() : Version(nullptr) {} + ~Version() override; + explicit PROTOBUF_CONSTEXPR Version(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Version(const Version& from); + Version(Version&& from) noexcept + : Version() { + *this = ::std::move(from); + } + + inline Version& operator=(const Version& from) { + CopyFrom(from); + return *this; + } + inline Version& operator=(Version&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Version& default_instance() { + return *internal_default_instance(); + } + static inline const Version* internal_default_instance() { + return reinterpret_cast( + &_Version_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + friend void swap(Version& a, Version& b) { + a.Swap(&b); + } + inline void Swap(Version* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Version* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Version* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Version& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Version& from) { + Version::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Version* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.Version"; + } + protected: + explicit Version(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kRevisionFieldNumber = 4, + kMajorNumFieldNumber = 1, + kMinorNumFieldNumber = 2, + kBuildStampFieldNumber = 3, + }; + // string revision = 4; + void clear_revision(); + const std::string& revision() const; + template + void set_revision(ArgT0&& arg0, ArgT... args); + std::string* mutable_revision(); + PROTOBUF_NODISCARD std::string* release_revision(); + void set_allocated_revision(std::string* revision); + private: + const std::string& _internal_revision() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_revision(const std::string& value); + std::string* _internal_mutable_revision(); + public: + + // uint32 major_num = 1; + void clear_major_num(); + uint32_t major_num() const; + void set_major_num(uint32_t value); + private: + uint32_t _internal_major_num() const; + void _internal_set_major_num(uint32_t value); + public: + + // uint32 minor_num = 2; + void clear_minor_num(); + uint32_t minor_num() const; + void set_minor_num(uint32_t value); + private: + uint32_t _internal_minor_num() const; + void _internal_set_minor_num(uint32_t value); + public: + + // uint32 build_stamp = 3; + void clear_build_stamp(); + uint32_t build_stamp() const; + void set_build_stamp(uint32_t value); + private: + uint32_t _internal_build_stamp() const; + void _internal_set_build_stamp(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.Version) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr revision_; + uint32_t major_num_; + uint32_t minor_num_; + uint32_t build_stamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class InventoryItem final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.InventoryItem) */ { + public: + inline InventoryItem() : InventoryItem(nullptr) {} + ~InventoryItem() override; + explicit PROTOBUF_CONSTEXPR InventoryItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + InventoryItem(const InventoryItem& from); + InventoryItem(InventoryItem&& from) noexcept + : InventoryItem() { + *this = ::std::move(from); + } + + inline InventoryItem& operator=(const InventoryItem& from) { + CopyFrom(from); + return *this; + } + inline InventoryItem& operator=(InventoryItem&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const InventoryItem& default_instance() { + return *internal_default_instance(); + } + static inline const InventoryItem* internal_default_instance() { + return reinterpret_cast( + &_InventoryItem_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + friend void swap(InventoryItem& a, InventoryItem& b) { + a.Swap(&b); + } + inline void Swap(InventoryItem* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(InventoryItem* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + InventoryItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const InventoryItem& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const InventoryItem& from) { + InventoryItem::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(InventoryItem* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.InventoryItem"; + } + protected: + explicit InventoryItem(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kItemFieldNumber = 2, + kExtraDataFieldNumber = 3, + kQuantityFieldNumber = 1, + }; + // string item = 2; + void clear_item(); + const std::string& item() const; + template + void set_item(ArgT0&& arg0, ArgT... args); + std::string* mutable_item(); + PROTOBUF_NODISCARD std::string* release_item(); + void set_allocated_item(std::string* item); + private: + const std::string& _internal_item() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item(const std::string& value); + std::string* _internal_mutable_item(); + public: + + // string extraData = 3; + void clear_extradata(); + const std::string& extradata() const; + template + void set_extradata(ArgT0&& arg0, ArgT... args); + std::string* mutable_extradata(); + PROTOBUF_NODISCARD std::string* release_extradata(); + void set_allocated_extradata(std::string* extradata); + private: + const std::string& _internal_extradata() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_extradata(const std::string& value); + std::string* _internal_mutable_extradata(); + public: + + // int32 quantity = 1; + void clear_quantity(); + int32_t quantity() const; + void set_quantity(int32_t value); + private: + int32_t _internal_quantity() const; + void _internal_set_quantity(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.InventoryItem) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extradata_; + int32_t quantity_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class LoadoutConfiguration final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.LoadoutConfiguration) */ { + public: + inline LoadoutConfiguration() : LoadoutConfiguration(nullptr) {} + ~LoadoutConfiguration() override; + explicit PROTOBUF_CONSTEXPR LoadoutConfiguration(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + LoadoutConfiguration(const LoadoutConfiguration& from); + LoadoutConfiguration(LoadoutConfiguration&& from) noexcept + : LoadoutConfiguration() { + *this = ::std::move(from); + } + + inline LoadoutConfiguration& operator=(const LoadoutConfiguration& from) { + CopyFrom(from); + return *this; + } + inline LoadoutConfiguration& operator=(LoadoutConfiguration&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LoadoutConfiguration& default_instance() { + return *internal_default_instance(); + } + static inline const LoadoutConfiguration* internal_default_instance() { + return reinterpret_cast( + &_LoadoutConfiguration_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + friend void swap(LoadoutConfiguration& a, LoadoutConfiguration& b) { + a.Swap(&b); + } + inline void Swap(LoadoutConfiguration* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LoadoutConfiguration* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LoadoutConfiguration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const LoadoutConfiguration& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const LoadoutConfiguration& from) { + LoadoutConfiguration::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(LoadoutConfiguration* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.LoadoutConfiguration"; + } + protected: + explicit LoadoutConfiguration(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kWeaponsFieldNumber = 1, + kEquipmentFieldNumber = 2, + }; + // repeated .rtech.liveapi.InventoryItem weapons = 1; + int weapons_size() const; + private: + int _internal_weapons_size() const; + public: + void clear_weapons(); + ::rtech::liveapi::InventoryItem* mutable_weapons(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem >* + mutable_weapons(); + private: + const ::rtech::liveapi::InventoryItem& _internal_weapons(int index) const; + ::rtech::liveapi::InventoryItem* _internal_add_weapons(); + public: + const ::rtech::liveapi::InventoryItem& weapons(int index) const; + ::rtech::liveapi::InventoryItem* add_weapons(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem >& + weapons() const; + + // repeated .rtech.liveapi.InventoryItem equipment = 2; + int equipment_size() const; + private: + int _internal_equipment_size() const; + public: + void clear_equipment(); + ::rtech::liveapi::InventoryItem* mutable_equipment(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem >* + mutable_equipment(); + private: + const ::rtech::liveapi::InventoryItem& _internal_equipment(int index) const; + ::rtech::liveapi::InventoryItem* _internal_add_equipment(); + public: + const ::rtech::liveapi::InventoryItem& equipment(int index) const; + ::rtech::liveapi::InventoryItem* add_equipment(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem >& + equipment() const; + + // @@protoc_insertion_point(class_scope:rtech.liveapi.LoadoutConfiguration) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem > weapons_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem > equipment_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class Init final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.Init) */ { + public: + inline Init() : Init(nullptr) {} + ~Init() override; + explicit PROTOBUF_CONSTEXPR Init(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Init(const Init& from); + Init(Init&& from) noexcept + : Init() { + *this = ::std::move(from); + } + + inline Init& operator=(const Init& from) { + CopyFrom(from); + return *this; + } + inline Init& operator=(Init&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Init& default_instance() { + return *internal_default_instance(); + } + static inline const Init* internal_default_instance() { + return reinterpret_cast( + &_Init_default_instance_); + } + static constexpr int kIndexInFileMessages = + 7; + + friend void swap(Init& a, Init& b) { + a.Swap(&b); + } + inline void Swap(Init* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Init* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Init* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Init& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Init& from) { + Init::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Init* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.Init"; + } + protected: + explicit Init(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kGameVersionFieldNumber = 3, + kPlatformFieldNumber = 5, + kNameFieldNumber = 6, + kApiVersionFieldNumber = 4, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string gameVersion = 3; + void clear_gameversion(); + const std::string& gameversion() const; + template + void set_gameversion(ArgT0&& arg0, ArgT... args); + std::string* mutable_gameversion(); + PROTOBUF_NODISCARD std::string* release_gameversion(); + void set_allocated_gameversion(std::string* gameversion); + private: + const std::string& _internal_gameversion() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gameversion(const std::string& value); + std::string* _internal_mutable_gameversion(); + public: + + // string platform = 5; + void clear_platform(); + const std::string& platform() const; + template + void set_platform(ArgT0&& arg0, ArgT... args); + std::string* mutable_platform(); + PROTOBUF_NODISCARD std::string* release_platform(); + void set_allocated_platform(std::string* platform); + private: + const std::string& _internal_platform() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform(const std::string& value); + std::string* _internal_mutable_platform(); + public: + + // string name = 6; + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + // .rtech.liveapi.Version apiVersion = 4; + bool has_apiversion() const; + private: + bool _internal_has_apiversion() const; + public: + void clear_apiversion(); + const ::rtech::liveapi::Version& apiversion() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Version* release_apiversion(); + ::rtech::liveapi::Version* mutable_apiversion(); + void set_allocated_apiversion(::rtech::liveapi::Version* apiversion); + private: + const ::rtech::liveapi::Version& _internal_apiversion() const; + ::rtech::liveapi::Version* _internal_mutable_apiversion(); + public: + void unsafe_arena_set_allocated_apiversion( + ::rtech::liveapi::Version* apiversion); + ::rtech::liveapi::Version* unsafe_arena_release_apiversion(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.Init) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gameversion_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + ::rtech::liveapi::Version* apiversion_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_LobbyPlayers final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_LobbyPlayers) */ { + public: + inline CustomMatch_LobbyPlayers() : CustomMatch_LobbyPlayers(nullptr) {} + ~CustomMatch_LobbyPlayers() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_LobbyPlayers(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_LobbyPlayers(const CustomMatch_LobbyPlayers& from); + CustomMatch_LobbyPlayers(CustomMatch_LobbyPlayers&& from) noexcept + : CustomMatch_LobbyPlayers() { + *this = ::std::move(from); + } + + inline CustomMatch_LobbyPlayers& operator=(const CustomMatch_LobbyPlayers& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_LobbyPlayers& operator=(CustomMatch_LobbyPlayers&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_LobbyPlayers& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_LobbyPlayers* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_LobbyPlayers_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + friend void swap(CustomMatch_LobbyPlayers& a, CustomMatch_LobbyPlayers& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_LobbyPlayers* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_LobbyPlayers* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_LobbyPlayers* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_LobbyPlayers& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_LobbyPlayers& from) { + CustomMatch_LobbyPlayers::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_LobbyPlayers* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_LobbyPlayers"; + } + protected: + explicit CustomMatch_LobbyPlayers(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPlayersFieldNumber = 2, + kPlayerTokenFieldNumber = 1, + }; + // repeated .rtech.liveapi.CustomMatch_LobbyPlayer players = 2; + int players_size() const; + private: + int _internal_players_size() const; + public: + void clear_players(); + ::rtech::liveapi::CustomMatch_LobbyPlayer* mutable_players(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::CustomMatch_LobbyPlayer >* + mutable_players(); + private: + const ::rtech::liveapi::CustomMatch_LobbyPlayer& _internal_players(int index) const; + ::rtech::liveapi::CustomMatch_LobbyPlayer* _internal_add_players(); + public: + const ::rtech::liveapi::CustomMatch_LobbyPlayer& players(int index) const; + ::rtech::liveapi::CustomMatch_LobbyPlayer* add_players(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::CustomMatch_LobbyPlayer >& + players() const; + + // string playerToken = 1; + void clear_playertoken(); + const std::string& playertoken() const; + template + void set_playertoken(ArgT0&& arg0, ArgT... args); + std::string* mutable_playertoken(); + PROTOBUF_NODISCARD std::string* release_playertoken(); + void set_allocated_playertoken(std::string* playertoken); + private: + const std::string& _internal_playertoken() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_playertoken(const std::string& value); + std::string* _internal_mutable_playertoken(); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_LobbyPlayers) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::CustomMatch_LobbyPlayer > players_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr playertoken_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class ObserverSwitched final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.ObserverSwitched) */ { + public: + inline ObserverSwitched() : ObserverSwitched(nullptr) {} + ~ObserverSwitched() override; + explicit PROTOBUF_CONSTEXPR ObserverSwitched(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ObserverSwitched(const ObserverSwitched& from); + ObserverSwitched(ObserverSwitched&& from) noexcept + : ObserverSwitched() { + *this = ::std::move(from); + } + + inline ObserverSwitched& operator=(const ObserverSwitched& from) { + CopyFrom(from); + return *this; + } + inline ObserverSwitched& operator=(ObserverSwitched&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ObserverSwitched& default_instance() { + return *internal_default_instance(); + } + static inline const ObserverSwitched* internal_default_instance() { + return reinterpret_cast( + &_ObserverSwitched_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(ObserverSwitched& a, ObserverSwitched& b) { + a.Swap(&b); + } + inline void Swap(ObserverSwitched* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ObserverSwitched* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ObserverSwitched* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ObserverSwitched& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ObserverSwitched& from) { + ObserverSwitched::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ObserverSwitched* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.ObserverSwitched"; + } + protected: + explicit ObserverSwitched(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTargetTeamFieldNumber = 5, + kCategoryFieldNumber = 2, + kObserverFieldNumber = 3, + kTargetFieldNumber = 4, + kTimestampFieldNumber = 1, + }; + // repeated .rtech.liveapi.Player targetTeam = 5; + int targetteam_size() const; + private: + int _internal_targetteam_size() const; + public: + void clear_targetteam(); + ::rtech::liveapi::Player* mutable_targetteam(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >* + mutable_targetteam(); + private: + const ::rtech::liveapi::Player& _internal_targetteam(int index) const; + ::rtech::liveapi::Player* _internal_add_targetteam(); + public: + const ::rtech::liveapi::Player& targetteam(int index) const; + ::rtech::liveapi::Player* add_targetteam(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >& + targetteam() const; + + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player observer = 3; + bool has_observer() const; + private: + bool _internal_has_observer() const; + public: + void clear_observer(); + const ::rtech::liveapi::Player& observer() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_observer(); + ::rtech::liveapi::Player* mutable_observer(); + void set_allocated_observer(::rtech::liveapi::Player* observer); + private: + const ::rtech::liveapi::Player& _internal_observer() const; + ::rtech::liveapi::Player* _internal_mutable_observer(); + public: + void unsafe_arena_set_allocated_observer( + ::rtech::liveapi::Player* observer); + ::rtech::liveapi::Player* unsafe_arena_release_observer(); + + // .rtech.liveapi.Player target = 4; + bool has_target() const; + private: + bool _internal_has_target() const; + public: + void clear_target(); + const ::rtech::liveapi::Player& target() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_target(); + ::rtech::liveapi::Player* mutable_target(); + void set_allocated_target(::rtech::liveapi::Player* target); + private: + const ::rtech::liveapi::Player& _internal_target() const; + ::rtech::liveapi::Player* _internal_mutable_target(); + public: + void unsafe_arena_set_allocated_target( + ::rtech::liveapi::Player* target); + ::rtech::liveapi::Player* unsafe_arena_release_target(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.ObserverSwitched) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player > targetteam_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* observer_; + ::rtech::liveapi::Player* target_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class ObserverAnnotation final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.ObserverAnnotation) */ { + public: + inline ObserverAnnotation() : ObserverAnnotation(nullptr) {} + ~ObserverAnnotation() override; + explicit PROTOBUF_CONSTEXPR ObserverAnnotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ObserverAnnotation(const ObserverAnnotation& from); + ObserverAnnotation(ObserverAnnotation&& from) noexcept + : ObserverAnnotation() { + *this = ::std::move(from); + } + + inline ObserverAnnotation& operator=(const ObserverAnnotation& from) { + CopyFrom(from); + return *this; + } + inline ObserverAnnotation& operator=(ObserverAnnotation&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ObserverAnnotation& default_instance() { + return *internal_default_instance(); + } + static inline const ObserverAnnotation* internal_default_instance() { + return reinterpret_cast( + &_ObserverAnnotation_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(ObserverAnnotation& a, ObserverAnnotation& b) { + a.Swap(&b); + } + inline void Swap(ObserverAnnotation* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ObserverAnnotation* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ObserverAnnotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ObserverAnnotation& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ObserverAnnotation& from) { + ObserverAnnotation::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ObserverAnnotation* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.ObserverAnnotation"; + } + protected: + explicit ObserverAnnotation(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kTimestampFieldNumber = 1, + kAnnotationSerialFieldNumber = 3, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // int32 annotationSerial = 3; + void clear_annotationserial(); + int32_t annotationserial() const; + void set_annotationserial(int32_t value); + private: + int32_t _internal_annotationserial() const; + void _internal_set_annotationserial(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.ObserverAnnotation) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + uint64_t timestamp_; + int32_t annotationserial_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class MatchSetup final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.MatchSetup) */ { + public: + inline MatchSetup() : MatchSetup(nullptr) {} + ~MatchSetup() override; + explicit PROTOBUF_CONSTEXPR MatchSetup(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MatchSetup(const MatchSetup& from); + MatchSetup(MatchSetup&& from) noexcept + : MatchSetup() { + *this = ::std::move(from); + } + + inline MatchSetup& operator=(const MatchSetup& from) { + CopyFrom(from); + return *this; + } + inline MatchSetup& operator=(MatchSetup&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const MatchSetup& default_instance() { + return *internal_default_instance(); + } + static inline const MatchSetup* internal_default_instance() { + return reinterpret_cast( + &_MatchSetup_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + friend void swap(MatchSetup& a, MatchSetup& b) { + a.Swap(&b); + } + inline void Swap(MatchSetup* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchSetup* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchSetup* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MatchSetup& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MatchSetup& from) { + MatchSetup::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MatchSetup* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.MatchSetup"; + } + protected: + explicit MatchSetup(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kMapFieldNumber = 3, + kPlaylistNameFieldNumber = 4, + kPlaylistDescFieldNumber = 5, + kServerIdFieldNumber = 9, + kDatacenterFieldNumber = 6, + kStartingLoadoutFieldNumber = 10, + kTimestampFieldNumber = 1, + kAimAssistOnFieldNumber = 7, + kAnonymousModeFieldNumber = 8, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string map = 3; + void clear_map(); + const std::string& map() const; + template + void set_map(ArgT0&& arg0, ArgT... args); + std::string* mutable_map(); + PROTOBUF_NODISCARD std::string* release_map(); + void set_allocated_map(std::string* map); + private: + const std::string& _internal_map() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_map(const std::string& value); + std::string* _internal_mutable_map(); + public: + + // string playlistName = 4; + void clear_playlistname(); + const std::string& playlistname() const; + template + void set_playlistname(ArgT0&& arg0, ArgT... args); + std::string* mutable_playlistname(); + PROTOBUF_NODISCARD std::string* release_playlistname(); + void set_allocated_playlistname(std::string* playlistname); + private: + const std::string& _internal_playlistname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_playlistname(const std::string& value); + std::string* _internal_mutable_playlistname(); + public: + + // string playlistDesc = 5; + void clear_playlistdesc(); + const std::string& playlistdesc() const; + template + void set_playlistdesc(ArgT0&& arg0, ArgT... args); + std::string* mutable_playlistdesc(); + PROTOBUF_NODISCARD std::string* release_playlistdesc(); + void set_allocated_playlistdesc(std::string* playlistdesc); + private: + const std::string& _internal_playlistdesc() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_playlistdesc(const std::string& value); + std::string* _internal_mutable_playlistdesc(); + public: + + // string serverId = 9; + void clear_serverid(); + const std::string& serverid() const; + template + void set_serverid(ArgT0&& arg0, ArgT... args); + std::string* mutable_serverid(); + PROTOBUF_NODISCARD std::string* release_serverid(); + void set_allocated_serverid(std::string* serverid); + private: + const std::string& _internal_serverid() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_serverid(const std::string& value); + std::string* _internal_mutable_serverid(); + public: + + // .rtech.liveapi.Datacenter datacenter = 6; + bool has_datacenter() const; + private: + bool _internal_has_datacenter() const; + public: + void clear_datacenter(); + const ::rtech::liveapi::Datacenter& datacenter() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Datacenter* release_datacenter(); + ::rtech::liveapi::Datacenter* mutable_datacenter(); + void set_allocated_datacenter(::rtech::liveapi::Datacenter* datacenter); + private: + const ::rtech::liveapi::Datacenter& _internal_datacenter() const; + ::rtech::liveapi::Datacenter* _internal_mutable_datacenter(); + public: + void unsafe_arena_set_allocated_datacenter( + ::rtech::liveapi::Datacenter* datacenter); + ::rtech::liveapi::Datacenter* unsafe_arena_release_datacenter(); + + // .rtech.liveapi.LoadoutConfiguration startingLoadout = 10; + bool has_startingloadout() const; + private: + bool _internal_has_startingloadout() const; + public: + void clear_startingloadout(); + const ::rtech::liveapi::LoadoutConfiguration& startingloadout() const; + PROTOBUF_NODISCARD ::rtech::liveapi::LoadoutConfiguration* release_startingloadout(); + ::rtech::liveapi::LoadoutConfiguration* mutable_startingloadout(); + void set_allocated_startingloadout(::rtech::liveapi::LoadoutConfiguration* startingloadout); + private: + const ::rtech::liveapi::LoadoutConfiguration& _internal_startingloadout() const; + ::rtech::liveapi::LoadoutConfiguration* _internal_mutable_startingloadout(); + public: + void unsafe_arena_set_allocated_startingloadout( + ::rtech::liveapi::LoadoutConfiguration* startingloadout); + ::rtech::liveapi::LoadoutConfiguration* unsafe_arena_release_startingloadout(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // bool aimAssistOn = 7; + void clear_aimassiston(); + bool aimassiston() const; + void set_aimassiston(bool value); + private: + bool _internal_aimassiston() const; + void _internal_set_aimassiston(bool value); + public: + + // bool anonymousMode = 8; + void clear_anonymousmode(); + bool anonymousmode() const; + void set_anonymousmode(bool value); + private: + bool _internal_anonymousmode() const; + void _internal_set_anonymousmode(bool value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.MatchSetup) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr map_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr playlistname_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr playlistdesc_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serverid_; + ::rtech::liveapi::Datacenter* datacenter_; + ::rtech::liveapi::LoadoutConfiguration* startingloadout_; + uint64_t timestamp_; + bool aimassiston_; + bool anonymousmode_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class GameStateChanged final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.GameStateChanged) */ { + public: + inline GameStateChanged() : GameStateChanged(nullptr) {} + ~GameStateChanged() override; + explicit PROTOBUF_CONSTEXPR GameStateChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GameStateChanged(const GameStateChanged& from); + GameStateChanged(GameStateChanged&& from) noexcept + : GameStateChanged() { + *this = ::std::move(from); + } + + inline GameStateChanged& operator=(const GameStateChanged& from) { + CopyFrom(from); + return *this; + } + inline GameStateChanged& operator=(GameStateChanged&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GameStateChanged& default_instance() { + return *internal_default_instance(); + } + static inline const GameStateChanged* internal_default_instance() { + return reinterpret_cast( + &_GameStateChanged_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + friend void swap(GameStateChanged& a, GameStateChanged& b) { + a.Swap(&b); + } + inline void Swap(GameStateChanged* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GameStateChanged* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GameStateChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GameStateChanged& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const GameStateChanged& from) { + GameStateChanged::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GameStateChanged* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.GameStateChanged"; + } + protected: + explicit GameStateChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kStateFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string state = 3; + void clear_state(); + const std::string& state() const; + template + void set_state(ArgT0&& arg0, ArgT... args); + std::string* mutable_state(); + PROTOBUF_NODISCARD std::string* release_state(); + void set_allocated_state(std::string* state); + private: + const std::string& _internal_state() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_state(const std::string& value); + std::string* _internal_mutable_state(); + public: + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.GameStateChanged) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr state_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CharacterSelected final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CharacterSelected) */ { + public: + inline CharacterSelected() : CharacterSelected(nullptr) {} + ~CharacterSelected() override; + explicit PROTOBUF_CONSTEXPR CharacterSelected(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CharacterSelected(const CharacterSelected& from); + CharacterSelected(CharacterSelected&& from) noexcept + : CharacterSelected() { + *this = ::std::move(from); + } + + inline CharacterSelected& operator=(const CharacterSelected& from) { + CopyFrom(from); + return *this; + } + inline CharacterSelected& operator=(CharacterSelected&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CharacterSelected& default_instance() { + return *internal_default_instance(); + } + static inline const CharacterSelected* internal_default_instance() { + return reinterpret_cast( + &_CharacterSelected_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + friend void swap(CharacterSelected& a, CharacterSelected& b) { + a.Swap(&b); + } + inline void Swap(CharacterSelected* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CharacterSelected* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CharacterSelected* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CharacterSelected& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CharacterSelected& from) { + CharacterSelected::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CharacterSelected* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CharacterSelected"; + } + protected: + explicit CharacterSelected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CharacterSelected) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class MatchStateEnd final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.MatchStateEnd) */ { + public: + inline MatchStateEnd() : MatchStateEnd(nullptr) {} + ~MatchStateEnd() override; + explicit PROTOBUF_CONSTEXPR MatchStateEnd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + MatchStateEnd(const MatchStateEnd& from); + MatchStateEnd(MatchStateEnd&& from) noexcept + : MatchStateEnd() { + *this = ::std::move(from); + } + + inline MatchStateEnd& operator=(const MatchStateEnd& from) { + CopyFrom(from); + return *this; + } + inline MatchStateEnd& operator=(MatchStateEnd&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const MatchStateEnd& default_instance() { + return *internal_default_instance(); + } + static inline const MatchStateEnd* internal_default_instance() { + return reinterpret_cast( + &_MatchStateEnd_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + friend void swap(MatchStateEnd& a, MatchStateEnd& b) { + a.Swap(&b); + } + inline void Swap(MatchStateEnd* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MatchStateEnd* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MatchStateEnd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const MatchStateEnd& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const MatchStateEnd& from) { + MatchStateEnd::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(MatchStateEnd* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.MatchStateEnd"; + } + protected: + explicit MatchStateEnd(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kWinnersFieldNumber = 4, + kCategoryFieldNumber = 2, + kStateFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // repeated .rtech.liveapi.Player winners = 4; + int winners_size() const; + private: + int _internal_winners_size() const; + public: + void clear_winners(); + ::rtech::liveapi::Player* mutable_winners(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >* + mutable_winners(); + private: + const ::rtech::liveapi::Player& _internal_winners(int index) const; + ::rtech::liveapi::Player* _internal_add_winners(); + public: + const ::rtech::liveapi::Player& winners(int index) const; + ::rtech::liveapi::Player* add_winners(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >& + winners() const; + + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string state = 3; + void clear_state(); + const std::string& state() const; + template + void set_state(ArgT0&& arg0, ArgT... args); + std::string* mutable_state(); + PROTOBUF_NODISCARD std::string* release_state(); + void set_allocated_state(std::string* state); + private: + const std::string& _internal_state() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_state(const std::string& value); + std::string* _internal_mutable_state(); + public: + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.MatchStateEnd) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player > winners_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr state_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class RingStartClosing final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.RingStartClosing) */ { + public: + inline RingStartClosing() : RingStartClosing(nullptr) {} + ~RingStartClosing() override; + explicit PROTOBUF_CONSTEXPR RingStartClosing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RingStartClosing(const RingStartClosing& from); + RingStartClosing(RingStartClosing&& from) noexcept + : RingStartClosing() { + *this = ::std::move(from); + } + + inline RingStartClosing& operator=(const RingStartClosing& from) { + CopyFrom(from); + return *this; + } + inline RingStartClosing& operator=(RingStartClosing&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RingStartClosing& default_instance() { + return *internal_default_instance(); + } + static inline const RingStartClosing* internal_default_instance() { + return reinterpret_cast( + &_RingStartClosing_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(RingStartClosing& a, RingStartClosing& b) { + a.Swap(&b); + } + inline void Swap(RingStartClosing* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RingStartClosing* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RingStartClosing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RingStartClosing& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const RingStartClosing& from) { + RingStartClosing::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RingStartClosing* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.RingStartClosing"; + } + protected: + explicit RingStartClosing(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kCenterFieldNumber = 4, + kTimestampFieldNumber = 1, + kStageFieldNumber = 3, + kCurrentRadiusFieldNumber = 5, + kEndRadiusFieldNumber = 6, + kShrinkDurationFieldNumber = 7, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Vector3 center = 4; + bool has_center() const; + private: + bool _internal_has_center() const; + public: + void clear_center(); + const ::rtech::liveapi::Vector3& center() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Vector3* release_center(); + ::rtech::liveapi::Vector3* mutable_center(); + void set_allocated_center(::rtech::liveapi::Vector3* center); + private: + const ::rtech::liveapi::Vector3& _internal_center() const; + ::rtech::liveapi::Vector3* _internal_mutable_center(); + public: + void unsafe_arena_set_allocated_center( + ::rtech::liveapi::Vector3* center); + ::rtech::liveapi::Vector3* unsafe_arena_release_center(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // uint32 stage = 3; + void clear_stage(); + uint32_t stage() const; + void set_stage(uint32_t value); + private: + uint32_t _internal_stage() const; + void _internal_set_stage(uint32_t value); + public: + + // float currentRadius = 5; + void clear_currentradius(); + float currentradius() const; + void set_currentradius(float value); + private: + float _internal_currentradius() const; + void _internal_set_currentradius(float value); + public: + + // float endRadius = 6; + void clear_endradius(); + float endradius() const; + void set_endradius(float value); + private: + float _internal_endradius() const; + void _internal_set_endradius(float value); + public: + + // float shrinkDuration = 7; + void clear_shrinkduration(); + float shrinkduration() const; + void set_shrinkduration(float value); + private: + float _internal_shrinkduration() const; + void _internal_set_shrinkduration(float value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.RingStartClosing) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Vector3* center_; + uint64_t timestamp_; + uint32_t stage_; + float currentradius_; + float endradius_; + float shrinkduration_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class RingFinishedClosing final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.RingFinishedClosing) */ { + public: + inline RingFinishedClosing() : RingFinishedClosing(nullptr) {} + ~RingFinishedClosing() override; + explicit PROTOBUF_CONSTEXPR RingFinishedClosing(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RingFinishedClosing(const RingFinishedClosing& from); + RingFinishedClosing(RingFinishedClosing&& from) noexcept + : RingFinishedClosing() { + *this = ::std::move(from); + } + + inline RingFinishedClosing& operator=(const RingFinishedClosing& from) { + CopyFrom(from); + return *this; + } + inline RingFinishedClosing& operator=(RingFinishedClosing&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RingFinishedClosing& default_instance() { + return *internal_default_instance(); + } + static inline const RingFinishedClosing* internal_default_instance() { + return reinterpret_cast( + &_RingFinishedClosing_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(RingFinishedClosing& a, RingFinishedClosing& b) { + a.Swap(&b); + } + inline void Swap(RingFinishedClosing* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RingFinishedClosing* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RingFinishedClosing* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RingFinishedClosing& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const RingFinishedClosing& from) { + RingFinishedClosing::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RingFinishedClosing* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.RingFinishedClosing"; + } + protected: + explicit RingFinishedClosing(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kCenterFieldNumber = 4, + kTimestampFieldNumber = 1, + kStageFieldNumber = 3, + kCurrentRadiusFieldNumber = 5, + kShrinkDurationFieldNumber = 7, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Vector3 center = 4; + bool has_center() const; + private: + bool _internal_has_center() const; + public: + void clear_center(); + const ::rtech::liveapi::Vector3& center() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Vector3* release_center(); + ::rtech::liveapi::Vector3* mutable_center(); + void set_allocated_center(::rtech::liveapi::Vector3* center); + private: + const ::rtech::liveapi::Vector3& _internal_center() const; + ::rtech::liveapi::Vector3* _internal_mutable_center(); + public: + void unsafe_arena_set_allocated_center( + ::rtech::liveapi::Vector3* center); + ::rtech::liveapi::Vector3* unsafe_arena_release_center(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // uint32 stage = 3; + void clear_stage(); + uint32_t stage() const; + void set_stage(uint32_t value); + private: + uint32_t _internal_stage() const; + void _internal_set_stage(uint32_t value); + public: + + // float currentRadius = 5; + void clear_currentradius(); + float currentradius() const; + void set_currentradius(float value); + private: + float _internal_currentradius() const; + void _internal_set_currentradius(float value); + public: + + // float shrinkDuration = 7; + void clear_shrinkduration(); + float shrinkduration() const; + void set_shrinkduration(float value); + private: + float _internal_shrinkduration() const; + void _internal_set_shrinkduration(float value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.RingFinishedClosing) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Vector3* center_; + uint64_t timestamp_; + uint32_t stage_; + float currentradius_; + float shrinkduration_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerConnected final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerConnected) */ { + public: + inline PlayerConnected() : PlayerConnected(nullptr) {} + ~PlayerConnected() override; + explicit PROTOBUF_CONSTEXPR PlayerConnected(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerConnected(const PlayerConnected& from); + PlayerConnected(PlayerConnected&& from) noexcept + : PlayerConnected() { + *this = ::std::move(from); + } + + inline PlayerConnected& operator=(const PlayerConnected& from) { + CopyFrom(from); + return *this; + } + inline PlayerConnected& operator=(PlayerConnected&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerConnected& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerConnected* internal_default_instance() { + return reinterpret_cast( + &_PlayerConnected_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(PlayerConnected& a, PlayerConnected& b) { + a.Swap(&b); + } + inline void Swap(PlayerConnected* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerConnected* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerConnected* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerConnected& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerConnected& from) { + PlayerConnected::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerConnected* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerConnected"; + } + protected: + explicit PlayerConnected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerConnected) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerDisconnected final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerDisconnected) */ { + public: + inline PlayerDisconnected() : PlayerDisconnected(nullptr) {} + ~PlayerDisconnected() override; + explicit PROTOBUF_CONSTEXPR PlayerDisconnected(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerDisconnected(const PlayerDisconnected& from); + PlayerDisconnected(PlayerDisconnected&& from) noexcept + : PlayerDisconnected() { + *this = ::std::move(from); + } + + inline PlayerDisconnected& operator=(const PlayerDisconnected& from) { + CopyFrom(from); + return *this; + } + inline PlayerDisconnected& operator=(PlayerDisconnected&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerDisconnected& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerDisconnected* internal_default_instance() { + return reinterpret_cast( + &_PlayerDisconnected_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + friend void swap(PlayerDisconnected& a, PlayerDisconnected& b) { + a.Swap(&b); + } + inline void Swap(PlayerDisconnected* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerDisconnected* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerDisconnected* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerDisconnected& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerDisconnected& from) { + PlayerDisconnected::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerDisconnected* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerDisconnected"; + } + protected: + explicit PlayerDisconnected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kCanReconnectFieldNumber = 4, + kIsAliveFieldNumber = 5, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // bool canReconnect = 4; + void clear_canreconnect(); + bool canreconnect() const; + void set_canreconnect(bool value); + private: + bool _internal_canreconnect() const; + void _internal_set_canreconnect(bool value); + public: + + // bool isAlive = 5; + void clear_isalive(); + bool isalive() const; + void set_isalive(bool value); + private: + bool _internal_isalive() const; + void _internal_set_isalive(bool value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerDisconnected) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + bool canreconnect_; + bool isalive_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerStatChanged final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerStatChanged) */ { + public: + inline PlayerStatChanged() : PlayerStatChanged(nullptr) {} + ~PlayerStatChanged() override; + explicit PROTOBUF_CONSTEXPR PlayerStatChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerStatChanged(const PlayerStatChanged& from); + PlayerStatChanged(PlayerStatChanged&& from) noexcept + : PlayerStatChanged() { + *this = ::std::move(from); + } + + inline PlayerStatChanged& operator=(const PlayerStatChanged& from) { + CopyFrom(from); + return *this; + } + inline PlayerStatChanged& operator=(PlayerStatChanged&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerStatChanged& default_instance() { + return *internal_default_instance(); + } + enum NewValueCase { + kIntValue = 5, + kFloatValue = 6, + kBoolValue = 7, + NEWVALUE_NOT_SET = 0, + }; + + static inline const PlayerStatChanged* internal_default_instance() { + return reinterpret_cast( + &_PlayerStatChanged_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + friend void swap(PlayerStatChanged& a, PlayerStatChanged& b) { + a.Swap(&b); + } + inline void Swap(PlayerStatChanged* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerStatChanged* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerStatChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerStatChanged& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerStatChanged& from) { + PlayerStatChanged::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerStatChanged* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerStatChanged"; + } + protected: + explicit PlayerStatChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kStatNameFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kIntValueFieldNumber = 5, + kFloatValueFieldNumber = 6, + kBoolValueFieldNumber = 7, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string statName = 4; + void clear_statname(); + const std::string& statname() const; + template + void set_statname(ArgT0&& arg0, ArgT... args); + std::string* mutable_statname(); + PROTOBUF_NODISCARD std::string* release_statname(); + void set_allocated_statname(std::string* statname); + private: + const std::string& _internal_statname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_statname(const std::string& value); + std::string* _internal_mutable_statname(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // uint32 intValue = 5; + bool has_intvalue() const; + private: + bool _internal_has_intvalue() const; + public: + void clear_intvalue(); + uint32_t intvalue() const; + void set_intvalue(uint32_t value); + private: + uint32_t _internal_intvalue() const; + void _internal_set_intvalue(uint32_t value); + public: + + // float floatValue = 6; + bool has_floatvalue() const; + private: + bool _internal_has_floatvalue() const; + public: + void clear_floatvalue(); + float floatvalue() const; + void set_floatvalue(float value); + private: + float _internal_floatvalue() const; + void _internal_set_floatvalue(float value); + public: + + // bool boolValue = 7; + bool has_boolvalue() const; + private: + bool _internal_has_boolvalue() const; + public: + void clear_boolvalue(); + bool boolvalue() const; + void set_boolvalue(bool value); + private: + bool _internal_boolvalue() const; + void _internal_set_boolvalue(bool value); + public: + + void clear_newValue(); + NewValueCase newValue_case() const; + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerStatChanged) + private: + class _Internal; + void set_has_intvalue(); + void set_has_floatvalue(); + void set_has_boolvalue(); + + inline bool has_newValue() const; + inline void clear_has_newValue(); + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr statname_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + union NewValueUnion { + constexpr NewValueUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + uint32_t intvalue_; + float floatvalue_; + bool boolvalue_; + } newValue_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerUpgradeTierChanged final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerUpgradeTierChanged) */ { + public: + inline PlayerUpgradeTierChanged() : PlayerUpgradeTierChanged(nullptr) {} + ~PlayerUpgradeTierChanged() override; + explicit PROTOBUF_CONSTEXPR PlayerUpgradeTierChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerUpgradeTierChanged(const PlayerUpgradeTierChanged& from); + PlayerUpgradeTierChanged(PlayerUpgradeTierChanged&& from) noexcept + : PlayerUpgradeTierChanged() { + *this = ::std::move(from); + } + + inline PlayerUpgradeTierChanged& operator=(const PlayerUpgradeTierChanged& from) { + CopyFrom(from); + return *this; + } + inline PlayerUpgradeTierChanged& operator=(PlayerUpgradeTierChanged&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerUpgradeTierChanged& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerUpgradeTierChanged* internal_default_instance() { + return reinterpret_cast( + &_PlayerUpgradeTierChanged_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + friend void swap(PlayerUpgradeTierChanged& a, PlayerUpgradeTierChanged& b) { + a.Swap(&b); + } + inline void Swap(PlayerUpgradeTierChanged* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerUpgradeTierChanged* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerUpgradeTierChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerUpgradeTierChanged& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerUpgradeTierChanged& from) { + PlayerUpgradeTierChanged::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerUpgradeTierChanged* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerUpgradeTierChanged"; + } + protected: + explicit PlayerUpgradeTierChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kLevelFieldNumber = 4, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // int32 level = 4; + void clear_level(); + int32_t level() const; + void set_level(int32_t value); + private: + int32_t _internal_level() const; + void _internal_set_level(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerUpgradeTierChanged) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + int32_t level_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerDamaged final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerDamaged) */ { + public: + inline PlayerDamaged() : PlayerDamaged(nullptr) {} + ~PlayerDamaged() override; + explicit PROTOBUF_CONSTEXPR PlayerDamaged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerDamaged(const PlayerDamaged& from); + PlayerDamaged(PlayerDamaged&& from) noexcept + : PlayerDamaged() { + *this = ::std::move(from); + } + + inline PlayerDamaged& operator=(const PlayerDamaged& from) { + CopyFrom(from); + return *this; + } + inline PlayerDamaged& operator=(PlayerDamaged&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerDamaged& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerDamaged* internal_default_instance() { + return reinterpret_cast( + &_PlayerDamaged_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + friend void swap(PlayerDamaged& a, PlayerDamaged& b) { + a.Swap(&b); + } + inline void Swap(PlayerDamaged* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerDamaged* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerDamaged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerDamaged& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerDamaged& from) { + PlayerDamaged::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerDamaged* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerDamaged"; + } + protected: + explicit PlayerDamaged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kWeaponFieldNumber = 5, + kAttackerFieldNumber = 3, + kVictimFieldNumber = 4, + kTimestampFieldNumber = 1, + kDamageInflictedFieldNumber = 6, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string weapon = 5; + void clear_weapon(); + const std::string& weapon() const; + template + void set_weapon(ArgT0&& arg0, ArgT... args); + std::string* mutable_weapon(); + PROTOBUF_NODISCARD std::string* release_weapon(); + void set_allocated_weapon(std::string* weapon); + private: + const std::string& _internal_weapon() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_weapon(const std::string& value); + std::string* _internal_mutable_weapon(); + public: + + // .rtech.liveapi.Player attacker = 3; + bool has_attacker() const; + private: + bool _internal_has_attacker() const; + public: + void clear_attacker(); + const ::rtech::liveapi::Player& attacker() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_attacker(); + ::rtech::liveapi::Player* mutable_attacker(); + void set_allocated_attacker(::rtech::liveapi::Player* attacker); + private: + const ::rtech::liveapi::Player& _internal_attacker() const; + ::rtech::liveapi::Player* _internal_mutable_attacker(); + public: + void unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker); + ::rtech::liveapi::Player* unsafe_arena_release_attacker(); + + // .rtech.liveapi.Player victim = 4; + bool has_victim() const; + private: + bool _internal_has_victim() const; + public: + void clear_victim(); + const ::rtech::liveapi::Player& victim() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_victim(); + ::rtech::liveapi::Player* mutable_victim(); + void set_allocated_victim(::rtech::liveapi::Player* victim); + private: + const ::rtech::liveapi::Player& _internal_victim() const; + ::rtech::liveapi::Player* _internal_mutable_victim(); + public: + void unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim); + ::rtech::liveapi::Player* unsafe_arena_release_victim(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // uint32 damageInflicted = 6; + void clear_damageinflicted(); + uint32_t damageinflicted() const; + void set_damageinflicted(uint32_t value); + private: + uint32_t _internal_damageinflicted() const; + void _internal_set_damageinflicted(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerDamaged) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr weapon_; + ::rtech::liveapi::Player* attacker_; + ::rtech::liveapi::Player* victim_; + uint64_t timestamp_; + uint32_t damageinflicted_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerKilled final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerKilled) */ { + public: + inline PlayerKilled() : PlayerKilled(nullptr) {} + ~PlayerKilled() override; + explicit PROTOBUF_CONSTEXPR PlayerKilled(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerKilled(const PlayerKilled& from); + PlayerKilled(PlayerKilled&& from) noexcept + : PlayerKilled() { + *this = ::std::move(from); + } + + inline PlayerKilled& operator=(const PlayerKilled& from) { + CopyFrom(from); + return *this; + } + inline PlayerKilled& operator=(PlayerKilled&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerKilled& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerKilled* internal_default_instance() { + return reinterpret_cast( + &_PlayerKilled_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + friend void swap(PlayerKilled& a, PlayerKilled& b) { + a.Swap(&b); + } + inline void Swap(PlayerKilled* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerKilled* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerKilled* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerKilled& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerKilled& from) { + PlayerKilled::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerKilled* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerKilled"; + } + protected: + explicit PlayerKilled(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kWeaponFieldNumber = 6, + kAttackerFieldNumber = 3, + kVictimFieldNumber = 4, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string weapon = 6; + void clear_weapon(); + const std::string& weapon() const; + template + void set_weapon(ArgT0&& arg0, ArgT... args); + std::string* mutable_weapon(); + PROTOBUF_NODISCARD std::string* release_weapon(); + void set_allocated_weapon(std::string* weapon); + private: + const std::string& _internal_weapon() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_weapon(const std::string& value); + std::string* _internal_mutable_weapon(); + public: + + // .rtech.liveapi.Player attacker = 3; + bool has_attacker() const; + private: + bool _internal_has_attacker() const; + public: + void clear_attacker(); + const ::rtech::liveapi::Player& attacker() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_attacker(); + ::rtech::liveapi::Player* mutable_attacker(); + void set_allocated_attacker(::rtech::liveapi::Player* attacker); + private: + const ::rtech::liveapi::Player& _internal_attacker() const; + ::rtech::liveapi::Player* _internal_mutable_attacker(); + public: + void unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker); + ::rtech::liveapi::Player* unsafe_arena_release_attacker(); + + // .rtech.liveapi.Player victim = 4; + bool has_victim() const; + private: + bool _internal_has_victim() const; + public: + void clear_victim(); + const ::rtech::liveapi::Player& victim() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_victim(); + ::rtech::liveapi::Player* mutable_victim(); + void set_allocated_victim(::rtech::liveapi::Player* victim); + private: + const ::rtech::liveapi::Player& _internal_victim() const; + ::rtech::liveapi::Player* _internal_mutable_victim(); + public: + void unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim); + ::rtech::liveapi::Player* unsafe_arena_release_victim(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerKilled) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr weapon_; + ::rtech::liveapi::Player* attacker_; + ::rtech::liveapi::Player* victim_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerDowned final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerDowned) */ { + public: + inline PlayerDowned() : PlayerDowned(nullptr) {} + ~PlayerDowned() override; + explicit PROTOBUF_CONSTEXPR PlayerDowned(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerDowned(const PlayerDowned& from); + PlayerDowned(PlayerDowned&& from) noexcept + : PlayerDowned() { + *this = ::std::move(from); + } + + inline PlayerDowned& operator=(const PlayerDowned& from) { + CopyFrom(from); + return *this; + } + inline PlayerDowned& operator=(PlayerDowned&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerDowned& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerDowned* internal_default_instance() { + return reinterpret_cast( + &_PlayerDowned_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + friend void swap(PlayerDowned& a, PlayerDowned& b) { + a.Swap(&b); + } + inline void Swap(PlayerDowned* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerDowned* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerDowned* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerDowned& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerDowned& from) { + PlayerDowned::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerDowned* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerDowned"; + } + protected: + explicit PlayerDowned(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kWeaponFieldNumber = 5, + kAttackerFieldNumber = 3, + kVictimFieldNumber = 4, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string weapon = 5; + void clear_weapon(); + const std::string& weapon() const; + template + void set_weapon(ArgT0&& arg0, ArgT... args); + std::string* mutable_weapon(); + PROTOBUF_NODISCARD std::string* release_weapon(); + void set_allocated_weapon(std::string* weapon); + private: + const std::string& _internal_weapon() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_weapon(const std::string& value); + std::string* _internal_mutable_weapon(); + public: + + // .rtech.liveapi.Player attacker = 3; + bool has_attacker() const; + private: + bool _internal_has_attacker() const; + public: + void clear_attacker(); + const ::rtech::liveapi::Player& attacker() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_attacker(); + ::rtech::liveapi::Player* mutable_attacker(); + void set_allocated_attacker(::rtech::liveapi::Player* attacker); + private: + const ::rtech::liveapi::Player& _internal_attacker() const; + ::rtech::liveapi::Player* _internal_mutable_attacker(); + public: + void unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker); + ::rtech::liveapi::Player* unsafe_arena_release_attacker(); + + // .rtech.liveapi.Player victim = 4; + bool has_victim() const; + private: + bool _internal_has_victim() const; + public: + void clear_victim(); + const ::rtech::liveapi::Player& victim() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_victim(); + ::rtech::liveapi::Player* mutable_victim(); + void set_allocated_victim(::rtech::liveapi::Player* victim); + private: + const ::rtech::liveapi::Player& _internal_victim() const; + ::rtech::liveapi::Player* _internal_mutable_victim(); + public: + void unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim); + ::rtech::liveapi::Player* unsafe_arena_release_victim(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerDowned) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr weapon_; + ::rtech::liveapi::Player* attacker_; + ::rtech::liveapi::Player* victim_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerAssist final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerAssist) */ { + public: + inline PlayerAssist() : PlayerAssist(nullptr) {} + ~PlayerAssist() override; + explicit PROTOBUF_CONSTEXPR PlayerAssist(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerAssist(const PlayerAssist& from); + PlayerAssist(PlayerAssist&& from) noexcept + : PlayerAssist() { + *this = ::std::move(from); + } + + inline PlayerAssist& operator=(const PlayerAssist& from) { + CopyFrom(from); + return *this; + } + inline PlayerAssist& operator=(PlayerAssist&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerAssist& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerAssist* internal_default_instance() { + return reinterpret_cast( + &_PlayerAssist_default_instance_); + } + static constexpr int kIndexInFileMessages = + 24; + + friend void swap(PlayerAssist& a, PlayerAssist& b) { + a.Swap(&b); + } + inline void Swap(PlayerAssist* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerAssist* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerAssist* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerAssist& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerAssist& from) { + PlayerAssist::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerAssist* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerAssist"; + } + protected: + explicit PlayerAssist(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kWeaponFieldNumber = 5, + kAssistantFieldNumber = 3, + kVictimFieldNumber = 4, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string weapon = 5; + void clear_weapon(); + const std::string& weapon() const; + template + void set_weapon(ArgT0&& arg0, ArgT... args); + std::string* mutable_weapon(); + PROTOBUF_NODISCARD std::string* release_weapon(); + void set_allocated_weapon(std::string* weapon); + private: + const std::string& _internal_weapon() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_weapon(const std::string& value); + std::string* _internal_mutable_weapon(); + public: + + // .rtech.liveapi.Player assistant = 3; + bool has_assistant() const; + private: + bool _internal_has_assistant() const; + public: + void clear_assistant(); + const ::rtech::liveapi::Player& assistant() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_assistant(); + ::rtech::liveapi::Player* mutable_assistant(); + void set_allocated_assistant(::rtech::liveapi::Player* assistant); + private: + const ::rtech::liveapi::Player& _internal_assistant() const; + ::rtech::liveapi::Player* _internal_mutable_assistant(); + public: + void unsafe_arena_set_allocated_assistant( + ::rtech::liveapi::Player* assistant); + ::rtech::liveapi::Player* unsafe_arena_release_assistant(); + + // .rtech.liveapi.Player victim = 4; + bool has_victim() const; + private: + bool _internal_has_victim() const; + public: + void clear_victim(); + const ::rtech::liveapi::Player& victim() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_victim(); + ::rtech::liveapi::Player* mutable_victim(); + void set_allocated_victim(::rtech::liveapi::Player* victim); + private: + const ::rtech::liveapi::Player& _internal_victim() const; + ::rtech::liveapi::Player* _internal_mutable_victim(); + public: + void unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim); + ::rtech::liveapi::Player* unsafe_arena_release_victim(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerAssist) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr weapon_; + ::rtech::liveapi::Player* assistant_; + ::rtech::liveapi::Player* victim_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class SquadEliminated final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.SquadEliminated) */ { + public: + inline SquadEliminated() : SquadEliminated(nullptr) {} + ~SquadEliminated() override; + explicit PROTOBUF_CONSTEXPR SquadEliminated(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SquadEliminated(const SquadEliminated& from); + SquadEliminated(SquadEliminated&& from) noexcept + : SquadEliminated() { + *this = ::std::move(from); + } + + inline SquadEliminated& operator=(const SquadEliminated& from) { + CopyFrom(from); + return *this; + } + inline SquadEliminated& operator=(SquadEliminated&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SquadEliminated& default_instance() { + return *internal_default_instance(); + } + static inline const SquadEliminated* internal_default_instance() { + return reinterpret_cast( + &_SquadEliminated_default_instance_); + } + static constexpr int kIndexInFileMessages = + 25; + + friend void swap(SquadEliminated& a, SquadEliminated& b) { + a.Swap(&b); + } + inline void Swap(SquadEliminated* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SquadEliminated* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SquadEliminated* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SquadEliminated& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SquadEliminated& from) { + SquadEliminated::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SquadEliminated* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.SquadEliminated"; + } + protected: + explicit SquadEliminated(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPlayersFieldNumber = 3, + kCategoryFieldNumber = 2, + kTimestampFieldNumber = 1, + }; + // repeated .rtech.liveapi.Player players = 3; + int players_size() const; + private: + int _internal_players_size() const; + public: + void clear_players(); + ::rtech::liveapi::Player* mutable_players(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >* + mutable_players(); + private: + const ::rtech::liveapi::Player& _internal_players(int index) const; + ::rtech::liveapi::Player* _internal_add_players(); + public: + const ::rtech::liveapi::Player& players(int index) const; + ::rtech::liveapi::Player* add_players(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >& + players() const; + + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.SquadEliminated) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player > players_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class GibraltarShieldAbsorbed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.GibraltarShieldAbsorbed) */ { + public: + inline GibraltarShieldAbsorbed() : GibraltarShieldAbsorbed(nullptr) {} + ~GibraltarShieldAbsorbed() override; + explicit PROTOBUF_CONSTEXPR GibraltarShieldAbsorbed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GibraltarShieldAbsorbed(const GibraltarShieldAbsorbed& from); + GibraltarShieldAbsorbed(GibraltarShieldAbsorbed&& from) noexcept + : GibraltarShieldAbsorbed() { + *this = ::std::move(from); + } + + inline GibraltarShieldAbsorbed& operator=(const GibraltarShieldAbsorbed& from) { + CopyFrom(from); + return *this; + } + inline GibraltarShieldAbsorbed& operator=(GibraltarShieldAbsorbed&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GibraltarShieldAbsorbed& default_instance() { + return *internal_default_instance(); + } + static inline const GibraltarShieldAbsorbed* internal_default_instance() { + return reinterpret_cast( + &_GibraltarShieldAbsorbed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 26; + + friend void swap(GibraltarShieldAbsorbed& a, GibraltarShieldAbsorbed& b) { + a.Swap(&b); + } + inline void Swap(GibraltarShieldAbsorbed* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GibraltarShieldAbsorbed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GibraltarShieldAbsorbed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GibraltarShieldAbsorbed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const GibraltarShieldAbsorbed& from) { + GibraltarShieldAbsorbed::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GibraltarShieldAbsorbed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.GibraltarShieldAbsorbed"; + } + protected: + explicit GibraltarShieldAbsorbed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kAttackerFieldNumber = 3, + kVictimFieldNumber = 4, + kTimestampFieldNumber = 1, + kDamageInflictedFieldNumber = 6, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player attacker = 3; + bool has_attacker() const; + private: + bool _internal_has_attacker() const; + public: + void clear_attacker(); + const ::rtech::liveapi::Player& attacker() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_attacker(); + ::rtech::liveapi::Player* mutable_attacker(); + void set_allocated_attacker(::rtech::liveapi::Player* attacker); + private: + const ::rtech::liveapi::Player& _internal_attacker() const; + ::rtech::liveapi::Player* _internal_mutable_attacker(); + public: + void unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker); + ::rtech::liveapi::Player* unsafe_arena_release_attacker(); + + // .rtech.liveapi.Player victim = 4; + bool has_victim() const; + private: + bool _internal_has_victim() const; + public: + void clear_victim(); + const ::rtech::liveapi::Player& victim() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_victim(); + ::rtech::liveapi::Player* mutable_victim(); + void set_allocated_victim(::rtech::liveapi::Player* victim); + private: + const ::rtech::liveapi::Player& _internal_victim() const; + ::rtech::liveapi::Player* _internal_mutable_victim(); + public: + void unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim); + ::rtech::liveapi::Player* unsafe_arena_release_victim(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // uint32 damageInflicted = 6; + void clear_damageinflicted(); + uint32_t damageinflicted() const; + void set_damageinflicted(uint32_t value); + private: + uint32_t _internal_damageinflicted() const; + void _internal_set_damageinflicted(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.GibraltarShieldAbsorbed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* attacker_; + ::rtech::liveapi::Player* victim_; + uint64_t timestamp_; + uint32_t damageinflicted_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class RevenantForgedShadowDamaged final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.RevenantForgedShadowDamaged) */ { + public: + inline RevenantForgedShadowDamaged() : RevenantForgedShadowDamaged(nullptr) {} + ~RevenantForgedShadowDamaged() override; + explicit PROTOBUF_CONSTEXPR RevenantForgedShadowDamaged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RevenantForgedShadowDamaged(const RevenantForgedShadowDamaged& from); + RevenantForgedShadowDamaged(RevenantForgedShadowDamaged&& from) noexcept + : RevenantForgedShadowDamaged() { + *this = ::std::move(from); + } + + inline RevenantForgedShadowDamaged& operator=(const RevenantForgedShadowDamaged& from) { + CopyFrom(from); + return *this; + } + inline RevenantForgedShadowDamaged& operator=(RevenantForgedShadowDamaged&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RevenantForgedShadowDamaged& default_instance() { + return *internal_default_instance(); + } + static inline const RevenantForgedShadowDamaged* internal_default_instance() { + return reinterpret_cast( + &_RevenantForgedShadowDamaged_default_instance_); + } + static constexpr int kIndexInFileMessages = + 27; + + friend void swap(RevenantForgedShadowDamaged& a, RevenantForgedShadowDamaged& b) { + a.Swap(&b); + } + inline void Swap(RevenantForgedShadowDamaged* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RevenantForgedShadowDamaged* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RevenantForgedShadowDamaged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RevenantForgedShadowDamaged& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const RevenantForgedShadowDamaged& from) { + RevenantForgedShadowDamaged::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RevenantForgedShadowDamaged* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.RevenantForgedShadowDamaged"; + } + protected: + explicit RevenantForgedShadowDamaged(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kAttackerFieldNumber = 3, + kVictimFieldNumber = 4, + kTimestampFieldNumber = 1, + kDamageInflictedFieldNumber = 6, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player attacker = 3; + bool has_attacker() const; + private: + bool _internal_has_attacker() const; + public: + void clear_attacker(); + const ::rtech::liveapi::Player& attacker() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_attacker(); + ::rtech::liveapi::Player* mutable_attacker(); + void set_allocated_attacker(::rtech::liveapi::Player* attacker); + private: + const ::rtech::liveapi::Player& _internal_attacker() const; + ::rtech::liveapi::Player* _internal_mutable_attacker(); + public: + void unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker); + ::rtech::liveapi::Player* unsafe_arena_release_attacker(); + + // .rtech.liveapi.Player victim = 4; + bool has_victim() const; + private: + bool _internal_has_victim() const; + public: + void clear_victim(); + const ::rtech::liveapi::Player& victim() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_victim(); + ::rtech::liveapi::Player* mutable_victim(); + void set_allocated_victim(::rtech::liveapi::Player* victim); + private: + const ::rtech::liveapi::Player& _internal_victim() const; + ::rtech::liveapi::Player* _internal_mutable_victim(); + public: + void unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim); + ::rtech::liveapi::Player* unsafe_arena_release_victim(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // uint32 damageInflicted = 6; + void clear_damageinflicted(); + uint32_t damageinflicted() const; + void set_damageinflicted(uint32_t value); + private: + uint32_t _internal_damageinflicted() const; + void _internal_set_damageinflicted(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.RevenantForgedShadowDamaged) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* attacker_; + ::rtech::liveapi::Player* victim_; + uint64_t timestamp_; + uint32_t damageinflicted_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerRespawnTeam final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerRespawnTeam) */ { + public: + inline PlayerRespawnTeam() : PlayerRespawnTeam(nullptr) {} + ~PlayerRespawnTeam() override; + explicit PROTOBUF_CONSTEXPR PlayerRespawnTeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerRespawnTeam(const PlayerRespawnTeam& from); + PlayerRespawnTeam(PlayerRespawnTeam&& from) noexcept + : PlayerRespawnTeam() { + *this = ::std::move(from); + } + + inline PlayerRespawnTeam& operator=(const PlayerRespawnTeam& from) { + CopyFrom(from); + return *this; + } + inline PlayerRespawnTeam& operator=(PlayerRespawnTeam&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerRespawnTeam& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerRespawnTeam* internal_default_instance() { + return reinterpret_cast( + &_PlayerRespawnTeam_default_instance_); + } + static constexpr int kIndexInFileMessages = + 28; + + friend void swap(PlayerRespawnTeam& a, PlayerRespawnTeam& b) { + a.Swap(&b); + } + inline void Swap(PlayerRespawnTeam* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerRespawnTeam* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerRespawnTeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerRespawnTeam& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerRespawnTeam& from) { + PlayerRespawnTeam::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerRespawnTeam* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerRespawnTeam"; + } + protected: + explicit PlayerRespawnTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kRespawnedFieldNumber = 4, + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // repeated .rtech.liveapi.Player respawned = 4; + int respawned_size() const; + private: + int _internal_respawned_size() const; + public: + void clear_respawned(); + ::rtech::liveapi::Player* mutable_respawned(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >* + mutable_respawned(); + private: + const ::rtech::liveapi::Player& _internal_respawned(int index) const; + ::rtech::liveapi::Player* _internal_add_respawned(); + public: + const ::rtech::liveapi::Player& respawned(int index) const; + ::rtech::liveapi::Player* add_respawned(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >& + respawned() const; + + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerRespawnTeam) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player > respawned_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerRevive final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerRevive) */ { + public: + inline PlayerRevive() : PlayerRevive(nullptr) {} + ~PlayerRevive() override; + explicit PROTOBUF_CONSTEXPR PlayerRevive(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerRevive(const PlayerRevive& from); + PlayerRevive(PlayerRevive&& from) noexcept + : PlayerRevive() { + *this = ::std::move(from); + } + + inline PlayerRevive& operator=(const PlayerRevive& from) { + CopyFrom(from); + return *this; + } + inline PlayerRevive& operator=(PlayerRevive&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerRevive& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerRevive* internal_default_instance() { + return reinterpret_cast( + &_PlayerRevive_default_instance_); + } + static constexpr int kIndexInFileMessages = + 29; + + friend void swap(PlayerRevive& a, PlayerRevive& b) { + a.Swap(&b); + } + inline void Swap(PlayerRevive* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerRevive* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerRevive* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerRevive& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerRevive& from) { + PlayerRevive::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerRevive* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerRevive"; + } + protected: + explicit PlayerRevive(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kRevivedFieldNumber = 4, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // .rtech.liveapi.Player revived = 4; + bool has_revived() const; + private: + bool _internal_has_revived() const; + public: + void clear_revived(); + const ::rtech::liveapi::Player& revived() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_revived(); + ::rtech::liveapi::Player* mutable_revived(); + void set_allocated_revived(::rtech::liveapi::Player* revived); + private: + const ::rtech::liveapi::Player& _internal_revived() const; + ::rtech::liveapi::Player* _internal_mutable_revived(); + public: + void unsafe_arena_set_allocated_revived( + ::rtech::liveapi::Player* revived); + ::rtech::liveapi::Player* unsafe_arena_release_revived(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerRevive) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + ::rtech::liveapi::Player* revived_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class ArenasItemSelected final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.ArenasItemSelected) */ { + public: + inline ArenasItemSelected() : ArenasItemSelected(nullptr) {} + ~ArenasItemSelected() override; + explicit PROTOBUF_CONSTEXPR ArenasItemSelected(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ArenasItemSelected(const ArenasItemSelected& from); + ArenasItemSelected(ArenasItemSelected&& from) noexcept + : ArenasItemSelected() { + *this = ::std::move(from); + } + + inline ArenasItemSelected& operator=(const ArenasItemSelected& from) { + CopyFrom(from); + return *this; + } + inline ArenasItemSelected& operator=(ArenasItemSelected&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArenasItemSelected& default_instance() { + return *internal_default_instance(); + } + static inline const ArenasItemSelected* internal_default_instance() { + return reinterpret_cast( + &_ArenasItemSelected_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(ArenasItemSelected& a, ArenasItemSelected& b) { + a.Swap(&b); + } + inline void Swap(ArenasItemSelected* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArenasItemSelected* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArenasItemSelected* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ArenasItemSelected& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ArenasItemSelected& from) { + ArenasItemSelected::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArenasItemSelected* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.ArenasItemSelected"; + } + protected: + explicit ArenasItemSelected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kItemFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kQuantityFieldNumber = 5, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string item = 4; + void clear_item(); + const std::string& item() const; + template + void set_item(ArgT0&& arg0, ArgT... args); + std::string* mutable_item(); + PROTOBUF_NODISCARD std::string* release_item(); + void set_allocated_item(std::string* item); + private: + const std::string& _internal_item() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item(const std::string& value); + std::string* _internal_mutable_item(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // int32 quantity = 5; + void clear_quantity(); + int32_t quantity() const; + void set_quantity(int32_t value); + private: + int32_t _internal_quantity() const; + void _internal_set_quantity(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.ArenasItemSelected) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + int32_t quantity_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class ArenasItemDeselected final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.ArenasItemDeselected) */ { + public: + inline ArenasItemDeselected() : ArenasItemDeselected(nullptr) {} + ~ArenasItemDeselected() override; + explicit PROTOBUF_CONSTEXPR ArenasItemDeselected(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ArenasItemDeselected(const ArenasItemDeselected& from); + ArenasItemDeselected(ArenasItemDeselected&& from) noexcept + : ArenasItemDeselected() { + *this = ::std::move(from); + } + + inline ArenasItemDeselected& operator=(const ArenasItemDeselected& from) { + CopyFrom(from); + return *this; + } + inline ArenasItemDeselected& operator=(ArenasItemDeselected&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ArenasItemDeselected& default_instance() { + return *internal_default_instance(); + } + static inline const ArenasItemDeselected* internal_default_instance() { + return reinterpret_cast( + &_ArenasItemDeselected_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(ArenasItemDeselected& a, ArenasItemDeselected& b) { + a.Swap(&b); + } + inline void Swap(ArenasItemDeselected* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ArenasItemDeselected* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ArenasItemDeselected* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ArenasItemDeselected& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ArenasItemDeselected& from) { + ArenasItemDeselected::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ArenasItemDeselected* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.ArenasItemDeselected"; + } + protected: + explicit ArenasItemDeselected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kItemFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kQuantityFieldNumber = 5, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string item = 4; + void clear_item(); + const std::string& item() const; + template + void set_item(ArgT0&& arg0, ArgT... args); + std::string* mutable_item(); + PROTOBUF_NODISCARD std::string* release_item(); + void set_allocated_item(std::string* item); + private: + const std::string& _internal_item() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item(const std::string& value); + std::string* _internal_mutable_item(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // int32 quantity = 5; + void clear_quantity(); + int32_t quantity() const; + void set_quantity(int32_t value); + private: + int32_t _internal_quantity() const; + void _internal_set_quantity(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.ArenasItemDeselected) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + int32_t quantity_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class InventoryPickUp final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.InventoryPickUp) */ { + public: + inline InventoryPickUp() : InventoryPickUp(nullptr) {} + ~InventoryPickUp() override; + explicit PROTOBUF_CONSTEXPR InventoryPickUp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + InventoryPickUp(const InventoryPickUp& from); + InventoryPickUp(InventoryPickUp&& from) noexcept + : InventoryPickUp() { + *this = ::std::move(from); + } + + inline InventoryPickUp& operator=(const InventoryPickUp& from) { + CopyFrom(from); + return *this; + } + inline InventoryPickUp& operator=(InventoryPickUp&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const InventoryPickUp& default_instance() { + return *internal_default_instance(); + } + static inline const InventoryPickUp* internal_default_instance() { + return reinterpret_cast( + &_InventoryPickUp_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(InventoryPickUp& a, InventoryPickUp& b) { + a.Swap(&b); + } + inline void Swap(InventoryPickUp* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(InventoryPickUp* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + InventoryPickUp* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const InventoryPickUp& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const InventoryPickUp& from) { + InventoryPickUp::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(InventoryPickUp* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.InventoryPickUp"; + } + protected: + explicit InventoryPickUp(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kItemFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kQuantityFieldNumber = 5, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string item = 4; + void clear_item(); + const std::string& item() const; + template + void set_item(ArgT0&& arg0, ArgT... args); + std::string* mutable_item(); + PROTOBUF_NODISCARD std::string* release_item(); + void set_allocated_item(std::string* item); + private: + const std::string& _internal_item() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item(const std::string& value); + std::string* _internal_mutable_item(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // int32 quantity = 5; + void clear_quantity(); + int32_t quantity() const; + void set_quantity(int32_t value); + private: + int32_t _internal_quantity() const; + void _internal_set_quantity(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.InventoryPickUp) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + int32_t quantity_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class InventoryDrop final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.InventoryDrop) */ { + public: + inline InventoryDrop() : InventoryDrop(nullptr) {} + ~InventoryDrop() override; + explicit PROTOBUF_CONSTEXPR InventoryDrop(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + InventoryDrop(const InventoryDrop& from); + InventoryDrop(InventoryDrop&& from) noexcept + : InventoryDrop() { + *this = ::std::move(from); + } + + inline InventoryDrop& operator=(const InventoryDrop& from) { + CopyFrom(from); + return *this; + } + inline InventoryDrop& operator=(InventoryDrop&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const InventoryDrop& default_instance() { + return *internal_default_instance(); + } + static inline const InventoryDrop* internal_default_instance() { + return reinterpret_cast( + &_InventoryDrop_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(InventoryDrop& a, InventoryDrop& b) { + a.Swap(&b); + } + inline void Swap(InventoryDrop* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(InventoryDrop* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + InventoryDrop* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const InventoryDrop& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const InventoryDrop& from) { + InventoryDrop::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(InventoryDrop* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.InventoryDrop"; + } + protected: + explicit InventoryDrop(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kExtraDataFieldNumber = 6, + kCategoryFieldNumber = 2, + kItemFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kQuantityFieldNumber = 5, + }; + // repeated string extraData = 6; + int extradata_size() const; + private: + int _internal_extradata_size() const; + public: + void clear_extradata(); + const std::string& extradata(int index) const; + std::string* mutable_extradata(int index); + void set_extradata(int index, const std::string& value); + void set_extradata(int index, std::string&& value); + void set_extradata(int index, const char* value); + void set_extradata(int index, const char* value, size_t size); + std::string* add_extradata(); + void add_extradata(const std::string& value); + void add_extradata(std::string&& value); + void add_extradata(const char* value); + void add_extradata(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& extradata() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_extradata(); + private: + const std::string& _internal_extradata(int index) const; + std::string* _internal_add_extradata(); + public: + + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string item = 4; + void clear_item(); + const std::string& item() const; + template + void set_item(ArgT0&& arg0, ArgT... args); + std::string* mutable_item(); + PROTOBUF_NODISCARD std::string* release_item(); + void set_allocated_item(std::string* item); + private: + const std::string& _internal_item() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item(const std::string& value); + std::string* _internal_mutable_item(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // int32 quantity = 5; + void clear_quantity(); + int32_t quantity() const; + void set_quantity(int32_t value); + private: + int32_t _internal_quantity() const; + void _internal_set_quantity(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.InventoryDrop) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField extradata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + int32_t quantity_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class InventoryUse final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.InventoryUse) */ { + public: + inline InventoryUse() : InventoryUse(nullptr) {} + ~InventoryUse() override; + explicit PROTOBUF_CONSTEXPR InventoryUse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + InventoryUse(const InventoryUse& from); + InventoryUse(InventoryUse&& from) noexcept + : InventoryUse() { + *this = ::std::move(from); + } + + inline InventoryUse& operator=(const InventoryUse& from) { + CopyFrom(from); + return *this; + } + inline InventoryUse& operator=(InventoryUse&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const InventoryUse& default_instance() { + return *internal_default_instance(); + } + static inline const InventoryUse* internal_default_instance() { + return reinterpret_cast( + &_InventoryUse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(InventoryUse& a, InventoryUse& b) { + a.Swap(&b); + } + inline void Swap(InventoryUse* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(InventoryUse* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + InventoryUse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const InventoryUse& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const InventoryUse& from) { + InventoryUse::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(InventoryUse* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.InventoryUse"; + } + protected: + explicit InventoryUse(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kItemFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kQuantityFieldNumber = 5, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string item = 4; + void clear_item(); + const std::string& item() const; + template + void set_item(ArgT0&& arg0, ArgT... args); + std::string* mutable_item(); + PROTOBUF_NODISCARD std::string* release_item(); + void set_allocated_item(std::string* item); + private: + const std::string& _internal_item() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item(const std::string& value); + std::string* _internal_mutable_item(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // int32 quantity = 5; + void clear_quantity(); + int32_t quantity() const; + void set_quantity(int32_t value); + private: + int32_t _internal_quantity() const; + void _internal_set_quantity(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.InventoryUse) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + int32_t quantity_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class BannerCollected final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.BannerCollected) */ { + public: + inline BannerCollected() : BannerCollected(nullptr) {} + ~BannerCollected() override; + explicit PROTOBUF_CONSTEXPR BannerCollected(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + BannerCollected(const BannerCollected& from); + BannerCollected(BannerCollected&& from) noexcept + : BannerCollected() { + *this = ::std::move(from); + } + + inline BannerCollected& operator=(const BannerCollected& from) { + CopyFrom(from); + return *this; + } + inline BannerCollected& operator=(BannerCollected&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BannerCollected& default_instance() { + return *internal_default_instance(); + } + static inline const BannerCollected* internal_default_instance() { + return reinterpret_cast( + &_BannerCollected_default_instance_); + } + static constexpr int kIndexInFileMessages = + 35; + + friend void swap(BannerCollected& a, BannerCollected& b) { + a.Swap(&b); + } + inline void Swap(BannerCollected* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BannerCollected* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BannerCollected* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const BannerCollected& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const BannerCollected& from) { + BannerCollected::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(BannerCollected* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.BannerCollected"; + } + protected: + explicit BannerCollected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kCollectedFieldNumber = 4, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // .rtech.liveapi.Player collected = 4; + bool has_collected() const; + private: + bool _internal_has_collected() const; + public: + void clear_collected(); + const ::rtech::liveapi::Player& collected() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_collected(); + ::rtech::liveapi::Player* mutable_collected(); + void set_allocated_collected(::rtech::liveapi::Player* collected); + private: + const ::rtech::liveapi::Player& _internal_collected() const; + ::rtech::liveapi::Player* _internal_mutable_collected(); + public: + void unsafe_arena_set_allocated_collected( + ::rtech::liveapi::Player* collected); + ::rtech::liveapi::Player* unsafe_arena_release_collected(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.BannerCollected) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + ::rtech::liveapi::Player* collected_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PlayerAbilityUsed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PlayerAbilityUsed) */ { + public: + inline PlayerAbilityUsed() : PlayerAbilityUsed(nullptr) {} + ~PlayerAbilityUsed() override; + explicit PROTOBUF_CONSTEXPR PlayerAbilityUsed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PlayerAbilityUsed(const PlayerAbilityUsed& from); + PlayerAbilityUsed(PlayerAbilityUsed&& from) noexcept + : PlayerAbilityUsed() { + *this = ::std::move(from); + } + + inline PlayerAbilityUsed& operator=(const PlayerAbilityUsed& from) { + CopyFrom(from); + return *this; + } + inline PlayerAbilityUsed& operator=(PlayerAbilityUsed&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PlayerAbilityUsed& default_instance() { + return *internal_default_instance(); + } + static inline const PlayerAbilityUsed* internal_default_instance() { + return reinterpret_cast( + &_PlayerAbilityUsed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 36; + + friend void swap(PlayerAbilityUsed& a, PlayerAbilityUsed& b) { + a.Swap(&b); + } + inline void Swap(PlayerAbilityUsed* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PlayerAbilityUsed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PlayerAbilityUsed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PlayerAbilityUsed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PlayerAbilityUsed& from) { + PlayerAbilityUsed::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PlayerAbilityUsed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PlayerAbilityUsed"; + } + protected: + explicit PlayerAbilityUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kLinkedEntityFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string linkedEntity = 4; + void clear_linkedentity(); + const std::string& linkedentity() const; + template + void set_linkedentity(ArgT0&& arg0, ArgT... args); + std::string* mutable_linkedentity(); + PROTOBUF_NODISCARD std::string* release_linkedentity(); + void set_allocated_linkedentity(std::string* linkedentity); + private: + const std::string& _internal_linkedentity() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_linkedentity(const std::string& value); + std::string* _internal_mutable_linkedentity(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PlayerAbilityUsed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr linkedentity_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class LegendUpgradeSelected final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.LegendUpgradeSelected) */ { + public: + inline LegendUpgradeSelected() : LegendUpgradeSelected(nullptr) {} + ~LegendUpgradeSelected() override; + explicit PROTOBUF_CONSTEXPR LegendUpgradeSelected(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + LegendUpgradeSelected(const LegendUpgradeSelected& from); + LegendUpgradeSelected(LegendUpgradeSelected&& from) noexcept + : LegendUpgradeSelected() { + *this = ::std::move(from); + } + + inline LegendUpgradeSelected& operator=(const LegendUpgradeSelected& from) { + CopyFrom(from); + return *this; + } + inline LegendUpgradeSelected& operator=(LegendUpgradeSelected&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LegendUpgradeSelected& default_instance() { + return *internal_default_instance(); + } + static inline const LegendUpgradeSelected* internal_default_instance() { + return reinterpret_cast( + &_LegendUpgradeSelected_default_instance_); + } + static constexpr int kIndexInFileMessages = + 37; + + friend void swap(LegendUpgradeSelected& a, LegendUpgradeSelected& b) { + a.Swap(&b); + } + inline void Swap(LegendUpgradeSelected* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LegendUpgradeSelected* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LegendUpgradeSelected* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const LegendUpgradeSelected& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const LegendUpgradeSelected& from) { + LegendUpgradeSelected::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(LegendUpgradeSelected* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.LegendUpgradeSelected"; + } + protected: + explicit LegendUpgradeSelected(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kUpgradeNameFieldNumber = 4, + kUpgradeDescFieldNumber = 5, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kLevelFieldNumber = 6, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string upgradeName = 4; + void clear_upgradename(); + const std::string& upgradename() const; + template + void set_upgradename(ArgT0&& arg0, ArgT... args); + std::string* mutable_upgradename(); + PROTOBUF_NODISCARD std::string* release_upgradename(); + void set_allocated_upgradename(std::string* upgradename); + private: + const std::string& _internal_upgradename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_upgradename(const std::string& value); + std::string* _internal_mutable_upgradename(); + public: + + // string upgradeDesc = 5; + void clear_upgradedesc(); + const std::string& upgradedesc() const; + template + void set_upgradedesc(ArgT0&& arg0, ArgT... args); + std::string* mutable_upgradedesc(); + PROTOBUF_NODISCARD std::string* release_upgradedesc(); + void set_allocated_upgradedesc(std::string* upgradedesc); + private: + const std::string& _internal_upgradedesc() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_upgradedesc(const std::string& value); + std::string* _internal_mutable_upgradedesc(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // int32 level = 6; + void clear_level(); + int32_t level() const; + void set_level(int32_t value); + private: + int32_t _internal_level() const; + void _internal_set_level(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.LegendUpgradeSelected) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr upgradename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr upgradedesc_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + int32_t level_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class ZiplineUsed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.ZiplineUsed) */ { + public: + inline ZiplineUsed() : ZiplineUsed(nullptr) {} + ~ZiplineUsed() override; + explicit PROTOBUF_CONSTEXPR ZiplineUsed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ZiplineUsed(const ZiplineUsed& from); + ZiplineUsed(ZiplineUsed&& from) noexcept + : ZiplineUsed() { + *this = ::std::move(from); + } + + inline ZiplineUsed& operator=(const ZiplineUsed& from) { + CopyFrom(from); + return *this; + } + inline ZiplineUsed& operator=(ZiplineUsed&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ZiplineUsed& default_instance() { + return *internal_default_instance(); + } + static inline const ZiplineUsed* internal_default_instance() { + return reinterpret_cast( + &_ZiplineUsed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 38; + + friend void swap(ZiplineUsed& a, ZiplineUsed& b) { + a.Swap(&b); + } + inline void Swap(ZiplineUsed* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ZiplineUsed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ZiplineUsed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ZiplineUsed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ZiplineUsed& from) { + ZiplineUsed::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ZiplineUsed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.ZiplineUsed"; + } + protected: + explicit ZiplineUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kLinkedEntityFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string linkedEntity = 4; + void clear_linkedentity(); + const std::string& linkedentity() const; + template + void set_linkedentity(ArgT0&& arg0, ArgT... args); + std::string* mutable_linkedentity(); + PROTOBUF_NODISCARD std::string* release_linkedentity(); + void set_allocated_linkedentity(std::string* linkedentity); + private: + const std::string& _internal_linkedentity() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_linkedentity(const std::string& value); + std::string* _internal_mutable_linkedentity(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.ZiplineUsed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr linkedentity_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class GrenadeThrown final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.GrenadeThrown) */ { + public: + inline GrenadeThrown() : GrenadeThrown(nullptr) {} + ~GrenadeThrown() override; + explicit PROTOBUF_CONSTEXPR GrenadeThrown(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GrenadeThrown(const GrenadeThrown& from); + GrenadeThrown(GrenadeThrown&& from) noexcept + : GrenadeThrown() { + *this = ::std::move(from); + } + + inline GrenadeThrown& operator=(const GrenadeThrown& from) { + CopyFrom(from); + return *this; + } + inline GrenadeThrown& operator=(GrenadeThrown&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const GrenadeThrown& default_instance() { + return *internal_default_instance(); + } + static inline const GrenadeThrown* internal_default_instance() { + return reinterpret_cast( + &_GrenadeThrown_default_instance_); + } + static constexpr int kIndexInFileMessages = + 39; + + friend void swap(GrenadeThrown& a, GrenadeThrown& b) { + a.Swap(&b); + } + inline void Swap(GrenadeThrown* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GrenadeThrown* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GrenadeThrown* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const GrenadeThrown& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const GrenadeThrown& from) { + GrenadeThrown::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GrenadeThrown* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.GrenadeThrown"; + } + protected: + explicit GrenadeThrown(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kLinkedEntityFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string linkedEntity = 4; + void clear_linkedentity(); + const std::string& linkedentity() const; + template + void set_linkedentity(ArgT0&& arg0, ArgT... args); + std::string* mutable_linkedentity(); + PROTOBUF_NODISCARD std::string* release_linkedentity(); + void set_allocated_linkedentity(std::string* linkedentity); + private: + const std::string& _internal_linkedentity() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_linkedentity(const std::string& value); + std::string* _internal_mutable_linkedentity(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.GrenadeThrown) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr linkedentity_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackMarketAction final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.BlackMarketAction) */ { + public: + inline BlackMarketAction() : BlackMarketAction(nullptr) {} + ~BlackMarketAction() override; + explicit PROTOBUF_CONSTEXPR BlackMarketAction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + BlackMarketAction(const BlackMarketAction& from); + BlackMarketAction(BlackMarketAction&& from) noexcept + : BlackMarketAction() { + *this = ::std::move(from); + } + + inline BlackMarketAction& operator=(const BlackMarketAction& from) { + CopyFrom(from); + return *this; + } + inline BlackMarketAction& operator=(BlackMarketAction&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackMarketAction& default_instance() { + return *internal_default_instance(); + } + static inline const BlackMarketAction* internal_default_instance() { + return reinterpret_cast( + &_BlackMarketAction_default_instance_); + } + static constexpr int kIndexInFileMessages = + 40; + + friend void swap(BlackMarketAction& a, BlackMarketAction& b) { + a.Swap(&b); + } + inline void Swap(BlackMarketAction* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackMarketAction* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackMarketAction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const BlackMarketAction& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const BlackMarketAction& from) { + BlackMarketAction::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(BlackMarketAction* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.BlackMarketAction"; + } + protected: + explicit BlackMarketAction(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kItemFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string item = 4; + void clear_item(); + const std::string& item() const; + template + void set_item(ArgT0&& arg0, ArgT... args); + std::string* mutable_item(); + PROTOBUF_NODISCARD std::string* release_item(); + void set_allocated_item(std::string* item); + private: + const std::string& _internal_item() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_item(const std::string& value); + std::string* _internal_mutable_item(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.BlackMarketAction) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr item_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class WraithPortal final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.WraithPortal) */ { + public: + inline WraithPortal() : WraithPortal(nullptr) {} + ~WraithPortal() override; + explicit PROTOBUF_CONSTEXPR WraithPortal(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + WraithPortal(const WraithPortal& from); + WraithPortal(WraithPortal&& from) noexcept + : WraithPortal() { + *this = ::std::move(from); + } + + inline WraithPortal& operator=(const WraithPortal& from) { + CopyFrom(from); + return *this; + } + inline WraithPortal& operator=(WraithPortal&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WraithPortal& default_instance() { + return *internal_default_instance(); + } + static inline const WraithPortal* internal_default_instance() { + return reinterpret_cast( + &_WraithPortal_default_instance_); + } + static constexpr int kIndexInFileMessages = + 41; + + friend void swap(WraithPortal& a, WraithPortal& b) { + a.Swap(&b); + } + inline void Swap(WraithPortal* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WraithPortal* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WraithPortal* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const WraithPortal& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const WraithPortal& from) { + WraithPortal::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(WraithPortal* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.WraithPortal"; + } + protected: + explicit WraithPortal(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.WraithPortal) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class WarpGateUsed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.WarpGateUsed) */ { + public: + inline WarpGateUsed() : WarpGateUsed(nullptr) {} + ~WarpGateUsed() override; + explicit PROTOBUF_CONSTEXPR WarpGateUsed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + WarpGateUsed(const WarpGateUsed& from); + WarpGateUsed(WarpGateUsed&& from) noexcept + : WarpGateUsed() { + *this = ::std::move(from); + } + + inline WarpGateUsed& operator=(const WarpGateUsed& from) { + CopyFrom(from); + return *this; + } + inline WarpGateUsed& operator=(WarpGateUsed&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WarpGateUsed& default_instance() { + return *internal_default_instance(); + } + static inline const WarpGateUsed* internal_default_instance() { + return reinterpret_cast( + &_WarpGateUsed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 42; + + friend void swap(WarpGateUsed& a, WarpGateUsed& b) { + a.Swap(&b); + } + inline void Swap(WarpGateUsed* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WarpGateUsed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WarpGateUsed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const WarpGateUsed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const WarpGateUsed& from) { + WarpGateUsed::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(WarpGateUsed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.WarpGateUsed"; + } + protected: + explicit WarpGateUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.WarpGateUsed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class AmmoUsed final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.AmmoUsed) */ { + public: + inline AmmoUsed() : AmmoUsed(nullptr) {} + ~AmmoUsed() override; + explicit PROTOBUF_CONSTEXPR AmmoUsed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + AmmoUsed(const AmmoUsed& from); + AmmoUsed(AmmoUsed&& from) noexcept + : AmmoUsed() { + *this = ::std::move(from); + } + + inline AmmoUsed& operator=(const AmmoUsed& from) { + CopyFrom(from); + return *this; + } + inline AmmoUsed& operator=(AmmoUsed&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AmmoUsed& default_instance() { + return *internal_default_instance(); + } + static inline const AmmoUsed* internal_default_instance() { + return reinterpret_cast( + &_AmmoUsed_default_instance_); + } + static constexpr int kIndexInFileMessages = + 43; + + friend void swap(AmmoUsed& a, AmmoUsed& b) { + a.Swap(&b); + } + inline void Swap(AmmoUsed* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AmmoUsed* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AmmoUsed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const AmmoUsed& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const AmmoUsed& from) { + AmmoUsed::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(AmmoUsed* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.AmmoUsed"; + } + protected: + explicit AmmoUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kAmmoTypeFieldNumber = 4, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + kAmountUsedFieldNumber = 5, + kOldAmmoCountFieldNumber = 6, + kNewAmmoCountFieldNumber = 7, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string ammoType = 4; + void clear_ammotype(); + const std::string& ammotype() const; + template + void set_ammotype(ArgT0&& arg0, ArgT... args); + std::string* mutable_ammotype(); + PROTOBUF_NODISCARD std::string* release_ammotype(); + void set_allocated_ammotype(std::string* ammotype); + private: + const std::string& _internal_ammotype() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ammotype(const std::string& value); + std::string* _internal_mutable_ammotype(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // uint32 amountUsed = 5; + void clear_amountused(); + uint32_t amountused() const; + void set_amountused(uint32_t value); + private: + uint32_t _internal_amountused() const; + void _internal_set_amountused(uint32_t value); + public: + + // uint32 oldAmmoCount = 6; + void clear_oldammocount(); + uint32_t oldammocount() const; + void set_oldammocount(uint32_t value); + private: + uint32_t _internal_oldammocount() const; + void _internal_set_oldammocount(uint32_t value); + public: + + // uint32 newAmmoCount = 7; + void clear_newammocount(); + uint32_t newammocount() const; + void set_newammocount(uint32_t value); + private: + uint32_t _internal_newammocount() const; + void _internal_set_newammocount(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.AmmoUsed) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ammotype_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + uint32_t amountused_; + uint32_t oldammocount_; + uint32_t newammocount_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class WeaponSwitched final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.WeaponSwitched) */ { + public: + inline WeaponSwitched() : WeaponSwitched(nullptr) {} + ~WeaponSwitched() override; + explicit PROTOBUF_CONSTEXPR WeaponSwitched(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + WeaponSwitched(const WeaponSwitched& from); + WeaponSwitched(WeaponSwitched&& from) noexcept + : WeaponSwitched() { + *this = ::std::move(from); + } + + inline WeaponSwitched& operator=(const WeaponSwitched& from) { + CopyFrom(from); + return *this; + } + inline WeaponSwitched& operator=(WeaponSwitched&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WeaponSwitched& default_instance() { + return *internal_default_instance(); + } + static inline const WeaponSwitched* internal_default_instance() { + return reinterpret_cast( + &_WeaponSwitched_default_instance_); + } + static constexpr int kIndexInFileMessages = + 44; + + friend void swap(WeaponSwitched& a, WeaponSwitched& b) { + a.Swap(&b); + } + inline void Swap(WeaponSwitched* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WeaponSwitched* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WeaponSwitched* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const WeaponSwitched& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const WeaponSwitched& from) { + WeaponSwitched::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(WeaponSwitched* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.WeaponSwitched"; + } + protected: + explicit WeaponSwitched(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCategoryFieldNumber = 2, + kOldWeaponFieldNumber = 4, + kNewWeaponFieldNumber = 5, + kPlayerFieldNumber = 3, + kTimestampFieldNumber = 1, + }; + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // string oldWeapon = 4; + void clear_oldweapon(); + const std::string& oldweapon() const; + template + void set_oldweapon(ArgT0&& arg0, ArgT... args); + std::string* mutable_oldweapon(); + PROTOBUF_NODISCARD std::string* release_oldweapon(); + void set_allocated_oldweapon(std::string* oldweapon); + private: + const std::string& _internal_oldweapon() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_oldweapon(const std::string& value); + std::string* _internal_mutable_oldweapon(); + public: + + // string newWeapon = 5; + void clear_newweapon(); + const std::string& newweapon() const; + template + void set_newweapon(ArgT0&& arg0, ArgT... args); + std::string* mutable_newweapon(); + PROTOBUF_NODISCARD std::string* release_newweapon(); + void set_allocated_newweapon(std::string* newweapon); + private: + const std::string& _internal_newweapon() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_newweapon(const std::string& value); + std::string* _internal_mutable_newweapon(); + public: + + // .rtech.liveapi.Player player = 3; + bool has_player() const; + private: + bool _internal_has_player() const; + public: + void clear_player(); + const ::rtech::liveapi::Player& player() const; + PROTOBUF_NODISCARD ::rtech::liveapi::Player* release_player(); + ::rtech::liveapi::Player* mutable_player(); + void set_allocated_player(::rtech::liveapi::Player* player); + private: + const ::rtech::liveapi::Player& _internal_player() const; + ::rtech::liveapi::Player* _internal_mutable_player(); + public: + void unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player); + ::rtech::liveapi::Player* unsafe_arena_release_player(); + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.WeaponSwitched) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr oldweapon_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr newweapon_; + ::rtech::liveapi::Player* player_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomEvent) */ { + public: + inline CustomEvent() : CustomEvent(nullptr) {} + ~CustomEvent() override; + explicit PROTOBUF_CONSTEXPR CustomEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomEvent(const CustomEvent& from); + CustomEvent(CustomEvent&& from) noexcept + : CustomEvent() { + *this = ::std::move(from); + } + + inline CustomEvent& operator=(const CustomEvent& from) { + CopyFrom(from); + return *this; + } + inline CustomEvent& operator=(CustomEvent&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomEvent& default_instance() { + return *internal_default_instance(); + } + static inline const CustomEvent* internal_default_instance() { + return reinterpret_cast( + &_CustomEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 45; + + friend void swap(CustomEvent& a, CustomEvent& b) { + a.Swap(&b); + } + inline void Swap(CustomEvent* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomEvent& from) { + CustomEvent::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomEvent"; + } + protected: + explicit CustomEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCustomDataFieldNumber = 3, + kCategoryFieldNumber = 2, + kTimestampFieldNumber = 1, + }; + // repeated .google.protobuf.Any customData = 3; + int customdata_size() const; + private: + int _internal_customdata_size() const; + public: + void clear_customdata(); + ::PROTOBUF_NAMESPACE_ID::Any* mutable_customdata(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >* + mutable_customdata(); + private: + const ::PROTOBUF_NAMESPACE_ID::Any& _internal_customdata(int index) const; + ::PROTOBUF_NAMESPACE_ID::Any* _internal_add_customdata(); + public: + const ::PROTOBUF_NAMESPACE_ID::Any& customdata(int index) const; + ::PROTOBUF_NAMESPACE_ID::Any* add_customdata(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >& + customdata() const; + + // string category = 2; + void clear_category(); + const std::string& category() const; + template + void set_category(ArgT0&& arg0, ArgT... args); + std::string* mutable_category(); + PROTOBUF_NODISCARD std::string* release_category(); + void set_allocated_category(std::string* category); + private: + const std::string& _internal_category() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_category(const std::string& value); + std::string* _internal_mutable_category(); + public: + + // uint64 timestamp = 1; + void clear_timestamp(); + uint64_t timestamp() const; + void set_timestamp(uint64_t value); + private: + uint64_t _internal_timestamp() const; + void _internal_set_timestamp(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any > customdata_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr category_; + uint64_t timestamp_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class ChangeCamera final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.ChangeCamera) */ { + public: + inline ChangeCamera() : ChangeCamera(nullptr) {} + ~ChangeCamera() override; + explicit PROTOBUF_CONSTEXPR ChangeCamera(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + ChangeCamera(const ChangeCamera& from); + ChangeCamera(ChangeCamera&& from) noexcept + : ChangeCamera() { + *this = ::std::move(from); + } + + inline ChangeCamera& operator=(const ChangeCamera& from) { + CopyFrom(from); + return *this; + } + inline ChangeCamera& operator=(ChangeCamera&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ChangeCamera& default_instance() { + return *internal_default_instance(); + } + enum TargetCase { + kPoi = 1, + kName = 2, + TARGET_NOT_SET = 0, + }; + + static inline const ChangeCamera* internal_default_instance() { + return reinterpret_cast( + &_ChangeCamera_default_instance_); + } + static constexpr int kIndexInFileMessages = + 46; + + friend void swap(ChangeCamera& a, ChangeCamera& b) { + a.Swap(&b); + } + inline void Swap(ChangeCamera* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ChangeCamera* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ChangeCamera* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const ChangeCamera& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const ChangeCamera& from) { + ChangeCamera::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ChangeCamera* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.ChangeCamera"; + } + protected: + explicit ChangeCamera(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPoiFieldNumber = 1, + kNameFieldNumber = 2, + }; + // .rtech.liveapi.PlayerOfInterest poi = 1; + bool has_poi() const; + private: + bool _internal_has_poi() const; + public: + void clear_poi(); + ::rtech::liveapi::PlayerOfInterest poi() const; + void set_poi(::rtech::liveapi::PlayerOfInterest value); + private: + ::rtech::liveapi::PlayerOfInterest _internal_poi() const; + void _internal_set_poi(::rtech::liveapi::PlayerOfInterest value); + public: + + // string name = 2; + bool has_name() const; + private: + bool _internal_has_name() const; + public: + void clear_name(); + const std::string& name() const; + template + void set_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* name); + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); + std::string* _internal_mutable_name(); + public: + + void clear_target(); + TargetCase target_case() const; + // @@protoc_insertion_point(class_scope:rtech.liveapi.ChangeCamera) + private: + class _Internal; + void set_has_poi(); + void set_has_name(); + + inline bool has_target() const; + inline void clear_has_target(); + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + union TargetUnion { + constexpr TargetUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + int poi_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; + } target_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class PauseToggle final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.PauseToggle) */ { + public: + inline PauseToggle() : PauseToggle(nullptr) {} + ~PauseToggle() override; + explicit PROTOBUF_CONSTEXPR PauseToggle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PauseToggle(const PauseToggle& from); + PauseToggle(PauseToggle&& from) noexcept + : PauseToggle() { + *this = ::std::move(from); + } + + inline PauseToggle& operator=(const PauseToggle& from) { + CopyFrom(from); + return *this; + } + inline PauseToggle& operator=(PauseToggle&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const PauseToggle& default_instance() { + return *internal_default_instance(); + } + static inline const PauseToggle* internal_default_instance() { + return reinterpret_cast( + &_PauseToggle_default_instance_); + } + static constexpr int kIndexInFileMessages = + 47; + + friend void swap(PauseToggle& a, PauseToggle& b) { + a.Swap(&b); + } + inline void Swap(PauseToggle* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(PauseToggle* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PauseToggle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PauseToggle& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PauseToggle& from) { + PauseToggle::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(PauseToggle* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.PauseToggle"; + } + protected: + explicit PauseToggle(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPreTimerFieldNumber = 1, + }; + // float preTimer = 1; + void clear_pretimer(); + float pretimer() const; + void set_pretimer(float value); + private: + float _internal_pretimer() const; + void _internal_set_pretimer(float value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.PauseToggle) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + float pretimer_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_CreateLobby final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_CreateLobby) */ { + public: + inline CustomMatch_CreateLobby() : CustomMatch_CreateLobby(nullptr) {} + explicit PROTOBUF_CONSTEXPR CustomMatch_CreateLobby(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_CreateLobby(const CustomMatch_CreateLobby& from); + CustomMatch_CreateLobby(CustomMatch_CreateLobby&& from) noexcept + : CustomMatch_CreateLobby() { + *this = ::std::move(from); + } + + inline CustomMatch_CreateLobby& operator=(const CustomMatch_CreateLobby& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_CreateLobby& operator=(CustomMatch_CreateLobby&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_CreateLobby& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_CreateLobby* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_CreateLobby_default_instance_); + } + static constexpr int kIndexInFileMessages = + 48; + + friend void swap(CustomMatch_CreateLobby& a, CustomMatch_CreateLobby& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_CreateLobby* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_CreateLobby* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_CreateLobby* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CustomMatch_CreateLobby& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CustomMatch_CreateLobby& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_CreateLobby"; + } + protected: + explicit CustomMatch_CreateLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_CreateLobby) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_JoinLobby final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_JoinLobby) */ { + public: + inline CustomMatch_JoinLobby() : CustomMatch_JoinLobby(nullptr) {} + ~CustomMatch_JoinLobby() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_JoinLobby(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_JoinLobby(const CustomMatch_JoinLobby& from); + CustomMatch_JoinLobby(CustomMatch_JoinLobby&& from) noexcept + : CustomMatch_JoinLobby() { + *this = ::std::move(from); + } + + inline CustomMatch_JoinLobby& operator=(const CustomMatch_JoinLobby& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_JoinLobby& operator=(CustomMatch_JoinLobby&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_JoinLobby& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_JoinLobby* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_JoinLobby_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; + + friend void swap(CustomMatch_JoinLobby& a, CustomMatch_JoinLobby& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_JoinLobby* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_JoinLobby* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_JoinLobby* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_JoinLobby& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_JoinLobby& from) { + CustomMatch_JoinLobby::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_JoinLobby* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_JoinLobby"; + } + protected: + explicit CustomMatch_JoinLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kRoleTokenFieldNumber = 1, + }; + // string roleToken = 1; + void clear_roletoken(); + const std::string& roletoken() const; + template + void set_roletoken(ArgT0&& arg0, ArgT... args); + std::string* mutable_roletoken(); + PROTOBUF_NODISCARD std::string* release_roletoken(); + void set_allocated_roletoken(std::string* roletoken); + private: + const std::string& _internal_roletoken() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_roletoken(const std::string& value); + std::string* _internal_mutable_roletoken(); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_JoinLobby) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr roletoken_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_LeaveLobby final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_LeaveLobby) */ { + public: + inline CustomMatch_LeaveLobby() : CustomMatch_LeaveLobby(nullptr) {} + explicit PROTOBUF_CONSTEXPR CustomMatch_LeaveLobby(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_LeaveLobby(const CustomMatch_LeaveLobby& from); + CustomMatch_LeaveLobby(CustomMatch_LeaveLobby&& from) noexcept + : CustomMatch_LeaveLobby() { + *this = ::std::move(from); + } + + inline CustomMatch_LeaveLobby& operator=(const CustomMatch_LeaveLobby& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_LeaveLobby& operator=(CustomMatch_LeaveLobby&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_LeaveLobby& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_LeaveLobby* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_LeaveLobby_default_instance_); + } + static constexpr int kIndexInFileMessages = + 50; + + friend void swap(CustomMatch_LeaveLobby& a, CustomMatch_LeaveLobby& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_LeaveLobby* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_LeaveLobby* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_LeaveLobby* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CustomMatch_LeaveLobby& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CustomMatch_LeaveLobby& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_LeaveLobby"; + } + protected: + explicit CustomMatch_LeaveLobby(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_LeaveLobby) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_SetReady final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_SetReady) */ { + public: + inline CustomMatch_SetReady() : CustomMatch_SetReady(nullptr) {} + ~CustomMatch_SetReady() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_SetReady(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_SetReady(const CustomMatch_SetReady& from); + CustomMatch_SetReady(CustomMatch_SetReady&& from) noexcept + : CustomMatch_SetReady() { + *this = ::std::move(from); + } + + inline CustomMatch_SetReady& operator=(const CustomMatch_SetReady& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_SetReady& operator=(CustomMatch_SetReady&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_SetReady& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_SetReady* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_SetReady_default_instance_); + } + static constexpr int kIndexInFileMessages = + 51; + + friend void swap(CustomMatch_SetReady& a, CustomMatch_SetReady& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_SetReady* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_SetReady* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_SetReady* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_SetReady& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_SetReady& from) { + CustomMatch_SetReady::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_SetReady* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_SetReady"; + } + protected: + explicit CustomMatch_SetReady(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kIsReadyFieldNumber = 1, + }; + // bool isReady = 1; + void clear_isready(); + bool isready() const; + void set_isready(bool value); + private: + bool _internal_isready() const; + void _internal_set_isready(bool value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_SetReady) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + bool isready_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_GetLobbyPlayers final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_GetLobbyPlayers) */ { + public: + inline CustomMatch_GetLobbyPlayers() : CustomMatch_GetLobbyPlayers(nullptr) {} + explicit PROTOBUF_CONSTEXPR CustomMatch_GetLobbyPlayers(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_GetLobbyPlayers(const CustomMatch_GetLobbyPlayers& from); + CustomMatch_GetLobbyPlayers(CustomMatch_GetLobbyPlayers&& from) noexcept + : CustomMatch_GetLobbyPlayers() { + *this = ::std::move(from); + } + + inline CustomMatch_GetLobbyPlayers& operator=(const CustomMatch_GetLobbyPlayers& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_GetLobbyPlayers& operator=(CustomMatch_GetLobbyPlayers&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_GetLobbyPlayers& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_GetLobbyPlayers* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_GetLobbyPlayers_default_instance_); + } + static constexpr int kIndexInFileMessages = + 52; + + friend void swap(CustomMatch_GetLobbyPlayers& a, CustomMatch_GetLobbyPlayers& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_GetLobbyPlayers* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_GetLobbyPlayers* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_GetLobbyPlayers* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CustomMatch_GetLobbyPlayers& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CustomMatch_GetLobbyPlayers& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_GetLobbyPlayers"; + } + protected: + explicit CustomMatch_GetLobbyPlayers(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_GetLobbyPlayers) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_SetMatchmaking final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_SetMatchmaking) */ { + public: + inline CustomMatch_SetMatchmaking() : CustomMatch_SetMatchmaking(nullptr) {} + ~CustomMatch_SetMatchmaking() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_SetMatchmaking(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_SetMatchmaking(const CustomMatch_SetMatchmaking& from); + CustomMatch_SetMatchmaking(CustomMatch_SetMatchmaking&& from) noexcept + : CustomMatch_SetMatchmaking() { + *this = ::std::move(from); + } + + inline CustomMatch_SetMatchmaking& operator=(const CustomMatch_SetMatchmaking& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_SetMatchmaking& operator=(CustomMatch_SetMatchmaking&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_SetMatchmaking& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_SetMatchmaking* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_SetMatchmaking_default_instance_); + } + static constexpr int kIndexInFileMessages = + 53; + + friend void swap(CustomMatch_SetMatchmaking& a, CustomMatch_SetMatchmaking& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_SetMatchmaking* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_SetMatchmaking* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_SetMatchmaking* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_SetMatchmaking& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_SetMatchmaking& from) { + CustomMatch_SetMatchmaking::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_SetMatchmaking* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_SetMatchmaking"; + } + protected: + explicit CustomMatch_SetMatchmaking(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kEnabledFieldNumber = 1, + }; + // bool enabled = 1; + void clear_enabled(); + bool enabled() const; + void set_enabled(bool value); + private: + bool _internal_enabled() const; + void _internal_set_enabled(bool value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_SetMatchmaking) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + bool enabled_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_SetTeam final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_SetTeam) */ { + public: + inline CustomMatch_SetTeam() : CustomMatch_SetTeam(nullptr) {} + ~CustomMatch_SetTeam() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_SetTeam(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_SetTeam(const CustomMatch_SetTeam& from); + CustomMatch_SetTeam(CustomMatch_SetTeam&& from) noexcept + : CustomMatch_SetTeam() { + *this = ::std::move(from); + } + + inline CustomMatch_SetTeam& operator=(const CustomMatch_SetTeam& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_SetTeam& operator=(CustomMatch_SetTeam&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_SetTeam& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_SetTeam* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_SetTeam_default_instance_); + } + static constexpr int kIndexInFileMessages = + 54; + + friend void swap(CustomMatch_SetTeam& a, CustomMatch_SetTeam& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_SetTeam* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_SetTeam* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_SetTeam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_SetTeam& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_SetTeam& from) { + CustomMatch_SetTeam::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_SetTeam* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_SetTeam"; + } + protected: + explicit CustomMatch_SetTeam(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTargetHardwareNameFieldNumber = 2, + kTargetNucleusHashFieldNumber = 3, + kTeamIdFieldNumber = 1, + }; + // string targetHardwareName = 2; + void clear_targethardwarename(); + const std::string& targethardwarename() const; + template + void set_targethardwarename(ArgT0&& arg0, ArgT... args); + std::string* mutable_targethardwarename(); + PROTOBUF_NODISCARD std::string* release_targethardwarename(); + void set_allocated_targethardwarename(std::string* targethardwarename); + private: + const std::string& _internal_targethardwarename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_targethardwarename(const std::string& value); + std::string* _internal_mutable_targethardwarename(); + public: + + // string targetNucleusHash = 3; + void clear_targetnucleushash(); + const std::string& targetnucleushash() const; + template + void set_targetnucleushash(ArgT0&& arg0, ArgT... args); + std::string* mutable_targetnucleushash(); + PROTOBUF_NODISCARD std::string* release_targetnucleushash(); + void set_allocated_targetnucleushash(std::string* targetnucleushash); + private: + const std::string& _internal_targetnucleushash() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_targetnucleushash(const std::string& value); + std::string* _internal_mutable_targetnucleushash(); + public: + + // int32 teamId = 1; + void clear_teamid(); + int32_t teamid() const; + void set_teamid(int32_t value); + private: + int32_t _internal_teamid() const; + void _internal_set_teamid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_SetTeam) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr targethardwarename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr targetnucleushash_; + int32_t teamid_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_KickPlayer final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_KickPlayer) */ { + public: + inline CustomMatch_KickPlayer() : CustomMatch_KickPlayer(nullptr) {} + ~CustomMatch_KickPlayer() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_KickPlayer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_KickPlayer(const CustomMatch_KickPlayer& from); + CustomMatch_KickPlayer(CustomMatch_KickPlayer&& from) noexcept + : CustomMatch_KickPlayer() { + *this = ::std::move(from); + } + + inline CustomMatch_KickPlayer& operator=(const CustomMatch_KickPlayer& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_KickPlayer& operator=(CustomMatch_KickPlayer&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_KickPlayer& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_KickPlayer* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_KickPlayer_default_instance_); + } + static constexpr int kIndexInFileMessages = + 55; + + friend void swap(CustomMatch_KickPlayer& a, CustomMatch_KickPlayer& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_KickPlayer* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_KickPlayer* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_KickPlayer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_KickPlayer& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_KickPlayer& from) { + CustomMatch_KickPlayer::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_KickPlayer* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_KickPlayer"; + } + protected: + explicit CustomMatch_KickPlayer(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTargetHardwareNameFieldNumber = 1, + kTargetNucleusHashFieldNumber = 2, + }; + // string targetHardwareName = 1; + void clear_targethardwarename(); + const std::string& targethardwarename() const; + template + void set_targethardwarename(ArgT0&& arg0, ArgT... args); + std::string* mutable_targethardwarename(); + PROTOBUF_NODISCARD std::string* release_targethardwarename(); + void set_allocated_targethardwarename(std::string* targethardwarename); + private: + const std::string& _internal_targethardwarename() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_targethardwarename(const std::string& value); + std::string* _internal_mutable_targethardwarename(); + public: + + // string targetNucleusHash = 2; + void clear_targetnucleushash(); + const std::string& targetnucleushash() const; + template + void set_targetnucleushash(ArgT0&& arg0, ArgT... args); + std::string* mutable_targetnucleushash(); + PROTOBUF_NODISCARD std::string* release_targetnucleushash(); + void set_allocated_targetnucleushash(std::string* targetnucleushash); + private: + const std::string& _internal_targetnucleushash() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_targetnucleushash(const std::string& value); + std::string* _internal_mutable_targetnucleushash(); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_KickPlayer) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr targethardwarename_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr targetnucleushash_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_SetSettings final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_SetSettings) */ { + public: + inline CustomMatch_SetSettings() : CustomMatch_SetSettings(nullptr) {} + ~CustomMatch_SetSettings() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_SetSettings(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_SetSettings(const CustomMatch_SetSettings& from); + CustomMatch_SetSettings(CustomMatch_SetSettings&& from) noexcept + : CustomMatch_SetSettings() { + *this = ::std::move(from); + } + + inline CustomMatch_SetSettings& operator=(const CustomMatch_SetSettings& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_SetSettings& operator=(CustomMatch_SetSettings&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_SetSettings& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_SetSettings* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_SetSettings_default_instance_); + } + static constexpr int kIndexInFileMessages = + 56; + + friend void swap(CustomMatch_SetSettings& a, CustomMatch_SetSettings& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_SetSettings* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_SetSettings* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_SetSettings* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_SetSettings& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_SetSettings& from) { + CustomMatch_SetSettings::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_SetSettings* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_SetSettings"; + } + protected: + explicit CustomMatch_SetSettings(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPlaylistNameFieldNumber = 1, + kAdminChatFieldNumber = 2, + kTeamRenameFieldNumber = 3, + kSelfAssignFieldNumber = 4, + kAimAssistFieldNumber = 5, + kAnonModeFieldNumber = 6, + }; + // string playlistName = 1; + void clear_playlistname(); + const std::string& playlistname() const; + template + void set_playlistname(ArgT0&& arg0, ArgT... args); + std::string* mutable_playlistname(); + PROTOBUF_NODISCARD std::string* release_playlistname(); + void set_allocated_playlistname(std::string* playlistname); + private: + const std::string& _internal_playlistname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_playlistname(const std::string& value); + std::string* _internal_mutable_playlistname(); + public: + + // bool adminChat = 2; + void clear_adminchat(); + bool adminchat() const; + void set_adminchat(bool value); + private: + bool _internal_adminchat() const; + void _internal_set_adminchat(bool value); + public: + + // bool teamRename = 3; + void clear_teamrename(); + bool teamrename() const; + void set_teamrename(bool value); + private: + bool _internal_teamrename() const; + void _internal_set_teamrename(bool value); + public: + + // bool selfAssign = 4; + void clear_selfassign(); + bool selfassign() const; + void set_selfassign(bool value); + private: + bool _internal_selfassign() const; + void _internal_set_selfassign(bool value); + public: + + // bool aimAssist = 5; + void clear_aimassist(); + bool aimassist() const; + void set_aimassist(bool value); + private: + bool _internal_aimassist() const; + void _internal_set_aimassist(bool value); + public: + + // bool anonMode = 6; + void clear_anonmode(); + bool anonmode() const; + void set_anonmode(bool value); + private: + bool _internal_anonmode() const; + void _internal_set_anonmode(bool value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_SetSettings) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr playlistname_; + bool adminchat_; + bool teamrename_; + bool selfassign_; + bool aimassist_; + bool anonmode_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_GetSettings final : + public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_GetSettings) */ { + public: + inline CustomMatch_GetSettings() : CustomMatch_GetSettings(nullptr) {} + explicit PROTOBUF_CONSTEXPR CustomMatch_GetSettings(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_GetSettings(const CustomMatch_GetSettings& from); + CustomMatch_GetSettings(CustomMatch_GetSettings&& from) noexcept + : CustomMatch_GetSettings() { + *this = ::std::move(from); + } + + inline CustomMatch_GetSettings& operator=(const CustomMatch_GetSettings& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_GetSettings& operator=(CustomMatch_GetSettings&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_GetSettings& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_GetSettings* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_GetSettings_default_instance_); + } + static constexpr int kIndexInFileMessages = + 57; + + friend void swap(CustomMatch_GetSettings& a, CustomMatch_GetSettings& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_GetSettings* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_GetSettings* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_GetSettings* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const CustomMatch_GetSettings& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const CustomMatch_GetSettings& from) { + ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + public: + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_GetSettings"; + } + protected: + explicit CustomMatch_GetSettings(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_GetSettings) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_SetTeamName final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_SetTeamName) */ { + public: + inline CustomMatch_SetTeamName() : CustomMatch_SetTeamName(nullptr) {} + ~CustomMatch_SetTeamName() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_SetTeamName(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_SetTeamName(const CustomMatch_SetTeamName& from); + CustomMatch_SetTeamName(CustomMatch_SetTeamName&& from) noexcept + : CustomMatch_SetTeamName() { + *this = ::std::move(from); + } + + inline CustomMatch_SetTeamName& operator=(const CustomMatch_SetTeamName& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_SetTeamName& operator=(CustomMatch_SetTeamName&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_SetTeamName& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_SetTeamName* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_SetTeamName_default_instance_); + } + static constexpr int kIndexInFileMessages = + 58; + + friend void swap(CustomMatch_SetTeamName& a, CustomMatch_SetTeamName& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_SetTeamName* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_SetTeamName* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_SetTeamName* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_SetTeamName& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_SetTeamName& from) { + CustomMatch_SetTeamName::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_SetTeamName* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_SetTeamName"; + } + protected: + explicit CustomMatch_SetTeamName(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTeamNameFieldNumber = 2, + kTeamIdFieldNumber = 1, + }; + // string teamName = 2; + void clear_teamname(); + const std::string& teamname() const; + template + void set_teamname(ArgT0&& arg0, ArgT... args); + std::string* mutable_teamname(); + PROTOBUF_NODISCARD std::string* release_teamname(); + void set_allocated_teamname(std::string* teamname); + private: + const std::string& _internal_teamname() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_teamname(const std::string& value); + std::string* _internal_mutable_teamname(); + public: + + // int32 teamId = 1; + void clear_teamid(); + int32_t teamid() const; + void set_teamid(int32_t value); + private: + int32_t _internal_teamid() const; + void _internal_set_teamid(int32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_SetTeamName) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr teamname_; + int32_t teamid_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class CustomMatch_SendChat final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.CustomMatch_SendChat) */ { + public: + inline CustomMatch_SendChat() : CustomMatch_SendChat(nullptr) {} + ~CustomMatch_SendChat() override; + explicit PROTOBUF_CONSTEXPR CustomMatch_SendChat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CustomMatch_SendChat(const CustomMatch_SendChat& from); + CustomMatch_SendChat(CustomMatch_SendChat&& from) noexcept + : CustomMatch_SendChat() { + *this = ::std::move(from); + } + + inline CustomMatch_SendChat& operator=(const CustomMatch_SendChat& from) { + CopyFrom(from); + return *this; + } + inline CustomMatch_SendChat& operator=(CustomMatch_SendChat&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CustomMatch_SendChat& default_instance() { + return *internal_default_instance(); + } + static inline const CustomMatch_SendChat* internal_default_instance() { + return reinterpret_cast( + &_CustomMatch_SendChat_default_instance_); + } + static constexpr int kIndexInFileMessages = + 59; + + friend void swap(CustomMatch_SendChat& a, CustomMatch_SendChat& b) { + a.Swap(&b); + } + inline void Swap(CustomMatch_SendChat* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CustomMatch_SendChat* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CustomMatch_SendChat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CustomMatch_SendChat& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CustomMatch_SendChat& from) { + CustomMatch_SendChat::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CustomMatch_SendChat* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.CustomMatch_SendChat"; + } + protected: + explicit CustomMatch_SendChat(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kTextFieldNumber = 1, + }; + // string text = 1; + void clear_text(); + const std::string& text() const; + template + void set_text(ArgT0&& arg0, ArgT... args); + std::string* mutable_text(); + PROTOBUF_NODISCARD std::string* release_text(); + void set_allocated_text(std::string* text); + private: + const std::string& _internal_text() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value); + std::string* _internal_mutable_text(); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.CustomMatch_SendChat) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class Request final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.Request) */ { + public: + inline Request() : Request(nullptr) {} + ~Request() override; + explicit PROTOBUF_CONSTEXPR Request(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Request(const Request& from); + Request(Request&& from) noexcept + : Request() { + *this = ::std::move(from); + } + + inline Request& operator=(const Request& from) { + CopyFrom(from); + return *this; + } + inline Request& operator=(Request&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Request& default_instance() { + return *internal_default_instance(); + } + enum ActionsCase { + kChangeCam = 4, + kPauseToggle = 5, + kCustomMatchCreateLobby = 10, + kCustomMatchJoinLobby = 11, + kCustomMatchLeaveLobby = 12, + kCustomMatchSetReady = 13, + kCustomMatchSetMatchmaking = 14, + kCustomMatchSetTeam = 15, + kCustomMatchKickPlayer = 16, + kCustomMatchSetSettings = 17, + kCustomMatchSendChat = 18, + kCustomMatchGetLobbyPlayers = 19, + kCustomMatchSetTeamName = 20, + kCustomMatchGetSettings = 21, + ACTIONS_NOT_SET = 0, + }; + + static inline const Request* internal_default_instance() { + return reinterpret_cast( + &_Request_default_instance_); + } + static constexpr int kIndexInFileMessages = + 60; + + friend void swap(Request& a, Request& b) { + a.Swap(&b); + } + inline void Swap(Request* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Request* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Request* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Request& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Request& from) { + Request::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Request* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.Request"; + } + protected: + explicit Request(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPreSharedKeyFieldNumber = 2, + kWithAckFieldNumber = 1, + kChangeCamFieldNumber = 4, + kPauseToggleFieldNumber = 5, + kCustomMatchCreateLobbyFieldNumber = 10, + kCustomMatchJoinLobbyFieldNumber = 11, + kCustomMatchLeaveLobbyFieldNumber = 12, + kCustomMatchSetReadyFieldNumber = 13, + kCustomMatchSetMatchmakingFieldNumber = 14, + kCustomMatchSetTeamFieldNumber = 15, + kCustomMatchKickPlayerFieldNumber = 16, + kCustomMatchSetSettingsFieldNumber = 17, + kCustomMatchSendChatFieldNumber = 18, + kCustomMatchGetLobbyPlayersFieldNumber = 19, + kCustomMatchSetTeamNameFieldNumber = 20, + kCustomMatchGetSettingsFieldNumber = 21, + }; + // string preSharedKey = 2; + void clear_presharedkey(); + const std::string& presharedkey() const; + template + void set_presharedkey(ArgT0&& arg0, ArgT... args); + std::string* mutable_presharedkey(); + PROTOBUF_NODISCARD std::string* release_presharedkey(); + void set_allocated_presharedkey(std::string* presharedkey); + private: + const std::string& _internal_presharedkey() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_presharedkey(const std::string& value); + std::string* _internal_mutable_presharedkey(); + public: + + // bool withAck = 1; + void clear_withack(); + bool withack() const; + void set_withack(bool value); + private: + bool _internal_withack() const; + void _internal_set_withack(bool value); + public: + + // .rtech.liveapi.ChangeCamera changeCam = 4; + bool has_changecam() const; + private: + bool _internal_has_changecam() const; + public: + void clear_changecam(); + const ::rtech::liveapi::ChangeCamera& changecam() const; + PROTOBUF_NODISCARD ::rtech::liveapi::ChangeCamera* release_changecam(); + ::rtech::liveapi::ChangeCamera* mutable_changecam(); + void set_allocated_changecam(::rtech::liveapi::ChangeCamera* changecam); + private: + const ::rtech::liveapi::ChangeCamera& _internal_changecam() const; + ::rtech::liveapi::ChangeCamera* _internal_mutable_changecam(); + public: + void unsafe_arena_set_allocated_changecam( + ::rtech::liveapi::ChangeCamera* changecam); + ::rtech::liveapi::ChangeCamera* unsafe_arena_release_changecam(); + + // .rtech.liveapi.PauseToggle pauseToggle = 5; + bool has_pausetoggle() const; + private: + bool _internal_has_pausetoggle() const; + public: + void clear_pausetoggle(); + const ::rtech::liveapi::PauseToggle& pausetoggle() const; + PROTOBUF_NODISCARD ::rtech::liveapi::PauseToggle* release_pausetoggle(); + ::rtech::liveapi::PauseToggle* mutable_pausetoggle(); + void set_allocated_pausetoggle(::rtech::liveapi::PauseToggle* pausetoggle); + private: + const ::rtech::liveapi::PauseToggle& _internal_pausetoggle() const; + ::rtech::liveapi::PauseToggle* _internal_mutable_pausetoggle(); + public: + void unsafe_arena_set_allocated_pausetoggle( + ::rtech::liveapi::PauseToggle* pausetoggle); + ::rtech::liveapi::PauseToggle* unsafe_arena_release_pausetoggle(); + + // .rtech.liveapi.CustomMatch_CreateLobby customMatch_CreateLobby = 10; + bool has_custommatch_createlobby() const; + private: + bool _internal_has_custommatch_createlobby() const; + public: + void clear_custommatch_createlobby(); + const ::rtech::liveapi::CustomMatch_CreateLobby& custommatch_createlobby() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_CreateLobby* release_custommatch_createlobby(); + ::rtech::liveapi::CustomMatch_CreateLobby* mutable_custommatch_createlobby(); + void set_allocated_custommatch_createlobby(::rtech::liveapi::CustomMatch_CreateLobby* custommatch_createlobby); + private: + const ::rtech::liveapi::CustomMatch_CreateLobby& _internal_custommatch_createlobby() const; + ::rtech::liveapi::CustomMatch_CreateLobby* _internal_mutable_custommatch_createlobby(); + public: + void unsafe_arena_set_allocated_custommatch_createlobby( + ::rtech::liveapi::CustomMatch_CreateLobby* custommatch_createlobby); + ::rtech::liveapi::CustomMatch_CreateLobby* unsafe_arena_release_custommatch_createlobby(); + + // .rtech.liveapi.CustomMatch_JoinLobby customMatch_JoinLobby = 11; + bool has_custommatch_joinlobby() const; + private: + bool _internal_has_custommatch_joinlobby() const; + public: + void clear_custommatch_joinlobby(); + const ::rtech::liveapi::CustomMatch_JoinLobby& custommatch_joinlobby() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_JoinLobby* release_custommatch_joinlobby(); + ::rtech::liveapi::CustomMatch_JoinLobby* mutable_custommatch_joinlobby(); + void set_allocated_custommatch_joinlobby(::rtech::liveapi::CustomMatch_JoinLobby* custommatch_joinlobby); + private: + const ::rtech::liveapi::CustomMatch_JoinLobby& _internal_custommatch_joinlobby() const; + ::rtech::liveapi::CustomMatch_JoinLobby* _internal_mutable_custommatch_joinlobby(); + public: + void unsafe_arena_set_allocated_custommatch_joinlobby( + ::rtech::liveapi::CustomMatch_JoinLobby* custommatch_joinlobby); + ::rtech::liveapi::CustomMatch_JoinLobby* unsafe_arena_release_custommatch_joinlobby(); + + // .rtech.liveapi.CustomMatch_LeaveLobby customMatch_LeaveLobby = 12; + bool has_custommatch_leavelobby() const; + private: + bool _internal_has_custommatch_leavelobby() const; + public: + void clear_custommatch_leavelobby(); + const ::rtech::liveapi::CustomMatch_LeaveLobby& custommatch_leavelobby() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_LeaveLobby* release_custommatch_leavelobby(); + ::rtech::liveapi::CustomMatch_LeaveLobby* mutable_custommatch_leavelobby(); + void set_allocated_custommatch_leavelobby(::rtech::liveapi::CustomMatch_LeaveLobby* custommatch_leavelobby); + private: + const ::rtech::liveapi::CustomMatch_LeaveLobby& _internal_custommatch_leavelobby() const; + ::rtech::liveapi::CustomMatch_LeaveLobby* _internal_mutable_custommatch_leavelobby(); + public: + void unsafe_arena_set_allocated_custommatch_leavelobby( + ::rtech::liveapi::CustomMatch_LeaveLobby* custommatch_leavelobby); + ::rtech::liveapi::CustomMatch_LeaveLobby* unsafe_arena_release_custommatch_leavelobby(); + + // .rtech.liveapi.CustomMatch_SetReady customMatch_SetReady = 13; + bool has_custommatch_setready() const; + private: + bool _internal_has_custommatch_setready() const; + public: + void clear_custommatch_setready(); + const ::rtech::liveapi::CustomMatch_SetReady& custommatch_setready() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_SetReady* release_custommatch_setready(); + ::rtech::liveapi::CustomMatch_SetReady* mutable_custommatch_setready(); + void set_allocated_custommatch_setready(::rtech::liveapi::CustomMatch_SetReady* custommatch_setready); + private: + const ::rtech::liveapi::CustomMatch_SetReady& _internal_custommatch_setready() const; + ::rtech::liveapi::CustomMatch_SetReady* _internal_mutable_custommatch_setready(); + public: + void unsafe_arena_set_allocated_custommatch_setready( + ::rtech::liveapi::CustomMatch_SetReady* custommatch_setready); + ::rtech::liveapi::CustomMatch_SetReady* unsafe_arena_release_custommatch_setready(); + + // .rtech.liveapi.CustomMatch_SetMatchmaking customMatch_SetMatchmaking = 14; + bool has_custommatch_setmatchmaking() const; + private: + bool _internal_has_custommatch_setmatchmaking() const; + public: + void clear_custommatch_setmatchmaking(); + const ::rtech::liveapi::CustomMatch_SetMatchmaking& custommatch_setmatchmaking() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_SetMatchmaking* release_custommatch_setmatchmaking(); + ::rtech::liveapi::CustomMatch_SetMatchmaking* mutable_custommatch_setmatchmaking(); + void set_allocated_custommatch_setmatchmaking(::rtech::liveapi::CustomMatch_SetMatchmaking* custommatch_setmatchmaking); + private: + const ::rtech::liveapi::CustomMatch_SetMatchmaking& _internal_custommatch_setmatchmaking() const; + ::rtech::liveapi::CustomMatch_SetMatchmaking* _internal_mutable_custommatch_setmatchmaking(); + public: + void unsafe_arena_set_allocated_custommatch_setmatchmaking( + ::rtech::liveapi::CustomMatch_SetMatchmaking* custommatch_setmatchmaking); + ::rtech::liveapi::CustomMatch_SetMatchmaking* unsafe_arena_release_custommatch_setmatchmaking(); + + // .rtech.liveapi.CustomMatch_SetTeam customMatch_SetTeam = 15; + bool has_custommatch_setteam() const; + private: + bool _internal_has_custommatch_setteam() const; + public: + void clear_custommatch_setteam(); + const ::rtech::liveapi::CustomMatch_SetTeam& custommatch_setteam() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_SetTeam* release_custommatch_setteam(); + ::rtech::liveapi::CustomMatch_SetTeam* mutable_custommatch_setteam(); + void set_allocated_custommatch_setteam(::rtech::liveapi::CustomMatch_SetTeam* custommatch_setteam); + private: + const ::rtech::liveapi::CustomMatch_SetTeam& _internal_custommatch_setteam() const; + ::rtech::liveapi::CustomMatch_SetTeam* _internal_mutable_custommatch_setteam(); + public: + void unsafe_arena_set_allocated_custommatch_setteam( + ::rtech::liveapi::CustomMatch_SetTeam* custommatch_setteam); + ::rtech::liveapi::CustomMatch_SetTeam* unsafe_arena_release_custommatch_setteam(); + + // .rtech.liveapi.CustomMatch_KickPlayer customMatch_KickPlayer = 16; + bool has_custommatch_kickplayer() const; + private: + bool _internal_has_custommatch_kickplayer() const; + public: + void clear_custommatch_kickplayer(); + const ::rtech::liveapi::CustomMatch_KickPlayer& custommatch_kickplayer() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_KickPlayer* release_custommatch_kickplayer(); + ::rtech::liveapi::CustomMatch_KickPlayer* mutable_custommatch_kickplayer(); + void set_allocated_custommatch_kickplayer(::rtech::liveapi::CustomMatch_KickPlayer* custommatch_kickplayer); + private: + const ::rtech::liveapi::CustomMatch_KickPlayer& _internal_custommatch_kickplayer() const; + ::rtech::liveapi::CustomMatch_KickPlayer* _internal_mutable_custommatch_kickplayer(); + public: + void unsafe_arena_set_allocated_custommatch_kickplayer( + ::rtech::liveapi::CustomMatch_KickPlayer* custommatch_kickplayer); + ::rtech::liveapi::CustomMatch_KickPlayer* unsafe_arena_release_custommatch_kickplayer(); + + // .rtech.liveapi.CustomMatch_SetSettings customMatch_SetSettings = 17; + bool has_custommatch_setsettings() const; + private: + bool _internal_has_custommatch_setsettings() const; + public: + void clear_custommatch_setsettings(); + const ::rtech::liveapi::CustomMatch_SetSettings& custommatch_setsettings() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_SetSettings* release_custommatch_setsettings(); + ::rtech::liveapi::CustomMatch_SetSettings* mutable_custommatch_setsettings(); + void set_allocated_custommatch_setsettings(::rtech::liveapi::CustomMatch_SetSettings* custommatch_setsettings); + private: + const ::rtech::liveapi::CustomMatch_SetSettings& _internal_custommatch_setsettings() const; + ::rtech::liveapi::CustomMatch_SetSettings* _internal_mutable_custommatch_setsettings(); + public: + void unsafe_arena_set_allocated_custommatch_setsettings( + ::rtech::liveapi::CustomMatch_SetSettings* custommatch_setsettings); + ::rtech::liveapi::CustomMatch_SetSettings* unsafe_arena_release_custommatch_setsettings(); + + // .rtech.liveapi.CustomMatch_SendChat customMatch_SendChat = 18; + bool has_custommatch_sendchat() const; + private: + bool _internal_has_custommatch_sendchat() const; + public: + void clear_custommatch_sendchat(); + const ::rtech::liveapi::CustomMatch_SendChat& custommatch_sendchat() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_SendChat* release_custommatch_sendchat(); + ::rtech::liveapi::CustomMatch_SendChat* mutable_custommatch_sendchat(); + void set_allocated_custommatch_sendchat(::rtech::liveapi::CustomMatch_SendChat* custommatch_sendchat); + private: + const ::rtech::liveapi::CustomMatch_SendChat& _internal_custommatch_sendchat() const; + ::rtech::liveapi::CustomMatch_SendChat* _internal_mutable_custommatch_sendchat(); + public: + void unsafe_arena_set_allocated_custommatch_sendchat( + ::rtech::liveapi::CustomMatch_SendChat* custommatch_sendchat); + ::rtech::liveapi::CustomMatch_SendChat* unsafe_arena_release_custommatch_sendchat(); + + // .rtech.liveapi.CustomMatch_GetLobbyPlayers customMatch_GetLobbyPlayers = 19; + bool has_custommatch_getlobbyplayers() const; + private: + bool _internal_has_custommatch_getlobbyplayers() const; + public: + void clear_custommatch_getlobbyplayers(); + const ::rtech::liveapi::CustomMatch_GetLobbyPlayers& custommatch_getlobbyplayers() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_GetLobbyPlayers* release_custommatch_getlobbyplayers(); + ::rtech::liveapi::CustomMatch_GetLobbyPlayers* mutable_custommatch_getlobbyplayers(); + void set_allocated_custommatch_getlobbyplayers(::rtech::liveapi::CustomMatch_GetLobbyPlayers* custommatch_getlobbyplayers); + private: + const ::rtech::liveapi::CustomMatch_GetLobbyPlayers& _internal_custommatch_getlobbyplayers() const; + ::rtech::liveapi::CustomMatch_GetLobbyPlayers* _internal_mutable_custommatch_getlobbyplayers(); + public: + void unsafe_arena_set_allocated_custommatch_getlobbyplayers( + ::rtech::liveapi::CustomMatch_GetLobbyPlayers* custommatch_getlobbyplayers); + ::rtech::liveapi::CustomMatch_GetLobbyPlayers* unsafe_arena_release_custommatch_getlobbyplayers(); + + // .rtech.liveapi.CustomMatch_SetTeamName customMatch_SetTeamName = 20; + bool has_custommatch_setteamname() const; + private: + bool _internal_has_custommatch_setteamname() const; + public: + void clear_custommatch_setteamname(); + const ::rtech::liveapi::CustomMatch_SetTeamName& custommatch_setteamname() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_SetTeamName* release_custommatch_setteamname(); + ::rtech::liveapi::CustomMatch_SetTeamName* mutable_custommatch_setteamname(); + void set_allocated_custommatch_setteamname(::rtech::liveapi::CustomMatch_SetTeamName* custommatch_setteamname); + private: + const ::rtech::liveapi::CustomMatch_SetTeamName& _internal_custommatch_setteamname() const; + ::rtech::liveapi::CustomMatch_SetTeamName* _internal_mutable_custommatch_setteamname(); + public: + void unsafe_arena_set_allocated_custommatch_setteamname( + ::rtech::liveapi::CustomMatch_SetTeamName* custommatch_setteamname); + ::rtech::liveapi::CustomMatch_SetTeamName* unsafe_arena_release_custommatch_setteamname(); + + // .rtech.liveapi.CustomMatch_GetSettings customMatch_GetSettings = 21; + bool has_custommatch_getsettings() const; + private: + bool _internal_has_custommatch_getsettings() const; + public: + void clear_custommatch_getsettings(); + const ::rtech::liveapi::CustomMatch_GetSettings& custommatch_getsettings() const; + PROTOBUF_NODISCARD ::rtech::liveapi::CustomMatch_GetSettings* release_custommatch_getsettings(); + ::rtech::liveapi::CustomMatch_GetSettings* mutable_custommatch_getsettings(); + void set_allocated_custommatch_getsettings(::rtech::liveapi::CustomMatch_GetSettings* custommatch_getsettings); + private: + const ::rtech::liveapi::CustomMatch_GetSettings& _internal_custommatch_getsettings() const; + ::rtech::liveapi::CustomMatch_GetSettings* _internal_mutable_custommatch_getsettings(); + public: + void unsafe_arena_set_allocated_custommatch_getsettings( + ::rtech::liveapi::CustomMatch_GetSettings* custommatch_getsettings); + ::rtech::liveapi::CustomMatch_GetSettings* unsafe_arena_release_custommatch_getsettings(); + + void clear_actions(); + ActionsCase actions_case() const; + // @@protoc_insertion_point(class_scope:rtech.liveapi.Request) + private: + class _Internal; + void set_has_changecam(); + void set_has_pausetoggle(); + void set_has_custommatch_createlobby(); + void set_has_custommatch_joinlobby(); + void set_has_custommatch_leavelobby(); + void set_has_custommatch_setready(); + void set_has_custommatch_setmatchmaking(); + void set_has_custommatch_setteam(); + void set_has_custommatch_kickplayer(); + void set_has_custommatch_setsettings(); + void set_has_custommatch_sendchat(); + void set_has_custommatch_getlobbyplayers(); + void set_has_custommatch_setteamname(); + void set_has_custommatch_getsettings(); + + inline bool has_actions() const; + inline void clear_has_actions(); + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr presharedkey_; + bool withack_; + union ActionsUnion { + constexpr ActionsUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::rtech::liveapi::ChangeCamera* changecam_; + ::rtech::liveapi::PauseToggle* pausetoggle_; + ::rtech::liveapi::CustomMatch_CreateLobby* custommatch_createlobby_; + ::rtech::liveapi::CustomMatch_JoinLobby* custommatch_joinlobby_; + ::rtech::liveapi::CustomMatch_LeaveLobby* custommatch_leavelobby_; + ::rtech::liveapi::CustomMatch_SetReady* custommatch_setready_; + ::rtech::liveapi::CustomMatch_SetMatchmaking* custommatch_setmatchmaking_; + ::rtech::liveapi::CustomMatch_SetTeam* custommatch_setteam_; + ::rtech::liveapi::CustomMatch_KickPlayer* custommatch_kickplayer_; + ::rtech::liveapi::CustomMatch_SetSettings* custommatch_setsettings_; + ::rtech::liveapi::CustomMatch_SendChat* custommatch_sendchat_; + ::rtech::liveapi::CustomMatch_GetLobbyPlayers* custommatch_getlobbyplayers_; + ::rtech::liveapi::CustomMatch_SetTeamName* custommatch_setteamname_; + ::rtech::liveapi::CustomMatch_GetSettings* custommatch_getsettings_; + } actions_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class RequestStatus final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.RequestStatus) */ { + public: + inline RequestStatus() : RequestStatus(nullptr) {} + ~RequestStatus() override; + explicit PROTOBUF_CONSTEXPR RequestStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + RequestStatus(const RequestStatus& from); + RequestStatus(RequestStatus&& from) noexcept + : RequestStatus() { + *this = ::std::move(from); + } + + inline RequestStatus& operator=(const RequestStatus& from) { + CopyFrom(from); + return *this; + } + inline RequestStatus& operator=(RequestStatus&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const RequestStatus& default_instance() { + return *internal_default_instance(); + } + static inline const RequestStatus* internal_default_instance() { + return reinterpret_cast( + &_RequestStatus_default_instance_); + } + static constexpr int kIndexInFileMessages = + 61; + + friend void swap(RequestStatus& a, RequestStatus& b) { + a.Swap(&b); + } + inline void Swap(RequestStatus* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(RequestStatus* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + RequestStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const RequestStatus& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const RequestStatus& from) { + RequestStatus::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(RequestStatus* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.RequestStatus"; + } + protected: + explicit RequestStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kStatusFieldNumber = 1, + }; + // string status = 1; + void clear_status(); + const std::string& status() const; + template + void set_status(ArgT0&& arg0, ArgT... args); + std::string* mutable_status(); + PROTOBUF_NODISCARD std::string* release_status(); + void set_allocated_status(std::string* status); + private: + const std::string& _internal_status() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_status(const std::string& value); + std::string* _internal_mutable_status(); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.RequestStatus) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class Response final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.Response) */ { + public: + inline Response() : Response(nullptr) {} + ~Response() override; + explicit PROTOBUF_CONSTEXPR Response(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Response(const Response& from); + Response(Response&& from) noexcept + : Response() { + *this = ::std::move(from); + } + + inline Response& operator=(const Response& from) { + CopyFrom(from); + return *this; + } + inline Response& operator=(Response&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Response& default_instance() { + return *internal_default_instance(); + } + static inline const Response* internal_default_instance() { + return reinterpret_cast( + &_Response_default_instance_); + } + static constexpr int kIndexInFileMessages = + 62; + + friend void swap(Response& a, Response& b) { + a.Swap(&b); + } + inline void Swap(Response* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Response* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Response* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Response& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Response& from) { + Response::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Response* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.Response"; + } + protected: + explicit Response(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kResultFieldNumber = 2, + kSuccessFieldNumber = 1, + }; + // .google.protobuf.Any result = 2; + bool has_result() const; + private: + bool _internal_has_result() const; + public: + void clear_result(); + const ::PROTOBUF_NAMESPACE_ID::Any& result() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Any* release_result(); + ::PROTOBUF_NAMESPACE_ID::Any* mutable_result(); + void set_allocated_result(::PROTOBUF_NAMESPACE_ID::Any* result); + private: + const ::PROTOBUF_NAMESPACE_ID::Any& _internal_result() const; + ::PROTOBUF_NAMESPACE_ID::Any* _internal_mutable_result(); + public: + void unsafe_arena_set_allocated_result( + ::PROTOBUF_NAMESPACE_ID::Any* result); + ::PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_result(); + + // bool success = 1; + void clear_success(); + bool success() const; + void set_success(bool value); + private: + bool _internal_success() const; + void _internal_set_success(bool value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.Response) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::Any* result_; + bool success_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// ------------------------------------------------------------------- + +class LiveAPIEvent final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:rtech.liveapi.LiveAPIEvent) */ { + public: + inline LiveAPIEvent() : LiveAPIEvent(nullptr) {} + ~LiveAPIEvent() override; + explicit PROTOBUF_CONSTEXPR LiveAPIEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + LiveAPIEvent(const LiveAPIEvent& from); + LiveAPIEvent(LiveAPIEvent&& from) noexcept + : LiveAPIEvent() { + *this = ::std::move(from); + } + + inline LiveAPIEvent& operator=(const LiveAPIEvent& from) { + CopyFrom(from); + return *this; + } + inline LiveAPIEvent& operator=(LiveAPIEvent&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const LiveAPIEvent& default_instance() { + return *internal_default_instance(); + } + static inline const LiveAPIEvent* internal_default_instance() { + return reinterpret_cast( + &_LiveAPIEvent_default_instance_); + } + static constexpr int kIndexInFileMessages = + 63; + + friend void swap(LiveAPIEvent& a, LiveAPIEvent& b) { + a.Swap(&b); + } + inline void Swap(LiveAPIEvent* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(LiveAPIEvent* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + LiveAPIEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const LiveAPIEvent& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const LiveAPIEvent& from) { + LiveAPIEvent::MergeImpl(*this, from); + } + private: + static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); + public: + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(LiveAPIEvent* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "rtech.liveapi.LiveAPIEvent"; + } + protected: + explicit LiveAPIEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + public: + + static const ClassData _class_data_; + const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kGameMessageFieldNumber = 3, + kEventSizeFieldNumber = 1, + }; + // .google.protobuf.Any gameMessage = 3; + bool has_gamemessage() const; + private: + bool _internal_has_gamemessage() const; + public: + void clear_gamemessage(); + const ::PROTOBUF_NAMESPACE_ID::Any& gamemessage() const; + PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Any* release_gamemessage(); + ::PROTOBUF_NAMESPACE_ID::Any* mutable_gamemessage(); + void set_allocated_gamemessage(::PROTOBUF_NAMESPACE_ID::Any* gamemessage); + private: + const ::PROTOBUF_NAMESPACE_ID::Any& _internal_gamemessage() const; + ::PROTOBUF_NAMESPACE_ID::Any* _internal_mutable_gamemessage(); + public: + void unsafe_arena_set_allocated_gamemessage( + ::PROTOBUF_NAMESPACE_ID::Any* gamemessage); + ::PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_gamemessage(); + + // fixed32 event_size = 1; + void clear_event_size(); + uint32_t event_size() const; + void set_event_size(uint32_t value); + private: + uint32_t _internal_event_size() const; + void _internal_set_event_size(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:rtech.liveapi.LiveAPIEvent) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::Any* gamemessage_; + uint32_t event_size_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_events_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Vector3 + +// float x = 1; +inline void Vector3::clear_x() { + _impl_.x_ = 0; +} +inline float Vector3::_internal_x() const { + return _impl_.x_; +} +inline float Vector3::x() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Vector3.x) + return _internal_x(); +} +inline void Vector3::_internal_set_x(float value) { + + _impl_.x_ = value; +} +inline void Vector3::set_x(float value) { + _internal_set_x(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Vector3.x) +} + +// float y = 2; +inline void Vector3::clear_y() { + _impl_.y_ = 0; +} +inline float Vector3::_internal_y() const { + return _impl_.y_; +} +inline float Vector3::y() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Vector3.y) + return _internal_y(); +} +inline void Vector3::_internal_set_y(float value) { + + _impl_.y_ = value; +} +inline void Vector3::set_y(float value) { + _internal_set_y(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Vector3.y) +} + +// float z = 3; +inline void Vector3::clear_z() { + _impl_.z_ = 0; +} +inline float Vector3::_internal_z() const { + return _impl_.z_; +} +inline float Vector3::z() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Vector3.z) + return _internal_z(); +} +inline void Vector3::_internal_set_z(float value) { + + _impl_.z_ = value; +} +inline void Vector3::set_z(float value) { + _internal_set_z(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Vector3.z) +} + +// ------------------------------------------------------------------- + +// Player + +// string name = 1; +inline void Player::clear_name() { + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Player::name() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Player::set_name(ArgT0&& arg0, ArgT... args) { + + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.name) +} +inline std::string* Player::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Player.name) + return _s; +} +inline const std::string& Player::_internal_name() const { + return _impl_.name_.Get(); +} +inline void Player::_internal_set_name(const std::string& value) { + + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* Player::_internal_mutable_name() { + + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* Player::release_name() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Player.name) + return _impl_.name_.Release(); +} +inline void Player::set_allocated_name(std::string* name) { + if (name != nullptr) { + + } else { + + } + _impl_.name_.SetAllocated(name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Player.name) +} + +// uint32 teamId = 2; +inline void Player::clear_teamid() { + _impl_.teamid_ = 0u; +} +inline uint32_t Player::_internal_teamid() const { + return _impl_.teamid_; +} +inline uint32_t Player::teamid() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.teamId) + return _internal_teamid(); +} +inline void Player::_internal_set_teamid(uint32_t value) { + + _impl_.teamid_ = value; +} +inline void Player::set_teamid(uint32_t value) { + _internal_set_teamid(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.teamId) +} + +// .rtech.liveapi.Vector3 pos = 3; +inline bool Player::_internal_has_pos() const { + return this != internal_default_instance() && _impl_.pos_ != nullptr; +} +inline bool Player::has_pos() const { + return _internal_has_pos(); +} +inline void Player::clear_pos() { + if (GetArenaForAllocation() == nullptr && _impl_.pos_ != nullptr) { + delete _impl_.pos_; + } + _impl_.pos_ = nullptr; +} +inline const ::rtech::liveapi::Vector3& Player::_internal_pos() const { + const ::rtech::liveapi::Vector3* p = _impl_.pos_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Vector3_default_instance_); +} +inline const ::rtech::liveapi::Vector3& Player::pos() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.pos) + return _internal_pos(); +} +inline void Player::unsafe_arena_set_allocated_pos( + ::rtech::liveapi::Vector3* pos) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pos_); + } + _impl_.pos_ = pos; + if (pos) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Player.pos) +} +inline ::rtech::liveapi::Vector3* Player::release_pos() { + + ::rtech::liveapi::Vector3* temp = _impl_.pos_; + _impl_.pos_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Vector3* Player::unsafe_arena_release_pos() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Player.pos) + + ::rtech::liveapi::Vector3* temp = _impl_.pos_; + _impl_.pos_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Vector3* Player::_internal_mutable_pos() { + + if (_impl_.pos_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Vector3>(GetArenaForAllocation()); + _impl_.pos_ = p; + } + return _impl_.pos_; +} +inline ::rtech::liveapi::Vector3* Player::mutable_pos() { + ::rtech::liveapi::Vector3* _msg = _internal_mutable_pos(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Player.pos) + return _msg; +} +inline void Player::set_allocated_pos(::rtech::liveapi::Vector3* pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.pos_; + } + if (pos) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pos); + if (message_arena != submessage_arena) { + pos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, pos, submessage_arena); + } + + } else { + + } + _impl_.pos_ = pos; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Player.pos) +} + +// .rtech.liveapi.Vector3 angles = 4; +inline bool Player::_internal_has_angles() const { + return this != internal_default_instance() && _impl_.angles_ != nullptr; +} +inline bool Player::has_angles() const { + return _internal_has_angles(); +} +inline void Player::clear_angles() { + if (GetArenaForAllocation() == nullptr && _impl_.angles_ != nullptr) { + delete _impl_.angles_; + } + _impl_.angles_ = nullptr; +} +inline const ::rtech::liveapi::Vector3& Player::_internal_angles() const { + const ::rtech::liveapi::Vector3* p = _impl_.angles_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Vector3_default_instance_); +} +inline const ::rtech::liveapi::Vector3& Player::angles() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.angles) + return _internal_angles(); +} +inline void Player::unsafe_arena_set_allocated_angles( + ::rtech::liveapi::Vector3* angles) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.angles_); + } + _impl_.angles_ = angles; + if (angles) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Player.angles) +} +inline ::rtech::liveapi::Vector3* Player::release_angles() { + + ::rtech::liveapi::Vector3* temp = _impl_.angles_; + _impl_.angles_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Vector3* Player::unsafe_arena_release_angles() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Player.angles) + + ::rtech::liveapi::Vector3* temp = _impl_.angles_; + _impl_.angles_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Vector3* Player::_internal_mutable_angles() { + + if (_impl_.angles_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Vector3>(GetArenaForAllocation()); + _impl_.angles_ = p; + } + return _impl_.angles_; +} +inline ::rtech::liveapi::Vector3* Player::mutable_angles() { + ::rtech::liveapi::Vector3* _msg = _internal_mutable_angles(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Player.angles) + return _msg; +} +inline void Player::set_allocated_angles(::rtech::liveapi::Vector3* angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.angles_; + } + if (angles) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(angles); + if (message_arena != submessage_arena) { + angles = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, angles, submessage_arena); + } + + } else { + + } + _impl_.angles_ = angles; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Player.angles) +} + +// uint32 currentHealth = 5; +inline void Player::clear_currenthealth() { + _impl_.currenthealth_ = 0u; +} +inline uint32_t Player::_internal_currenthealth() const { + return _impl_.currenthealth_; +} +inline uint32_t Player::currenthealth() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.currentHealth) + return _internal_currenthealth(); +} +inline void Player::_internal_set_currenthealth(uint32_t value) { + + _impl_.currenthealth_ = value; +} +inline void Player::set_currenthealth(uint32_t value) { + _internal_set_currenthealth(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.currentHealth) +} + +// uint32 maxHealth = 6; +inline void Player::clear_maxhealth() { + _impl_.maxhealth_ = 0u; +} +inline uint32_t Player::_internal_maxhealth() const { + return _impl_.maxhealth_; +} +inline uint32_t Player::maxhealth() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.maxHealth) + return _internal_maxhealth(); +} +inline void Player::_internal_set_maxhealth(uint32_t value) { + + _impl_.maxhealth_ = value; +} +inline void Player::set_maxhealth(uint32_t value) { + _internal_set_maxhealth(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.maxHealth) +} + +// uint32 shieldHealth = 7; +inline void Player::clear_shieldhealth() { + _impl_.shieldhealth_ = 0u; +} +inline uint32_t Player::_internal_shieldhealth() const { + return _impl_.shieldhealth_; +} +inline uint32_t Player::shieldhealth() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.shieldHealth) + return _internal_shieldhealth(); +} +inline void Player::_internal_set_shieldhealth(uint32_t value) { + + _impl_.shieldhealth_ = value; +} +inline void Player::set_shieldhealth(uint32_t value) { + _internal_set_shieldhealth(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.shieldHealth) +} + +// uint32 shieldMaxHealth = 8; +inline void Player::clear_shieldmaxhealth() { + _impl_.shieldmaxhealth_ = 0u; +} +inline uint32_t Player::_internal_shieldmaxhealth() const { + return _impl_.shieldmaxhealth_; +} +inline uint32_t Player::shieldmaxhealth() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.shieldMaxHealth) + return _internal_shieldmaxhealth(); +} +inline void Player::_internal_set_shieldmaxhealth(uint32_t value) { + + _impl_.shieldmaxhealth_ = value; +} +inline void Player::set_shieldmaxhealth(uint32_t value) { + _internal_set_shieldmaxhealth(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.shieldMaxHealth) +} + +// string nucleusHash = 9; +inline void Player::clear_nucleushash() { + _impl_.nucleushash_.ClearToEmpty(); +} +inline const std::string& Player::nucleushash() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.nucleusHash) + return _internal_nucleushash(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Player::set_nucleushash(ArgT0&& arg0, ArgT... args) { + + _impl_.nucleushash_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.nucleusHash) +} +inline std::string* Player::mutable_nucleushash() { + std::string* _s = _internal_mutable_nucleushash(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Player.nucleusHash) + return _s; +} +inline const std::string& Player::_internal_nucleushash() const { + return _impl_.nucleushash_.Get(); +} +inline void Player::_internal_set_nucleushash(const std::string& value) { + + _impl_.nucleushash_.Set(value, GetArenaForAllocation()); +} +inline std::string* Player::_internal_mutable_nucleushash() { + + return _impl_.nucleushash_.Mutable(GetArenaForAllocation()); +} +inline std::string* Player::release_nucleushash() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Player.nucleusHash) + return _impl_.nucleushash_.Release(); +} +inline void Player::set_allocated_nucleushash(std::string* nucleushash) { + if (nucleushash != nullptr) { + + } else { + + } + _impl_.nucleushash_.SetAllocated(nucleushash, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nucleushash_.IsDefault()) { + _impl_.nucleushash_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Player.nucleusHash) +} + +// string hardwareName = 10; +inline void Player::clear_hardwarename() { + _impl_.hardwarename_.ClearToEmpty(); +} +inline const std::string& Player::hardwarename() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.hardwareName) + return _internal_hardwarename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Player::set_hardwarename(ArgT0&& arg0, ArgT... args) { + + _impl_.hardwarename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.hardwareName) +} +inline std::string* Player::mutable_hardwarename() { + std::string* _s = _internal_mutable_hardwarename(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Player.hardwareName) + return _s; +} +inline const std::string& Player::_internal_hardwarename() const { + return _impl_.hardwarename_.Get(); +} +inline void Player::_internal_set_hardwarename(const std::string& value) { + + _impl_.hardwarename_.Set(value, GetArenaForAllocation()); +} +inline std::string* Player::_internal_mutable_hardwarename() { + + return _impl_.hardwarename_.Mutable(GetArenaForAllocation()); +} +inline std::string* Player::release_hardwarename() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Player.hardwareName) + return _impl_.hardwarename_.Release(); +} +inline void Player::set_allocated_hardwarename(std::string* hardwarename) { + if (hardwarename != nullptr) { + + } else { + + } + _impl_.hardwarename_.SetAllocated(hardwarename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.hardwarename_.IsDefault()) { + _impl_.hardwarename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Player.hardwareName) +} + +// string teamName = 11; +inline void Player::clear_teamname() { + _impl_.teamname_.ClearToEmpty(); +} +inline const std::string& Player::teamname() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.teamName) + return _internal_teamname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Player::set_teamname(ArgT0&& arg0, ArgT... args) { + + _impl_.teamname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.teamName) +} +inline std::string* Player::mutable_teamname() { + std::string* _s = _internal_mutable_teamname(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Player.teamName) + return _s; +} +inline const std::string& Player::_internal_teamname() const { + return _impl_.teamname_.Get(); +} +inline void Player::_internal_set_teamname(const std::string& value) { + + _impl_.teamname_.Set(value, GetArenaForAllocation()); +} +inline std::string* Player::_internal_mutable_teamname() { + + return _impl_.teamname_.Mutable(GetArenaForAllocation()); +} +inline std::string* Player::release_teamname() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Player.teamName) + return _impl_.teamname_.Release(); +} +inline void Player::set_allocated_teamname(std::string* teamname) { + if (teamname != nullptr) { + + } else { + + } + _impl_.teamname_.SetAllocated(teamname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.teamname_.IsDefault()) { + _impl_.teamname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Player.teamName) +} + +// uint32 squadIndex = 12; +inline void Player::clear_squadindex() { + _impl_.squadindex_ = 0u; +} +inline uint32_t Player::_internal_squadindex() const { + return _impl_.squadindex_; +} +inline uint32_t Player::squadindex() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.squadIndex) + return _internal_squadindex(); +} +inline void Player::_internal_set_squadindex(uint32_t value) { + + _impl_.squadindex_ = value; +} +inline void Player::set_squadindex(uint32_t value) { + _internal_set_squadindex(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.squadIndex) +} + +// string character = 13; +inline void Player::clear_character() { + _impl_.character_.ClearToEmpty(); +} +inline const std::string& Player::character() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.character) + return _internal_character(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Player::set_character(ArgT0&& arg0, ArgT... args) { + + _impl_.character_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.character) +} +inline std::string* Player::mutable_character() { + std::string* _s = _internal_mutable_character(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Player.character) + return _s; +} +inline const std::string& Player::_internal_character() const { + return _impl_.character_.Get(); +} +inline void Player::_internal_set_character(const std::string& value) { + + _impl_.character_.Set(value, GetArenaForAllocation()); +} +inline std::string* Player::_internal_mutable_character() { + + return _impl_.character_.Mutable(GetArenaForAllocation()); +} +inline std::string* Player::release_character() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Player.character) + return _impl_.character_.Release(); +} +inline void Player::set_allocated_character(std::string* character) { + if (character != nullptr) { + + } else { + + } + _impl_.character_.SetAllocated(character, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.character_.IsDefault()) { + _impl_.character_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Player.character) +} + +// string skin = 14; +inline void Player::clear_skin() { + _impl_.skin_.ClearToEmpty(); +} +inline const std::string& Player::skin() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Player.skin) + return _internal_skin(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Player::set_skin(ArgT0&& arg0, ArgT... args) { + + _impl_.skin_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Player.skin) +} +inline std::string* Player::mutable_skin() { + std::string* _s = _internal_mutable_skin(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Player.skin) + return _s; +} +inline const std::string& Player::_internal_skin() const { + return _impl_.skin_.Get(); +} +inline void Player::_internal_set_skin(const std::string& value) { + + _impl_.skin_.Set(value, GetArenaForAllocation()); +} +inline std::string* Player::_internal_mutable_skin() { + + return _impl_.skin_.Mutable(GetArenaForAllocation()); +} +inline std::string* Player::release_skin() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Player.skin) + return _impl_.skin_.Release(); +} +inline void Player::set_allocated_skin(std::string* skin) { + if (skin != nullptr) { + + } else { + + } + _impl_.skin_.SetAllocated(skin, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.skin_.IsDefault()) { + _impl_.skin_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Player.skin) +} + +// ------------------------------------------------------------------- + +// CustomMatch_LobbyPlayer + +// string name = 1; +inline void CustomMatch_LobbyPlayer::clear_name() { + _impl_.name_.ClearToEmpty(); +} +inline const std::string& CustomMatch_LobbyPlayer::name() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_LobbyPlayer.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_LobbyPlayer::set_name(ArgT0&& arg0, ArgT... args) { + + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_LobbyPlayer.name) +} +inline std::string* CustomMatch_LobbyPlayer::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_LobbyPlayer.name) + return _s; +} +inline const std::string& CustomMatch_LobbyPlayer::_internal_name() const { + return _impl_.name_.Get(); +} +inline void CustomMatch_LobbyPlayer::_internal_set_name(const std::string& value) { + + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_LobbyPlayer::_internal_mutable_name() { + + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_LobbyPlayer::release_name() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_LobbyPlayer.name) + return _impl_.name_.Release(); +} +inline void CustomMatch_LobbyPlayer::set_allocated_name(std::string* name) { + if (name != nullptr) { + + } else { + + } + _impl_.name_.SetAllocated(name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_LobbyPlayer.name) +} + +// uint32 teamId = 2; +inline void CustomMatch_LobbyPlayer::clear_teamid() { + _impl_.teamid_ = 0u; +} +inline uint32_t CustomMatch_LobbyPlayer::_internal_teamid() const { + return _impl_.teamid_; +} +inline uint32_t CustomMatch_LobbyPlayer::teamid() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_LobbyPlayer.teamId) + return _internal_teamid(); +} +inline void CustomMatch_LobbyPlayer::_internal_set_teamid(uint32_t value) { + + _impl_.teamid_ = value; +} +inline void CustomMatch_LobbyPlayer::set_teamid(uint32_t value) { + _internal_set_teamid(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_LobbyPlayer.teamId) +} + +// string nucleusHash = 3; +inline void CustomMatch_LobbyPlayer::clear_nucleushash() { + _impl_.nucleushash_.ClearToEmpty(); +} +inline const std::string& CustomMatch_LobbyPlayer::nucleushash() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_LobbyPlayer.nucleusHash) + return _internal_nucleushash(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_LobbyPlayer::set_nucleushash(ArgT0&& arg0, ArgT... args) { + + _impl_.nucleushash_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_LobbyPlayer.nucleusHash) +} +inline std::string* CustomMatch_LobbyPlayer::mutable_nucleushash() { + std::string* _s = _internal_mutable_nucleushash(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_LobbyPlayer.nucleusHash) + return _s; +} +inline const std::string& CustomMatch_LobbyPlayer::_internal_nucleushash() const { + return _impl_.nucleushash_.Get(); +} +inline void CustomMatch_LobbyPlayer::_internal_set_nucleushash(const std::string& value) { + + _impl_.nucleushash_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_LobbyPlayer::_internal_mutable_nucleushash() { + + return _impl_.nucleushash_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_LobbyPlayer::release_nucleushash() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_LobbyPlayer.nucleusHash) + return _impl_.nucleushash_.Release(); +} +inline void CustomMatch_LobbyPlayer::set_allocated_nucleushash(std::string* nucleushash) { + if (nucleushash != nullptr) { + + } else { + + } + _impl_.nucleushash_.SetAllocated(nucleushash, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.nucleushash_.IsDefault()) { + _impl_.nucleushash_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_LobbyPlayer.nucleusHash) +} + +// string hardwareName = 4; +inline void CustomMatch_LobbyPlayer::clear_hardwarename() { + _impl_.hardwarename_.ClearToEmpty(); +} +inline const std::string& CustomMatch_LobbyPlayer::hardwarename() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_LobbyPlayer.hardwareName) + return _internal_hardwarename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_LobbyPlayer::set_hardwarename(ArgT0&& arg0, ArgT... args) { + + _impl_.hardwarename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_LobbyPlayer.hardwareName) +} +inline std::string* CustomMatch_LobbyPlayer::mutable_hardwarename() { + std::string* _s = _internal_mutable_hardwarename(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_LobbyPlayer.hardwareName) + return _s; +} +inline const std::string& CustomMatch_LobbyPlayer::_internal_hardwarename() const { + return _impl_.hardwarename_.Get(); +} +inline void CustomMatch_LobbyPlayer::_internal_set_hardwarename(const std::string& value) { + + _impl_.hardwarename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_LobbyPlayer::_internal_mutable_hardwarename() { + + return _impl_.hardwarename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_LobbyPlayer::release_hardwarename() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_LobbyPlayer.hardwareName) + return _impl_.hardwarename_.Release(); +} +inline void CustomMatch_LobbyPlayer::set_allocated_hardwarename(std::string* hardwarename) { + if (hardwarename != nullptr) { + + } else { + + } + _impl_.hardwarename_.SetAllocated(hardwarename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.hardwarename_.IsDefault()) { + _impl_.hardwarename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_LobbyPlayer.hardwareName) +} + +// ------------------------------------------------------------------- + +// Datacenter + +// uint64 timestamp = 1; +inline void Datacenter::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t Datacenter::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t Datacenter::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Datacenter.timestamp) + return _internal_timestamp(); +} +inline void Datacenter::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void Datacenter::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Datacenter.timestamp) +} + +// string category = 2; +inline void Datacenter::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& Datacenter::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Datacenter.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Datacenter::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Datacenter.category) +} +inline std::string* Datacenter::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Datacenter.category) + return _s; +} +inline const std::string& Datacenter::_internal_category() const { + return _impl_.category_.Get(); +} +inline void Datacenter::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* Datacenter::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* Datacenter::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Datacenter.category) + return _impl_.category_.Release(); +} +inline void Datacenter::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Datacenter.category) +} + +// string name = 3; +inline void Datacenter::clear_name() { + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Datacenter::name() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Datacenter.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Datacenter::set_name(ArgT0&& arg0, ArgT... args) { + + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Datacenter.name) +} +inline std::string* Datacenter::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Datacenter.name) + return _s; +} +inline const std::string& Datacenter::_internal_name() const { + return _impl_.name_.Get(); +} +inline void Datacenter::_internal_set_name(const std::string& value) { + + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* Datacenter::_internal_mutable_name() { + + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* Datacenter::release_name() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Datacenter.name) + return _impl_.name_.Release(); +} +inline void Datacenter::set_allocated_name(std::string* name) { + if (name != nullptr) { + + } else { + + } + _impl_.name_.SetAllocated(name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Datacenter.name) +} + +// ------------------------------------------------------------------- + +// Version + +// uint32 major_num = 1; +inline void Version::clear_major_num() { + _impl_.major_num_ = 0u; +} +inline uint32_t Version::_internal_major_num() const { + return _impl_.major_num_; +} +inline uint32_t Version::major_num() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Version.major_num) + return _internal_major_num(); +} +inline void Version::_internal_set_major_num(uint32_t value) { + + _impl_.major_num_ = value; +} +inline void Version::set_major_num(uint32_t value) { + _internal_set_major_num(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Version.major_num) +} + +// uint32 minor_num = 2; +inline void Version::clear_minor_num() { + _impl_.minor_num_ = 0u; +} +inline uint32_t Version::_internal_minor_num() const { + return _impl_.minor_num_; +} +inline uint32_t Version::minor_num() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Version.minor_num) + return _internal_minor_num(); +} +inline void Version::_internal_set_minor_num(uint32_t value) { + + _impl_.minor_num_ = value; +} +inline void Version::set_minor_num(uint32_t value) { + _internal_set_minor_num(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Version.minor_num) +} + +// uint32 build_stamp = 3; +inline void Version::clear_build_stamp() { + _impl_.build_stamp_ = 0u; +} +inline uint32_t Version::_internal_build_stamp() const { + return _impl_.build_stamp_; +} +inline uint32_t Version::build_stamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Version.build_stamp) + return _internal_build_stamp(); +} +inline void Version::_internal_set_build_stamp(uint32_t value) { + + _impl_.build_stamp_ = value; +} +inline void Version::set_build_stamp(uint32_t value) { + _internal_set_build_stamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Version.build_stamp) +} + +// string revision = 4; +inline void Version::clear_revision() { + _impl_.revision_.ClearToEmpty(); +} +inline const std::string& Version::revision() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Version.revision) + return _internal_revision(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Version::set_revision(ArgT0&& arg0, ArgT... args) { + + _impl_.revision_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Version.revision) +} +inline std::string* Version::mutable_revision() { + std::string* _s = _internal_mutable_revision(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Version.revision) + return _s; +} +inline const std::string& Version::_internal_revision() const { + return _impl_.revision_.Get(); +} +inline void Version::_internal_set_revision(const std::string& value) { + + _impl_.revision_.Set(value, GetArenaForAllocation()); +} +inline std::string* Version::_internal_mutable_revision() { + + return _impl_.revision_.Mutable(GetArenaForAllocation()); +} +inline std::string* Version::release_revision() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Version.revision) + return _impl_.revision_.Release(); +} +inline void Version::set_allocated_revision(std::string* revision) { + if (revision != nullptr) { + + } else { + + } + _impl_.revision_.SetAllocated(revision, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.revision_.IsDefault()) { + _impl_.revision_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Version.revision) +} + +// ------------------------------------------------------------------- + +// InventoryItem + +// int32 quantity = 1; +inline void InventoryItem::clear_quantity() { + _impl_.quantity_ = 0; +} +inline int32_t InventoryItem::_internal_quantity() const { + return _impl_.quantity_; +} +inline int32_t InventoryItem::quantity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryItem.quantity) + return _internal_quantity(); +} +inline void InventoryItem::_internal_set_quantity(int32_t value) { + + _impl_.quantity_ = value; +} +inline void InventoryItem::set_quantity(int32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryItem.quantity) +} + +// string item = 2; +inline void InventoryItem::clear_item() { + _impl_.item_.ClearToEmpty(); +} +inline const std::string& InventoryItem::item() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryItem.item) + return _internal_item(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void InventoryItem::set_item(ArgT0&& arg0, ArgT... args) { + + _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryItem.item) +} +inline std::string* InventoryItem::mutable_item() { + std::string* _s = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryItem.item) + return _s; +} +inline const std::string& InventoryItem::_internal_item() const { + return _impl_.item_.Get(); +} +inline void InventoryItem::_internal_set_item(const std::string& value) { + + _impl_.item_.Set(value, GetArenaForAllocation()); +} +inline std::string* InventoryItem::_internal_mutable_item() { + + return _impl_.item_.Mutable(GetArenaForAllocation()); +} +inline std::string* InventoryItem::release_item() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryItem.item) + return _impl_.item_.Release(); +} +inline void InventoryItem::set_allocated_item(std::string* item) { + if (item != nullptr) { + + } else { + + } + _impl_.item_.SetAllocated(item, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_.IsDefault()) { + _impl_.item_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryItem.item) +} + +// string extraData = 3; +inline void InventoryItem::clear_extradata() { + _impl_.extradata_.ClearToEmpty(); +} +inline const std::string& InventoryItem::extradata() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryItem.extraData) + return _internal_extradata(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void InventoryItem::set_extradata(ArgT0&& arg0, ArgT... args) { + + _impl_.extradata_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryItem.extraData) +} +inline std::string* InventoryItem::mutable_extradata() { + std::string* _s = _internal_mutable_extradata(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryItem.extraData) + return _s; +} +inline const std::string& InventoryItem::_internal_extradata() const { + return _impl_.extradata_.Get(); +} +inline void InventoryItem::_internal_set_extradata(const std::string& value) { + + _impl_.extradata_.Set(value, GetArenaForAllocation()); +} +inline std::string* InventoryItem::_internal_mutable_extradata() { + + return _impl_.extradata_.Mutable(GetArenaForAllocation()); +} +inline std::string* InventoryItem::release_extradata() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryItem.extraData) + return _impl_.extradata_.Release(); +} +inline void InventoryItem::set_allocated_extradata(std::string* extradata) { + if (extradata != nullptr) { + + } else { + + } + _impl_.extradata_.SetAllocated(extradata, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.extradata_.IsDefault()) { + _impl_.extradata_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryItem.extraData) +} + +// ------------------------------------------------------------------- + +// LoadoutConfiguration + +// repeated .rtech.liveapi.InventoryItem weapons = 1; +inline int LoadoutConfiguration::_internal_weapons_size() const { + return _impl_.weapons_.size(); +} +inline int LoadoutConfiguration::weapons_size() const { + return _internal_weapons_size(); +} +inline void LoadoutConfiguration::clear_weapons() { + _impl_.weapons_.Clear(); +} +inline ::rtech::liveapi::InventoryItem* LoadoutConfiguration::mutable_weapons(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.LoadoutConfiguration.weapons) + return _impl_.weapons_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem >* +LoadoutConfiguration::mutable_weapons() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.LoadoutConfiguration.weapons) + return &_impl_.weapons_; +} +inline const ::rtech::liveapi::InventoryItem& LoadoutConfiguration::_internal_weapons(int index) const { + return _impl_.weapons_.Get(index); +} +inline const ::rtech::liveapi::InventoryItem& LoadoutConfiguration::weapons(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LoadoutConfiguration.weapons) + return _internal_weapons(index); +} +inline ::rtech::liveapi::InventoryItem* LoadoutConfiguration::_internal_add_weapons() { + return _impl_.weapons_.Add(); +} +inline ::rtech::liveapi::InventoryItem* LoadoutConfiguration::add_weapons() { + ::rtech::liveapi::InventoryItem* _add = _internal_add_weapons(); + // @@protoc_insertion_point(field_add:rtech.liveapi.LoadoutConfiguration.weapons) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem >& +LoadoutConfiguration::weapons() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.LoadoutConfiguration.weapons) + return _impl_.weapons_; +} + +// repeated .rtech.liveapi.InventoryItem equipment = 2; +inline int LoadoutConfiguration::_internal_equipment_size() const { + return _impl_.equipment_.size(); +} +inline int LoadoutConfiguration::equipment_size() const { + return _internal_equipment_size(); +} +inline void LoadoutConfiguration::clear_equipment() { + _impl_.equipment_.Clear(); +} +inline ::rtech::liveapi::InventoryItem* LoadoutConfiguration::mutable_equipment(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.LoadoutConfiguration.equipment) + return _impl_.equipment_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem >* +LoadoutConfiguration::mutable_equipment() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.LoadoutConfiguration.equipment) + return &_impl_.equipment_; +} +inline const ::rtech::liveapi::InventoryItem& LoadoutConfiguration::_internal_equipment(int index) const { + return _impl_.equipment_.Get(index); +} +inline const ::rtech::liveapi::InventoryItem& LoadoutConfiguration::equipment(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LoadoutConfiguration.equipment) + return _internal_equipment(index); +} +inline ::rtech::liveapi::InventoryItem* LoadoutConfiguration::_internal_add_equipment() { + return _impl_.equipment_.Add(); +} +inline ::rtech::liveapi::InventoryItem* LoadoutConfiguration::add_equipment() { + ::rtech::liveapi::InventoryItem* _add = _internal_add_equipment(); + // @@protoc_insertion_point(field_add:rtech.liveapi.LoadoutConfiguration.equipment) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::InventoryItem >& +LoadoutConfiguration::equipment() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.LoadoutConfiguration.equipment) + return _impl_.equipment_; +} + +// ------------------------------------------------------------------- + +// Init + +// uint64 timestamp = 1; +inline void Init::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t Init::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t Init::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Init.timestamp) + return _internal_timestamp(); +} +inline void Init::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void Init::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Init.timestamp) +} + +// string category = 2; +inline void Init::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& Init::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Init.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Init::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Init.category) +} +inline std::string* Init::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Init.category) + return _s; +} +inline const std::string& Init::_internal_category() const { + return _impl_.category_.Get(); +} +inline void Init::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* Init::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* Init::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Init.category) + return _impl_.category_.Release(); +} +inline void Init::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Init.category) +} + +// string gameVersion = 3; +inline void Init::clear_gameversion() { + _impl_.gameversion_.ClearToEmpty(); +} +inline const std::string& Init::gameversion() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Init.gameVersion) + return _internal_gameversion(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Init::set_gameversion(ArgT0&& arg0, ArgT... args) { + + _impl_.gameversion_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Init.gameVersion) +} +inline std::string* Init::mutable_gameversion() { + std::string* _s = _internal_mutable_gameversion(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Init.gameVersion) + return _s; +} +inline const std::string& Init::_internal_gameversion() const { + return _impl_.gameversion_.Get(); +} +inline void Init::_internal_set_gameversion(const std::string& value) { + + _impl_.gameversion_.Set(value, GetArenaForAllocation()); +} +inline std::string* Init::_internal_mutable_gameversion() { + + return _impl_.gameversion_.Mutable(GetArenaForAllocation()); +} +inline std::string* Init::release_gameversion() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Init.gameVersion) + return _impl_.gameversion_.Release(); +} +inline void Init::set_allocated_gameversion(std::string* gameversion) { + if (gameversion != nullptr) { + + } else { + + } + _impl_.gameversion_.SetAllocated(gameversion, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.gameversion_.IsDefault()) { + _impl_.gameversion_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Init.gameVersion) +} + +// .rtech.liveapi.Version apiVersion = 4; +inline bool Init::_internal_has_apiversion() const { + return this != internal_default_instance() && _impl_.apiversion_ != nullptr; +} +inline bool Init::has_apiversion() const { + return _internal_has_apiversion(); +} +inline void Init::clear_apiversion() { + if (GetArenaForAllocation() == nullptr && _impl_.apiversion_ != nullptr) { + delete _impl_.apiversion_; + } + _impl_.apiversion_ = nullptr; +} +inline const ::rtech::liveapi::Version& Init::_internal_apiversion() const { + const ::rtech::liveapi::Version* p = _impl_.apiversion_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Version_default_instance_); +} +inline const ::rtech::liveapi::Version& Init::apiversion() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Init.apiVersion) + return _internal_apiversion(); +} +inline void Init::unsafe_arena_set_allocated_apiversion( + ::rtech::liveapi::Version* apiversion) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.apiversion_); + } + _impl_.apiversion_ = apiversion; + if (apiversion) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Init.apiVersion) +} +inline ::rtech::liveapi::Version* Init::release_apiversion() { + + ::rtech::liveapi::Version* temp = _impl_.apiversion_; + _impl_.apiversion_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Version* Init::unsafe_arena_release_apiversion() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Init.apiVersion) + + ::rtech::liveapi::Version* temp = _impl_.apiversion_; + _impl_.apiversion_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Version* Init::_internal_mutable_apiversion() { + + if (_impl_.apiversion_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Version>(GetArenaForAllocation()); + _impl_.apiversion_ = p; + } + return _impl_.apiversion_; +} +inline ::rtech::liveapi::Version* Init::mutable_apiversion() { + ::rtech::liveapi::Version* _msg = _internal_mutable_apiversion(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Init.apiVersion) + return _msg; +} +inline void Init::set_allocated_apiversion(::rtech::liveapi::Version* apiversion) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.apiversion_; + } + if (apiversion) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(apiversion); + if (message_arena != submessage_arena) { + apiversion = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, apiversion, submessage_arena); + } + + } else { + + } + _impl_.apiversion_ = apiversion; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Init.apiVersion) +} + +// string platform = 5; +inline void Init::clear_platform() { + _impl_.platform_.ClearToEmpty(); +} +inline const std::string& Init::platform() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Init.platform) + return _internal_platform(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Init::set_platform(ArgT0&& arg0, ArgT... args) { + + _impl_.platform_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Init.platform) +} +inline std::string* Init::mutable_platform() { + std::string* _s = _internal_mutable_platform(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Init.platform) + return _s; +} +inline const std::string& Init::_internal_platform() const { + return _impl_.platform_.Get(); +} +inline void Init::_internal_set_platform(const std::string& value) { + + _impl_.platform_.Set(value, GetArenaForAllocation()); +} +inline std::string* Init::_internal_mutable_platform() { + + return _impl_.platform_.Mutable(GetArenaForAllocation()); +} +inline std::string* Init::release_platform() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Init.platform) + return _impl_.platform_.Release(); +} +inline void Init::set_allocated_platform(std::string* platform) { + if (platform != nullptr) { + + } else { + + } + _impl_.platform_.SetAllocated(platform, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.platform_.IsDefault()) { + _impl_.platform_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Init.platform) +} + +// string name = 6; +inline void Init::clear_name() { + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Init::name() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Init.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Init::set_name(ArgT0&& arg0, ArgT... args) { + + _impl_.name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Init.name) +} +inline std::string* Init::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Init.name) + return _s; +} +inline const std::string& Init::_internal_name() const { + return _impl_.name_.Get(); +} +inline void Init::_internal_set_name(const std::string& value) { + + _impl_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* Init::_internal_mutable_name() { + + return _impl_.name_.Mutable(GetArenaForAllocation()); +} +inline std::string* Init::release_name() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Init.name) + return _impl_.name_.Release(); +} +inline void Init::set_allocated_name(std::string* name) { + if (name != nullptr) { + + } else { + + } + _impl_.name_.SetAllocated(name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Init.name) +} + +// ------------------------------------------------------------------- + +// CustomMatch_LobbyPlayers + +// string playerToken = 1; +inline void CustomMatch_LobbyPlayers::clear_playertoken() { + _impl_.playertoken_.ClearToEmpty(); +} +inline const std::string& CustomMatch_LobbyPlayers::playertoken() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_LobbyPlayers.playerToken) + return _internal_playertoken(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_LobbyPlayers::set_playertoken(ArgT0&& arg0, ArgT... args) { + + _impl_.playertoken_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_LobbyPlayers.playerToken) +} +inline std::string* CustomMatch_LobbyPlayers::mutable_playertoken() { + std::string* _s = _internal_mutable_playertoken(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_LobbyPlayers.playerToken) + return _s; +} +inline const std::string& CustomMatch_LobbyPlayers::_internal_playertoken() const { + return _impl_.playertoken_.Get(); +} +inline void CustomMatch_LobbyPlayers::_internal_set_playertoken(const std::string& value) { + + _impl_.playertoken_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_LobbyPlayers::_internal_mutable_playertoken() { + + return _impl_.playertoken_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_LobbyPlayers::release_playertoken() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_LobbyPlayers.playerToken) + return _impl_.playertoken_.Release(); +} +inline void CustomMatch_LobbyPlayers::set_allocated_playertoken(std::string* playertoken) { + if (playertoken != nullptr) { + + } else { + + } + _impl_.playertoken_.SetAllocated(playertoken, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.playertoken_.IsDefault()) { + _impl_.playertoken_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_LobbyPlayers.playerToken) +} + +// repeated .rtech.liveapi.CustomMatch_LobbyPlayer players = 2; +inline int CustomMatch_LobbyPlayers::_internal_players_size() const { + return _impl_.players_.size(); +} +inline int CustomMatch_LobbyPlayers::players_size() const { + return _internal_players_size(); +} +inline void CustomMatch_LobbyPlayers::clear_players() { + _impl_.players_.Clear(); +} +inline ::rtech::liveapi::CustomMatch_LobbyPlayer* CustomMatch_LobbyPlayers::mutable_players(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_LobbyPlayers.players) + return _impl_.players_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::CustomMatch_LobbyPlayer >* +CustomMatch_LobbyPlayers::mutable_players() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.CustomMatch_LobbyPlayers.players) + return &_impl_.players_; +} +inline const ::rtech::liveapi::CustomMatch_LobbyPlayer& CustomMatch_LobbyPlayers::_internal_players(int index) const { + return _impl_.players_.Get(index); +} +inline const ::rtech::liveapi::CustomMatch_LobbyPlayer& CustomMatch_LobbyPlayers::players(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_LobbyPlayers.players) + return _internal_players(index); +} +inline ::rtech::liveapi::CustomMatch_LobbyPlayer* CustomMatch_LobbyPlayers::_internal_add_players() { + return _impl_.players_.Add(); +} +inline ::rtech::liveapi::CustomMatch_LobbyPlayer* CustomMatch_LobbyPlayers::add_players() { + ::rtech::liveapi::CustomMatch_LobbyPlayer* _add = _internal_add_players(); + // @@protoc_insertion_point(field_add:rtech.liveapi.CustomMatch_LobbyPlayers.players) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::CustomMatch_LobbyPlayer >& +CustomMatch_LobbyPlayers::players() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.CustomMatch_LobbyPlayers.players) + return _impl_.players_; +} + +// ------------------------------------------------------------------- + +// ObserverSwitched + +// uint64 timestamp = 1; +inline void ObserverSwitched::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t ObserverSwitched::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t ObserverSwitched::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ObserverSwitched.timestamp) + return _internal_timestamp(); +} +inline void ObserverSwitched::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void ObserverSwitched::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ObserverSwitched.timestamp) +} + +// string category = 2; +inline void ObserverSwitched::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& ObserverSwitched::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ObserverSwitched.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ObserverSwitched::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ObserverSwitched.category) +} +inline std::string* ObserverSwitched::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ObserverSwitched.category) + return _s; +} +inline const std::string& ObserverSwitched::_internal_category() const { + return _impl_.category_.Get(); +} +inline void ObserverSwitched::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* ObserverSwitched::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* ObserverSwitched::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ObserverSwitched.category) + return _impl_.category_.Release(); +} +inline void ObserverSwitched::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ObserverSwitched.category) +} + +// .rtech.liveapi.Player observer = 3; +inline bool ObserverSwitched::_internal_has_observer() const { + return this != internal_default_instance() && _impl_.observer_ != nullptr; +} +inline bool ObserverSwitched::has_observer() const { + return _internal_has_observer(); +} +inline void ObserverSwitched::clear_observer() { + if (GetArenaForAllocation() == nullptr && _impl_.observer_ != nullptr) { + delete _impl_.observer_; + } + _impl_.observer_ = nullptr; +} +inline const ::rtech::liveapi::Player& ObserverSwitched::_internal_observer() const { + const ::rtech::liveapi::Player* p = _impl_.observer_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& ObserverSwitched::observer() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ObserverSwitched.observer) + return _internal_observer(); +} +inline void ObserverSwitched::unsafe_arena_set_allocated_observer( + ::rtech::liveapi::Player* observer) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.observer_); + } + _impl_.observer_ = observer; + if (observer) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.ObserverSwitched.observer) +} +inline ::rtech::liveapi::Player* ObserverSwitched::release_observer() { + + ::rtech::liveapi::Player* temp = _impl_.observer_; + _impl_.observer_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* ObserverSwitched::unsafe_arena_release_observer() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ObserverSwitched.observer) + + ::rtech::liveapi::Player* temp = _impl_.observer_; + _impl_.observer_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* ObserverSwitched::_internal_mutable_observer() { + + if (_impl_.observer_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.observer_ = p; + } + return _impl_.observer_; +} +inline ::rtech::liveapi::Player* ObserverSwitched::mutable_observer() { + ::rtech::liveapi::Player* _msg = _internal_mutable_observer(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ObserverSwitched.observer) + return _msg; +} +inline void ObserverSwitched::set_allocated_observer(::rtech::liveapi::Player* observer) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.observer_; + } + if (observer) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(observer); + if (message_arena != submessage_arena) { + observer = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, observer, submessage_arena); + } + + } else { + + } + _impl_.observer_ = observer; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ObserverSwitched.observer) +} + +// .rtech.liveapi.Player target = 4; +inline bool ObserverSwitched::_internal_has_target() const { + return this != internal_default_instance() && _impl_.target_ != nullptr; +} +inline bool ObserverSwitched::has_target() const { + return _internal_has_target(); +} +inline void ObserverSwitched::clear_target() { + if (GetArenaForAllocation() == nullptr && _impl_.target_ != nullptr) { + delete _impl_.target_; + } + _impl_.target_ = nullptr; +} +inline const ::rtech::liveapi::Player& ObserverSwitched::_internal_target() const { + const ::rtech::liveapi::Player* p = _impl_.target_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& ObserverSwitched::target() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ObserverSwitched.target) + return _internal_target(); +} +inline void ObserverSwitched::unsafe_arena_set_allocated_target( + ::rtech::liveapi::Player* target) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.target_); + } + _impl_.target_ = target; + if (target) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.ObserverSwitched.target) +} +inline ::rtech::liveapi::Player* ObserverSwitched::release_target() { + + ::rtech::liveapi::Player* temp = _impl_.target_; + _impl_.target_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* ObserverSwitched::unsafe_arena_release_target() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ObserverSwitched.target) + + ::rtech::liveapi::Player* temp = _impl_.target_; + _impl_.target_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* ObserverSwitched::_internal_mutable_target() { + + if (_impl_.target_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.target_ = p; + } + return _impl_.target_; +} +inline ::rtech::liveapi::Player* ObserverSwitched::mutable_target() { + ::rtech::liveapi::Player* _msg = _internal_mutable_target(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ObserverSwitched.target) + return _msg; +} +inline void ObserverSwitched::set_allocated_target(::rtech::liveapi::Player* target) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.target_; + } + if (target) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(target); + if (message_arena != submessage_arena) { + target = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, target, submessage_arena); + } + + } else { + + } + _impl_.target_ = target; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ObserverSwitched.target) +} + +// repeated .rtech.liveapi.Player targetTeam = 5; +inline int ObserverSwitched::_internal_targetteam_size() const { + return _impl_.targetteam_.size(); +} +inline int ObserverSwitched::targetteam_size() const { + return _internal_targetteam_size(); +} +inline void ObserverSwitched::clear_targetteam() { + _impl_.targetteam_.Clear(); +} +inline ::rtech::liveapi::Player* ObserverSwitched::mutable_targetteam(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ObserverSwitched.targetTeam) + return _impl_.targetteam_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >* +ObserverSwitched::mutable_targetteam() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.ObserverSwitched.targetTeam) + return &_impl_.targetteam_; +} +inline const ::rtech::liveapi::Player& ObserverSwitched::_internal_targetteam(int index) const { + return _impl_.targetteam_.Get(index); +} +inline const ::rtech::liveapi::Player& ObserverSwitched::targetteam(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ObserverSwitched.targetTeam) + return _internal_targetteam(index); +} +inline ::rtech::liveapi::Player* ObserverSwitched::_internal_add_targetteam() { + return _impl_.targetteam_.Add(); +} +inline ::rtech::liveapi::Player* ObserverSwitched::add_targetteam() { + ::rtech::liveapi::Player* _add = _internal_add_targetteam(); + // @@protoc_insertion_point(field_add:rtech.liveapi.ObserverSwitched.targetTeam) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >& +ObserverSwitched::targetteam() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.ObserverSwitched.targetTeam) + return _impl_.targetteam_; +} + +// ------------------------------------------------------------------- + +// ObserverAnnotation + +// uint64 timestamp = 1; +inline void ObserverAnnotation::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t ObserverAnnotation::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t ObserverAnnotation::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ObserverAnnotation.timestamp) + return _internal_timestamp(); +} +inline void ObserverAnnotation::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void ObserverAnnotation::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ObserverAnnotation.timestamp) +} + +// string category = 2; +inline void ObserverAnnotation::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& ObserverAnnotation::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ObserverAnnotation.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ObserverAnnotation::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ObserverAnnotation.category) +} +inline std::string* ObserverAnnotation::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ObserverAnnotation.category) + return _s; +} +inline const std::string& ObserverAnnotation::_internal_category() const { + return _impl_.category_.Get(); +} +inline void ObserverAnnotation::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* ObserverAnnotation::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* ObserverAnnotation::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ObserverAnnotation.category) + return _impl_.category_.Release(); +} +inline void ObserverAnnotation::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ObserverAnnotation.category) +} + +// int32 annotationSerial = 3; +inline void ObserverAnnotation::clear_annotationserial() { + _impl_.annotationserial_ = 0; +} +inline int32_t ObserverAnnotation::_internal_annotationserial() const { + return _impl_.annotationserial_; +} +inline int32_t ObserverAnnotation::annotationserial() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ObserverAnnotation.annotationSerial) + return _internal_annotationserial(); +} +inline void ObserverAnnotation::_internal_set_annotationserial(int32_t value) { + + _impl_.annotationserial_ = value; +} +inline void ObserverAnnotation::set_annotationserial(int32_t value) { + _internal_set_annotationserial(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ObserverAnnotation.annotationSerial) +} + +// ------------------------------------------------------------------- + +// MatchSetup + +// uint64 timestamp = 1; +inline void MatchSetup::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t MatchSetup::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t MatchSetup::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.timestamp) + return _internal_timestamp(); +} +inline void MatchSetup::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void MatchSetup::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchSetup.timestamp) +} + +// string category = 2; +inline void MatchSetup::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& MatchSetup::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MatchSetup::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchSetup.category) +} +inline std::string* MatchSetup::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchSetup.category) + return _s; +} +inline const std::string& MatchSetup::_internal_category() const { + return _impl_.category_.Get(); +} +inline void MatchSetup::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* MatchSetup::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* MatchSetup::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchSetup.category) + return _impl_.category_.Release(); +} +inline void MatchSetup::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchSetup.category) +} + +// string map = 3; +inline void MatchSetup::clear_map() { + _impl_.map_.ClearToEmpty(); +} +inline const std::string& MatchSetup::map() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.map) + return _internal_map(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MatchSetup::set_map(ArgT0&& arg0, ArgT... args) { + + _impl_.map_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchSetup.map) +} +inline std::string* MatchSetup::mutable_map() { + std::string* _s = _internal_mutable_map(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchSetup.map) + return _s; +} +inline const std::string& MatchSetup::_internal_map() const { + return _impl_.map_.Get(); +} +inline void MatchSetup::_internal_set_map(const std::string& value) { + + _impl_.map_.Set(value, GetArenaForAllocation()); +} +inline std::string* MatchSetup::_internal_mutable_map() { + + return _impl_.map_.Mutable(GetArenaForAllocation()); +} +inline std::string* MatchSetup::release_map() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchSetup.map) + return _impl_.map_.Release(); +} +inline void MatchSetup::set_allocated_map(std::string* map) { + if (map != nullptr) { + + } else { + + } + _impl_.map_.SetAllocated(map, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.map_.IsDefault()) { + _impl_.map_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchSetup.map) +} + +// string playlistName = 4; +inline void MatchSetup::clear_playlistname() { + _impl_.playlistname_.ClearToEmpty(); +} +inline const std::string& MatchSetup::playlistname() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.playlistName) + return _internal_playlistname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MatchSetup::set_playlistname(ArgT0&& arg0, ArgT... args) { + + _impl_.playlistname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchSetup.playlistName) +} +inline std::string* MatchSetup::mutable_playlistname() { + std::string* _s = _internal_mutable_playlistname(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchSetup.playlistName) + return _s; +} +inline const std::string& MatchSetup::_internal_playlistname() const { + return _impl_.playlistname_.Get(); +} +inline void MatchSetup::_internal_set_playlistname(const std::string& value) { + + _impl_.playlistname_.Set(value, GetArenaForAllocation()); +} +inline std::string* MatchSetup::_internal_mutable_playlistname() { + + return _impl_.playlistname_.Mutable(GetArenaForAllocation()); +} +inline std::string* MatchSetup::release_playlistname() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchSetup.playlistName) + return _impl_.playlistname_.Release(); +} +inline void MatchSetup::set_allocated_playlistname(std::string* playlistname) { + if (playlistname != nullptr) { + + } else { + + } + _impl_.playlistname_.SetAllocated(playlistname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.playlistname_.IsDefault()) { + _impl_.playlistname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchSetup.playlistName) +} + +// string playlistDesc = 5; +inline void MatchSetup::clear_playlistdesc() { + _impl_.playlistdesc_.ClearToEmpty(); +} +inline const std::string& MatchSetup::playlistdesc() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.playlistDesc) + return _internal_playlistdesc(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MatchSetup::set_playlistdesc(ArgT0&& arg0, ArgT... args) { + + _impl_.playlistdesc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchSetup.playlistDesc) +} +inline std::string* MatchSetup::mutable_playlistdesc() { + std::string* _s = _internal_mutable_playlistdesc(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchSetup.playlistDesc) + return _s; +} +inline const std::string& MatchSetup::_internal_playlistdesc() const { + return _impl_.playlistdesc_.Get(); +} +inline void MatchSetup::_internal_set_playlistdesc(const std::string& value) { + + _impl_.playlistdesc_.Set(value, GetArenaForAllocation()); +} +inline std::string* MatchSetup::_internal_mutable_playlistdesc() { + + return _impl_.playlistdesc_.Mutable(GetArenaForAllocation()); +} +inline std::string* MatchSetup::release_playlistdesc() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchSetup.playlistDesc) + return _impl_.playlistdesc_.Release(); +} +inline void MatchSetup::set_allocated_playlistdesc(std::string* playlistdesc) { + if (playlistdesc != nullptr) { + + } else { + + } + _impl_.playlistdesc_.SetAllocated(playlistdesc, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.playlistdesc_.IsDefault()) { + _impl_.playlistdesc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchSetup.playlistDesc) +} + +// .rtech.liveapi.Datacenter datacenter = 6; +inline bool MatchSetup::_internal_has_datacenter() const { + return this != internal_default_instance() && _impl_.datacenter_ != nullptr; +} +inline bool MatchSetup::has_datacenter() const { + return _internal_has_datacenter(); +} +inline void MatchSetup::clear_datacenter() { + if (GetArenaForAllocation() == nullptr && _impl_.datacenter_ != nullptr) { + delete _impl_.datacenter_; + } + _impl_.datacenter_ = nullptr; +} +inline const ::rtech::liveapi::Datacenter& MatchSetup::_internal_datacenter() const { + const ::rtech::liveapi::Datacenter* p = _impl_.datacenter_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Datacenter_default_instance_); +} +inline const ::rtech::liveapi::Datacenter& MatchSetup::datacenter() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.datacenter) + return _internal_datacenter(); +} +inline void MatchSetup::unsafe_arena_set_allocated_datacenter( + ::rtech::liveapi::Datacenter* datacenter) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.datacenter_); + } + _impl_.datacenter_ = datacenter; + if (datacenter) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.MatchSetup.datacenter) +} +inline ::rtech::liveapi::Datacenter* MatchSetup::release_datacenter() { + + ::rtech::liveapi::Datacenter* temp = _impl_.datacenter_; + _impl_.datacenter_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Datacenter* MatchSetup::unsafe_arena_release_datacenter() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchSetup.datacenter) + + ::rtech::liveapi::Datacenter* temp = _impl_.datacenter_; + _impl_.datacenter_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Datacenter* MatchSetup::_internal_mutable_datacenter() { + + if (_impl_.datacenter_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Datacenter>(GetArenaForAllocation()); + _impl_.datacenter_ = p; + } + return _impl_.datacenter_; +} +inline ::rtech::liveapi::Datacenter* MatchSetup::mutable_datacenter() { + ::rtech::liveapi::Datacenter* _msg = _internal_mutable_datacenter(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchSetup.datacenter) + return _msg; +} +inline void MatchSetup::set_allocated_datacenter(::rtech::liveapi::Datacenter* datacenter) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.datacenter_; + } + if (datacenter) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(datacenter); + if (message_arena != submessage_arena) { + datacenter = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, datacenter, submessage_arena); + } + + } else { + + } + _impl_.datacenter_ = datacenter; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchSetup.datacenter) +} + +// bool aimAssistOn = 7; +inline void MatchSetup::clear_aimassiston() { + _impl_.aimassiston_ = false; +} +inline bool MatchSetup::_internal_aimassiston() const { + return _impl_.aimassiston_; +} +inline bool MatchSetup::aimassiston() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.aimAssistOn) + return _internal_aimassiston(); +} +inline void MatchSetup::_internal_set_aimassiston(bool value) { + + _impl_.aimassiston_ = value; +} +inline void MatchSetup::set_aimassiston(bool value) { + _internal_set_aimassiston(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchSetup.aimAssistOn) +} + +// bool anonymousMode = 8; +inline void MatchSetup::clear_anonymousmode() { + _impl_.anonymousmode_ = false; +} +inline bool MatchSetup::_internal_anonymousmode() const { + return _impl_.anonymousmode_; +} +inline bool MatchSetup::anonymousmode() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.anonymousMode) + return _internal_anonymousmode(); +} +inline void MatchSetup::_internal_set_anonymousmode(bool value) { + + _impl_.anonymousmode_ = value; +} +inline void MatchSetup::set_anonymousmode(bool value) { + _internal_set_anonymousmode(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchSetup.anonymousMode) +} + +// string serverId = 9; +inline void MatchSetup::clear_serverid() { + _impl_.serverid_.ClearToEmpty(); +} +inline const std::string& MatchSetup::serverid() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.serverId) + return _internal_serverid(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MatchSetup::set_serverid(ArgT0&& arg0, ArgT... args) { + + _impl_.serverid_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchSetup.serverId) +} +inline std::string* MatchSetup::mutable_serverid() { + std::string* _s = _internal_mutable_serverid(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchSetup.serverId) + return _s; +} +inline const std::string& MatchSetup::_internal_serverid() const { + return _impl_.serverid_.Get(); +} +inline void MatchSetup::_internal_set_serverid(const std::string& value) { + + _impl_.serverid_.Set(value, GetArenaForAllocation()); +} +inline std::string* MatchSetup::_internal_mutable_serverid() { + + return _impl_.serverid_.Mutable(GetArenaForAllocation()); +} +inline std::string* MatchSetup::release_serverid() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchSetup.serverId) + return _impl_.serverid_.Release(); +} +inline void MatchSetup::set_allocated_serverid(std::string* serverid) { + if (serverid != nullptr) { + + } else { + + } + _impl_.serverid_.SetAllocated(serverid, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.serverid_.IsDefault()) { + _impl_.serverid_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchSetup.serverId) +} + +// .rtech.liveapi.LoadoutConfiguration startingLoadout = 10; +inline bool MatchSetup::_internal_has_startingloadout() const { + return this != internal_default_instance() && _impl_.startingloadout_ != nullptr; +} +inline bool MatchSetup::has_startingloadout() const { + return _internal_has_startingloadout(); +} +inline void MatchSetup::clear_startingloadout() { + if (GetArenaForAllocation() == nullptr && _impl_.startingloadout_ != nullptr) { + delete _impl_.startingloadout_; + } + _impl_.startingloadout_ = nullptr; +} +inline const ::rtech::liveapi::LoadoutConfiguration& MatchSetup::_internal_startingloadout() const { + const ::rtech::liveapi::LoadoutConfiguration* p = _impl_.startingloadout_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_LoadoutConfiguration_default_instance_); +} +inline const ::rtech::liveapi::LoadoutConfiguration& MatchSetup::startingloadout() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchSetup.startingLoadout) + return _internal_startingloadout(); +} +inline void MatchSetup::unsafe_arena_set_allocated_startingloadout( + ::rtech::liveapi::LoadoutConfiguration* startingloadout) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.startingloadout_); + } + _impl_.startingloadout_ = startingloadout; + if (startingloadout) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.MatchSetup.startingLoadout) +} +inline ::rtech::liveapi::LoadoutConfiguration* MatchSetup::release_startingloadout() { + + ::rtech::liveapi::LoadoutConfiguration* temp = _impl_.startingloadout_; + _impl_.startingloadout_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::LoadoutConfiguration* MatchSetup::unsafe_arena_release_startingloadout() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchSetup.startingLoadout) + + ::rtech::liveapi::LoadoutConfiguration* temp = _impl_.startingloadout_; + _impl_.startingloadout_ = nullptr; + return temp; +} +inline ::rtech::liveapi::LoadoutConfiguration* MatchSetup::_internal_mutable_startingloadout() { + + if (_impl_.startingloadout_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::LoadoutConfiguration>(GetArenaForAllocation()); + _impl_.startingloadout_ = p; + } + return _impl_.startingloadout_; +} +inline ::rtech::liveapi::LoadoutConfiguration* MatchSetup::mutable_startingloadout() { + ::rtech::liveapi::LoadoutConfiguration* _msg = _internal_mutable_startingloadout(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchSetup.startingLoadout) + return _msg; +} +inline void MatchSetup::set_allocated_startingloadout(::rtech::liveapi::LoadoutConfiguration* startingloadout) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.startingloadout_; + } + if (startingloadout) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(startingloadout); + if (message_arena != submessage_arena) { + startingloadout = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, startingloadout, submessage_arena); + } + + } else { + + } + _impl_.startingloadout_ = startingloadout; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchSetup.startingLoadout) +} + +// ------------------------------------------------------------------- + +// GameStateChanged + +// uint64 timestamp = 1; +inline void GameStateChanged::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t GameStateChanged::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t GameStateChanged::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GameStateChanged.timestamp) + return _internal_timestamp(); +} +inline void GameStateChanged::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void GameStateChanged::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.GameStateChanged.timestamp) +} + +// string category = 2; +inline void GameStateChanged::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& GameStateChanged::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GameStateChanged.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GameStateChanged::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.GameStateChanged.category) +} +inline std::string* GameStateChanged::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.GameStateChanged.category) + return _s; +} +inline const std::string& GameStateChanged::_internal_category() const { + return _impl_.category_.Get(); +} +inline void GameStateChanged::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* GameStateChanged::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* GameStateChanged::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.GameStateChanged.category) + return _impl_.category_.Release(); +} +inline void GameStateChanged::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.GameStateChanged.category) +} + +// string state = 3; +inline void GameStateChanged::clear_state() { + _impl_.state_.ClearToEmpty(); +} +inline const std::string& GameStateChanged::state() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GameStateChanged.state) + return _internal_state(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GameStateChanged::set_state(ArgT0&& arg0, ArgT... args) { + + _impl_.state_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.GameStateChanged.state) +} +inline std::string* GameStateChanged::mutable_state() { + std::string* _s = _internal_mutable_state(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.GameStateChanged.state) + return _s; +} +inline const std::string& GameStateChanged::_internal_state() const { + return _impl_.state_.Get(); +} +inline void GameStateChanged::_internal_set_state(const std::string& value) { + + _impl_.state_.Set(value, GetArenaForAllocation()); +} +inline std::string* GameStateChanged::_internal_mutable_state() { + + return _impl_.state_.Mutable(GetArenaForAllocation()); +} +inline std::string* GameStateChanged::release_state() { + // @@protoc_insertion_point(field_release:rtech.liveapi.GameStateChanged.state) + return _impl_.state_.Release(); +} +inline void GameStateChanged::set_allocated_state(std::string* state) { + if (state != nullptr) { + + } else { + + } + _impl_.state_.SetAllocated(state, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.state_.IsDefault()) { + _impl_.state_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.GameStateChanged.state) +} + +// ------------------------------------------------------------------- + +// CharacterSelected + +// uint64 timestamp = 1; +inline void CharacterSelected::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t CharacterSelected::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t CharacterSelected::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CharacterSelected.timestamp) + return _internal_timestamp(); +} +inline void CharacterSelected::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void CharacterSelected::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CharacterSelected.timestamp) +} + +// string category = 2; +inline void CharacterSelected::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& CharacterSelected::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CharacterSelected.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CharacterSelected::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CharacterSelected.category) +} +inline std::string* CharacterSelected::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CharacterSelected.category) + return _s; +} +inline const std::string& CharacterSelected::_internal_category() const { + return _impl_.category_.Get(); +} +inline void CharacterSelected::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* CharacterSelected::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* CharacterSelected::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CharacterSelected.category) + return _impl_.category_.Release(); +} +inline void CharacterSelected::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CharacterSelected.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool CharacterSelected::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool CharacterSelected::has_player() const { + return _internal_has_player(); +} +inline void CharacterSelected::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& CharacterSelected::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& CharacterSelected::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CharacterSelected.player) + return _internal_player(); +} +inline void CharacterSelected::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.CharacterSelected.player) +} +inline ::rtech::liveapi::Player* CharacterSelected::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* CharacterSelected::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CharacterSelected.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* CharacterSelected::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* CharacterSelected::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CharacterSelected.player) + return _msg; +} +inline void CharacterSelected::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CharacterSelected.player) +} + +// ------------------------------------------------------------------- + +// MatchStateEnd + +// uint64 timestamp = 1; +inline void MatchStateEnd::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t MatchStateEnd::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t MatchStateEnd::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchStateEnd.timestamp) + return _internal_timestamp(); +} +inline void MatchStateEnd::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void MatchStateEnd::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchStateEnd.timestamp) +} + +// string category = 2; +inline void MatchStateEnd::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& MatchStateEnd::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchStateEnd.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MatchStateEnd::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchStateEnd.category) +} +inline std::string* MatchStateEnd::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchStateEnd.category) + return _s; +} +inline const std::string& MatchStateEnd::_internal_category() const { + return _impl_.category_.Get(); +} +inline void MatchStateEnd::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* MatchStateEnd::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* MatchStateEnd::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchStateEnd.category) + return _impl_.category_.Release(); +} +inline void MatchStateEnd::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchStateEnd.category) +} + +// string state = 3; +inline void MatchStateEnd::clear_state() { + _impl_.state_.ClearToEmpty(); +} +inline const std::string& MatchStateEnd::state() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchStateEnd.state) + return _internal_state(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void MatchStateEnd::set_state(ArgT0&& arg0, ArgT... args) { + + _impl_.state_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.MatchStateEnd.state) +} +inline std::string* MatchStateEnd::mutable_state() { + std::string* _s = _internal_mutable_state(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchStateEnd.state) + return _s; +} +inline const std::string& MatchStateEnd::_internal_state() const { + return _impl_.state_.Get(); +} +inline void MatchStateEnd::_internal_set_state(const std::string& value) { + + _impl_.state_.Set(value, GetArenaForAllocation()); +} +inline std::string* MatchStateEnd::_internal_mutable_state() { + + return _impl_.state_.Mutable(GetArenaForAllocation()); +} +inline std::string* MatchStateEnd::release_state() { + // @@protoc_insertion_point(field_release:rtech.liveapi.MatchStateEnd.state) + return _impl_.state_.Release(); +} +inline void MatchStateEnd::set_allocated_state(std::string* state) { + if (state != nullptr) { + + } else { + + } + _impl_.state_.SetAllocated(state, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.state_.IsDefault()) { + _impl_.state_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.MatchStateEnd.state) +} + +// repeated .rtech.liveapi.Player winners = 4; +inline int MatchStateEnd::_internal_winners_size() const { + return _impl_.winners_.size(); +} +inline int MatchStateEnd::winners_size() const { + return _internal_winners_size(); +} +inline void MatchStateEnd::clear_winners() { + _impl_.winners_.Clear(); +} +inline ::rtech::liveapi::Player* MatchStateEnd::mutable_winners(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.MatchStateEnd.winners) + return _impl_.winners_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >* +MatchStateEnd::mutable_winners() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.MatchStateEnd.winners) + return &_impl_.winners_; +} +inline const ::rtech::liveapi::Player& MatchStateEnd::_internal_winners(int index) const { + return _impl_.winners_.Get(index); +} +inline const ::rtech::liveapi::Player& MatchStateEnd::winners(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.MatchStateEnd.winners) + return _internal_winners(index); +} +inline ::rtech::liveapi::Player* MatchStateEnd::_internal_add_winners() { + return _impl_.winners_.Add(); +} +inline ::rtech::liveapi::Player* MatchStateEnd::add_winners() { + ::rtech::liveapi::Player* _add = _internal_add_winners(); + // @@protoc_insertion_point(field_add:rtech.liveapi.MatchStateEnd.winners) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >& +MatchStateEnd::winners() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.MatchStateEnd.winners) + return _impl_.winners_; +} + +// ------------------------------------------------------------------- + +// RingStartClosing + +// uint64 timestamp = 1; +inline void RingStartClosing::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t RingStartClosing::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t RingStartClosing::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingStartClosing.timestamp) + return _internal_timestamp(); +} +inline void RingStartClosing::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void RingStartClosing::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingStartClosing.timestamp) +} + +// string category = 2; +inline void RingStartClosing::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& RingStartClosing::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingStartClosing.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void RingStartClosing::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingStartClosing.category) +} +inline std::string* RingStartClosing::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.RingStartClosing.category) + return _s; +} +inline const std::string& RingStartClosing::_internal_category() const { + return _impl_.category_.Get(); +} +inline void RingStartClosing::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* RingStartClosing::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* RingStartClosing::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.RingStartClosing.category) + return _impl_.category_.Release(); +} +inline void RingStartClosing::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.RingStartClosing.category) +} + +// uint32 stage = 3; +inline void RingStartClosing::clear_stage() { + _impl_.stage_ = 0u; +} +inline uint32_t RingStartClosing::_internal_stage() const { + return _impl_.stage_; +} +inline uint32_t RingStartClosing::stage() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingStartClosing.stage) + return _internal_stage(); +} +inline void RingStartClosing::_internal_set_stage(uint32_t value) { + + _impl_.stage_ = value; +} +inline void RingStartClosing::set_stage(uint32_t value) { + _internal_set_stage(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingStartClosing.stage) +} + +// .rtech.liveapi.Vector3 center = 4; +inline bool RingStartClosing::_internal_has_center() const { + return this != internal_default_instance() && _impl_.center_ != nullptr; +} +inline bool RingStartClosing::has_center() const { + return _internal_has_center(); +} +inline void RingStartClosing::clear_center() { + if (GetArenaForAllocation() == nullptr && _impl_.center_ != nullptr) { + delete _impl_.center_; + } + _impl_.center_ = nullptr; +} +inline const ::rtech::liveapi::Vector3& RingStartClosing::_internal_center() const { + const ::rtech::liveapi::Vector3* p = _impl_.center_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Vector3_default_instance_); +} +inline const ::rtech::liveapi::Vector3& RingStartClosing::center() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingStartClosing.center) + return _internal_center(); +} +inline void RingStartClosing::unsafe_arena_set_allocated_center( + ::rtech::liveapi::Vector3* center) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.center_); + } + _impl_.center_ = center; + if (center) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.RingStartClosing.center) +} +inline ::rtech::liveapi::Vector3* RingStartClosing::release_center() { + + ::rtech::liveapi::Vector3* temp = _impl_.center_; + _impl_.center_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Vector3* RingStartClosing::unsafe_arena_release_center() { + // @@protoc_insertion_point(field_release:rtech.liveapi.RingStartClosing.center) + + ::rtech::liveapi::Vector3* temp = _impl_.center_; + _impl_.center_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Vector3* RingStartClosing::_internal_mutable_center() { + + if (_impl_.center_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Vector3>(GetArenaForAllocation()); + _impl_.center_ = p; + } + return _impl_.center_; +} +inline ::rtech::liveapi::Vector3* RingStartClosing::mutable_center() { + ::rtech::liveapi::Vector3* _msg = _internal_mutable_center(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.RingStartClosing.center) + return _msg; +} +inline void RingStartClosing::set_allocated_center(::rtech::liveapi::Vector3* center) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.center_; + } + if (center) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(center); + if (message_arena != submessage_arena) { + center = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, center, submessage_arena); + } + + } else { + + } + _impl_.center_ = center; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.RingStartClosing.center) +} + +// float currentRadius = 5; +inline void RingStartClosing::clear_currentradius() { + _impl_.currentradius_ = 0; +} +inline float RingStartClosing::_internal_currentradius() const { + return _impl_.currentradius_; +} +inline float RingStartClosing::currentradius() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingStartClosing.currentRadius) + return _internal_currentradius(); +} +inline void RingStartClosing::_internal_set_currentradius(float value) { + + _impl_.currentradius_ = value; +} +inline void RingStartClosing::set_currentradius(float value) { + _internal_set_currentradius(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingStartClosing.currentRadius) +} + +// float endRadius = 6; +inline void RingStartClosing::clear_endradius() { + _impl_.endradius_ = 0; +} +inline float RingStartClosing::_internal_endradius() const { + return _impl_.endradius_; +} +inline float RingStartClosing::endradius() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingStartClosing.endRadius) + return _internal_endradius(); +} +inline void RingStartClosing::_internal_set_endradius(float value) { + + _impl_.endradius_ = value; +} +inline void RingStartClosing::set_endradius(float value) { + _internal_set_endradius(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingStartClosing.endRadius) +} + +// float shrinkDuration = 7; +inline void RingStartClosing::clear_shrinkduration() { + _impl_.shrinkduration_ = 0; +} +inline float RingStartClosing::_internal_shrinkduration() const { + return _impl_.shrinkduration_; +} +inline float RingStartClosing::shrinkduration() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingStartClosing.shrinkDuration) + return _internal_shrinkduration(); +} +inline void RingStartClosing::_internal_set_shrinkduration(float value) { + + _impl_.shrinkduration_ = value; +} +inline void RingStartClosing::set_shrinkduration(float value) { + _internal_set_shrinkduration(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingStartClosing.shrinkDuration) +} + +// ------------------------------------------------------------------- + +// RingFinishedClosing + +// uint64 timestamp = 1; +inline void RingFinishedClosing::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t RingFinishedClosing::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t RingFinishedClosing::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingFinishedClosing.timestamp) + return _internal_timestamp(); +} +inline void RingFinishedClosing::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void RingFinishedClosing::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingFinishedClosing.timestamp) +} + +// string category = 2; +inline void RingFinishedClosing::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& RingFinishedClosing::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingFinishedClosing.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void RingFinishedClosing::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingFinishedClosing.category) +} +inline std::string* RingFinishedClosing::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.RingFinishedClosing.category) + return _s; +} +inline const std::string& RingFinishedClosing::_internal_category() const { + return _impl_.category_.Get(); +} +inline void RingFinishedClosing::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* RingFinishedClosing::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* RingFinishedClosing::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.RingFinishedClosing.category) + return _impl_.category_.Release(); +} +inline void RingFinishedClosing::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.RingFinishedClosing.category) +} + +// uint32 stage = 3; +inline void RingFinishedClosing::clear_stage() { + _impl_.stage_ = 0u; +} +inline uint32_t RingFinishedClosing::_internal_stage() const { + return _impl_.stage_; +} +inline uint32_t RingFinishedClosing::stage() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingFinishedClosing.stage) + return _internal_stage(); +} +inline void RingFinishedClosing::_internal_set_stage(uint32_t value) { + + _impl_.stage_ = value; +} +inline void RingFinishedClosing::set_stage(uint32_t value) { + _internal_set_stage(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingFinishedClosing.stage) +} + +// .rtech.liveapi.Vector3 center = 4; +inline bool RingFinishedClosing::_internal_has_center() const { + return this != internal_default_instance() && _impl_.center_ != nullptr; +} +inline bool RingFinishedClosing::has_center() const { + return _internal_has_center(); +} +inline void RingFinishedClosing::clear_center() { + if (GetArenaForAllocation() == nullptr && _impl_.center_ != nullptr) { + delete _impl_.center_; + } + _impl_.center_ = nullptr; +} +inline const ::rtech::liveapi::Vector3& RingFinishedClosing::_internal_center() const { + const ::rtech::liveapi::Vector3* p = _impl_.center_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Vector3_default_instance_); +} +inline const ::rtech::liveapi::Vector3& RingFinishedClosing::center() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingFinishedClosing.center) + return _internal_center(); +} +inline void RingFinishedClosing::unsafe_arena_set_allocated_center( + ::rtech::liveapi::Vector3* center) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.center_); + } + _impl_.center_ = center; + if (center) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.RingFinishedClosing.center) +} +inline ::rtech::liveapi::Vector3* RingFinishedClosing::release_center() { + + ::rtech::liveapi::Vector3* temp = _impl_.center_; + _impl_.center_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Vector3* RingFinishedClosing::unsafe_arena_release_center() { + // @@protoc_insertion_point(field_release:rtech.liveapi.RingFinishedClosing.center) + + ::rtech::liveapi::Vector3* temp = _impl_.center_; + _impl_.center_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Vector3* RingFinishedClosing::_internal_mutable_center() { + + if (_impl_.center_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Vector3>(GetArenaForAllocation()); + _impl_.center_ = p; + } + return _impl_.center_; +} +inline ::rtech::liveapi::Vector3* RingFinishedClosing::mutable_center() { + ::rtech::liveapi::Vector3* _msg = _internal_mutable_center(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.RingFinishedClosing.center) + return _msg; +} +inline void RingFinishedClosing::set_allocated_center(::rtech::liveapi::Vector3* center) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.center_; + } + if (center) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(center); + if (message_arena != submessage_arena) { + center = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, center, submessage_arena); + } + + } else { + + } + _impl_.center_ = center; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.RingFinishedClosing.center) +} + +// float currentRadius = 5; +inline void RingFinishedClosing::clear_currentradius() { + _impl_.currentradius_ = 0; +} +inline float RingFinishedClosing::_internal_currentradius() const { + return _impl_.currentradius_; +} +inline float RingFinishedClosing::currentradius() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingFinishedClosing.currentRadius) + return _internal_currentradius(); +} +inline void RingFinishedClosing::_internal_set_currentradius(float value) { + + _impl_.currentradius_ = value; +} +inline void RingFinishedClosing::set_currentradius(float value) { + _internal_set_currentradius(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingFinishedClosing.currentRadius) +} + +// float shrinkDuration = 7; +inline void RingFinishedClosing::clear_shrinkduration() { + _impl_.shrinkduration_ = 0; +} +inline float RingFinishedClosing::_internal_shrinkduration() const { + return _impl_.shrinkduration_; +} +inline float RingFinishedClosing::shrinkduration() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RingFinishedClosing.shrinkDuration) + return _internal_shrinkduration(); +} +inline void RingFinishedClosing::_internal_set_shrinkduration(float value) { + + _impl_.shrinkduration_ = value; +} +inline void RingFinishedClosing::set_shrinkduration(float value) { + _internal_set_shrinkduration(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RingFinishedClosing.shrinkDuration) +} + +// ------------------------------------------------------------------- + +// PlayerConnected + +// uint64 timestamp = 1; +inline void PlayerConnected::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerConnected::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerConnected::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerConnected.timestamp) + return _internal_timestamp(); +} +inline void PlayerConnected::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerConnected::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerConnected.timestamp) +} + +// string category = 2; +inline void PlayerConnected::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerConnected::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerConnected.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerConnected::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerConnected.category) +} +inline std::string* PlayerConnected::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerConnected.category) + return _s; +} +inline const std::string& PlayerConnected::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerConnected::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerConnected::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerConnected::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerConnected.category) + return _impl_.category_.Release(); +} +inline void PlayerConnected::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerConnected.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool PlayerConnected::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool PlayerConnected::has_player() const { + return _internal_has_player(); +} +inline void PlayerConnected::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerConnected::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerConnected::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerConnected.player) + return _internal_player(); +} +inline void PlayerConnected::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerConnected.player) +} +inline ::rtech::liveapi::Player* PlayerConnected::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerConnected::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerConnected.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerConnected::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* PlayerConnected::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerConnected.player) + return _msg; +} +inline void PlayerConnected::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerConnected.player) +} + +// ------------------------------------------------------------------- + +// PlayerDisconnected + +// uint64 timestamp = 1; +inline void PlayerDisconnected::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerDisconnected::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerDisconnected::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDisconnected.timestamp) + return _internal_timestamp(); +} +inline void PlayerDisconnected::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerDisconnected::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDisconnected.timestamp) +} + +// string category = 2; +inline void PlayerDisconnected::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerDisconnected::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDisconnected.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerDisconnected::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDisconnected.category) +} +inline std::string* PlayerDisconnected::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDisconnected.category) + return _s; +} +inline const std::string& PlayerDisconnected::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerDisconnected::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerDisconnected::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerDisconnected::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDisconnected.category) + return _impl_.category_.Release(); +} +inline void PlayerDisconnected::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDisconnected.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool PlayerDisconnected::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool PlayerDisconnected::has_player() const { + return _internal_has_player(); +} +inline void PlayerDisconnected::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerDisconnected::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerDisconnected::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDisconnected.player) + return _internal_player(); +} +inline void PlayerDisconnected::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerDisconnected.player) +} +inline ::rtech::liveapi::Player* PlayerDisconnected::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerDisconnected::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDisconnected.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerDisconnected::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* PlayerDisconnected::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDisconnected.player) + return _msg; +} +inline void PlayerDisconnected::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDisconnected.player) +} + +// bool canReconnect = 4; +inline void PlayerDisconnected::clear_canreconnect() { + _impl_.canreconnect_ = false; +} +inline bool PlayerDisconnected::_internal_canreconnect() const { + return _impl_.canreconnect_; +} +inline bool PlayerDisconnected::canreconnect() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDisconnected.canReconnect) + return _internal_canreconnect(); +} +inline void PlayerDisconnected::_internal_set_canreconnect(bool value) { + + _impl_.canreconnect_ = value; +} +inline void PlayerDisconnected::set_canreconnect(bool value) { + _internal_set_canreconnect(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDisconnected.canReconnect) +} + +// bool isAlive = 5; +inline void PlayerDisconnected::clear_isalive() { + _impl_.isalive_ = false; +} +inline bool PlayerDisconnected::_internal_isalive() const { + return _impl_.isalive_; +} +inline bool PlayerDisconnected::isalive() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDisconnected.isAlive) + return _internal_isalive(); +} +inline void PlayerDisconnected::_internal_set_isalive(bool value) { + + _impl_.isalive_ = value; +} +inline void PlayerDisconnected::set_isalive(bool value) { + _internal_set_isalive(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDisconnected.isAlive) +} + +// ------------------------------------------------------------------- + +// PlayerStatChanged + +// uint64 timestamp = 1; +inline void PlayerStatChanged::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerStatChanged::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerStatChanged::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerStatChanged.timestamp) + return _internal_timestamp(); +} +inline void PlayerStatChanged::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerStatChanged::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerStatChanged.timestamp) +} + +// string category = 2; +inline void PlayerStatChanged::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerStatChanged::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerStatChanged.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerStatChanged::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerStatChanged.category) +} +inline std::string* PlayerStatChanged::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerStatChanged.category) + return _s; +} +inline const std::string& PlayerStatChanged::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerStatChanged::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerStatChanged::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerStatChanged::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerStatChanged.category) + return _impl_.category_.Release(); +} +inline void PlayerStatChanged::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerStatChanged.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool PlayerStatChanged::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool PlayerStatChanged::has_player() const { + return _internal_has_player(); +} +inline void PlayerStatChanged::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerStatChanged::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerStatChanged::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerStatChanged.player) + return _internal_player(); +} +inline void PlayerStatChanged::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerStatChanged.player) +} +inline ::rtech::liveapi::Player* PlayerStatChanged::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerStatChanged::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerStatChanged.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerStatChanged::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* PlayerStatChanged::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerStatChanged.player) + return _msg; +} +inline void PlayerStatChanged::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerStatChanged.player) +} + +// string statName = 4; +inline void PlayerStatChanged::clear_statname() { + _impl_.statname_.ClearToEmpty(); +} +inline const std::string& PlayerStatChanged::statname() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerStatChanged.statName) + return _internal_statname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerStatChanged::set_statname(ArgT0&& arg0, ArgT... args) { + + _impl_.statname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerStatChanged.statName) +} +inline std::string* PlayerStatChanged::mutable_statname() { + std::string* _s = _internal_mutable_statname(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerStatChanged.statName) + return _s; +} +inline const std::string& PlayerStatChanged::_internal_statname() const { + return _impl_.statname_.Get(); +} +inline void PlayerStatChanged::_internal_set_statname(const std::string& value) { + + _impl_.statname_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerStatChanged::_internal_mutable_statname() { + + return _impl_.statname_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerStatChanged::release_statname() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerStatChanged.statName) + return _impl_.statname_.Release(); +} +inline void PlayerStatChanged::set_allocated_statname(std::string* statname) { + if (statname != nullptr) { + + } else { + + } + _impl_.statname_.SetAllocated(statname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.statname_.IsDefault()) { + _impl_.statname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerStatChanged.statName) +} + +// uint32 intValue = 5; +inline bool PlayerStatChanged::_internal_has_intvalue() const { + return newValue_case() == kIntValue; +} +inline bool PlayerStatChanged::has_intvalue() const { + return _internal_has_intvalue(); +} +inline void PlayerStatChanged::set_has_intvalue() { + _impl_._oneof_case_[0] = kIntValue; +} +inline void PlayerStatChanged::clear_intvalue() { + if (_internal_has_intvalue()) { + _impl_.newValue_.intvalue_ = 0u; + clear_has_newValue(); + } +} +inline uint32_t PlayerStatChanged::_internal_intvalue() const { + if (_internal_has_intvalue()) { + return _impl_.newValue_.intvalue_; + } + return 0u; +} +inline void PlayerStatChanged::_internal_set_intvalue(uint32_t value) { + if (!_internal_has_intvalue()) { + clear_newValue(); + set_has_intvalue(); + } + _impl_.newValue_.intvalue_ = value; +} +inline uint32_t PlayerStatChanged::intvalue() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerStatChanged.intValue) + return _internal_intvalue(); +} +inline void PlayerStatChanged::set_intvalue(uint32_t value) { + _internal_set_intvalue(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerStatChanged.intValue) +} + +// float floatValue = 6; +inline bool PlayerStatChanged::_internal_has_floatvalue() const { + return newValue_case() == kFloatValue; +} +inline bool PlayerStatChanged::has_floatvalue() const { + return _internal_has_floatvalue(); +} +inline void PlayerStatChanged::set_has_floatvalue() { + _impl_._oneof_case_[0] = kFloatValue; +} +inline void PlayerStatChanged::clear_floatvalue() { + if (_internal_has_floatvalue()) { + _impl_.newValue_.floatvalue_ = 0; + clear_has_newValue(); + } +} +inline float PlayerStatChanged::_internal_floatvalue() const { + if (_internal_has_floatvalue()) { + return _impl_.newValue_.floatvalue_; + } + return 0; +} +inline void PlayerStatChanged::_internal_set_floatvalue(float value) { + if (!_internal_has_floatvalue()) { + clear_newValue(); + set_has_floatvalue(); + } + _impl_.newValue_.floatvalue_ = value; +} +inline float PlayerStatChanged::floatvalue() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerStatChanged.floatValue) + return _internal_floatvalue(); +} +inline void PlayerStatChanged::set_floatvalue(float value) { + _internal_set_floatvalue(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerStatChanged.floatValue) +} + +// bool boolValue = 7; +inline bool PlayerStatChanged::_internal_has_boolvalue() const { + return newValue_case() == kBoolValue; +} +inline bool PlayerStatChanged::has_boolvalue() const { + return _internal_has_boolvalue(); +} +inline void PlayerStatChanged::set_has_boolvalue() { + _impl_._oneof_case_[0] = kBoolValue; +} +inline void PlayerStatChanged::clear_boolvalue() { + if (_internal_has_boolvalue()) { + _impl_.newValue_.boolvalue_ = false; + clear_has_newValue(); + } +} +inline bool PlayerStatChanged::_internal_boolvalue() const { + if (_internal_has_boolvalue()) { + return _impl_.newValue_.boolvalue_; + } + return false; +} +inline void PlayerStatChanged::_internal_set_boolvalue(bool value) { + if (!_internal_has_boolvalue()) { + clear_newValue(); + set_has_boolvalue(); + } + _impl_.newValue_.boolvalue_ = value; +} +inline bool PlayerStatChanged::boolvalue() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerStatChanged.boolValue) + return _internal_boolvalue(); +} +inline void PlayerStatChanged::set_boolvalue(bool value) { + _internal_set_boolvalue(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerStatChanged.boolValue) +} + +inline bool PlayerStatChanged::has_newValue() const { + return newValue_case() != NEWVALUE_NOT_SET; +} +inline void PlayerStatChanged::clear_has_newValue() { + _impl_._oneof_case_[0] = NEWVALUE_NOT_SET; +} +inline PlayerStatChanged::NewValueCase PlayerStatChanged::newValue_case() const { + return PlayerStatChanged::NewValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// PlayerUpgradeTierChanged + +// uint64 timestamp = 1; +inline void PlayerUpgradeTierChanged::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerUpgradeTierChanged::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerUpgradeTierChanged::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerUpgradeTierChanged.timestamp) + return _internal_timestamp(); +} +inline void PlayerUpgradeTierChanged::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerUpgradeTierChanged::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerUpgradeTierChanged.timestamp) +} + +// string category = 2; +inline void PlayerUpgradeTierChanged::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerUpgradeTierChanged::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerUpgradeTierChanged.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerUpgradeTierChanged::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerUpgradeTierChanged.category) +} +inline std::string* PlayerUpgradeTierChanged::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerUpgradeTierChanged.category) + return _s; +} +inline const std::string& PlayerUpgradeTierChanged::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerUpgradeTierChanged::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerUpgradeTierChanged::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerUpgradeTierChanged::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerUpgradeTierChanged.category) + return _impl_.category_.Release(); +} +inline void PlayerUpgradeTierChanged::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerUpgradeTierChanged.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool PlayerUpgradeTierChanged::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool PlayerUpgradeTierChanged::has_player() const { + return _internal_has_player(); +} +inline void PlayerUpgradeTierChanged::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerUpgradeTierChanged::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerUpgradeTierChanged::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerUpgradeTierChanged.player) + return _internal_player(); +} +inline void PlayerUpgradeTierChanged::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerUpgradeTierChanged.player) +} +inline ::rtech::liveapi::Player* PlayerUpgradeTierChanged::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerUpgradeTierChanged::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerUpgradeTierChanged.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerUpgradeTierChanged::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* PlayerUpgradeTierChanged::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerUpgradeTierChanged.player) + return _msg; +} +inline void PlayerUpgradeTierChanged::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerUpgradeTierChanged.player) +} + +// int32 level = 4; +inline void PlayerUpgradeTierChanged::clear_level() { + _impl_.level_ = 0; +} +inline int32_t PlayerUpgradeTierChanged::_internal_level() const { + return _impl_.level_; +} +inline int32_t PlayerUpgradeTierChanged::level() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerUpgradeTierChanged.level) + return _internal_level(); +} +inline void PlayerUpgradeTierChanged::_internal_set_level(int32_t value) { + + _impl_.level_ = value; +} +inline void PlayerUpgradeTierChanged::set_level(int32_t value) { + _internal_set_level(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerUpgradeTierChanged.level) +} + +// ------------------------------------------------------------------- + +// PlayerDamaged + +// uint64 timestamp = 1; +inline void PlayerDamaged::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerDamaged::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerDamaged::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDamaged.timestamp) + return _internal_timestamp(); +} +inline void PlayerDamaged::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerDamaged::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDamaged.timestamp) +} + +// string category = 2; +inline void PlayerDamaged::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerDamaged::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDamaged.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerDamaged::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDamaged.category) +} +inline std::string* PlayerDamaged::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDamaged.category) + return _s; +} +inline const std::string& PlayerDamaged::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerDamaged::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerDamaged::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerDamaged::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDamaged.category) + return _impl_.category_.Release(); +} +inline void PlayerDamaged::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDamaged.category) +} + +// .rtech.liveapi.Player attacker = 3; +inline bool PlayerDamaged::_internal_has_attacker() const { + return this != internal_default_instance() && _impl_.attacker_ != nullptr; +} +inline bool PlayerDamaged::has_attacker() const { + return _internal_has_attacker(); +} +inline void PlayerDamaged::clear_attacker() { + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerDamaged::_internal_attacker() const { + const ::rtech::liveapi::Player* p = _impl_.attacker_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerDamaged::attacker() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDamaged.attacker) + return _internal_attacker(); +} +inline void PlayerDamaged::unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attacker_); + } + _impl_.attacker_ = attacker; + if (attacker) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerDamaged.attacker) +} +inline ::rtech::liveapi::Player* PlayerDamaged::release_attacker() { + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerDamaged::unsafe_arena_release_attacker() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDamaged.attacker) + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerDamaged::_internal_mutable_attacker() { + + if (_impl_.attacker_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.attacker_ = p; + } + return _impl_.attacker_; +} +inline ::rtech::liveapi::Player* PlayerDamaged::mutable_attacker() { + ::rtech::liveapi::Player* _msg = _internal_mutable_attacker(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDamaged.attacker) + return _msg; +} +inline void PlayerDamaged::set_allocated_attacker(::rtech::liveapi::Player* attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.attacker_; + } + if (attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attacker); + if (message_arena != submessage_arena) { + attacker = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, attacker, submessage_arena); + } + + } else { + + } + _impl_.attacker_ = attacker; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDamaged.attacker) +} + +// .rtech.liveapi.Player victim = 4; +inline bool PlayerDamaged::_internal_has_victim() const { + return this != internal_default_instance() && _impl_.victim_ != nullptr; +} +inline bool PlayerDamaged::has_victim() const { + return _internal_has_victim(); +} +inline void PlayerDamaged::clear_victim() { + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerDamaged::_internal_victim() const { + const ::rtech::liveapi::Player* p = _impl_.victim_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerDamaged::victim() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDamaged.victim) + return _internal_victim(); +} +inline void PlayerDamaged::unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_); + } + _impl_.victim_ = victim; + if (victim) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerDamaged.victim) +} +inline ::rtech::liveapi::Player* PlayerDamaged::release_victim() { + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerDamaged::unsafe_arena_release_victim() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDamaged.victim) + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerDamaged::_internal_mutable_victim() { + + if (_impl_.victim_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.victim_ = p; + } + return _impl_.victim_; +} +inline ::rtech::liveapi::Player* PlayerDamaged::mutable_victim() { + ::rtech::liveapi::Player* _msg = _internal_mutable_victim(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDamaged.victim) + return _msg; +} +inline void PlayerDamaged::set_allocated_victim(::rtech::liveapi::Player* victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.victim_; + } + if (victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(victim); + if (message_arena != submessage_arena) { + victim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, victim, submessage_arena); + } + + } else { + + } + _impl_.victim_ = victim; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDamaged.victim) +} + +// string weapon = 5; +inline void PlayerDamaged::clear_weapon() { + _impl_.weapon_.ClearToEmpty(); +} +inline const std::string& PlayerDamaged::weapon() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDamaged.weapon) + return _internal_weapon(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerDamaged::set_weapon(ArgT0&& arg0, ArgT... args) { + + _impl_.weapon_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDamaged.weapon) +} +inline std::string* PlayerDamaged::mutable_weapon() { + std::string* _s = _internal_mutable_weapon(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDamaged.weapon) + return _s; +} +inline const std::string& PlayerDamaged::_internal_weapon() const { + return _impl_.weapon_.Get(); +} +inline void PlayerDamaged::_internal_set_weapon(const std::string& value) { + + _impl_.weapon_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerDamaged::_internal_mutable_weapon() { + + return _impl_.weapon_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerDamaged::release_weapon() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDamaged.weapon) + return _impl_.weapon_.Release(); +} +inline void PlayerDamaged::set_allocated_weapon(std::string* weapon) { + if (weapon != nullptr) { + + } else { + + } + _impl_.weapon_.SetAllocated(weapon, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.weapon_.IsDefault()) { + _impl_.weapon_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDamaged.weapon) +} + +// uint32 damageInflicted = 6; +inline void PlayerDamaged::clear_damageinflicted() { + _impl_.damageinflicted_ = 0u; +} +inline uint32_t PlayerDamaged::_internal_damageinflicted() const { + return _impl_.damageinflicted_; +} +inline uint32_t PlayerDamaged::damageinflicted() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDamaged.damageInflicted) + return _internal_damageinflicted(); +} +inline void PlayerDamaged::_internal_set_damageinflicted(uint32_t value) { + + _impl_.damageinflicted_ = value; +} +inline void PlayerDamaged::set_damageinflicted(uint32_t value) { + _internal_set_damageinflicted(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDamaged.damageInflicted) +} + +// ------------------------------------------------------------------- + +// PlayerKilled + +// uint64 timestamp = 1; +inline void PlayerKilled::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerKilled::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerKilled::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerKilled.timestamp) + return _internal_timestamp(); +} +inline void PlayerKilled::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerKilled::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerKilled.timestamp) +} + +// string category = 2; +inline void PlayerKilled::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerKilled::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerKilled.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerKilled::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerKilled.category) +} +inline std::string* PlayerKilled::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerKilled.category) + return _s; +} +inline const std::string& PlayerKilled::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerKilled::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerKilled::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerKilled::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerKilled.category) + return _impl_.category_.Release(); +} +inline void PlayerKilled::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerKilled.category) +} + +// .rtech.liveapi.Player attacker = 3; +inline bool PlayerKilled::_internal_has_attacker() const { + return this != internal_default_instance() && _impl_.attacker_ != nullptr; +} +inline bool PlayerKilled::has_attacker() const { + return _internal_has_attacker(); +} +inline void PlayerKilled::clear_attacker() { + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerKilled::_internal_attacker() const { + const ::rtech::liveapi::Player* p = _impl_.attacker_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerKilled::attacker() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerKilled.attacker) + return _internal_attacker(); +} +inline void PlayerKilled::unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attacker_); + } + _impl_.attacker_ = attacker; + if (attacker) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerKilled.attacker) +} +inline ::rtech::liveapi::Player* PlayerKilled::release_attacker() { + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerKilled::unsafe_arena_release_attacker() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerKilled.attacker) + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerKilled::_internal_mutable_attacker() { + + if (_impl_.attacker_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.attacker_ = p; + } + return _impl_.attacker_; +} +inline ::rtech::liveapi::Player* PlayerKilled::mutable_attacker() { + ::rtech::liveapi::Player* _msg = _internal_mutable_attacker(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerKilled.attacker) + return _msg; +} +inline void PlayerKilled::set_allocated_attacker(::rtech::liveapi::Player* attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.attacker_; + } + if (attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attacker); + if (message_arena != submessage_arena) { + attacker = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, attacker, submessage_arena); + } + + } else { + + } + _impl_.attacker_ = attacker; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerKilled.attacker) +} + +// .rtech.liveapi.Player victim = 4; +inline bool PlayerKilled::_internal_has_victim() const { + return this != internal_default_instance() && _impl_.victim_ != nullptr; +} +inline bool PlayerKilled::has_victim() const { + return _internal_has_victim(); +} +inline void PlayerKilled::clear_victim() { + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerKilled::_internal_victim() const { + const ::rtech::liveapi::Player* p = _impl_.victim_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerKilled::victim() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerKilled.victim) + return _internal_victim(); +} +inline void PlayerKilled::unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_); + } + _impl_.victim_ = victim; + if (victim) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerKilled.victim) +} +inline ::rtech::liveapi::Player* PlayerKilled::release_victim() { + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerKilled::unsafe_arena_release_victim() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerKilled.victim) + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerKilled::_internal_mutable_victim() { + + if (_impl_.victim_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.victim_ = p; + } + return _impl_.victim_; +} +inline ::rtech::liveapi::Player* PlayerKilled::mutable_victim() { + ::rtech::liveapi::Player* _msg = _internal_mutable_victim(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerKilled.victim) + return _msg; +} +inline void PlayerKilled::set_allocated_victim(::rtech::liveapi::Player* victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.victim_; + } + if (victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(victim); + if (message_arena != submessage_arena) { + victim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, victim, submessage_arena); + } + + } else { + + } + _impl_.victim_ = victim; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerKilled.victim) +} + +// string weapon = 6; +inline void PlayerKilled::clear_weapon() { + _impl_.weapon_.ClearToEmpty(); +} +inline const std::string& PlayerKilled::weapon() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerKilled.weapon) + return _internal_weapon(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerKilled::set_weapon(ArgT0&& arg0, ArgT... args) { + + _impl_.weapon_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerKilled.weapon) +} +inline std::string* PlayerKilled::mutable_weapon() { + std::string* _s = _internal_mutable_weapon(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerKilled.weapon) + return _s; +} +inline const std::string& PlayerKilled::_internal_weapon() const { + return _impl_.weapon_.Get(); +} +inline void PlayerKilled::_internal_set_weapon(const std::string& value) { + + _impl_.weapon_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerKilled::_internal_mutable_weapon() { + + return _impl_.weapon_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerKilled::release_weapon() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerKilled.weapon) + return _impl_.weapon_.Release(); +} +inline void PlayerKilled::set_allocated_weapon(std::string* weapon) { + if (weapon != nullptr) { + + } else { + + } + _impl_.weapon_.SetAllocated(weapon, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.weapon_.IsDefault()) { + _impl_.weapon_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerKilled.weapon) +} + +// ------------------------------------------------------------------- + +// PlayerDowned + +// uint64 timestamp = 1; +inline void PlayerDowned::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerDowned::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerDowned::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDowned.timestamp) + return _internal_timestamp(); +} +inline void PlayerDowned::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerDowned::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDowned.timestamp) +} + +// string category = 2; +inline void PlayerDowned::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerDowned::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDowned.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerDowned::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDowned.category) +} +inline std::string* PlayerDowned::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDowned.category) + return _s; +} +inline const std::string& PlayerDowned::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerDowned::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerDowned::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerDowned::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDowned.category) + return _impl_.category_.Release(); +} +inline void PlayerDowned::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDowned.category) +} + +// .rtech.liveapi.Player attacker = 3; +inline bool PlayerDowned::_internal_has_attacker() const { + return this != internal_default_instance() && _impl_.attacker_ != nullptr; +} +inline bool PlayerDowned::has_attacker() const { + return _internal_has_attacker(); +} +inline void PlayerDowned::clear_attacker() { + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerDowned::_internal_attacker() const { + const ::rtech::liveapi::Player* p = _impl_.attacker_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerDowned::attacker() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDowned.attacker) + return _internal_attacker(); +} +inline void PlayerDowned::unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attacker_); + } + _impl_.attacker_ = attacker; + if (attacker) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerDowned.attacker) +} +inline ::rtech::liveapi::Player* PlayerDowned::release_attacker() { + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerDowned::unsafe_arena_release_attacker() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDowned.attacker) + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerDowned::_internal_mutable_attacker() { + + if (_impl_.attacker_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.attacker_ = p; + } + return _impl_.attacker_; +} +inline ::rtech::liveapi::Player* PlayerDowned::mutable_attacker() { + ::rtech::liveapi::Player* _msg = _internal_mutable_attacker(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDowned.attacker) + return _msg; +} +inline void PlayerDowned::set_allocated_attacker(::rtech::liveapi::Player* attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.attacker_; + } + if (attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attacker); + if (message_arena != submessage_arena) { + attacker = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, attacker, submessage_arena); + } + + } else { + + } + _impl_.attacker_ = attacker; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDowned.attacker) +} + +// .rtech.liveapi.Player victim = 4; +inline bool PlayerDowned::_internal_has_victim() const { + return this != internal_default_instance() && _impl_.victim_ != nullptr; +} +inline bool PlayerDowned::has_victim() const { + return _internal_has_victim(); +} +inline void PlayerDowned::clear_victim() { + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerDowned::_internal_victim() const { + const ::rtech::liveapi::Player* p = _impl_.victim_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerDowned::victim() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDowned.victim) + return _internal_victim(); +} +inline void PlayerDowned::unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_); + } + _impl_.victim_ = victim; + if (victim) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerDowned.victim) +} +inline ::rtech::liveapi::Player* PlayerDowned::release_victim() { + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerDowned::unsafe_arena_release_victim() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDowned.victim) + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerDowned::_internal_mutable_victim() { + + if (_impl_.victim_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.victim_ = p; + } + return _impl_.victim_; +} +inline ::rtech::liveapi::Player* PlayerDowned::mutable_victim() { + ::rtech::liveapi::Player* _msg = _internal_mutable_victim(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDowned.victim) + return _msg; +} +inline void PlayerDowned::set_allocated_victim(::rtech::liveapi::Player* victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.victim_; + } + if (victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(victim); + if (message_arena != submessage_arena) { + victim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, victim, submessage_arena); + } + + } else { + + } + _impl_.victim_ = victim; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDowned.victim) +} + +// string weapon = 5; +inline void PlayerDowned::clear_weapon() { + _impl_.weapon_.ClearToEmpty(); +} +inline const std::string& PlayerDowned::weapon() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerDowned.weapon) + return _internal_weapon(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerDowned::set_weapon(ArgT0&& arg0, ArgT... args) { + + _impl_.weapon_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerDowned.weapon) +} +inline std::string* PlayerDowned::mutable_weapon() { + std::string* _s = _internal_mutable_weapon(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerDowned.weapon) + return _s; +} +inline const std::string& PlayerDowned::_internal_weapon() const { + return _impl_.weapon_.Get(); +} +inline void PlayerDowned::_internal_set_weapon(const std::string& value) { + + _impl_.weapon_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerDowned::_internal_mutable_weapon() { + + return _impl_.weapon_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerDowned::release_weapon() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerDowned.weapon) + return _impl_.weapon_.Release(); +} +inline void PlayerDowned::set_allocated_weapon(std::string* weapon) { + if (weapon != nullptr) { + + } else { + + } + _impl_.weapon_.SetAllocated(weapon, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.weapon_.IsDefault()) { + _impl_.weapon_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerDowned.weapon) +} + +// ------------------------------------------------------------------- + +// PlayerAssist + +// uint64 timestamp = 1; +inline void PlayerAssist::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerAssist::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerAssist::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAssist.timestamp) + return _internal_timestamp(); +} +inline void PlayerAssist::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerAssist::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerAssist.timestamp) +} + +// string category = 2; +inline void PlayerAssist::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerAssist::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAssist.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerAssist::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerAssist.category) +} +inline std::string* PlayerAssist::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerAssist.category) + return _s; +} +inline const std::string& PlayerAssist::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerAssist::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerAssist::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerAssist::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerAssist.category) + return _impl_.category_.Release(); +} +inline void PlayerAssist::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerAssist.category) +} + +// .rtech.liveapi.Player assistant = 3; +inline bool PlayerAssist::_internal_has_assistant() const { + return this != internal_default_instance() && _impl_.assistant_ != nullptr; +} +inline bool PlayerAssist::has_assistant() const { + return _internal_has_assistant(); +} +inline void PlayerAssist::clear_assistant() { + if (GetArenaForAllocation() == nullptr && _impl_.assistant_ != nullptr) { + delete _impl_.assistant_; + } + _impl_.assistant_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerAssist::_internal_assistant() const { + const ::rtech::liveapi::Player* p = _impl_.assistant_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerAssist::assistant() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAssist.assistant) + return _internal_assistant(); +} +inline void PlayerAssist::unsafe_arena_set_allocated_assistant( + ::rtech::liveapi::Player* assistant) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.assistant_); + } + _impl_.assistant_ = assistant; + if (assistant) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerAssist.assistant) +} +inline ::rtech::liveapi::Player* PlayerAssist::release_assistant() { + + ::rtech::liveapi::Player* temp = _impl_.assistant_; + _impl_.assistant_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerAssist::unsafe_arena_release_assistant() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerAssist.assistant) + + ::rtech::liveapi::Player* temp = _impl_.assistant_; + _impl_.assistant_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerAssist::_internal_mutable_assistant() { + + if (_impl_.assistant_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.assistant_ = p; + } + return _impl_.assistant_; +} +inline ::rtech::liveapi::Player* PlayerAssist::mutable_assistant() { + ::rtech::liveapi::Player* _msg = _internal_mutable_assistant(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerAssist.assistant) + return _msg; +} +inline void PlayerAssist::set_allocated_assistant(::rtech::liveapi::Player* assistant) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.assistant_; + } + if (assistant) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(assistant); + if (message_arena != submessage_arena) { + assistant = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, assistant, submessage_arena); + } + + } else { + + } + _impl_.assistant_ = assistant; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerAssist.assistant) +} + +// .rtech.liveapi.Player victim = 4; +inline bool PlayerAssist::_internal_has_victim() const { + return this != internal_default_instance() && _impl_.victim_ != nullptr; +} +inline bool PlayerAssist::has_victim() const { + return _internal_has_victim(); +} +inline void PlayerAssist::clear_victim() { + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerAssist::_internal_victim() const { + const ::rtech::liveapi::Player* p = _impl_.victim_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerAssist::victim() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAssist.victim) + return _internal_victim(); +} +inline void PlayerAssist::unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_); + } + _impl_.victim_ = victim; + if (victim) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerAssist.victim) +} +inline ::rtech::liveapi::Player* PlayerAssist::release_victim() { + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerAssist::unsafe_arena_release_victim() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerAssist.victim) + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerAssist::_internal_mutable_victim() { + + if (_impl_.victim_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.victim_ = p; + } + return _impl_.victim_; +} +inline ::rtech::liveapi::Player* PlayerAssist::mutable_victim() { + ::rtech::liveapi::Player* _msg = _internal_mutable_victim(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerAssist.victim) + return _msg; +} +inline void PlayerAssist::set_allocated_victim(::rtech::liveapi::Player* victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.victim_; + } + if (victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(victim); + if (message_arena != submessage_arena) { + victim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, victim, submessage_arena); + } + + } else { + + } + _impl_.victim_ = victim; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerAssist.victim) +} + +// string weapon = 5; +inline void PlayerAssist::clear_weapon() { + _impl_.weapon_.ClearToEmpty(); +} +inline const std::string& PlayerAssist::weapon() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAssist.weapon) + return _internal_weapon(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerAssist::set_weapon(ArgT0&& arg0, ArgT... args) { + + _impl_.weapon_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerAssist.weapon) +} +inline std::string* PlayerAssist::mutable_weapon() { + std::string* _s = _internal_mutable_weapon(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerAssist.weapon) + return _s; +} +inline const std::string& PlayerAssist::_internal_weapon() const { + return _impl_.weapon_.Get(); +} +inline void PlayerAssist::_internal_set_weapon(const std::string& value) { + + _impl_.weapon_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerAssist::_internal_mutable_weapon() { + + return _impl_.weapon_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerAssist::release_weapon() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerAssist.weapon) + return _impl_.weapon_.Release(); +} +inline void PlayerAssist::set_allocated_weapon(std::string* weapon) { + if (weapon != nullptr) { + + } else { + + } + _impl_.weapon_.SetAllocated(weapon, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.weapon_.IsDefault()) { + _impl_.weapon_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerAssist.weapon) +} + +// ------------------------------------------------------------------- + +// SquadEliminated + +// uint64 timestamp = 1; +inline void SquadEliminated::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t SquadEliminated::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t SquadEliminated::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.SquadEliminated.timestamp) + return _internal_timestamp(); +} +inline void SquadEliminated::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void SquadEliminated::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.SquadEliminated.timestamp) +} + +// string category = 2; +inline void SquadEliminated::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& SquadEliminated::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.SquadEliminated.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void SquadEliminated::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.SquadEliminated.category) +} +inline std::string* SquadEliminated::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.SquadEliminated.category) + return _s; +} +inline const std::string& SquadEliminated::_internal_category() const { + return _impl_.category_.Get(); +} +inline void SquadEliminated::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* SquadEliminated::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* SquadEliminated::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.SquadEliminated.category) + return _impl_.category_.Release(); +} +inline void SquadEliminated::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.SquadEliminated.category) +} + +// repeated .rtech.liveapi.Player players = 3; +inline int SquadEliminated::_internal_players_size() const { + return _impl_.players_.size(); +} +inline int SquadEliminated::players_size() const { + return _internal_players_size(); +} +inline void SquadEliminated::clear_players() { + _impl_.players_.Clear(); +} +inline ::rtech::liveapi::Player* SquadEliminated::mutable_players(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.SquadEliminated.players) + return _impl_.players_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >* +SquadEliminated::mutable_players() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.SquadEliminated.players) + return &_impl_.players_; +} +inline const ::rtech::liveapi::Player& SquadEliminated::_internal_players(int index) const { + return _impl_.players_.Get(index); +} +inline const ::rtech::liveapi::Player& SquadEliminated::players(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.SquadEliminated.players) + return _internal_players(index); +} +inline ::rtech::liveapi::Player* SquadEliminated::_internal_add_players() { + return _impl_.players_.Add(); +} +inline ::rtech::liveapi::Player* SquadEliminated::add_players() { + ::rtech::liveapi::Player* _add = _internal_add_players(); + // @@protoc_insertion_point(field_add:rtech.liveapi.SquadEliminated.players) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >& +SquadEliminated::players() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.SquadEliminated.players) + return _impl_.players_; +} + +// ------------------------------------------------------------------- + +// GibraltarShieldAbsorbed + +// uint64 timestamp = 1; +inline void GibraltarShieldAbsorbed::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t GibraltarShieldAbsorbed::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t GibraltarShieldAbsorbed::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GibraltarShieldAbsorbed.timestamp) + return _internal_timestamp(); +} +inline void GibraltarShieldAbsorbed::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void GibraltarShieldAbsorbed::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.GibraltarShieldAbsorbed.timestamp) +} + +// string category = 2; +inline void GibraltarShieldAbsorbed::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& GibraltarShieldAbsorbed::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GibraltarShieldAbsorbed.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GibraltarShieldAbsorbed::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.GibraltarShieldAbsorbed.category) +} +inline std::string* GibraltarShieldAbsorbed::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.GibraltarShieldAbsorbed.category) + return _s; +} +inline const std::string& GibraltarShieldAbsorbed::_internal_category() const { + return _impl_.category_.Get(); +} +inline void GibraltarShieldAbsorbed::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* GibraltarShieldAbsorbed::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* GibraltarShieldAbsorbed::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.GibraltarShieldAbsorbed.category) + return _impl_.category_.Release(); +} +inline void GibraltarShieldAbsorbed::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.GibraltarShieldAbsorbed.category) +} + +// .rtech.liveapi.Player attacker = 3; +inline bool GibraltarShieldAbsorbed::_internal_has_attacker() const { + return this != internal_default_instance() && _impl_.attacker_ != nullptr; +} +inline bool GibraltarShieldAbsorbed::has_attacker() const { + return _internal_has_attacker(); +} +inline void GibraltarShieldAbsorbed::clear_attacker() { + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; +} +inline const ::rtech::liveapi::Player& GibraltarShieldAbsorbed::_internal_attacker() const { + const ::rtech::liveapi::Player* p = _impl_.attacker_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& GibraltarShieldAbsorbed::attacker() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GibraltarShieldAbsorbed.attacker) + return _internal_attacker(); +} +inline void GibraltarShieldAbsorbed::unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attacker_); + } + _impl_.attacker_ = attacker; + if (attacker) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.GibraltarShieldAbsorbed.attacker) +} +inline ::rtech::liveapi::Player* GibraltarShieldAbsorbed::release_attacker() { + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* GibraltarShieldAbsorbed::unsafe_arena_release_attacker() { + // @@protoc_insertion_point(field_release:rtech.liveapi.GibraltarShieldAbsorbed.attacker) + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* GibraltarShieldAbsorbed::_internal_mutable_attacker() { + + if (_impl_.attacker_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.attacker_ = p; + } + return _impl_.attacker_; +} +inline ::rtech::liveapi::Player* GibraltarShieldAbsorbed::mutable_attacker() { + ::rtech::liveapi::Player* _msg = _internal_mutable_attacker(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.GibraltarShieldAbsorbed.attacker) + return _msg; +} +inline void GibraltarShieldAbsorbed::set_allocated_attacker(::rtech::liveapi::Player* attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.attacker_; + } + if (attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attacker); + if (message_arena != submessage_arena) { + attacker = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, attacker, submessage_arena); + } + + } else { + + } + _impl_.attacker_ = attacker; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.GibraltarShieldAbsorbed.attacker) +} + +// .rtech.liveapi.Player victim = 4; +inline bool GibraltarShieldAbsorbed::_internal_has_victim() const { + return this != internal_default_instance() && _impl_.victim_ != nullptr; +} +inline bool GibraltarShieldAbsorbed::has_victim() const { + return _internal_has_victim(); +} +inline void GibraltarShieldAbsorbed::clear_victim() { + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; +} +inline const ::rtech::liveapi::Player& GibraltarShieldAbsorbed::_internal_victim() const { + const ::rtech::liveapi::Player* p = _impl_.victim_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& GibraltarShieldAbsorbed::victim() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GibraltarShieldAbsorbed.victim) + return _internal_victim(); +} +inline void GibraltarShieldAbsorbed::unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_); + } + _impl_.victim_ = victim; + if (victim) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.GibraltarShieldAbsorbed.victim) +} +inline ::rtech::liveapi::Player* GibraltarShieldAbsorbed::release_victim() { + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* GibraltarShieldAbsorbed::unsafe_arena_release_victim() { + // @@protoc_insertion_point(field_release:rtech.liveapi.GibraltarShieldAbsorbed.victim) + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* GibraltarShieldAbsorbed::_internal_mutable_victim() { + + if (_impl_.victim_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.victim_ = p; + } + return _impl_.victim_; +} +inline ::rtech::liveapi::Player* GibraltarShieldAbsorbed::mutable_victim() { + ::rtech::liveapi::Player* _msg = _internal_mutable_victim(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.GibraltarShieldAbsorbed.victim) + return _msg; +} +inline void GibraltarShieldAbsorbed::set_allocated_victim(::rtech::liveapi::Player* victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.victim_; + } + if (victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(victim); + if (message_arena != submessage_arena) { + victim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, victim, submessage_arena); + } + + } else { + + } + _impl_.victim_ = victim; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.GibraltarShieldAbsorbed.victim) +} + +// uint32 damageInflicted = 6; +inline void GibraltarShieldAbsorbed::clear_damageinflicted() { + _impl_.damageinflicted_ = 0u; +} +inline uint32_t GibraltarShieldAbsorbed::_internal_damageinflicted() const { + return _impl_.damageinflicted_; +} +inline uint32_t GibraltarShieldAbsorbed::damageinflicted() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GibraltarShieldAbsorbed.damageInflicted) + return _internal_damageinflicted(); +} +inline void GibraltarShieldAbsorbed::_internal_set_damageinflicted(uint32_t value) { + + _impl_.damageinflicted_ = value; +} +inline void GibraltarShieldAbsorbed::set_damageinflicted(uint32_t value) { + _internal_set_damageinflicted(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.GibraltarShieldAbsorbed.damageInflicted) +} + +// ------------------------------------------------------------------- + +// RevenantForgedShadowDamaged + +// uint64 timestamp = 1; +inline void RevenantForgedShadowDamaged::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t RevenantForgedShadowDamaged::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t RevenantForgedShadowDamaged::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RevenantForgedShadowDamaged.timestamp) + return _internal_timestamp(); +} +inline void RevenantForgedShadowDamaged::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void RevenantForgedShadowDamaged::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RevenantForgedShadowDamaged.timestamp) +} + +// string category = 2; +inline void RevenantForgedShadowDamaged::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& RevenantForgedShadowDamaged::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RevenantForgedShadowDamaged.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void RevenantForgedShadowDamaged::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.RevenantForgedShadowDamaged.category) +} +inline std::string* RevenantForgedShadowDamaged::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.RevenantForgedShadowDamaged.category) + return _s; +} +inline const std::string& RevenantForgedShadowDamaged::_internal_category() const { + return _impl_.category_.Get(); +} +inline void RevenantForgedShadowDamaged::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* RevenantForgedShadowDamaged::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* RevenantForgedShadowDamaged::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.RevenantForgedShadowDamaged.category) + return _impl_.category_.Release(); +} +inline void RevenantForgedShadowDamaged::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.RevenantForgedShadowDamaged.category) +} + +// .rtech.liveapi.Player attacker = 3; +inline bool RevenantForgedShadowDamaged::_internal_has_attacker() const { + return this != internal_default_instance() && _impl_.attacker_ != nullptr; +} +inline bool RevenantForgedShadowDamaged::has_attacker() const { + return _internal_has_attacker(); +} +inline void RevenantForgedShadowDamaged::clear_attacker() { + if (GetArenaForAllocation() == nullptr && _impl_.attacker_ != nullptr) { + delete _impl_.attacker_; + } + _impl_.attacker_ = nullptr; +} +inline const ::rtech::liveapi::Player& RevenantForgedShadowDamaged::_internal_attacker() const { + const ::rtech::liveapi::Player* p = _impl_.attacker_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& RevenantForgedShadowDamaged::attacker() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RevenantForgedShadowDamaged.attacker) + return _internal_attacker(); +} +inline void RevenantForgedShadowDamaged::unsafe_arena_set_allocated_attacker( + ::rtech::liveapi::Player* attacker) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attacker_); + } + _impl_.attacker_ = attacker; + if (attacker) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.RevenantForgedShadowDamaged.attacker) +} +inline ::rtech::liveapi::Player* RevenantForgedShadowDamaged::release_attacker() { + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* RevenantForgedShadowDamaged::unsafe_arena_release_attacker() { + // @@protoc_insertion_point(field_release:rtech.liveapi.RevenantForgedShadowDamaged.attacker) + + ::rtech::liveapi::Player* temp = _impl_.attacker_; + _impl_.attacker_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* RevenantForgedShadowDamaged::_internal_mutable_attacker() { + + if (_impl_.attacker_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.attacker_ = p; + } + return _impl_.attacker_; +} +inline ::rtech::liveapi::Player* RevenantForgedShadowDamaged::mutable_attacker() { + ::rtech::liveapi::Player* _msg = _internal_mutable_attacker(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.RevenantForgedShadowDamaged.attacker) + return _msg; +} +inline void RevenantForgedShadowDamaged::set_allocated_attacker(::rtech::liveapi::Player* attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.attacker_; + } + if (attacker) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attacker); + if (message_arena != submessage_arena) { + attacker = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, attacker, submessage_arena); + } + + } else { + + } + _impl_.attacker_ = attacker; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.RevenantForgedShadowDamaged.attacker) +} + +// .rtech.liveapi.Player victim = 4; +inline bool RevenantForgedShadowDamaged::_internal_has_victim() const { + return this != internal_default_instance() && _impl_.victim_ != nullptr; +} +inline bool RevenantForgedShadowDamaged::has_victim() const { + return _internal_has_victim(); +} +inline void RevenantForgedShadowDamaged::clear_victim() { + if (GetArenaForAllocation() == nullptr && _impl_.victim_ != nullptr) { + delete _impl_.victim_; + } + _impl_.victim_ = nullptr; +} +inline const ::rtech::liveapi::Player& RevenantForgedShadowDamaged::_internal_victim() const { + const ::rtech::liveapi::Player* p = _impl_.victim_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& RevenantForgedShadowDamaged::victim() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RevenantForgedShadowDamaged.victim) + return _internal_victim(); +} +inline void RevenantForgedShadowDamaged::unsafe_arena_set_allocated_victim( + ::rtech::liveapi::Player* victim) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.victim_); + } + _impl_.victim_ = victim; + if (victim) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.RevenantForgedShadowDamaged.victim) +} +inline ::rtech::liveapi::Player* RevenantForgedShadowDamaged::release_victim() { + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* RevenantForgedShadowDamaged::unsafe_arena_release_victim() { + // @@protoc_insertion_point(field_release:rtech.liveapi.RevenantForgedShadowDamaged.victim) + + ::rtech::liveapi::Player* temp = _impl_.victim_; + _impl_.victim_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* RevenantForgedShadowDamaged::_internal_mutable_victim() { + + if (_impl_.victim_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.victim_ = p; + } + return _impl_.victim_; +} +inline ::rtech::liveapi::Player* RevenantForgedShadowDamaged::mutable_victim() { + ::rtech::liveapi::Player* _msg = _internal_mutable_victim(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.RevenantForgedShadowDamaged.victim) + return _msg; +} +inline void RevenantForgedShadowDamaged::set_allocated_victim(::rtech::liveapi::Player* victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.victim_; + } + if (victim) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(victim); + if (message_arena != submessage_arena) { + victim = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, victim, submessage_arena); + } + + } else { + + } + _impl_.victim_ = victim; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.RevenantForgedShadowDamaged.victim) +} + +// uint32 damageInflicted = 6; +inline void RevenantForgedShadowDamaged::clear_damageinflicted() { + _impl_.damageinflicted_ = 0u; +} +inline uint32_t RevenantForgedShadowDamaged::_internal_damageinflicted() const { + return _impl_.damageinflicted_; +} +inline uint32_t RevenantForgedShadowDamaged::damageinflicted() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RevenantForgedShadowDamaged.damageInflicted) + return _internal_damageinflicted(); +} +inline void RevenantForgedShadowDamaged::_internal_set_damageinflicted(uint32_t value) { + + _impl_.damageinflicted_ = value; +} +inline void RevenantForgedShadowDamaged::set_damageinflicted(uint32_t value) { + _internal_set_damageinflicted(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.RevenantForgedShadowDamaged.damageInflicted) +} + +// ------------------------------------------------------------------- + +// PlayerRespawnTeam + +// uint64 timestamp = 1; +inline void PlayerRespawnTeam::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerRespawnTeam::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerRespawnTeam::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerRespawnTeam.timestamp) + return _internal_timestamp(); +} +inline void PlayerRespawnTeam::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerRespawnTeam::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerRespawnTeam.timestamp) +} + +// string category = 2; +inline void PlayerRespawnTeam::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerRespawnTeam::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerRespawnTeam.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerRespawnTeam::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerRespawnTeam.category) +} +inline std::string* PlayerRespawnTeam::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerRespawnTeam.category) + return _s; +} +inline const std::string& PlayerRespawnTeam::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerRespawnTeam::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerRespawnTeam::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerRespawnTeam::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerRespawnTeam.category) + return _impl_.category_.Release(); +} +inline void PlayerRespawnTeam::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerRespawnTeam.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool PlayerRespawnTeam::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool PlayerRespawnTeam::has_player() const { + return _internal_has_player(); +} +inline void PlayerRespawnTeam::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerRespawnTeam::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerRespawnTeam::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerRespawnTeam.player) + return _internal_player(); +} +inline void PlayerRespawnTeam::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerRespawnTeam.player) +} +inline ::rtech::liveapi::Player* PlayerRespawnTeam::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerRespawnTeam::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerRespawnTeam.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerRespawnTeam::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* PlayerRespawnTeam::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerRespawnTeam.player) + return _msg; +} +inline void PlayerRespawnTeam::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerRespawnTeam.player) +} + +// repeated .rtech.liveapi.Player respawned = 4; +inline int PlayerRespawnTeam::_internal_respawned_size() const { + return _impl_.respawned_.size(); +} +inline int PlayerRespawnTeam::respawned_size() const { + return _internal_respawned_size(); +} +inline void PlayerRespawnTeam::clear_respawned() { + _impl_.respawned_.Clear(); +} +inline ::rtech::liveapi::Player* PlayerRespawnTeam::mutable_respawned(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerRespawnTeam.respawned) + return _impl_.respawned_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >* +PlayerRespawnTeam::mutable_respawned() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.PlayerRespawnTeam.respawned) + return &_impl_.respawned_; +} +inline const ::rtech::liveapi::Player& PlayerRespawnTeam::_internal_respawned(int index) const { + return _impl_.respawned_.Get(index); +} +inline const ::rtech::liveapi::Player& PlayerRespawnTeam::respawned(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerRespawnTeam.respawned) + return _internal_respawned(index); +} +inline ::rtech::liveapi::Player* PlayerRespawnTeam::_internal_add_respawned() { + return _impl_.respawned_.Add(); +} +inline ::rtech::liveapi::Player* PlayerRespawnTeam::add_respawned() { + ::rtech::liveapi::Player* _add = _internal_add_respawned(); + // @@protoc_insertion_point(field_add:rtech.liveapi.PlayerRespawnTeam.respawned) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::rtech::liveapi::Player >& +PlayerRespawnTeam::respawned() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.PlayerRespawnTeam.respawned) + return _impl_.respawned_; +} + +// ------------------------------------------------------------------- + +// PlayerRevive + +// uint64 timestamp = 1; +inline void PlayerRevive::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerRevive::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerRevive::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerRevive.timestamp) + return _internal_timestamp(); +} +inline void PlayerRevive::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerRevive::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerRevive.timestamp) +} + +// string category = 2; +inline void PlayerRevive::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerRevive::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerRevive.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerRevive::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerRevive.category) +} +inline std::string* PlayerRevive::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerRevive.category) + return _s; +} +inline const std::string& PlayerRevive::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerRevive::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerRevive::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerRevive::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerRevive.category) + return _impl_.category_.Release(); +} +inline void PlayerRevive::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerRevive.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool PlayerRevive::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool PlayerRevive::has_player() const { + return _internal_has_player(); +} +inline void PlayerRevive::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerRevive::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerRevive::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerRevive.player) + return _internal_player(); +} +inline void PlayerRevive::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerRevive.player) +} +inline ::rtech::liveapi::Player* PlayerRevive::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerRevive::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerRevive.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerRevive::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* PlayerRevive::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerRevive.player) + return _msg; +} +inline void PlayerRevive::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerRevive.player) +} + +// .rtech.liveapi.Player revived = 4; +inline bool PlayerRevive::_internal_has_revived() const { + return this != internal_default_instance() && _impl_.revived_ != nullptr; +} +inline bool PlayerRevive::has_revived() const { + return _internal_has_revived(); +} +inline void PlayerRevive::clear_revived() { + if (GetArenaForAllocation() == nullptr && _impl_.revived_ != nullptr) { + delete _impl_.revived_; + } + _impl_.revived_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerRevive::_internal_revived() const { + const ::rtech::liveapi::Player* p = _impl_.revived_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerRevive::revived() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerRevive.revived) + return _internal_revived(); +} +inline void PlayerRevive::unsafe_arena_set_allocated_revived( + ::rtech::liveapi::Player* revived) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.revived_); + } + _impl_.revived_ = revived; + if (revived) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerRevive.revived) +} +inline ::rtech::liveapi::Player* PlayerRevive::release_revived() { + + ::rtech::liveapi::Player* temp = _impl_.revived_; + _impl_.revived_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerRevive::unsafe_arena_release_revived() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerRevive.revived) + + ::rtech::liveapi::Player* temp = _impl_.revived_; + _impl_.revived_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerRevive::_internal_mutable_revived() { + + if (_impl_.revived_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.revived_ = p; + } + return _impl_.revived_; +} +inline ::rtech::liveapi::Player* PlayerRevive::mutable_revived() { + ::rtech::liveapi::Player* _msg = _internal_mutable_revived(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerRevive.revived) + return _msg; +} +inline void PlayerRevive::set_allocated_revived(::rtech::liveapi::Player* revived) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.revived_; + } + if (revived) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(revived); + if (message_arena != submessage_arena) { + revived = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, revived, submessage_arena); + } + + } else { + + } + _impl_.revived_ = revived; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerRevive.revived) +} + +// ------------------------------------------------------------------- + +// ArenasItemSelected + +// uint64 timestamp = 1; +inline void ArenasItemSelected::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t ArenasItemSelected::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t ArenasItemSelected::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemSelected.timestamp) + return _internal_timestamp(); +} +inline void ArenasItemSelected::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void ArenasItemSelected::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ArenasItemSelected.timestamp) +} + +// string category = 2; +inline void ArenasItemSelected::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& ArenasItemSelected::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemSelected.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ArenasItemSelected::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ArenasItemSelected.category) +} +inline std::string* ArenasItemSelected::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ArenasItemSelected.category) + return _s; +} +inline const std::string& ArenasItemSelected::_internal_category() const { + return _impl_.category_.Get(); +} +inline void ArenasItemSelected::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* ArenasItemSelected::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* ArenasItemSelected::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ArenasItemSelected.category) + return _impl_.category_.Release(); +} +inline void ArenasItemSelected::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ArenasItemSelected.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool ArenasItemSelected::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool ArenasItemSelected::has_player() const { + return _internal_has_player(); +} +inline void ArenasItemSelected::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& ArenasItemSelected::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& ArenasItemSelected::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemSelected.player) + return _internal_player(); +} +inline void ArenasItemSelected::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.ArenasItemSelected.player) +} +inline ::rtech::liveapi::Player* ArenasItemSelected::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* ArenasItemSelected::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ArenasItemSelected.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* ArenasItemSelected::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* ArenasItemSelected::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ArenasItemSelected.player) + return _msg; +} +inline void ArenasItemSelected::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ArenasItemSelected.player) +} + +// string item = 4; +inline void ArenasItemSelected::clear_item() { + _impl_.item_.ClearToEmpty(); +} +inline const std::string& ArenasItemSelected::item() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemSelected.item) + return _internal_item(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ArenasItemSelected::set_item(ArgT0&& arg0, ArgT... args) { + + _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ArenasItemSelected.item) +} +inline std::string* ArenasItemSelected::mutable_item() { + std::string* _s = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ArenasItemSelected.item) + return _s; +} +inline const std::string& ArenasItemSelected::_internal_item() const { + return _impl_.item_.Get(); +} +inline void ArenasItemSelected::_internal_set_item(const std::string& value) { + + _impl_.item_.Set(value, GetArenaForAllocation()); +} +inline std::string* ArenasItemSelected::_internal_mutable_item() { + + return _impl_.item_.Mutable(GetArenaForAllocation()); +} +inline std::string* ArenasItemSelected::release_item() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ArenasItemSelected.item) + return _impl_.item_.Release(); +} +inline void ArenasItemSelected::set_allocated_item(std::string* item) { + if (item != nullptr) { + + } else { + + } + _impl_.item_.SetAllocated(item, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_.IsDefault()) { + _impl_.item_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ArenasItemSelected.item) +} + +// int32 quantity = 5; +inline void ArenasItemSelected::clear_quantity() { + _impl_.quantity_ = 0; +} +inline int32_t ArenasItemSelected::_internal_quantity() const { + return _impl_.quantity_; +} +inline int32_t ArenasItemSelected::quantity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemSelected.quantity) + return _internal_quantity(); +} +inline void ArenasItemSelected::_internal_set_quantity(int32_t value) { + + _impl_.quantity_ = value; +} +inline void ArenasItemSelected::set_quantity(int32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ArenasItemSelected.quantity) +} + +// ------------------------------------------------------------------- + +// ArenasItemDeselected + +// uint64 timestamp = 1; +inline void ArenasItemDeselected::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t ArenasItemDeselected::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t ArenasItemDeselected::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemDeselected.timestamp) + return _internal_timestamp(); +} +inline void ArenasItemDeselected::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void ArenasItemDeselected::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ArenasItemDeselected.timestamp) +} + +// string category = 2; +inline void ArenasItemDeselected::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& ArenasItemDeselected::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemDeselected.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ArenasItemDeselected::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ArenasItemDeselected.category) +} +inline std::string* ArenasItemDeselected::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ArenasItemDeselected.category) + return _s; +} +inline const std::string& ArenasItemDeselected::_internal_category() const { + return _impl_.category_.Get(); +} +inline void ArenasItemDeselected::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* ArenasItemDeselected::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* ArenasItemDeselected::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ArenasItemDeselected.category) + return _impl_.category_.Release(); +} +inline void ArenasItemDeselected::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ArenasItemDeselected.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool ArenasItemDeselected::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool ArenasItemDeselected::has_player() const { + return _internal_has_player(); +} +inline void ArenasItemDeselected::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& ArenasItemDeselected::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& ArenasItemDeselected::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemDeselected.player) + return _internal_player(); +} +inline void ArenasItemDeselected::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.ArenasItemDeselected.player) +} +inline ::rtech::liveapi::Player* ArenasItemDeselected::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* ArenasItemDeselected::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ArenasItemDeselected.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* ArenasItemDeselected::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* ArenasItemDeselected::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ArenasItemDeselected.player) + return _msg; +} +inline void ArenasItemDeselected::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ArenasItemDeselected.player) +} + +// string item = 4; +inline void ArenasItemDeselected::clear_item() { + _impl_.item_.ClearToEmpty(); +} +inline const std::string& ArenasItemDeselected::item() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemDeselected.item) + return _internal_item(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ArenasItemDeselected::set_item(ArgT0&& arg0, ArgT... args) { + + _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ArenasItemDeselected.item) +} +inline std::string* ArenasItemDeselected::mutable_item() { + std::string* _s = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ArenasItemDeselected.item) + return _s; +} +inline const std::string& ArenasItemDeselected::_internal_item() const { + return _impl_.item_.Get(); +} +inline void ArenasItemDeselected::_internal_set_item(const std::string& value) { + + _impl_.item_.Set(value, GetArenaForAllocation()); +} +inline std::string* ArenasItemDeselected::_internal_mutable_item() { + + return _impl_.item_.Mutable(GetArenaForAllocation()); +} +inline std::string* ArenasItemDeselected::release_item() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ArenasItemDeselected.item) + return _impl_.item_.Release(); +} +inline void ArenasItemDeselected::set_allocated_item(std::string* item) { + if (item != nullptr) { + + } else { + + } + _impl_.item_.SetAllocated(item, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_.IsDefault()) { + _impl_.item_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ArenasItemDeselected.item) +} + +// int32 quantity = 5; +inline void ArenasItemDeselected::clear_quantity() { + _impl_.quantity_ = 0; +} +inline int32_t ArenasItemDeselected::_internal_quantity() const { + return _impl_.quantity_; +} +inline int32_t ArenasItemDeselected::quantity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ArenasItemDeselected.quantity) + return _internal_quantity(); +} +inline void ArenasItemDeselected::_internal_set_quantity(int32_t value) { + + _impl_.quantity_ = value; +} +inline void ArenasItemDeselected::set_quantity(int32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ArenasItemDeselected.quantity) +} + +// ------------------------------------------------------------------- + +// InventoryPickUp + +// uint64 timestamp = 1; +inline void InventoryPickUp::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t InventoryPickUp::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t InventoryPickUp::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryPickUp.timestamp) + return _internal_timestamp(); +} +inline void InventoryPickUp::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void InventoryPickUp::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryPickUp.timestamp) +} + +// string category = 2; +inline void InventoryPickUp::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& InventoryPickUp::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryPickUp.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void InventoryPickUp::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryPickUp.category) +} +inline std::string* InventoryPickUp::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryPickUp.category) + return _s; +} +inline const std::string& InventoryPickUp::_internal_category() const { + return _impl_.category_.Get(); +} +inline void InventoryPickUp::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* InventoryPickUp::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* InventoryPickUp::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryPickUp.category) + return _impl_.category_.Release(); +} +inline void InventoryPickUp::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryPickUp.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool InventoryPickUp::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool InventoryPickUp::has_player() const { + return _internal_has_player(); +} +inline void InventoryPickUp::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& InventoryPickUp::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& InventoryPickUp::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryPickUp.player) + return _internal_player(); +} +inline void InventoryPickUp::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.InventoryPickUp.player) +} +inline ::rtech::liveapi::Player* InventoryPickUp::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* InventoryPickUp::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryPickUp.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* InventoryPickUp::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* InventoryPickUp::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryPickUp.player) + return _msg; +} +inline void InventoryPickUp::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryPickUp.player) +} + +// string item = 4; +inline void InventoryPickUp::clear_item() { + _impl_.item_.ClearToEmpty(); +} +inline const std::string& InventoryPickUp::item() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryPickUp.item) + return _internal_item(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void InventoryPickUp::set_item(ArgT0&& arg0, ArgT... args) { + + _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryPickUp.item) +} +inline std::string* InventoryPickUp::mutable_item() { + std::string* _s = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryPickUp.item) + return _s; +} +inline const std::string& InventoryPickUp::_internal_item() const { + return _impl_.item_.Get(); +} +inline void InventoryPickUp::_internal_set_item(const std::string& value) { + + _impl_.item_.Set(value, GetArenaForAllocation()); +} +inline std::string* InventoryPickUp::_internal_mutable_item() { + + return _impl_.item_.Mutable(GetArenaForAllocation()); +} +inline std::string* InventoryPickUp::release_item() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryPickUp.item) + return _impl_.item_.Release(); +} +inline void InventoryPickUp::set_allocated_item(std::string* item) { + if (item != nullptr) { + + } else { + + } + _impl_.item_.SetAllocated(item, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_.IsDefault()) { + _impl_.item_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryPickUp.item) +} + +// int32 quantity = 5; +inline void InventoryPickUp::clear_quantity() { + _impl_.quantity_ = 0; +} +inline int32_t InventoryPickUp::_internal_quantity() const { + return _impl_.quantity_; +} +inline int32_t InventoryPickUp::quantity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryPickUp.quantity) + return _internal_quantity(); +} +inline void InventoryPickUp::_internal_set_quantity(int32_t value) { + + _impl_.quantity_ = value; +} +inline void InventoryPickUp::set_quantity(int32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryPickUp.quantity) +} + +// ------------------------------------------------------------------- + +// InventoryDrop + +// uint64 timestamp = 1; +inline void InventoryDrop::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t InventoryDrop::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t InventoryDrop::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryDrop.timestamp) + return _internal_timestamp(); +} +inline void InventoryDrop::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void InventoryDrop::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryDrop.timestamp) +} + +// string category = 2; +inline void InventoryDrop::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& InventoryDrop::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryDrop.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void InventoryDrop::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryDrop.category) +} +inline std::string* InventoryDrop::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryDrop.category) + return _s; +} +inline const std::string& InventoryDrop::_internal_category() const { + return _impl_.category_.Get(); +} +inline void InventoryDrop::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* InventoryDrop::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* InventoryDrop::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryDrop.category) + return _impl_.category_.Release(); +} +inline void InventoryDrop::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryDrop.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool InventoryDrop::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool InventoryDrop::has_player() const { + return _internal_has_player(); +} +inline void InventoryDrop::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& InventoryDrop::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& InventoryDrop::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryDrop.player) + return _internal_player(); +} +inline void InventoryDrop::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.InventoryDrop.player) +} +inline ::rtech::liveapi::Player* InventoryDrop::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* InventoryDrop::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryDrop.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* InventoryDrop::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* InventoryDrop::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryDrop.player) + return _msg; +} +inline void InventoryDrop::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryDrop.player) +} + +// string item = 4; +inline void InventoryDrop::clear_item() { + _impl_.item_.ClearToEmpty(); +} +inline const std::string& InventoryDrop::item() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryDrop.item) + return _internal_item(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void InventoryDrop::set_item(ArgT0&& arg0, ArgT... args) { + + _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryDrop.item) +} +inline std::string* InventoryDrop::mutable_item() { + std::string* _s = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryDrop.item) + return _s; +} +inline const std::string& InventoryDrop::_internal_item() const { + return _impl_.item_.Get(); +} +inline void InventoryDrop::_internal_set_item(const std::string& value) { + + _impl_.item_.Set(value, GetArenaForAllocation()); +} +inline std::string* InventoryDrop::_internal_mutable_item() { + + return _impl_.item_.Mutable(GetArenaForAllocation()); +} +inline std::string* InventoryDrop::release_item() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryDrop.item) + return _impl_.item_.Release(); +} +inline void InventoryDrop::set_allocated_item(std::string* item) { + if (item != nullptr) { + + } else { + + } + _impl_.item_.SetAllocated(item, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_.IsDefault()) { + _impl_.item_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryDrop.item) +} + +// int32 quantity = 5; +inline void InventoryDrop::clear_quantity() { + _impl_.quantity_ = 0; +} +inline int32_t InventoryDrop::_internal_quantity() const { + return _impl_.quantity_; +} +inline int32_t InventoryDrop::quantity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryDrop.quantity) + return _internal_quantity(); +} +inline void InventoryDrop::_internal_set_quantity(int32_t value) { + + _impl_.quantity_ = value; +} +inline void InventoryDrop::set_quantity(int32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryDrop.quantity) +} + +// repeated string extraData = 6; +inline int InventoryDrop::_internal_extradata_size() const { + return _impl_.extradata_.size(); +} +inline int InventoryDrop::extradata_size() const { + return _internal_extradata_size(); +} +inline void InventoryDrop::clear_extradata() { + _impl_.extradata_.Clear(); +} +inline std::string* InventoryDrop::add_extradata() { + std::string* _s = _internal_add_extradata(); + // @@protoc_insertion_point(field_add_mutable:rtech.liveapi.InventoryDrop.extraData) + return _s; +} +inline const std::string& InventoryDrop::_internal_extradata(int index) const { + return _impl_.extradata_.Get(index); +} +inline const std::string& InventoryDrop::extradata(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryDrop.extraData) + return _internal_extradata(index); +} +inline std::string* InventoryDrop::mutable_extradata(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryDrop.extraData) + return _impl_.extradata_.Mutable(index); +} +inline void InventoryDrop::set_extradata(int index, const std::string& value) { + _impl_.extradata_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryDrop.extraData) +} +inline void InventoryDrop::set_extradata(int index, std::string&& value) { + _impl_.extradata_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryDrop.extraData) +} +inline void InventoryDrop::set_extradata(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.extradata_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:rtech.liveapi.InventoryDrop.extraData) +} +inline void InventoryDrop::set_extradata(int index, const char* value, size_t size) { + _impl_.extradata_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:rtech.liveapi.InventoryDrop.extraData) +} +inline std::string* InventoryDrop::_internal_add_extradata() { + return _impl_.extradata_.Add(); +} +inline void InventoryDrop::add_extradata(const std::string& value) { + _impl_.extradata_.Add()->assign(value); + // @@protoc_insertion_point(field_add:rtech.liveapi.InventoryDrop.extraData) +} +inline void InventoryDrop::add_extradata(std::string&& value) { + _impl_.extradata_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:rtech.liveapi.InventoryDrop.extraData) +} +inline void InventoryDrop::add_extradata(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.extradata_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:rtech.liveapi.InventoryDrop.extraData) +} +inline void InventoryDrop::add_extradata(const char* value, size_t size) { + _impl_.extradata_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:rtech.liveapi.InventoryDrop.extraData) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +InventoryDrop::extradata() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.InventoryDrop.extraData) + return _impl_.extradata_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +InventoryDrop::mutable_extradata() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.InventoryDrop.extraData) + return &_impl_.extradata_; +} + +// ------------------------------------------------------------------- + +// InventoryUse + +// uint64 timestamp = 1; +inline void InventoryUse::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t InventoryUse::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t InventoryUse::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryUse.timestamp) + return _internal_timestamp(); +} +inline void InventoryUse::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void InventoryUse::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryUse.timestamp) +} + +// string category = 2; +inline void InventoryUse::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& InventoryUse::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryUse.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void InventoryUse::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryUse.category) +} +inline std::string* InventoryUse::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryUse.category) + return _s; +} +inline const std::string& InventoryUse::_internal_category() const { + return _impl_.category_.Get(); +} +inline void InventoryUse::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* InventoryUse::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* InventoryUse::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryUse.category) + return _impl_.category_.Release(); +} +inline void InventoryUse::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryUse.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool InventoryUse::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool InventoryUse::has_player() const { + return _internal_has_player(); +} +inline void InventoryUse::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& InventoryUse::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& InventoryUse::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryUse.player) + return _internal_player(); +} +inline void InventoryUse::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.InventoryUse.player) +} +inline ::rtech::liveapi::Player* InventoryUse::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* InventoryUse::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryUse.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* InventoryUse::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* InventoryUse::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryUse.player) + return _msg; +} +inline void InventoryUse::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryUse.player) +} + +// string item = 4; +inline void InventoryUse::clear_item() { + _impl_.item_.ClearToEmpty(); +} +inline const std::string& InventoryUse::item() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryUse.item) + return _internal_item(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void InventoryUse::set_item(ArgT0&& arg0, ArgT... args) { + + _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryUse.item) +} +inline std::string* InventoryUse::mutable_item() { + std::string* _s = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.InventoryUse.item) + return _s; +} +inline const std::string& InventoryUse::_internal_item() const { + return _impl_.item_.Get(); +} +inline void InventoryUse::_internal_set_item(const std::string& value) { + + _impl_.item_.Set(value, GetArenaForAllocation()); +} +inline std::string* InventoryUse::_internal_mutable_item() { + + return _impl_.item_.Mutable(GetArenaForAllocation()); +} +inline std::string* InventoryUse::release_item() { + // @@protoc_insertion_point(field_release:rtech.liveapi.InventoryUse.item) + return _impl_.item_.Release(); +} +inline void InventoryUse::set_allocated_item(std::string* item) { + if (item != nullptr) { + + } else { + + } + _impl_.item_.SetAllocated(item, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_.IsDefault()) { + _impl_.item_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.InventoryUse.item) +} + +// int32 quantity = 5; +inline void InventoryUse::clear_quantity() { + _impl_.quantity_ = 0; +} +inline int32_t InventoryUse::_internal_quantity() const { + return _impl_.quantity_; +} +inline int32_t InventoryUse::quantity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.InventoryUse.quantity) + return _internal_quantity(); +} +inline void InventoryUse::_internal_set_quantity(int32_t value) { + + _impl_.quantity_ = value; +} +inline void InventoryUse::set_quantity(int32_t value) { + _internal_set_quantity(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.InventoryUse.quantity) +} + +// ------------------------------------------------------------------- + +// BannerCollected + +// uint64 timestamp = 1; +inline void BannerCollected::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t BannerCollected::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t BannerCollected::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.BannerCollected.timestamp) + return _internal_timestamp(); +} +inline void BannerCollected::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void BannerCollected::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.BannerCollected.timestamp) +} + +// string category = 2; +inline void BannerCollected::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& BannerCollected::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.BannerCollected.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void BannerCollected::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.BannerCollected.category) +} +inline std::string* BannerCollected::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.BannerCollected.category) + return _s; +} +inline const std::string& BannerCollected::_internal_category() const { + return _impl_.category_.Get(); +} +inline void BannerCollected::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* BannerCollected::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* BannerCollected::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.BannerCollected.category) + return _impl_.category_.Release(); +} +inline void BannerCollected::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.BannerCollected.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool BannerCollected::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool BannerCollected::has_player() const { + return _internal_has_player(); +} +inline void BannerCollected::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& BannerCollected::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& BannerCollected::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.BannerCollected.player) + return _internal_player(); +} +inline void BannerCollected::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.BannerCollected.player) +} +inline ::rtech::liveapi::Player* BannerCollected::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* BannerCollected::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.BannerCollected.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* BannerCollected::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* BannerCollected::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.BannerCollected.player) + return _msg; +} +inline void BannerCollected::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.BannerCollected.player) +} + +// .rtech.liveapi.Player collected = 4; +inline bool BannerCollected::_internal_has_collected() const { + return this != internal_default_instance() && _impl_.collected_ != nullptr; +} +inline bool BannerCollected::has_collected() const { + return _internal_has_collected(); +} +inline void BannerCollected::clear_collected() { + if (GetArenaForAllocation() == nullptr && _impl_.collected_ != nullptr) { + delete _impl_.collected_; + } + _impl_.collected_ = nullptr; +} +inline const ::rtech::liveapi::Player& BannerCollected::_internal_collected() const { + const ::rtech::liveapi::Player* p = _impl_.collected_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& BannerCollected::collected() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.BannerCollected.collected) + return _internal_collected(); +} +inline void BannerCollected::unsafe_arena_set_allocated_collected( + ::rtech::liveapi::Player* collected) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.collected_); + } + _impl_.collected_ = collected; + if (collected) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.BannerCollected.collected) +} +inline ::rtech::liveapi::Player* BannerCollected::release_collected() { + + ::rtech::liveapi::Player* temp = _impl_.collected_; + _impl_.collected_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* BannerCollected::unsafe_arena_release_collected() { + // @@protoc_insertion_point(field_release:rtech.liveapi.BannerCollected.collected) + + ::rtech::liveapi::Player* temp = _impl_.collected_; + _impl_.collected_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* BannerCollected::_internal_mutable_collected() { + + if (_impl_.collected_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.collected_ = p; + } + return _impl_.collected_; +} +inline ::rtech::liveapi::Player* BannerCollected::mutable_collected() { + ::rtech::liveapi::Player* _msg = _internal_mutable_collected(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.BannerCollected.collected) + return _msg; +} +inline void BannerCollected::set_allocated_collected(::rtech::liveapi::Player* collected) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.collected_; + } + if (collected) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(collected); + if (message_arena != submessage_arena) { + collected = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, collected, submessage_arena); + } + + } else { + + } + _impl_.collected_ = collected; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.BannerCollected.collected) +} + +// ------------------------------------------------------------------- + +// PlayerAbilityUsed + +// uint64 timestamp = 1; +inline void PlayerAbilityUsed::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t PlayerAbilityUsed::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t PlayerAbilityUsed::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAbilityUsed.timestamp) + return _internal_timestamp(); +} +inline void PlayerAbilityUsed::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void PlayerAbilityUsed::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerAbilityUsed.timestamp) +} + +// string category = 2; +inline void PlayerAbilityUsed::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& PlayerAbilityUsed::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAbilityUsed.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerAbilityUsed::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerAbilityUsed.category) +} +inline std::string* PlayerAbilityUsed::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerAbilityUsed.category) + return _s; +} +inline const std::string& PlayerAbilityUsed::_internal_category() const { + return _impl_.category_.Get(); +} +inline void PlayerAbilityUsed::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerAbilityUsed::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerAbilityUsed::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerAbilityUsed.category) + return _impl_.category_.Release(); +} +inline void PlayerAbilityUsed::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerAbilityUsed.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool PlayerAbilityUsed::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool PlayerAbilityUsed::has_player() const { + return _internal_has_player(); +} +inline void PlayerAbilityUsed::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& PlayerAbilityUsed::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& PlayerAbilityUsed::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAbilityUsed.player) + return _internal_player(); +} +inline void PlayerAbilityUsed::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.PlayerAbilityUsed.player) +} +inline ::rtech::liveapi::Player* PlayerAbilityUsed::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* PlayerAbilityUsed::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerAbilityUsed.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* PlayerAbilityUsed::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* PlayerAbilityUsed::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerAbilityUsed.player) + return _msg; +} +inline void PlayerAbilityUsed::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerAbilityUsed.player) +} + +// string linkedEntity = 4; +inline void PlayerAbilityUsed::clear_linkedentity() { + _impl_.linkedentity_.ClearToEmpty(); +} +inline const std::string& PlayerAbilityUsed::linkedentity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PlayerAbilityUsed.linkedEntity) + return _internal_linkedentity(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerAbilityUsed::set_linkedentity(ArgT0&& arg0, ArgT... args) { + + _impl_.linkedentity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.PlayerAbilityUsed.linkedEntity) +} +inline std::string* PlayerAbilityUsed::mutable_linkedentity() { + std::string* _s = _internal_mutable_linkedentity(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.PlayerAbilityUsed.linkedEntity) + return _s; +} +inline const std::string& PlayerAbilityUsed::_internal_linkedentity() const { + return _impl_.linkedentity_.Get(); +} +inline void PlayerAbilityUsed::_internal_set_linkedentity(const std::string& value) { + + _impl_.linkedentity_.Set(value, GetArenaForAllocation()); +} +inline std::string* PlayerAbilityUsed::_internal_mutable_linkedentity() { + + return _impl_.linkedentity_.Mutable(GetArenaForAllocation()); +} +inline std::string* PlayerAbilityUsed::release_linkedentity() { + // @@protoc_insertion_point(field_release:rtech.liveapi.PlayerAbilityUsed.linkedEntity) + return _impl_.linkedentity_.Release(); +} +inline void PlayerAbilityUsed::set_allocated_linkedentity(std::string* linkedentity) { + if (linkedentity != nullptr) { + + } else { + + } + _impl_.linkedentity_.SetAllocated(linkedentity, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.linkedentity_.IsDefault()) { + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.PlayerAbilityUsed.linkedEntity) +} + +// ------------------------------------------------------------------- + +// LegendUpgradeSelected + +// uint64 timestamp = 1; +inline void LegendUpgradeSelected::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t LegendUpgradeSelected::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t LegendUpgradeSelected::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LegendUpgradeSelected.timestamp) + return _internal_timestamp(); +} +inline void LegendUpgradeSelected::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void LegendUpgradeSelected::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.LegendUpgradeSelected.timestamp) +} + +// string category = 2; +inline void LegendUpgradeSelected::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& LegendUpgradeSelected::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LegendUpgradeSelected.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void LegendUpgradeSelected::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.LegendUpgradeSelected.category) +} +inline std::string* LegendUpgradeSelected::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.LegendUpgradeSelected.category) + return _s; +} +inline const std::string& LegendUpgradeSelected::_internal_category() const { + return _impl_.category_.Get(); +} +inline void LegendUpgradeSelected::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* LegendUpgradeSelected::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* LegendUpgradeSelected::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.LegendUpgradeSelected.category) + return _impl_.category_.Release(); +} +inline void LegendUpgradeSelected::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.LegendUpgradeSelected.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool LegendUpgradeSelected::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool LegendUpgradeSelected::has_player() const { + return _internal_has_player(); +} +inline void LegendUpgradeSelected::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& LegendUpgradeSelected::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& LegendUpgradeSelected::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LegendUpgradeSelected.player) + return _internal_player(); +} +inline void LegendUpgradeSelected::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.LegendUpgradeSelected.player) +} +inline ::rtech::liveapi::Player* LegendUpgradeSelected::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* LegendUpgradeSelected::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.LegendUpgradeSelected.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* LegendUpgradeSelected::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* LegendUpgradeSelected::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.LegendUpgradeSelected.player) + return _msg; +} +inline void LegendUpgradeSelected::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.LegendUpgradeSelected.player) +} + +// string upgradeName = 4; +inline void LegendUpgradeSelected::clear_upgradename() { + _impl_.upgradename_.ClearToEmpty(); +} +inline const std::string& LegendUpgradeSelected::upgradename() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LegendUpgradeSelected.upgradeName) + return _internal_upgradename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void LegendUpgradeSelected::set_upgradename(ArgT0&& arg0, ArgT... args) { + + _impl_.upgradename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.LegendUpgradeSelected.upgradeName) +} +inline std::string* LegendUpgradeSelected::mutable_upgradename() { + std::string* _s = _internal_mutable_upgradename(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.LegendUpgradeSelected.upgradeName) + return _s; +} +inline const std::string& LegendUpgradeSelected::_internal_upgradename() const { + return _impl_.upgradename_.Get(); +} +inline void LegendUpgradeSelected::_internal_set_upgradename(const std::string& value) { + + _impl_.upgradename_.Set(value, GetArenaForAllocation()); +} +inline std::string* LegendUpgradeSelected::_internal_mutable_upgradename() { + + return _impl_.upgradename_.Mutable(GetArenaForAllocation()); +} +inline std::string* LegendUpgradeSelected::release_upgradename() { + // @@protoc_insertion_point(field_release:rtech.liveapi.LegendUpgradeSelected.upgradeName) + return _impl_.upgradename_.Release(); +} +inline void LegendUpgradeSelected::set_allocated_upgradename(std::string* upgradename) { + if (upgradename != nullptr) { + + } else { + + } + _impl_.upgradename_.SetAllocated(upgradename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.upgradename_.IsDefault()) { + _impl_.upgradename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.LegendUpgradeSelected.upgradeName) +} + +// string upgradeDesc = 5; +inline void LegendUpgradeSelected::clear_upgradedesc() { + _impl_.upgradedesc_.ClearToEmpty(); +} +inline const std::string& LegendUpgradeSelected::upgradedesc() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LegendUpgradeSelected.upgradeDesc) + return _internal_upgradedesc(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void LegendUpgradeSelected::set_upgradedesc(ArgT0&& arg0, ArgT... args) { + + _impl_.upgradedesc_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.LegendUpgradeSelected.upgradeDesc) +} +inline std::string* LegendUpgradeSelected::mutable_upgradedesc() { + std::string* _s = _internal_mutable_upgradedesc(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.LegendUpgradeSelected.upgradeDesc) + return _s; +} +inline const std::string& LegendUpgradeSelected::_internal_upgradedesc() const { + return _impl_.upgradedesc_.Get(); +} +inline void LegendUpgradeSelected::_internal_set_upgradedesc(const std::string& value) { + + _impl_.upgradedesc_.Set(value, GetArenaForAllocation()); +} +inline std::string* LegendUpgradeSelected::_internal_mutable_upgradedesc() { + + return _impl_.upgradedesc_.Mutable(GetArenaForAllocation()); +} +inline std::string* LegendUpgradeSelected::release_upgradedesc() { + // @@protoc_insertion_point(field_release:rtech.liveapi.LegendUpgradeSelected.upgradeDesc) + return _impl_.upgradedesc_.Release(); +} +inline void LegendUpgradeSelected::set_allocated_upgradedesc(std::string* upgradedesc) { + if (upgradedesc != nullptr) { + + } else { + + } + _impl_.upgradedesc_.SetAllocated(upgradedesc, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.upgradedesc_.IsDefault()) { + _impl_.upgradedesc_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.LegendUpgradeSelected.upgradeDesc) +} + +// int32 level = 6; +inline void LegendUpgradeSelected::clear_level() { + _impl_.level_ = 0; +} +inline int32_t LegendUpgradeSelected::_internal_level() const { + return _impl_.level_; +} +inline int32_t LegendUpgradeSelected::level() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LegendUpgradeSelected.level) + return _internal_level(); +} +inline void LegendUpgradeSelected::_internal_set_level(int32_t value) { + + _impl_.level_ = value; +} +inline void LegendUpgradeSelected::set_level(int32_t value) { + _internal_set_level(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.LegendUpgradeSelected.level) +} + +// ------------------------------------------------------------------- + +// ZiplineUsed + +// uint64 timestamp = 1; +inline void ZiplineUsed::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t ZiplineUsed::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t ZiplineUsed::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ZiplineUsed.timestamp) + return _internal_timestamp(); +} +inline void ZiplineUsed::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void ZiplineUsed::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ZiplineUsed.timestamp) +} + +// string category = 2; +inline void ZiplineUsed::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& ZiplineUsed::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ZiplineUsed.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ZiplineUsed::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ZiplineUsed.category) +} +inline std::string* ZiplineUsed::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ZiplineUsed.category) + return _s; +} +inline const std::string& ZiplineUsed::_internal_category() const { + return _impl_.category_.Get(); +} +inline void ZiplineUsed::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* ZiplineUsed::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* ZiplineUsed::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ZiplineUsed.category) + return _impl_.category_.Release(); +} +inline void ZiplineUsed::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ZiplineUsed.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool ZiplineUsed::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool ZiplineUsed::has_player() const { + return _internal_has_player(); +} +inline void ZiplineUsed::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& ZiplineUsed::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& ZiplineUsed::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ZiplineUsed.player) + return _internal_player(); +} +inline void ZiplineUsed::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.ZiplineUsed.player) +} +inline ::rtech::liveapi::Player* ZiplineUsed::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* ZiplineUsed::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ZiplineUsed.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* ZiplineUsed::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* ZiplineUsed::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ZiplineUsed.player) + return _msg; +} +inline void ZiplineUsed::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ZiplineUsed.player) +} + +// string linkedEntity = 4; +inline void ZiplineUsed::clear_linkedentity() { + _impl_.linkedentity_.ClearToEmpty(); +} +inline const std::string& ZiplineUsed::linkedentity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ZiplineUsed.linkedEntity) + return _internal_linkedentity(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void ZiplineUsed::set_linkedentity(ArgT0&& arg0, ArgT... args) { + + _impl_.linkedentity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ZiplineUsed.linkedEntity) +} +inline std::string* ZiplineUsed::mutable_linkedentity() { + std::string* _s = _internal_mutable_linkedentity(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ZiplineUsed.linkedEntity) + return _s; +} +inline const std::string& ZiplineUsed::_internal_linkedentity() const { + return _impl_.linkedentity_.Get(); +} +inline void ZiplineUsed::_internal_set_linkedentity(const std::string& value) { + + _impl_.linkedentity_.Set(value, GetArenaForAllocation()); +} +inline std::string* ZiplineUsed::_internal_mutable_linkedentity() { + + return _impl_.linkedentity_.Mutable(GetArenaForAllocation()); +} +inline std::string* ZiplineUsed::release_linkedentity() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ZiplineUsed.linkedEntity) + return _impl_.linkedentity_.Release(); +} +inline void ZiplineUsed::set_allocated_linkedentity(std::string* linkedentity) { + if (linkedentity != nullptr) { + + } else { + + } + _impl_.linkedentity_.SetAllocated(linkedentity, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.linkedentity_.IsDefault()) { + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ZiplineUsed.linkedEntity) +} + +// ------------------------------------------------------------------- + +// GrenadeThrown + +// uint64 timestamp = 1; +inline void GrenadeThrown::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t GrenadeThrown::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t GrenadeThrown::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GrenadeThrown.timestamp) + return _internal_timestamp(); +} +inline void GrenadeThrown::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void GrenadeThrown::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.GrenadeThrown.timestamp) +} + +// string category = 2; +inline void GrenadeThrown::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& GrenadeThrown::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GrenadeThrown.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GrenadeThrown::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.GrenadeThrown.category) +} +inline std::string* GrenadeThrown::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.GrenadeThrown.category) + return _s; +} +inline const std::string& GrenadeThrown::_internal_category() const { + return _impl_.category_.Get(); +} +inline void GrenadeThrown::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* GrenadeThrown::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* GrenadeThrown::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.GrenadeThrown.category) + return _impl_.category_.Release(); +} +inline void GrenadeThrown::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.GrenadeThrown.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool GrenadeThrown::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool GrenadeThrown::has_player() const { + return _internal_has_player(); +} +inline void GrenadeThrown::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& GrenadeThrown::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& GrenadeThrown::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GrenadeThrown.player) + return _internal_player(); +} +inline void GrenadeThrown::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.GrenadeThrown.player) +} +inline ::rtech::liveapi::Player* GrenadeThrown::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* GrenadeThrown::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.GrenadeThrown.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* GrenadeThrown::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* GrenadeThrown::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.GrenadeThrown.player) + return _msg; +} +inline void GrenadeThrown::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.GrenadeThrown.player) +} + +// string linkedEntity = 4; +inline void GrenadeThrown::clear_linkedentity() { + _impl_.linkedentity_.ClearToEmpty(); +} +inline const std::string& GrenadeThrown::linkedentity() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.GrenadeThrown.linkedEntity) + return _internal_linkedentity(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void GrenadeThrown::set_linkedentity(ArgT0&& arg0, ArgT... args) { + + _impl_.linkedentity_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.GrenadeThrown.linkedEntity) +} +inline std::string* GrenadeThrown::mutable_linkedentity() { + std::string* _s = _internal_mutable_linkedentity(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.GrenadeThrown.linkedEntity) + return _s; +} +inline const std::string& GrenadeThrown::_internal_linkedentity() const { + return _impl_.linkedentity_.Get(); +} +inline void GrenadeThrown::_internal_set_linkedentity(const std::string& value) { + + _impl_.linkedentity_.Set(value, GetArenaForAllocation()); +} +inline std::string* GrenadeThrown::_internal_mutable_linkedentity() { + + return _impl_.linkedentity_.Mutable(GetArenaForAllocation()); +} +inline std::string* GrenadeThrown::release_linkedentity() { + // @@protoc_insertion_point(field_release:rtech.liveapi.GrenadeThrown.linkedEntity) + return _impl_.linkedentity_.Release(); +} +inline void GrenadeThrown::set_allocated_linkedentity(std::string* linkedentity) { + if (linkedentity != nullptr) { + + } else { + + } + _impl_.linkedentity_.SetAllocated(linkedentity, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.linkedentity_.IsDefault()) { + _impl_.linkedentity_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.GrenadeThrown.linkedEntity) +} + +// ------------------------------------------------------------------- + +// BlackMarketAction + +// uint64 timestamp = 1; +inline void BlackMarketAction::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t BlackMarketAction::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t BlackMarketAction::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.BlackMarketAction.timestamp) + return _internal_timestamp(); +} +inline void BlackMarketAction::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void BlackMarketAction::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.BlackMarketAction.timestamp) +} + +// string category = 2; +inline void BlackMarketAction::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& BlackMarketAction::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.BlackMarketAction.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void BlackMarketAction::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.BlackMarketAction.category) +} +inline std::string* BlackMarketAction::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.BlackMarketAction.category) + return _s; +} +inline const std::string& BlackMarketAction::_internal_category() const { + return _impl_.category_.Get(); +} +inline void BlackMarketAction::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* BlackMarketAction::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* BlackMarketAction::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.BlackMarketAction.category) + return _impl_.category_.Release(); +} +inline void BlackMarketAction::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.BlackMarketAction.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool BlackMarketAction::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool BlackMarketAction::has_player() const { + return _internal_has_player(); +} +inline void BlackMarketAction::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& BlackMarketAction::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& BlackMarketAction::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.BlackMarketAction.player) + return _internal_player(); +} +inline void BlackMarketAction::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.BlackMarketAction.player) +} +inline ::rtech::liveapi::Player* BlackMarketAction::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* BlackMarketAction::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.BlackMarketAction.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* BlackMarketAction::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* BlackMarketAction::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.BlackMarketAction.player) + return _msg; +} +inline void BlackMarketAction::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.BlackMarketAction.player) +} + +// string item = 4; +inline void BlackMarketAction::clear_item() { + _impl_.item_.ClearToEmpty(); +} +inline const std::string& BlackMarketAction::item() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.BlackMarketAction.item) + return _internal_item(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void BlackMarketAction::set_item(ArgT0&& arg0, ArgT... args) { + + _impl_.item_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.BlackMarketAction.item) +} +inline std::string* BlackMarketAction::mutable_item() { + std::string* _s = _internal_mutable_item(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.BlackMarketAction.item) + return _s; +} +inline const std::string& BlackMarketAction::_internal_item() const { + return _impl_.item_.Get(); +} +inline void BlackMarketAction::_internal_set_item(const std::string& value) { + + _impl_.item_.Set(value, GetArenaForAllocation()); +} +inline std::string* BlackMarketAction::_internal_mutable_item() { + + return _impl_.item_.Mutable(GetArenaForAllocation()); +} +inline std::string* BlackMarketAction::release_item() { + // @@protoc_insertion_point(field_release:rtech.liveapi.BlackMarketAction.item) + return _impl_.item_.Release(); +} +inline void BlackMarketAction::set_allocated_item(std::string* item) { + if (item != nullptr) { + + } else { + + } + _impl_.item_.SetAllocated(item, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.item_.IsDefault()) { + _impl_.item_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.BlackMarketAction.item) +} + +// ------------------------------------------------------------------- + +// WraithPortal + +// uint64 timestamp = 1; +inline void WraithPortal::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t WraithPortal::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t WraithPortal::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WraithPortal.timestamp) + return _internal_timestamp(); +} +inline void WraithPortal::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void WraithPortal::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.WraithPortal.timestamp) +} + +// string category = 2; +inline void WraithPortal::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& WraithPortal::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WraithPortal.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void WraithPortal::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.WraithPortal.category) +} +inline std::string* WraithPortal::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.WraithPortal.category) + return _s; +} +inline const std::string& WraithPortal::_internal_category() const { + return _impl_.category_.Get(); +} +inline void WraithPortal::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* WraithPortal::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* WraithPortal::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.WraithPortal.category) + return _impl_.category_.Release(); +} +inline void WraithPortal::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.WraithPortal.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool WraithPortal::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool WraithPortal::has_player() const { + return _internal_has_player(); +} +inline void WraithPortal::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& WraithPortal::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& WraithPortal::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WraithPortal.player) + return _internal_player(); +} +inline void WraithPortal::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.WraithPortal.player) +} +inline ::rtech::liveapi::Player* WraithPortal::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* WraithPortal::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.WraithPortal.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* WraithPortal::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* WraithPortal::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.WraithPortal.player) + return _msg; +} +inline void WraithPortal::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.WraithPortal.player) +} + +// ------------------------------------------------------------------- + +// WarpGateUsed + +// uint64 timestamp = 1; +inline void WarpGateUsed::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t WarpGateUsed::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t WarpGateUsed::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WarpGateUsed.timestamp) + return _internal_timestamp(); +} +inline void WarpGateUsed::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void WarpGateUsed::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.WarpGateUsed.timestamp) +} + +// string category = 2; +inline void WarpGateUsed::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& WarpGateUsed::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WarpGateUsed.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void WarpGateUsed::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.WarpGateUsed.category) +} +inline std::string* WarpGateUsed::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.WarpGateUsed.category) + return _s; +} +inline const std::string& WarpGateUsed::_internal_category() const { + return _impl_.category_.Get(); +} +inline void WarpGateUsed::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* WarpGateUsed::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* WarpGateUsed::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.WarpGateUsed.category) + return _impl_.category_.Release(); +} +inline void WarpGateUsed::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.WarpGateUsed.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool WarpGateUsed::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool WarpGateUsed::has_player() const { + return _internal_has_player(); +} +inline void WarpGateUsed::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& WarpGateUsed::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& WarpGateUsed::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WarpGateUsed.player) + return _internal_player(); +} +inline void WarpGateUsed::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.WarpGateUsed.player) +} +inline ::rtech::liveapi::Player* WarpGateUsed::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* WarpGateUsed::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.WarpGateUsed.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* WarpGateUsed::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* WarpGateUsed::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.WarpGateUsed.player) + return _msg; +} +inline void WarpGateUsed::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.WarpGateUsed.player) +} + +// ------------------------------------------------------------------- + +// AmmoUsed + +// uint64 timestamp = 1; +inline void AmmoUsed::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t AmmoUsed::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t AmmoUsed::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.AmmoUsed.timestamp) + return _internal_timestamp(); +} +inline void AmmoUsed::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void AmmoUsed::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.AmmoUsed.timestamp) +} + +// string category = 2; +inline void AmmoUsed::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& AmmoUsed::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.AmmoUsed.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void AmmoUsed::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.AmmoUsed.category) +} +inline std::string* AmmoUsed::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.AmmoUsed.category) + return _s; +} +inline const std::string& AmmoUsed::_internal_category() const { + return _impl_.category_.Get(); +} +inline void AmmoUsed::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* AmmoUsed::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* AmmoUsed::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.AmmoUsed.category) + return _impl_.category_.Release(); +} +inline void AmmoUsed::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.AmmoUsed.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool AmmoUsed::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool AmmoUsed::has_player() const { + return _internal_has_player(); +} +inline void AmmoUsed::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& AmmoUsed::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& AmmoUsed::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.AmmoUsed.player) + return _internal_player(); +} +inline void AmmoUsed::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.AmmoUsed.player) +} +inline ::rtech::liveapi::Player* AmmoUsed::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* AmmoUsed::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.AmmoUsed.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* AmmoUsed::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* AmmoUsed::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.AmmoUsed.player) + return _msg; +} +inline void AmmoUsed::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.AmmoUsed.player) +} + +// string ammoType = 4; +inline void AmmoUsed::clear_ammotype() { + _impl_.ammotype_.ClearToEmpty(); +} +inline const std::string& AmmoUsed::ammotype() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.AmmoUsed.ammoType) + return _internal_ammotype(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void AmmoUsed::set_ammotype(ArgT0&& arg0, ArgT... args) { + + _impl_.ammotype_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.AmmoUsed.ammoType) +} +inline std::string* AmmoUsed::mutable_ammotype() { + std::string* _s = _internal_mutable_ammotype(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.AmmoUsed.ammoType) + return _s; +} +inline const std::string& AmmoUsed::_internal_ammotype() const { + return _impl_.ammotype_.Get(); +} +inline void AmmoUsed::_internal_set_ammotype(const std::string& value) { + + _impl_.ammotype_.Set(value, GetArenaForAllocation()); +} +inline std::string* AmmoUsed::_internal_mutable_ammotype() { + + return _impl_.ammotype_.Mutable(GetArenaForAllocation()); +} +inline std::string* AmmoUsed::release_ammotype() { + // @@protoc_insertion_point(field_release:rtech.liveapi.AmmoUsed.ammoType) + return _impl_.ammotype_.Release(); +} +inline void AmmoUsed::set_allocated_ammotype(std::string* ammotype) { + if (ammotype != nullptr) { + + } else { + + } + _impl_.ammotype_.SetAllocated(ammotype, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.ammotype_.IsDefault()) { + _impl_.ammotype_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.AmmoUsed.ammoType) +} + +// uint32 amountUsed = 5; +inline void AmmoUsed::clear_amountused() { + _impl_.amountused_ = 0u; +} +inline uint32_t AmmoUsed::_internal_amountused() const { + return _impl_.amountused_; +} +inline uint32_t AmmoUsed::amountused() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.AmmoUsed.amountUsed) + return _internal_amountused(); +} +inline void AmmoUsed::_internal_set_amountused(uint32_t value) { + + _impl_.amountused_ = value; +} +inline void AmmoUsed::set_amountused(uint32_t value) { + _internal_set_amountused(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.AmmoUsed.amountUsed) +} + +// uint32 oldAmmoCount = 6; +inline void AmmoUsed::clear_oldammocount() { + _impl_.oldammocount_ = 0u; +} +inline uint32_t AmmoUsed::_internal_oldammocount() const { + return _impl_.oldammocount_; +} +inline uint32_t AmmoUsed::oldammocount() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.AmmoUsed.oldAmmoCount) + return _internal_oldammocount(); +} +inline void AmmoUsed::_internal_set_oldammocount(uint32_t value) { + + _impl_.oldammocount_ = value; +} +inline void AmmoUsed::set_oldammocount(uint32_t value) { + _internal_set_oldammocount(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.AmmoUsed.oldAmmoCount) +} + +// uint32 newAmmoCount = 7; +inline void AmmoUsed::clear_newammocount() { + _impl_.newammocount_ = 0u; +} +inline uint32_t AmmoUsed::_internal_newammocount() const { + return _impl_.newammocount_; +} +inline uint32_t AmmoUsed::newammocount() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.AmmoUsed.newAmmoCount) + return _internal_newammocount(); +} +inline void AmmoUsed::_internal_set_newammocount(uint32_t value) { + + _impl_.newammocount_ = value; +} +inline void AmmoUsed::set_newammocount(uint32_t value) { + _internal_set_newammocount(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.AmmoUsed.newAmmoCount) +} + +// ------------------------------------------------------------------- + +// WeaponSwitched + +// uint64 timestamp = 1; +inline void WeaponSwitched::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t WeaponSwitched::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t WeaponSwitched::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WeaponSwitched.timestamp) + return _internal_timestamp(); +} +inline void WeaponSwitched::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void WeaponSwitched::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.WeaponSwitched.timestamp) +} + +// string category = 2; +inline void WeaponSwitched::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& WeaponSwitched::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WeaponSwitched.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void WeaponSwitched::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.WeaponSwitched.category) +} +inline std::string* WeaponSwitched::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.WeaponSwitched.category) + return _s; +} +inline const std::string& WeaponSwitched::_internal_category() const { + return _impl_.category_.Get(); +} +inline void WeaponSwitched::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* WeaponSwitched::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* WeaponSwitched::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.WeaponSwitched.category) + return _impl_.category_.Release(); +} +inline void WeaponSwitched::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.WeaponSwitched.category) +} + +// .rtech.liveapi.Player player = 3; +inline bool WeaponSwitched::_internal_has_player() const { + return this != internal_default_instance() && _impl_.player_ != nullptr; +} +inline bool WeaponSwitched::has_player() const { + return _internal_has_player(); +} +inline void WeaponSwitched::clear_player() { + if (GetArenaForAllocation() == nullptr && _impl_.player_ != nullptr) { + delete _impl_.player_; + } + _impl_.player_ = nullptr; +} +inline const ::rtech::liveapi::Player& WeaponSwitched::_internal_player() const { + const ::rtech::liveapi::Player* p = _impl_.player_; + return p != nullptr ? *p : reinterpret_cast( + ::rtech::liveapi::_Player_default_instance_); +} +inline const ::rtech::liveapi::Player& WeaponSwitched::player() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WeaponSwitched.player) + return _internal_player(); +} +inline void WeaponSwitched::unsafe_arena_set_allocated_player( + ::rtech::liveapi::Player* player) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.player_); + } + _impl_.player_ = player; + if (player) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.WeaponSwitched.player) +} +inline ::rtech::liveapi::Player* WeaponSwitched::release_player() { + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::rtech::liveapi::Player* WeaponSwitched::unsafe_arena_release_player() { + // @@protoc_insertion_point(field_release:rtech.liveapi.WeaponSwitched.player) + + ::rtech::liveapi::Player* temp = _impl_.player_; + _impl_.player_ = nullptr; + return temp; +} +inline ::rtech::liveapi::Player* WeaponSwitched::_internal_mutable_player() { + + if (_impl_.player_ == nullptr) { + auto* p = CreateMaybeMessage<::rtech::liveapi::Player>(GetArenaForAllocation()); + _impl_.player_ = p; + } + return _impl_.player_; +} +inline ::rtech::liveapi::Player* WeaponSwitched::mutable_player() { + ::rtech::liveapi::Player* _msg = _internal_mutable_player(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.WeaponSwitched.player) + return _msg; +} +inline void WeaponSwitched::set_allocated_player(::rtech::liveapi::Player* player) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete _impl_.player_; + } + if (player) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(player); + if (message_arena != submessage_arena) { + player = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, player, submessage_arena); + } + + } else { + + } + _impl_.player_ = player; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.WeaponSwitched.player) +} + +// string oldWeapon = 4; +inline void WeaponSwitched::clear_oldweapon() { + _impl_.oldweapon_.ClearToEmpty(); +} +inline const std::string& WeaponSwitched::oldweapon() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WeaponSwitched.oldWeapon) + return _internal_oldweapon(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void WeaponSwitched::set_oldweapon(ArgT0&& arg0, ArgT... args) { + + _impl_.oldweapon_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.WeaponSwitched.oldWeapon) +} +inline std::string* WeaponSwitched::mutable_oldweapon() { + std::string* _s = _internal_mutable_oldweapon(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.WeaponSwitched.oldWeapon) + return _s; +} +inline const std::string& WeaponSwitched::_internal_oldweapon() const { + return _impl_.oldweapon_.Get(); +} +inline void WeaponSwitched::_internal_set_oldweapon(const std::string& value) { + + _impl_.oldweapon_.Set(value, GetArenaForAllocation()); +} +inline std::string* WeaponSwitched::_internal_mutable_oldweapon() { + + return _impl_.oldweapon_.Mutable(GetArenaForAllocation()); +} +inline std::string* WeaponSwitched::release_oldweapon() { + // @@protoc_insertion_point(field_release:rtech.liveapi.WeaponSwitched.oldWeapon) + return _impl_.oldweapon_.Release(); +} +inline void WeaponSwitched::set_allocated_oldweapon(std::string* oldweapon) { + if (oldweapon != nullptr) { + + } else { + + } + _impl_.oldweapon_.SetAllocated(oldweapon, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.oldweapon_.IsDefault()) { + _impl_.oldweapon_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.WeaponSwitched.oldWeapon) +} + +// string newWeapon = 5; +inline void WeaponSwitched::clear_newweapon() { + _impl_.newweapon_.ClearToEmpty(); +} +inline const std::string& WeaponSwitched::newweapon() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.WeaponSwitched.newWeapon) + return _internal_newweapon(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void WeaponSwitched::set_newweapon(ArgT0&& arg0, ArgT... args) { + + _impl_.newweapon_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.WeaponSwitched.newWeapon) +} +inline std::string* WeaponSwitched::mutable_newweapon() { + std::string* _s = _internal_mutable_newweapon(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.WeaponSwitched.newWeapon) + return _s; +} +inline const std::string& WeaponSwitched::_internal_newweapon() const { + return _impl_.newweapon_.Get(); +} +inline void WeaponSwitched::_internal_set_newweapon(const std::string& value) { + + _impl_.newweapon_.Set(value, GetArenaForAllocation()); +} +inline std::string* WeaponSwitched::_internal_mutable_newweapon() { + + return _impl_.newweapon_.Mutable(GetArenaForAllocation()); +} +inline std::string* WeaponSwitched::release_newweapon() { + // @@protoc_insertion_point(field_release:rtech.liveapi.WeaponSwitched.newWeapon) + return _impl_.newweapon_.Release(); +} +inline void WeaponSwitched::set_allocated_newweapon(std::string* newweapon) { + if (newweapon != nullptr) { + + } else { + + } + _impl_.newweapon_.SetAllocated(newweapon, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.newweapon_.IsDefault()) { + _impl_.newweapon_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.WeaponSwitched.newWeapon) +} + +// ------------------------------------------------------------------- + +// CustomEvent + +// uint64 timestamp = 1; +inline void CustomEvent::clear_timestamp() { + _impl_.timestamp_ = uint64_t{0u}; +} +inline uint64_t CustomEvent::_internal_timestamp() const { + return _impl_.timestamp_; +} +inline uint64_t CustomEvent::timestamp() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomEvent.timestamp) + return _internal_timestamp(); +} +inline void CustomEvent::_internal_set_timestamp(uint64_t value) { + + _impl_.timestamp_ = value; +} +inline void CustomEvent::set_timestamp(uint64_t value) { + _internal_set_timestamp(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomEvent.timestamp) +} + +// string category = 2; +inline void CustomEvent::clear_category() { + _impl_.category_.ClearToEmpty(); +} +inline const std::string& CustomEvent::category() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomEvent.category) + return _internal_category(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomEvent::set_category(ArgT0&& arg0, ArgT... args) { + + _impl_.category_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomEvent.category) +} +inline std::string* CustomEvent::mutable_category() { + std::string* _s = _internal_mutable_category(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomEvent.category) + return _s; +} +inline const std::string& CustomEvent::_internal_category() const { + return _impl_.category_.Get(); +} +inline void CustomEvent::_internal_set_category(const std::string& value) { + + _impl_.category_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomEvent::_internal_mutable_category() { + + return _impl_.category_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomEvent::release_category() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomEvent.category) + return _impl_.category_.Release(); +} +inline void CustomEvent::set_allocated_category(std::string* category) { + if (category != nullptr) { + + } else { + + } + _impl_.category_.SetAllocated(category, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.category_.IsDefault()) { + _impl_.category_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomEvent.category) +} + +// repeated .google.protobuf.Any customData = 3; +inline int CustomEvent::_internal_customdata_size() const { + return _impl_.customdata_.size(); +} +inline int CustomEvent::customdata_size() const { + return _internal_customdata_size(); +} +inline ::PROTOBUF_NAMESPACE_ID::Any* CustomEvent::mutable_customdata(int index) { + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomEvent.customData) + return _impl_.customdata_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >* +CustomEvent::mutable_customdata() { + // @@protoc_insertion_point(field_mutable_list:rtech.liveapi.CustomEvent.customData) + return &_impl_.customdata_; +} +inline const ::PROTOBUF_NAMESPACE_ID::Any& CustomEvent::_internal_customdata(int index) const { + return _impl_.customdata_.Get(index); +} +inline const ::PROTOBUF_NAMESPACE_ID::Any& CustomEvent::customdata(int index) const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomEvent.customData) + return _internal_customdata(index); +} +inline ::PROTOBUF_NAMESPACE_ID::Any* CustomEvent::_internal_add_customdata() { + return _impl_.customdata_.Add(); +} +inline ::PROTOBUF_NAMESPACE_ID::Any* CustomEvent::add_customdata() { + ::PROTOBUF_NAMESPACE_ID::Any* _add = _internal_add_customdata(); + // @@protoc_insertion_point(field_add:rtech.liveapi.CustomEvent.customData) + return _add; +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >& +CustomEvent::customdata() const { + // @@protoc_insertion_point(field_list:rtech.liveapi.CustomEvent.customData) + return _impl_.customdata_; +} + +// ------------------------------------------------------------------- + +// ChangeCamera + +// .rtech.liveapi.PlayerOfInterest poi = 1; +inline bool ChangeCamera::_internal_has_poi() const { + return target_case() == kPoi; +} +inline bool ChangeCamera::has_poi() const { + return _internal_has_poi(); +} +inline void ChangeCamera::set_has_poi() { + _impl_._oneof_case_[0] = kPoi; +} +inline void ChangeCamera::clear_poi() { + if (_internal_has_poi()) { + _impl_.target_.poi_ = 0; + clear_has_target(); + } +} +inline ::rtech::liveapi::PlayerOfInterest ChangeCamera::_internal_poi() const { + if (_internal_has_poi()) { + return static_cast< ::rtech::liveapi::PlayerOfInterest >(_impl_.target_.poi_); + } + return static_cast< ::rtech::liveapi::PlayerOfInterest >(0); +} +inline ::rtech::liveapi::PlayerOfInterest ChangeCamera::poi() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ChangeCamera.poi) + return _internal_poi(); +} +inline void ChangeCamera::_internal_set_poi(::rtech::liveapi::PlayerOfInterest value) { + if (!_internal_has_poi()) { + clear_target(); + set_has_poi(); + } + _impl_.target_.poi_ = value; +} +inline void ChangeCamera::set_poi(::rtech::liveapi::PlayerOfInterest value) { + _internal_set_poi(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.ChangeCamera.poi) +} + +// string name = 2; +inline bool ChangeCamera::_internal_has_name() const { + return target_case() == kName; +} +inline bool ChangeCamera::has_name() const { + return _internal_has_name(); +} +inline void ChangeCamera::set_has_name() { + _impl_._oneof_case_[0] = kName; +} +inline void ChangeCamera::clear_name() { + if (_internal_has_name()) { + _impl_.target_.name_.Destroy(); + clear_has_target(); + } +} +inline const std::string& ChangeCamera::name() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.ChangeCamera.name) + return _internal_name(); +} +template +inline void ChangeCamera::set_name(ArgT0&& arg0, ArgT... args) { + if (!_internal_has_name()) { + clear_target(); + set_has_name(); + _impl_.target_.name_.InitDefault(); + } + _impl_.target_.name_.Set( static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.ChangeCamera.name) +} +inline std::string* ChangeCamera::mutable_name() { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.ChangeCamera.name) + return _s; +} +inline const std::string& ChangeCamera::_internal_name() const { + if (_internal_has_name()) { + return _impl_.target_.name_.Get(); + } + return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); +} +inline void ChangeCamera::_internal_set_name(const std::string& value) { + if (!_internal_has_name()) { + clear_target(); + set_has_name(); + _impl_.target_.name_.InitDefault(); + } + _impl_.target_.name_.Set(value, GetArenaForAllocation()); +} +inline std::string* ChangeCamera::_internal_mutable_name() { + if (!_internal_has_name()) { + clear_target(); + set_has_name(); + _impl_.target_.name_.InitDefault(); + } + return _impl_.target_.name_.Mutable( GetArenaForAllocation()); +} +inline std::string* ChangeCamera::release_name() { + // @@protoc_insertion_point(field_release:rtech.liveapi.ChangeCamera.name) + if (_internal_has_name()) { + clear_has_target(); + return _impl_.target_.name_.Release(); + } else { + return nullptr; + } +} +inline void ChangeCamera::set_allocated_name(std::string* name) { + if (has_target()) { + clear_target(); + } + if (name != nullptr) { + set_has_name(); + _impl_.target_.name_.InitAllocated(name, GetArenaForAllocation()); + } + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.ChangeCamera.name) +} + +inline bool ChangeCamera::has_target() const { + return target_case() != TARGET_NOT_SET; +} +inline void ChangeCamera::clear_has_target() { + _impl_._oneof_case_[0] = TARGET_NOT_SET; +} +inline ChangeCamera::TargetCase ChangeCamera::target_case() const { + return ChangeCamera::TargetCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// PauseToggle + +// float preTimer = 1; +inline void PauseToggle::clear_pretimer() { + _impl_.pretimer_ = 0; +} +inline float PauseToggle::_internal_pretimer() const { + return _impl_.pretimer_; +} +inline float PauseToggle::pretimer() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.PauseToggle.preTimer) + return _internal_pretimer(); +} +inline void PauseToggle::_internal_set_pretimer(float value) { + + _impl_.pretimer_ = value; +} +inline void PauseToggle::set_pretimer(float value) { + _internal_set_pretimer(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.PauseToggle.preTimer) +} + +// ------------------------------------------------------------------- + +// CustomMatch_CreateLobby + +// ------------------------------------------------------------------- + +// CustomMatch_JoinLobby + +// string roleToken = 1; +inline void CustomMatch_JoinLobby::clear_roletoken() { + _impl_.roletoken_.ClearToEmpty(); +} +inline const std::string& CustomMatch_JoinLobby::roletoken() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_JoinLobby.roleToken) + return _internal_roletoken(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_JoinLobby::set_roletoken(ArgT0&& arg0, ArgT... args) { + + _impl_.roletoken_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_JoinLobby.roleToken) +} +inline std::string* CustomMatch_JoinLobby::mutable_roletoken() { + std::string* _s = _internal_mutable_roletoken(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_JoinLobby.roleToken) + return _s; +} +inline const std::string& CustomMatch_JoinLobby::_internal_roletoken() const { + return _impl_.roletoken_.Get(); +} +inline void CustomMatch_JoinLobby::_internal_set_roletoken(const std::string& value) { + + _impl_.roletoken_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_JoinLobby::_internal_mutable_roletoken() { + + return _impl_.roletoken_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_JoinLobby::release_roletoken() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_JoinLobby.roleToken) + return _impl_.roletoken_.Release(); +} +inline void CustomMatch_JoinLobby::set_allocated_roletoken(std::string* roletoken) { + if (roletoken != nullptr) { + + } else { + + } + _impl_.roletoken_.SetAllocated(roletoken, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.roletoken_.IsDefault()) { + _impl_.roletoken_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_JoinLobby.roleToken) +} + +// ------------------------------------------------------------------- + +// CustomMatch_LeaveLobby + +// ------------------------------------------------------------------- + +// CustomMatch_SetReady + +// bool isReady = 1; +inline void CustomMatch_SetReady::clear_isready() { + _impl_.isready_ = false; +} +inline bool CustomMatch_SetReady::_internal_isready() const { + return _impl_.isready_; +} +inline bool CustomMatch_SetReady::isready() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetReady.isReady) + return _internal_isready(); +} +inline void CustomMatch_SetReady::_internal_set_isready(bool value) { + + _impl_.isready_ = value; +} +inline void CustomMatch_SetReady::set_isready(bool value) { + _internal_set_isready(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetReady.isReady) +} + +// ------------------------------------------------------------------- + +// CustomMatch_GetLobbyPlayers + +// ------------------------------------------------------------------- + +// CustomMatch_SetMatchmaking + +// bool enabled = 1; +inline void CustomMatch_SetMatchmaking::clear_enabled() { + _impl_.enabled_ = false; +} +inline bool CustomMatch_SetMatchmaking::_internal_enabled() const { + return _impl_.enabled_; +} +inline bool CustomMatch_SetMatchmaking::enabled() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetMatchmaking.enabled) + return _internal_enabled(); +} +inline void CustomMatch_SetMatchmaking::_internal_set_enabled(bool value) { + + _impl_.enabled_ = value; +} +inline void CustomMatch_SetMatchmaking::set_enabled(bool value) { + _internal_set_enabled(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetMatchmaking.enabled) +} + +// ------------------------------------------------------------------- + +// CustomMatch_SetTeam + +// int32 teamId = 1; +inline void CustomMatch_SetTeam::clear_teamid() { + _impl_.teamid_ = 0; +} +inline int32_t CustomMatch_SetTeam::_internal_teamid() const { + return _impl_.teamid_; +} +inline int32_t CustomMatch_SetTeam::teamid() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetTeam.teamId) + return _internal_teamid(); +} +inline void CustomMatch_SetTeam::_internal_set_teamid(int32_t value) { + + _impl_.teamid_ = value; +} +inline void CustomMatch_SetTeam::set_teamid(int32_t value) { + _internal_set_teamid(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetTeam.teamId) +} + +// string targetHardwareName = 2; +inline void CustomMatch_SetTeam::clear_targethardwarename() { + _impl_.targethardwarename_.ClearToEmpty(); +} +inline const std::string& CustomMatch_SetTeam::targethardwarename() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetTeam.targetHardwareName) + return _internal_targethardwarename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_SetTeam::set_targethardwarename(ArgT0&& arg0, ArgT... args) { + + _impl_.targethardwarename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetTeam.targetHardwareName) +} +inline std::string* CustomMatch_SetTeam::mutable_targethardwarename() { + std::string* _s = _internal_mutable_targethardwarename(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_SetTeam.targetHardwareName) + return _s; +} +inline const std::string& CustomMatch_SetTeam::_internal_targethardwarename() const { + return _impl_.targethardwarename_.Get(); +} +inline void CustomMatch_SetTeam::_internal_set_targethardwarename(const std::string& value) { + + _impl_.targethardwarename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_SetTeam::_internal_mutable_targethardwarename() { + + return _impl_.targethardwarename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_SetTeam::release_targethardwarename() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_SetTeam.targetHardwareName) + return _impl_.targethardwarename_.Release(); +} +inline void CustomMatch_SetTeam::set_allocated_targethardwarename(std::string* targethardwarename) { + if (targethardwarename != nullptr) { + + } else { + + } + _impl_.targethardwarename_.SetAllocated(targethardwarename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.targethardwarename_.IsDefault()) { + _impl_.targethardwarename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_SetTeam.targetHardwareName) +} + +// string targetNucleusHash = 3; +inline void CustomMatch_SetTeam::clear_targetnucleushash() { + _impl_.targetnucleushash_.ClearToEmpty(); +} +inline const std::string& CustomMatch_SetTeam::targetnucleushash() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetTeam.targetNucleusHash) + return _internal_targetnucleushash(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_SetTeam::set_targetnucleushash(ArgT0&& arg0, ArgT... args) { + + _impl_.targetnucleushash_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetTeam.targetNucleusHash) +} +inline std::string* CustomMatch_SetTeam::mutable_targetnucleushash() { + std::string* _s = _internal_mutable_targetnucleushash(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_SetTeam.targetNucleusHash) + return _s; +} +inline const std::string& CustomMatch_SetTeam::_internal_targetnucleushash() const { + return _impl_.targetnucleushash_.Get(); +} +inline void CustomMatch_SetTeam::_internal_set_targetnucleushash(const std::string& value) { + + _impl_.targetnucleushash_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_SetTeam::_internal_mutable_targetnucleushash() { + + return _impl_.targetnucleushash_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_SetTeam::release_targetnucleushash() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_SetTeam.targetNucleusHash) + return _impl_.targetnucleushash_.Release(); +} +inline void CustomMatch_SetTeam::set_allocated_targetnucleushash(std::string* targetnucleushash) { + if (targetnucleushash != nullptr) { + + } else { + + } + _impl_.targetnucleushash_.SetAllocated(targetnucleushash, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.targetnucleushash_.IsDefault()) { + _impl_.targetnucleushash_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_SetTeam.targetNucleusHash) +} + +// ------------------------------------------------------------------- + +// CustomMatch_KickPlayer + +// string targetHardwareName = 1; +inline void CustomMatch_KickPlayer::clear_targethardwarename() { + _impl_.targethardwarename_.ClearToEmpty(); +} +inline const std::string& CustomMatch_KickPlayer::targethardwarename() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_KickPlayer.targetHardwareName) + return _internal_targethardwarename(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_KickPlayer::set_targethardwarename(ArgT0&& arg0, ArgT... args) { + + _impl_.targethardwarename_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_KickPlayer.targetHardwareName) +} +inline std::string* CustomMatch_KickPlayer::mutable_targethardwarename() { + std::string* _s = _internal_mutable_targethardwarename(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_KickPlayer.targetHardwareName) + return _s; +} +inline const std::string& CustomMatch_KickPlayer::_internal_targethardwarename() const { + return _impl_.targethardwarename_.Get(); +} +inline void CustomMatch_KickPlayer::_internal_set_targethardwarename(const std::string& value) { + + _impl_.targethardwarename_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_KickPlayer::_internal_mutable_targethardwarename() { + + return _impl_.targethardwarename_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_KickPlayer::release_targethardwarename() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_KickPlayer.targetHardwareName) + return _impl_.targethardwarename_.Release(); +} +inline void CustomMatch_KickPlayer::set_allocated_targethardwarename(std::string* targethardwarename) { + if (targethardwarename != nullptr) { + + } else { + + } + _impl_.targethardwarename_.SetAllocated(targethardwarename, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.targethardwarename_.IsDefault()) { + _impl_.targethardwarename_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_KickPlayer.targetHardwareName) +} + +// string targetNucleusHash = 2; +inline void CustomMatch_KickPlayer::clear_targetnucleushash() { + _impl_.targetnucleushash_.ClearToEmpty(); +} +inline const std::string& CustomMatch_KickPlayer::targetnucleushash() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_KickPlayer.targetNucleusHash) + return _internal_targetnucleushash(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_KickPlayer::set_targetnucleushash(ArgT0&& arg0, ArgT... args) { + + _impl_.targetnucleushash_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_KickPlayer.targetNucleusHash) +} +inline std::string* CustomMatch_KickPlayer::mutable_targetnucleushash() { + std::string* _s = _internal_mutable_targetnucleushash(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_KickPlayer.targetNucleusHash) + return _s; +} +inline const std::string& CustomMatch_KickPlayer::_internal_targetnucleushash() const { + return _impl_.targetnucleushash_.Get(); +} +inline void CustomMatch_KickPlayer::_internal_set_targetnucleushash(const std::string& value) { + + _impl_.targetnucleushash_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_KickPlayer::_internal_mutable_targetnucleushash() { + + return _impl_.targetnucleushash_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_KickPlayer::release_targetnucleushash() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_KickPlayer.targetNucleusHash) + return _impl_.targetnucleushash_.Release(); +} +inline void CustomMatch_KickPlayer::set_allocated_targetnucleushash(std::string* targetnucleushash) { + if (targetnucleushash != nullptr) { + + } else { + + } + _impl_.targetnucleushash_.SetAllocated(targetnucleushash, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.targetnucleushash_.IsDefault()) { + _impl_.targetnucleushash_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_KickPlayer.targetNucleusHash) +} + +// ------------------------------------------------------------------- + +// CustomMatch_SetSettings + +// string playlistName = 1; +inline void CustomMatch_SetSettings::clear_playlistname() { + _impl_.playlistname_.ClearToEmpty(); +} +inline const std::string& CustomMatch_SetSettings::playlistname() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetSettings.playlistName) + return _internal_playlistname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_SetSettings::set_playlistname(ArgT0&& arg0, ArgT... args) { + + _impl_.playlistname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetSettings.playlistName) +} +inline std::string* CustomMatch_SetSettings::mutable_playlistname() { + std::string* _s = _internal_mutable_playlistname(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_SetSettings.playlistName) + return _s; +} +inline const std::string& CustomMatch_SetSettings::_internal_playlistname() const { + return _impl_.playlistname_.Get(); +} +inline void CustomMatch_SetSettings::_internal_set_playlistname(const std::string& value) { + + _impl_.playlistname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_SetSettings::_internal_mutable_playlistname() { + + return _impl_.playlistname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_SetSettings::release_playlistname() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_SetSettings.playlistName) + return _impl_.playlistname_.Release(); +} +inline void CustomMatch_SetSettings::set_allocated_playlistname(std::string* playlistname) { + if (playlistname != nullptr) { + + } else { + + } + _impl_.playlistname_.SetAllocated(playlistname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.playlistname_.IsDefault()) { + _impl_.playlistname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_SetSettings.playlistName) +} + +// bool adminChat = 2; +inline void CustomMatch_SetSettings::clear_adminchat() { + _impl_.adminchat_ = false; +} +inline bool CustomMatch_SetSettings::_internal_adminchat() const { + return _impl_.adminchat_; +} +inline bool CustomMatch_SetSettings::adminchat() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetSettings.adminChat) + return _internal_adminchat(); +} +inline void CustomMatch_SetSettings::_internal_set_adminchat(bool value) { + + _impl_.adminchat_ = value; +} +inline void CustomMatch_SetSettings::set_adminchat(bool value) { + _internal_set_adminchat(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetSettings.adminChat) +} + +// bool teamRename = 3; +inline void CustomMatch_SetSettings::clear_teamrename() { + _impl_.teamrename_ = false; +} +inline bool CustomMatch_SetSettings::_internal_teamrename() const { + return _impl_.teamrename_; +} +inline bool CustomMatch_SetSettings::teamrename() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetSettings.teamRename) + return _internal_teamrename(); +} +inline void CustomMatch_SetSettings::_internal_set_teamrename(bool value) { + + _impl_.teamrename_ = value; +} +inline void CustomMatch_SetSettings::set_teamrename(bool value) { + _internal_set_teamrename(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetSettings.teamRename) +} + +// bool selfAssign = 4; +inline void CustomMatch_SetSettings::clear_selfassign() { + _impl_.selfassign_ = false; +} +inline bool CustomMatch_SetSettings::_internal_selfassign() const { + return _impl_.selfassign_; +} +inline bool CustomMatch_SetSettings::selfassign() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetSettings.selfAssign) + return _internal_selfassign(); +} +inline void CustomMatch_SetSettings::_internal_set_selfassign(bool value) { + + _impl_.selfassign_ = value; +} +inline void CustomMatch_SetSettings::set_selfassign(bool value) { + _internal_set_selfassign(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetSettings.selfAssign) +} + +// bool aimAssist = 5; +inline void CustomMatch_SetSettings::clear_aimassist() { + _impl_.aimassist_ = false; +} +inline bool CustomMatch_SetSettings::_internal_aimassist() const { + return _impl_.aimassist_; +} +inline bool CustomMatch_SetSettings::aimassist() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetSettings.aimAssist) + return _internal_aimassist(); +} +inline void CustomMatch_SetSettings::_internal_set_aimassist(bool value) { + + _impl_.aimassist_ = value; +} +inline void CustomMatch_SetSettings::set_aimassist(bool value) { + _internal_set_aimassist(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetSettings.aimAssist) +} + +// bool anonMode = 6; +inline void CustomMatch_SetSettings::clear_anonmode() { + _impl_.anonmode_ = false; +} +inline bool CustomMatch_SetSettings::_internal_anonmode() const { + return _impl_.anonmode_; +} +inline bool CustomMatch_SetSettings::anonmode() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetSettings.anonMode) + return _internal_anonmode(); +} +inline void CustomMatch_SetSettings::_internal_set_anonmode(bool value) { + + _impl_.anonmode_ = value; +} +inline void CustomMatch_SetSettings::set_anonmode(bool value) { + _internal_set_anonmode(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetSettings.anonMode) +} + +// ------------------------------------------------------------------- + +// CustomMatch_GetSettings + +// ------------------------------------------------------------------- + +// CustomMatch_SetTeamName + +// int32 teamId = 1; +inline void CustomMatch_SetTeamName::clear_teamid() { + _impl_.teamid_ = 0; +} +inline int32_t CustomMatch_SetTeamName::_internal_teamid() const { + return _impl_.teamid_; +} +inline int32_t CustomMatch_SetTeamName::teamid() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetTeamName.teamId) + return _internal_teamid(); +} +inline void CustomMatch_SetTeamName::_internal_set_teamid(int32_t value) { + + _impl_.teamid_ = value; +} +inline void CustomMatch_SetTeamName::set_teamid(int32_t value) { + _internal_set_teamid(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetTeamName.teamId) +} + +// string teamName = 2; +inline void CustomMatch_SetTeamName::clear_teamname() { + _impl_.teamname_.ClearToEmpty(); +} +inline const std::string& CustomMatch_SetTeamName::teamname() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SetTeamName.teamName) + return _internal_teamname(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_SetTeamName::set_teamname(ArgT0&& arg0, ArgT... args) { + + _impl_.teamname_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SetTeamName.teamName) +} +inline std::string* CustomMatch_SetTeamName::mutable_teamname() { + std::string* _s = _internal_mutable_teamname(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_SetTeamName.teamName) + return _s; +} +inline const std::string& CustomMatch_SetTeamName::_internal_teamname() const { + return _impl_.teamname_.Get(); +} +inline void CustomMatch_SetTeamName::_internal_set_teamname(const std::string& value) { + + _impl_.teamname_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_SetTeamName::_internal_mutable_teamname() { + + return _impl_.teamname_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_SetTeamName::release_teamname() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_SetTeamName.teamName) + return _impl_.teamname_.Release(); +} +inline void CustomMatch_SetTeamName::set_allocated_teamname(std::string* teamname) { + if (teamname != nullptr) { + + } else { + + } + _impl_.teamname_.SetAllocated(teamname, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.teamname_.IsDefault()) { + _impl_.teamname_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_SetTeamName.teamName) +} + +// ------------------------------------------------------------------- + +// CustomMatch_SendChat + +// string text = 1; +inline void CustomMatch_SendChat::clear_text() { + _impl_.text_.ClearToEmpty(); +} +inline const std::string& CustomMatch_SendChat::text() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.CustomMatch_SendChat.text) + return _internal_text(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CustomMatch_SendChat::set_text(ArgT0&& arg0, ArgT... args) { + + _impl_.text_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.CustomMatch_SendChat.text) +} +inline std::string* CustomMatch_SendChat::mutable_text() { + std::string* _s = _internal_mutable_text(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.CustomMatch_SendChat.text) + return _s; +} +inline const std::string& CustomMatch_SendChat::_internal_text() const { + return _impl_.text_.Get(); +} +inline void CustomMatch_SendChat::_internal_set_text(const std::string& value) { + + _impl_.text_.Set(value, GetArenaForAllocation()); +} +inline std::string* CustomMatch_SendChat::_internal_mutable_text() { + + return _impl_.text_.Mutable(GetArenaForAllocation()); +} +inline std::string* CustomMatch_SendChat::release_text() { + // @@protoc_insertion_point(field_release:rtech.liveapi.CustomMatch_SendChat.text) + return _impl_.text_.Release(); +} +inline void CustomMatch_SendChat::set_allocated_text(std::string* text) { + if (text != nullptr) { + + } else { + + } + _impl_.text_.SetAllocated(text, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.text_.IsDefault()) { + _impl_.text_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.CustomMatch_SendChat.text) +} + +// ------------------------------------------------------------------- + +// Request + +// bool withAck = 1; +inline void Request::clear_withack() { + _impl_.withack_ = false; +} +inline bool Request::_internal_withack() const { + return _impl_.withack_; +} +inline bool Request::withack() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.withAck) + return _internal_withack(); +} +inline void Request::_internal_set_withack(bool value) { + + _impl_.withack_ = value; +} +inline void Request::set_withack(bool value) { + _internal_set_withack(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Request.withAck) +} + +// string preSharedKey = 2; +inline void Request::clear_presharedkey() { + _impl_.presharedkey_.ClearToEmpty(); +} +inline const std::string& Request::presharedkey() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.preSharedKey) + return _internal_presharedkey(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void Request::set_presharedkey(ArgT0&& arg0, ArgT... args) { + + _impl_.presharedkey_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.Request.preSharedKey) +} +inline std::string* Request::mutable_presharedkey() { + std::string* _s = _internal_mutable_presharedkey(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.preSharedKey) + return _s; +} +inline const std::string& Request::_internal_presharedkey() const { + return _impl_.presharedkey_.Get(); +} +inline void Request::_internal_set_presharedkey(const std::string& value) { + + _impl_.presharedkey_.Set(value, GetArenaForAllocation()); +} +inline std::string* Request::_internal_mutable_presharedkey() { + + return _impl_.presharedkey_.Mutable(GetArenaForAllocation()); +} +inline std::string* Request::release_presharedkey() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.preSharedKey) + return _impl_.presharedkey_.Release(); +} +inline void Request::set_allocated_presharedkey(std::string* presharedkey) { + if (presharedkey != nullptr) { + + } else { + + } + _impl_.presharedkey_.SetAllocated(presharedkey, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.presharedkey_.IsDefault()) { + _impl_.presharedkey_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Request.preSharedKey) +} + +// .rtech.liveapi.ChangeCamera changeCam = 4; +inline bool Request::_internal_has_changecam() const { + return actions_case() == kChangeCam; +} +inline bool Request::has_changecam() const { + return _internal_has_changecam(); +} +inline void Request::set_has_changecam() { + _impl_._oneof_case_[0] = kChangeCam; +} +inline void Request::clear_changecam() { + if (_internal_has_changecam()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.changecam_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::ChangeCamera* Request::release_changecam() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.changeCam) + if (_internal_has_changecam()) { + clear_has_actions(); + ::rtech::liveapi::ChangeCamera* temp = _impl_.actions_.changecam_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.changecam_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::ChangeCamera& Request::_internal_changecam() const { + return _internal_has_changecam() + ? *_impl_.actions_.changecam_ + : reinterpret_cast< ::rtech::liveapi::ChangeCamera&>(::rtech::liveapi::_ChangeCamera_default_instance_); +} +inline const ::rtech::liveapi::ChangeCamera& Request::changecam() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.changeCam) + return _internal_changecam(); +} +inline ::rtech::liveapi::ChangeCamera* Request::unsafe_arena_release_changecam() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.changeCam) + if (_internal_has_changecam()) { + clear_has_actions(); + ::rtech::liveapi::ChangeCamera* temp = _impl_.actions_.changecam_; + _impl_.actions_.changecam_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_changecam(::rtech::liveapi::ChangeCamera* changecam) { + clear_actions(); + if (changecam) { + set_has_changecam(); + _impl_.actions_.changecam_ = changecam; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.changeCam) +} +inline ::rtech::liveapi::ChangeCamera* Request::_internal_mutable_changecam() { + if (!_internal_has_changecam()) { + clear_actions(); + set_has_changecam(); + _impl_.actions_.changecam_ = CreateMaybeMessage< ::rtech::liveapi::ChangeCamera >(GetArenaForAllocation()); + } + return _impl_.actions_.changecam_; +} +inline ::rtech::liveapi::ChangeCamera* Request::mutable_changecam() { + ::rtech::liveapi::ChangeCamera* _msg = _internal_mutable_changecam(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.changeCam) + return _msg; +} + +// .rtech.liveapi.PauseToggle pauseToggle = 5; +inline bool Request::_internal_has_pausetoggle() const { + return actions_case() == kPauseToggle; +} +inline bool Request::has_pausetoggle() const { + return _internal_has_pausetoggle(); +} +inline void Request::set_has_pausetoggle() { + _impl_._oneof_case_[0] = kPauseToggle; +} +inline void Request::clear_pausetoggle() { + if (_internal_has_pausetoggle()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.pausetoggle_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::PauseToggle* Request::release_pausetoggle() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.pauseToggle) + if (_internal_has_pausetoggle()) { + clear_has_actions(); + ::rtech::liveapi::PauseToggle* temp = _impl_.actions_.pausetoggle_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.pausetoggle_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::PauseToggle& Request::_internal_pausetoggle() const { + return _internal_has_pausetoggle() + ? *_impl_.actions_.pausetoggle_ + : reinterpret_cast< ::rtech::liveapi::PauseToggle&>(::rtech::liveapi::_PauseToggle_default_instance_); +} +inline const ::rtech::liveapi::PauseToggle& Request::pausetoggle() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.pauseToggle) + return _internal_pausetoggle(); +} +inline ::rtech::liveapi::PauseToggle* Request::unsafe_arena_release_pausetoggle() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.pauseToggle) + if (_internal_has_pausetoggle()) { + clear_has_actions(); + ::rtech::liveapi::PauseToggle* temp = _impl_.actions_.pausetoggle_; + _impl_.actions_.pausetoggle_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_pausetoggle(::rtech::liveapi::PauseToggle* pausetoggle) { + clear_actions(); + if (pausetoggle) { + set_has_pausetoggle(); + _impl_.actions_.pausetoggle_ = pausetoggle; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.pauseToggle) +} +inline ::rtech::liveapi::PauseToggle* Request::_internal_mutable_pausetoggle() { + if (!_internal_has_pausetoggle()) { + clear_actions(); + set_has_pausetoggle(); + _impl_.actions_.pausetoggle_ = CreateMaybeMessage< ::rtech::liveapi::PauseToggle >(GetArenaForAllocation()); + } + return _impl_.actions_.pausetoggle_; +} +inline ::rtech::liveapi::PauseToggle* Request::mutable_pausetoggle() { + ::rtech::liveapi::PauseToggle* _msg = _internal_mutable_pausetoggle(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.pauseToggle) + return _msg; +} + +// .rtech.liveapi.CustomMatch_CreateLobby customMatch_CreateLobby = 10; +inline bool Request::_internal_has_custommatch_createlobby() const { + return actions_case() == kCustomMatchCreateLobby; +} +inline bool Request::has_custommatch_createlobby() const { + return _internal_has_custommatch_createlobby(); +} +inline void Request::set_has_custommatch_createlobby() { + _impl_._oneof_case_[0] = kCustomMatchCreateLobby; +} +inline void Request::clear_custommatch_createlobby() { + if (_internal_has_custommatch_createlobby()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_createlobby_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_CreateLobby* Request::release_custommatch_createlobby() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_CreateLobby) + if (_internal_has_custommatch_createlobby()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_CreateLobby* temp = _impl_.actions_.custommatch_createlobby_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_createlobby_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_CreateLobby& Request::_internal_custommatch_createlobby() const { + return _internal_has_custommatch_createlobby() + ? *_impl_.actions_.custommatch_createlobby_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_CreateLobby&>(::rtech::liveapi::_CustomMatch_CreateLobby_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_CreateLobby& Request::custommatch_createlobby() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_CreateLobby) + return _internal_custommatch_createlobby(); +} +inline ::rtech::liveapi::CustomMatch_CreateLobby* Request::unsafe_arena_release_custommatch_createlobby() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_CreateLobby) + if (_internal_has_custommatch_createlobby()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_CreateLobby* temp = _impl_.actions_.custommatch_createlobby_; + _impl_.actions_.custommatch_createlobby_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_createlobby(::rtech::liveapi::CustomMatch_CreateLobby* custommatch_createlobby) { + clear_actions(); + if (custommatch_createlobby) { + set_has_custommatch_createlobby(); + _impl_.actions_.custommatch_createlobby_ = custommatch_createlobby; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_CreateLobby) +} +inline ::rtech::liveapi::CustomMatch_CreateLobby* Request::_internal_mutable_custommatch_createlobby() { + if (!_internal_has_custommatch_createlobby()) { + clear_actions(); + set_has_custommatch_createlobby(); + _impl_.actions_.custommatch_createlobby_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_CreateLobby >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_createlobby_; +} +inline ::rtech::liveapi::CustomMatch_CreateLobby* Request::mutable_custommatch_createlobby() { + ::rtech::liveapi::CustomMatch_CreateLobby* _msg = _internal_mutable_custommatch_createlobby(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_CreateLobby) + return _msg; +} + +// .rtech.liveapi.CustomMatch_JoinLobby customMatch_JoinLobby = 11; +inline bool Request::_internal_has_custommatch_joinlobby() const { + return actions_case() == kCustomMatchJoinLobby; +} +inline bool Request::has_custommatch_joinlobby() const { + return _internal_has_custommatch_joinlobby(); +} +inline void Request::set_has_custommatch_joinlobby() { + _impl_._oneof_case_[0] = kCustomMatchJoinLobby; +} +inline void Request::clear_custommatch_joinlobby() { + if (_internal_has_custommatch_joinlobby()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_joinlobby_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_JoinLobby* Request::release_custommatch_joinlobby() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_JoinLobby) + if (_internal_has_custommatch_joinlobby()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_JoinLobby* temp = _impl_.actions_.custommatch_joinlobby_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_joinlobby_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_JoinLobby& Request::_internal_custommatch_joinlobby() const { + return _internal_has_custommatch_joinlobby() + ? *_impl_.actions_.custommatch_joinlobby_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_JoinLobby&>(::rtech::liveapi::_CustomMatch_JoinLobby_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_JoinLobby& Request::custommatch_joinlobby() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_JoinLobby) + return _internal_custommatch_joinlobby(); +} +inline ::rtech::liveapi::CustomMatch_JoinLobby* Request::unsafe_arena_release_custommatch_joinlobby() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_JoinLobby) + if (_internal_has_custommatch_joinlobby()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_JoinLobby* temp = _impl_.actions_.custommatch_joinlobby_; + _impl_.actions_.custommatch_joinlobby_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_joinlobby(::rtech::liveapi::CustomMatch_JoinLobby* custommatch_joinlobby) { + clear_actions(); + if (custommatch_joinlobby) { + set_has_custommatch_joinlobby(); + _impl_.actions_.custommatch_joinlobby_ = custommatch_joinlobby; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_JoinLobby) +} +inline ::rtech::liveapi::CustomMatch_JoinLobby* Request::_internal_mutable_custommatch_joinlobby() { + if (!_internal_has_custommatch_joinlobby()) { + clear_actions(); + set_has_custommatch_joinlobby(); + _impl_.actions_.custommatch_joinlobby_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_JoinLobby >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_joinlobby_; +} +inline ::rtech::liveapi::CustomMatch_JoinLobby* Request::mutable_custommatch_joinlobby() { + ::rtech::liveapi::CustomMatch_JoinLobby* _msg = _internal_mutable_custommatch_joinlobby(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_JoinLobby) + return _msg; +} + +// .rtech.liveapi.CustomMatch_LeaveLobby customMatch_LeaveLobby = 12; +inline bool Request::_internal_has_custommatch_leavelobby() const { + return actions_case() == kCustomMatchLeaveLobby; +} +inline bool Request::has_custommatch_leavelobby() const { + return _internal_has_custommatch_leavelobby(); +} +inline void Request::set_has_custommatch_leavelobby() { + _impl_._oneof_case_[0] = kCustomMatchLeaveLobby; +} +inline void Request::clear_custommatch_leavelobby() { + if (_internal_has_custommatch_leavelobby()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_leavelobby_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_LeaveLobby* Request::release_custommatch_leavelobby() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_LeaveLobby) + if (_internal_has_custommatch_leavelobby()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_LeaveLobby* temp = _impl_.actions_.custommatch_leavelobby_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_leavelobby_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_LeaveLobby& Request::_internal_custommatch_leavelobby() const { + return _internal_has_custommatch_leavelobby() + ? *_impl_.actions_.custommatch_leavelobby_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_LeaveLobby&>(::rtech::liveapi::_CustomMatch_LeaveLobby_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_LeaveLobby& Request::custommatch_leavelobby() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_LeaveLobby) + return _internal_custommatch_leavelobby(); +} +inline ::rtech::liveapi::CustomMatch_LeaveLobby* Request::unsafe_arena_release_custommatch_leavelobby() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_LeaveLobby) + if (_internal_has_custommatch_leavelobby()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_LeaveLobby* temp = _impl_.actions_.custommatch_leavelobby_; + _impl_.actions_.custommatch_leavelobby_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_leavelobby(::rtech::liveapi::CustomMatch_LeaveLobby* custommatch_leavelobby) { + clear_actions(); + if (custommatch_leavelobby) { + set_has_custommatch_leavelobby(); + _impl_.actions_.custommatch_leavelobby_ = custommatch_leavelobby; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_LeaveLobby) +} +inline ::rtech::liveapi::CustomMatch_LeaveLobby* Request::_internal_mutable_custommatch_leavelobby() { + if (!_internal_has_custommatch_leavelobby()) { + clear_actions(); + set_has_custommatch_leavelobby(); + _impl_.actions_.custommatch_leavelobby_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_LeaveLobby >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_leavelobby_; +} +inline ::rtech::liveapi::CustomMatch_LeaveLobby* Request::mutable_custommatch_leavelobby() { + ::rtech::liveapi::CustomMatch_LeaveLobby* _msg = _internal_mutable_custommatch_leavelobby(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_LeaveLobby) + return _msg; +} + +// .rtech.liveapi.CustomMatch_SetReady customMatch_SetReady = 13; +inline bool Request::_internal_has_custommatch_setready() const { + return actions_case() == kCustomMatchSetReady; +} +inline bool Request::has_custommatch_setready() const { + return _internal_has_custommatch_setready(); +} +inline void Request::set_has_custommatch_setready() { + _impl_._oneof_case_[0] = kCustomMatchSetReady; +} +inline void Request::clear_custommatch_setready() { + if (_internal_has_custommatch_setready()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setready_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_SetReady* Request::release_custommatch_setready() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_SetReady) + if (_internal_has_custommatch_setready()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetReady* temp = _impl_.actions_.custommatch_setready_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_setready_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_SetReady& Request::_internal_custommatch_setready() const { + return _internal_has_custommatch_setready() + ? *_impl_.actions_.custommatch_setready_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_SetReady&>(::rtech::liveapi::_CustomMatch_SetReady_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_SetReady& Request::custommatch_setready() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_SetReady) + return _internal_custommatch_setready(); +} +inline ::rtech::liveapi::CustomMatch_SetReady* Request::unsafe_arena_release_custommatch_setready() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_SetReady) + if (_internal_has_custommatch_setready()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetReady* temp = _impl_.actions_.custommatch_setready_; + _impl_.actions_.custommatch_setready_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_setready(::rtech::liveapi::CustomMatch_SetReady* custommatch_setready) { + clear_actions(); + if (custommatch_setready) { + set_has_custommatch_setready(); + _impl_.actions_.custommatch_setready_ = custommatch_setready; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_SetReady) +} +inline ::rtech::liveapi::CustomMatch_SetReady* Request::_internal_mutable_custommatch_setready() { + if (!_internal_has_custommatch_setready()) { + clear_actions(); + set_has_custommatch_setready(); + _impl_.actions_.custommatch_setready_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetReady >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_setready_; +} +inline ::rtech::liveapi::CustomMatch_SetReady* Request::mutable_custommatch_setready() { + ::rtech::liveapi::CustomMatch_SetReady* _msg = _internal_mutable_custommatch_setready(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_SetReady) + return _msg; +} + +// .rtech.liveapi.CustomMatch_SetMatchmaking customMatch_SetMatchmaking = 14; +inline bool Request::_internal_has_custommatch_setmatchmaking() const { + return actions_case() == kCustomMatchSetMatchmaking; +} +inline bool Request::has_custommatch_setmatchmaking() const { + return _internal_has_custommatch_setmatchmaking(); +} +inline void Request::set_has_custommatch_setmatchmaking() { + _impl_._oneof_case_[0] = kCustomMatchSetMatchmaking; +} +inline void Request::clear_custommatch_setmatchmaking() { + if (_internal_has_custommatch_setmatchmaking()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setmatchmaking_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_SetMatchmaking* Request::release_custommatch_setmatchmaking() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_SetMatchmaking) + if (_internal_has_custommatch_setmatchmaking()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetMatchmaking* temp = _impl_.actions_.custommatch_setmatchmaking_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_setmatchmaking_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_SetMatchmaking& Request::_internal_custommatch_setmatchmaking() const { + return _internal_has_custommatch_setmatchmaking() + ? *_impl_.actions_.custommatch_setmatchmaking_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_SetMatchmaking&>(::rtech::liveapi::_CustomMatch_SetMatchmaking_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_SetMatchmaking& Request::custommatch_setmatchmaking() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_SetMatchmaking) + return _internal_custommatch_setmatchmaking(); +} +inline ::rtech::liveapi::CustomMatch_SetMatchmaking* Request::unsafe_arena_release_custommatch_setmatchmaking() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_SetMatchmaking) + if (_internal_has_custommatch_setmatchmaking()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetMatchmaking* temp = _impl_.actions_.custommatch_setmatchmaking_; + _impl_.actions_.custommatch_setmatchmaking_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_setmatchmaking(::rtech::liveapi::CustomMatch_SetMatchmaking* custommatch_setmatchmaking) { + clear_actions(); + if (custommatch_setmatchmaking) { + set_has_custommatch_setmatchmaking(); + _impl_.actions_.custommatch_setmatchmaking_ = custommatch_setmatchmaking; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_SetMatchmaking) +} +inline ::rtech::liveapi::CustomMatch_SetMatchmaking* Request::_internal_mutable_custommatch_setmatchmaking() { + if (!_internal_has_custommatch_setmatchmaking()) { + clear_actions(); + set_has_custommatch_setmatchmaking(); + _impl_.actions_.custommatch_setmatchmaking_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetMatchmaking >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_setmatchmaking_; +} +inline ::rtech::liveapi::CustomMatch_SetMatchmaking* Request::mutable_custommatch_setmatchmaking() { + ::rtech::liveapi::CustomMatch_SetMatchmaking* _msg = _internal_mutable_custommatch_setmatchmaking(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_SetMatchmaking) + return _msg; +} + +// .rtech.liveapi.CustomMatch_SetTeam customMatch_SetTeam = 15; +inline bool Request::_internal_has_custommatch_setteam() const { + return actions_case() == kCustomMatchSetTeam; +} +inline bool Request::has_custommatch_setteam() const { + return _internal_has_custommatch_setteam(); +} +inline void Request::set_has_custommatch_setteam() { + _impl_._oneof_case_[0] = kCustomMatchSetTeam; +} +inline void Request::clear_custommatch_setteam() { + if (_internal_has_custommatch_setteam()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setteam_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_SetTeam* Request::release_custommatch_setteam() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_SetTeam) + if (_internal_has_custommatch_setteam()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetTeam* temp = _impl_.actions_.custommatch_setteam_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_setteam_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_SetTeam& Request::_internal_custommatch_setteam() const { + return _internal_has_custommatch_setteam() + ? *_impl_.actions_.custommatch_setteam_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_SetTeam&>(::rtech::liveapi::_CustomMatch_SetTeam_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_SetTeam& Request::custommatch_setteam() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_SetTeam) + return _internal_custommatch_setteam(); +} +inline ::rtech::liveapi::CustomMatch_SetTeam* Request::unsafe_arena_release_custommatch_setteam() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_SetTeam) + if (_internal_has_custommatch_setteam()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetTeam* temp = _impl_.actions_.custommatch_setteam_; + _impl_.actions_.custommatch_setteam_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_setteam(::rtech::liveapi::CustomMatch_SetTeam* custommatch_setteam) { + clear_actions(); + if (custommatch_setteam) { + set_has_custommatch_setteam(); + _impl_.actions_.custommatch_setteam_ = custommatch_setteam; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_SetTeam) +} +inline ::rtech::liveapi::CustomMatch_SetTeam* Request::_internal_mutable_custommatch_setteam() { + if (!_internal_has_custommatch_setteam()) { + clear_actions(); + set_has_custommatch_setteam(); + _impl_.actions_.custommatch_setteam_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetTeam >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_setteam_; +} +inline ::rtech::liveapi::CustomMatch_SetTeam* Request::mutable_custommatch_setteam() { + ::rtech::liveapi::CustomMatch_SetTeam* _msg = _internal_mutable_custommatch_setteam(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_SetTeam) + return _msg; +} + +// .rtech.liveapi.CustomMatch_KickPlayer customMatch_KickPlayer = 16; +inline bool Request::_internal_has_custommatch_kickplayer() const { + return actions_case() == kCustomMatchKickPlayer; +} +inline bool Request::has_custommatch_kickplayer() const { + return _internal_has_custommatch_kickplayer(); +} +inline void Request::set_has_custommatch_kickplayer() { + _impl_._oneof_case_[0] = kCustomMatchKickPlayer; +} +inline void Request::clear_custommatch_kickplayer() { + if (_internal_has_custommatch_kickplayer()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_kickplayer_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_KickPlayer* Request::release_custommatch_kickplayer() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_KickPlayer) + if (_internal_has_custommatch_kickplayer()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_KickPlayer* temp = _impl_.actions_.custommatch_kickplayer_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_kickplayer_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_KickPlayer& Request::_internal_custommatch_kickplayer() const { + return _internal_has_custommatch_kickplayer() + ? *_impl_.actions_.custommatch_kickplayer_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_KickPlayer&>(::rtech::liveapi::_CustomMatch_KickPlayer_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_KickPlayer& Request::custommatch_kickplayer() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_KickPlayer) + return _internal_custommatch_kickplayer(); +} +inline ::rtech::liveapi::CustomMatch_KickPlayer* Request::unsafe_arena_release_custommatch_kickplayer() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_KickPlayer) + if (_internal_has_custommatch_kickplayer()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_KickPlayer* temp = _impl_.actions_.custommatch_kickplayer_; + _impl_.actions_.custommatch_kickplayer_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_kickplayer(::rtech::liveapi::CustomMatch_KickPlayer* custommatch_kickplayer) { + clear_actions(); + if (custommatch_kickplayer) { + set_has_custommatch_kickplayer(); + _impl_.actions_.custommatch_kickplayer_ = custommatch_kickplayer; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_KickPlayer) +} +inline ::rtech::liveapi::CustomMatch_KickPlayer* Request::_internal_mutable_custommatch_kickplayer() { + if (!_internal_has_custommatch_kickplayer()) { + clear_actions(); + set_has_custommatch_kickplayer(); + _impl_.actions_.custommatch_kickplayer_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_KickPlayer >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_kickplayer_; +} +inline ::rtech::liveapi::CustomMatch_KickPlayer* Request::mutable_custommatch_kickplayer() { + ::rtech::liveapi::CustomMatch_KickPlayer* _msg = _internal_mutable_custommatch_kickplayer(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_KickPlayer) + return _msg; +} + +// .rtech.liveapi.CustomMatch_SetSettings customMatch_SetSettings = 17; +inline bool Request::_internal_has_custommatch_setsettings() const { + return actions_case() == kCustomMatchSetSettings; +} +inline bool Request::has_custommatch_setsettings() const { + return _internal_has_custommatch_setsettings(); +} +inline void Request::set_has_custommatch_setsettings() { + _impl_._oneof_case_[0] = kCustomMatchSetSettings; +} +inline void Request::clear_custommatch_setsettings() { + if (_internal_has_custommatch_setsettings()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setsettings_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_SetSettings* Request::release_custommatch_setsettings() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_SetSettings) + if (_internal_has_custommatch_setsettings()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetSettings* temp = _impl_.actions_.custommatch_setsettings_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_setsettings_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_SetSettings& Request::_internal_custommatch_setsettings() const { + return _internal_has_custommatch_setsettings() + ? *_impl_.actions_.custommatch_setsettings_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_SetSettings&>(::rtech::liveapi::_CustomMatch_SetSettings_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_SetSettings& Request::custommatch_setsettings() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_SetSettings) + return _internal_custommatch_setsettings(); +} +inline ::rtech::liveapi::CustomMatch_SetSettings* Request::unsafe_arena_release_custommatch_setsettings() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_SetSettings) + if (_internal_has_custommatch_setsettings()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetSettings* temp = _impl_.actions_.custommatch_setsettings_; + _impl_.actions_.custommatch_setsettings_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_setsettings(::rtech::liveapi::CustomMatch_SetSettings* custommatch_setsettings) { + clear_actions(); + if (custommatch_setsettings) { + set_has_custommatch_setsettings(); + _impl_.actions_.custommatch_setsettings_ = custommatch_setsettings; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_SetSettings) +} +inline ::rtech::liveapi::CustomMatch_SetSettings* Request::_internal_mutable_custommatch_setsettings() { + if (!_internal_has_custommatch_setsettings()) { + clear_actions(); + set_has_custommatch_setsettings(); + _impl_.actions_.custommatch_setsettings_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetSettings >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_setsettings_; +} +inline ::rtech::liveapi::CustomMatch_SetSettings* Request::mutable_custommatch_setsettings() { + ::rtech::liveapi::CustomMatch_SetSettings* _msg = _internal_mutable_custommatch_setsettings(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_SetSettings) + return _msg; +} + +// .rtech.liveapi.CustomMatch_SendChat customMatch_SendChat = 18; +inline bool Request::_internal_has_custommatch_sendchat() const { + return actions_case() == kCustomMatchSendChat; +} +inline bool Request::has_custommatch_sendchat() const { + return _internal_has_custommatch_sendchat(); +} +inline void Request::set_has_custommatch_sendchat() { + _impl_._oneof_case_[0] = kCustomMatchSendChat; +} +inline void Request::clear_custommatch_sendchat() { + if (_internal_has_custommatch_sendchat()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_sendchat_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_SendChat* Request::release_custommatch_sendchat() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_SendChat) + if (_internal_has_custommatch_sendchat()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SendChat* temp = _impl_.actions_.custommatch_sendchat_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_sendchat_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_SendChat& Request::_internal_custommatch_sendchat() const { + return _internal_has_custommatch_sendchat() + ? *_impl_.actions_.custommatch_sendchat_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_SendChat&>(::rtech::liveapi::_CustomMatch_SendChat_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_SendChat& Request::custommatch_sendchat() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_SendChat) + return _internal_custommatch_sendchat(); +} +inline ::rtech::liveapi::CustomMatch_SendChat* Request::unsafe_arena_release_custommatch_sendchat() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_SendChat) + if (_internal_has_custommatch_sendchat()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SendChat* temp = _impl_.actions_.custommatch_sendchat_; + _impl_.actions_.custommatch_sendchat_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_sendchat(::rtech::liveapi::CustomMatch_SendChat* custommatch_sendchat) { + clear_actions(); + if (custommatch_sendchat) { + set_has_custommatch_sendchat(); + _impl_.actions_.custommatch_sendchat_ = custommatch_sendchat; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_SendChat) +} +inline ::rtech::liveapi::CustomMatch_SendChat* Request::_internal_mutable_custommatch_sendchat() { + if (!_internal_has_custommatch_sendchat()) { + clear_actions(); + set_has_custommatch_sendchat(); + _impl_.actions_.custommatch_sendchat_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SendChat >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_sendchat_; +} +inline ::rtech::liveapi::CustomMatch_SendChat* Request::mutable_custommatch_sendchat() { + ::rtech::liveapi::CustomMatch_SendChat* _msg = _internal_mutable_custommatch_sendchat(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_SendChat) + return _msg; +} + +// .rtech.liveapi.CustomMatch_GetLobbyPlayers customMatch_GetLobbyPlayers = 19; +inline bool Request::_internal_has_custommatch_getlobbyplayers() const { + return actions_case() == kCustomMatchGetLobbyPlayers; +} +inline bool Request::has_custommatch_getlobbyplayers() const { + return _internal_has_custommatch_getlobbyplayers(); +} +inline void Request::set_has_custommatch_getlobbyplayers() { + _impl_._oneof_case_[0] = kCustomMatchGetLobbyPlayers; +} +inline void Request::clear_custommatch_getlobbyplayers() { + if (_internal_has_custommatch_getlobbyplayers()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_getlobbyplayers_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_GetLobbyPlayers* Request::release_custommatch_getlobbyplayers() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_GetLobbyPlayers) + if (_internal_has_custommatch_getlobbyplayers()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_GetLobbyPlayers* temp = _impl_.actions_.custommatch_getlobbyplayers_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_getlobbyplayers_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_GetLobbyPlayers& Request::_internal_custommatch_getlobbyplayers() const { + return _internal_has_custommatch_getlobbyplayers() + ? *_impl_.actions_.custommatch_getlobbyplayers_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_GetLobbyPlayers&>(::rtech::liveapi::_CustomMatch_GetLobbyPlayers_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_GetLobbyPlayers& Request::custommatch_getlobbyplayers() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_GetLobbyPlayers) + return _internal_custommatch_getlobbyplayers(); +} +inline ::rtech::liveapi::CustomMatch_GetLobbyPlayers* Request::unsafe_arena_release_custommatch_getlobbyplayers() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_GetLobbyPlayers) + if (_internal_has_custommatch_getlobbyplayers()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_GetLobbyPlayers* temp = _impl_.actions_.custommatch_getlobbyplayers_; + _impl_.actions_.custommatch_getlobbyplayers_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_getlobbyplayers(::rtech::liveapi::CustomMatch_GetLobbyPlayers* custommatch_getlobbyplayers) { + clear_actions(); + if (custommatch_getlobbyplayers) { + set_has_custommatch_getlobbyplayers(); + _impl_.actions_.custommatch_getlobbyplayers_ = custommatch_getlobbyplayers; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_GetLobbyPlayers) +} +inline ::rtech::liveapi::CustomMatch_GetLobbyPlayers* Request::_internal_mutable_custommatch_getlobbyplayers() { + if (!_internal_has_custommatch_getlobbyplayers()) { + clear_actions(); + set_has_custommatch_getlobbyplayers(); + _impl_.actions_.custommatch_getlobbyplayers_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_GetLobbyPlayers >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_getlobbyplayers_; +} +inline ::rtech::liveapi::CustomMatch_GetLobbyPlayers* Request::mutable_custommatch_getlobbyplayers() { + ::rtech::liveapi::CustomMatch_GetLobbyPlayers* _msg = _internal_mutable_custommatch_getlobbyplayers(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_GetLobbyPlayers) + return _msg; +} + +// .rtech.liveapi.CustomMatch_SetTeamName customMatch_SetTeamName = 20; +inline bool Request::_internal_has_custommatch_setteamname() const { + return actions_case() == kCustomMatchSetTeamName; +} +inline bool Request::has_custommatch_setteamname() const { + return _internal_has_custommatch_setteamname(); +} +inline void Request::set_has_custommatch_setteamname() { + _impl_._oneof_case_[0] = kCustomMatchSetTeamName; +} +inline void Request::clear_custommatch_setteamname() { + if (_internal_has_custommatch_setteamname()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_setteamname_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_SetTeamName* Request::release_custommatch_setteamname() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_SetTeamName) + if (_internal_has_custommatch_setteamname()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetTeamName* temp = _impl_.actions_.custommatch_setteamname_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_setteamname_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_SetTeamName& Request::_internal_custommatch_setteamname() const { + return _internal_has_custommatch_setteamname() + ? *_impl_.actions_.custommatch_setteamname_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_SetTeamName&>(::rtech::liveapi::_CustomMatch_SetTeamName_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_SetTeamName& Request::custommatch_setteamname() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_SetTeamName) + return _internal_custommatch_setteamname(); +} +inline ::rtech::liveapi::CustomMatch_SetTeamName* Request::unsafe_arena_release_custommatch_setteamname() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_SetTeamName) + if (_internal_has_custommatch_setteamname()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_SetTeamName* temp = _impl_.actions_.custommatch_setteamname_; + _impl_.actions_.custommatch_setteamname_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_setteamname(::rtech::liveapi::CustomMatch_SetTeamName* custommatch_setteamname) { + clear_actions(); + if (custommatch_setteamname) { + set_has_custommatch_setteamname(); + _impl_.actions_.custommatch_setteamname_ = custommatch_setteamname; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_SetTeamName) +} +inline ::rtech::liveapi::CustomMatch_SetTeamName* Request::_internal_mutable_custommatch_setteamname() { + if (!_internal_has_custommatch_setteamname()) { + clear_actions(); + set_has_custommatch_setteamname(); + _impl_.actions_.custommatch_setteamname_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_SetTeamName >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_setteamname_; +} +inline ::rtech::liveapi::CustomMatch_SetTeamName* Request::mutable_custommatch_setteamname() { + ::rtech::liveapi::CustomMatch_SetTeamName* _msg = _internal_mutable_custommatch_setteamname(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_SetTeamName) + return _msg; +} + +// .rtech.liveapi.CustomMatch_GetSettings customMatch_GetSettings = 21; +inline bool Request::_internal_has_custommatch_getsettings() const { + return actions_case() == kCustomMatchGetSettings; +} +inline bool Request::has_custommatch_getsettings() const { + return _internal_has_custommatch_getsettings(); +} +inline void Request::set_has_custommatch_getsettings() { + _impl_._oneof_case_[0] = kCustomMatchGetSettings; +} +inline void Request::clear_custommatch_getsettings() { + if (_internal_has_custommatch_getsettings()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.actions_.custommatch_getsettings_; + } + clear_has_actions(); + } +} +inline ::rtech::liveapi::CustomMatch_GetSettings* Request::release_custommatch_getsettings() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Request.customMatch_GetSettings) + if (_internal_has_custommatch_getsettings()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_GetSettings* temp = _impl_.actions_.custommatch_getsettings_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.actions_.custommatch_getsettings_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::rtech::liveapi::CustomMatch_GetSettings& Request::_internal_custommatch_getsettings() const { + return _internal_has_custommatch_getsettings() + ? *_impl_.actions_.custommatch_getsettings_ + : reinterpret_cast< ::rtech::liveapi::CustomMatch_GetSettings&>(::rtech::liveapi::_CustomMatch_GetSettings_default_instance_); +} +inline const ::rtech::liveapi::CustomMatch_GetSettings& Request::custommatch_getsettings() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Request.customMatch_GetSettings) + return _internal_custommatch_getsettings(); +} +inline ::rtech::liveapi::CustomMatch_GetSettings* Request::unsafe_arena_release_custommatch_getsettings() { + // @@protoc_insertion_point(field_unsafe_arena_release:rtech.liveapi.Request.customMatch_GetSettings) + if (_internal_has_custommatch_getsettings()) { + clear_has_actions(); + ::rtech::liveapi::CustomMatch_GetSettings* temp = _impl_.actions_.custommatch_getsettings_; + _impl_.actions_.custommatch_getsettings_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Request::unsafe_arena_set_allocated_custommatch_getsettings(::rtech::liveapi::CustomMatch_GetSettings* custommatch_getsettings) { + clear_actions(); + if (custommatch_getsettings) { + set_has_custommatch_getsettings(); + _impl_.actions_.custommatch_getsettings_ = custommatch_getsettings; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Request.customMatch_GetSettings) +} +inline ::rtech::liveapi::CustomMatch_GetSettings* Request::_internal_mutable_custommatch_getsettings() { + if (!_internal_has_custommatch_getsettings()) { + clear_actions(); + set_has_custommatch_getsettings(); + _impl_.actions_.custommatch_getsettings_ = CreateMaybeMessage< ::rtech::liveapi::CustomMatch_GetSettings >(GetArenaForAllocation()); + } + return _impl_.actions_.custommatch_getsettings_; +} +inline ::rtech::liveapi::CustomMatch_GetSettings* Request::mutable_custommatch_getsettings() { + ::rtech::liveapi::CustomMatch_GetSettings* _msg = _internal_mutable_custommatch_getsettings(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Request.customMatch_GetSettings) + return _msg; +} + +inline bool Request::has_actions() const { + return actions_case() != ACTIONS_NOT_SET; +} +inline void Request::clear_has_actions() { + _impl_._oneof_case_[0] = ACTIONS_NOT_SET; +} +inline Request::ActionsCase Request::actions_case() const { + return Request::ActionsCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// RequestStatus + +// string status = 1; +inline void RequestStatus::clear_status() { + _impl_.status_.ClearToEmpty(); +} +inline const std::string& RequestStatus::status() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.RequestStatus.status) + return _internal_status(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void RequestStatus::set_status(ArgT0&& arg0, ArgT... args) { + + _impl_.status_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:rtech.liveapi.RequestStatus.status) +} +inline std::string* RequestStatus::mutable_status() { + std::string* _s = _internal_mutable_status(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.RequestStatus.status) + return _s; +} +inline const std::string& RequestStatus::_internal_status() const { + return _impl_.status_.Get(); +} +inline void RequestStatus::_internal_set_status(const std::string& value) { + + _impl_.status_.Set(value, GetArenaForAllocation()); +} +inline std::string* RequestStatus::_internal_mutable_status() { + + return _impl_.status_.Mutable(GetArenaForAllocation()); +} +inline std::string* RequestStatus::release_status() { + // @@protoc_insertion_point(field_release:rtech.liveapi.RequestStatus.status) + return _impl_.status_.Release(); +} +inline void RequestStatus::set_allocated_status(std::string* status) { + if (status != nullptr) { + + } else { + + } + _impl_.status_.SetAllocated(status, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.status_.IsDefault()) { + _impl_.status_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.RequestStatus.status) +} + +// ------------------------------------------------------------------- + +// Response + +// bool success = 1; +inline void Response::clear_success() { + _impl_.success_ = false; +} +inline bool Response::_internal_success() const { + return _impl_.success_; +} +inline bool Response::success() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Response.success) + return _internal_success(); +} +inline void Response::_internal_set_success(bool value) { + + _impl_.success_ = value; +} +inline void Response::set_success(bool value) { + _internal_set_success(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.Response.success) +} + +// .google.protobuf.Any result = 2; +inline bool Response::_internal_has_result() const { + return this != internal_default_instance() && _impl_.result_ != nullptr; +} +inline bool Response::has_result() const { + return _internal_has_result(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Any& Response::_internal_result() const { + const ::PROTOBUF_NAMESPACE_ID::Any* p = _impl_.result_; + return p != nullptr ? *p : reinterpret_cast( + ::PROTOBUF_NAMESPACE_ID::_Any_default_instance_); +} +inline const ::PROTOBUF_NAMESPACE_ID::Any& Response::result() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.Response.result) + return _internal_result(); +} +inline void Response::unsafe_arena_set_allocated_result( + ::PROTOBUF_NAMESPACE_ID::Any* result) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.result_); + } + _impl_.result_ = result; + if (result) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.Response.result) +} +inline ::PROTOBUF_NAMESPACE_ID::Any* Response::release_result() { + + ::PROTOBUF_NAMESPACE_ID::Any* temp = _impl_.result_; + _impl_.result_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::PROTOBUF_NAMESPACE_ID::Any* Response::unsafe_arena_release_result() { + // @@protoc_insertion_point(field_release:rtech.liveapi.Response.result) + + ::PROTOBUF_NAMESPACE_ID::Any* temp = _impl_.result_; + _impl_.result_ = nullptr; + return temp; +} +inline ::PROTOBUF_NAMESPACE_ID::Any* Response::_internal_mutable_result() { + + if (_impl_.result_ == nullptr) { + auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Any>(GetArenaForAllocation()); + _impl_.result_ = p; + } + return _impl_.result_; +} +inline ::PROTOBUF_NAMESPACE_ID::Any* Response::mutable_result() { + ::PROTOBUF_NAMESPACE_ID::Any* _msg = _internal_mutable_result(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.Response.result) + return _msg; +} +inline void Response::set_allocated_result(::PROTOBUF_NAMESPACE_ID::Any* result) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.result_); + } + if (result) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(result)); + if (message_arena != submessage_arena) { + result = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, result, submessage_arena); + } + + } else { + + } + _impl_.result_ = result; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.Response.result) +} + +// ------------------------------------------------------------------- + +// LiveAPIEvent + +// fixed32 event_size = 1; +inline void LiveAPIEvent::clear_event_size() { + _impl_.event_size_ = 0u; +} +inline uint32_t LiveAPIEvent::_internal_event_size() const { + return _impl_.event_size_; +} +inline uint32_t LiveAPIEvent::event_size() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LiveAPIEvent.event_size) + return _internal_event_size(); +} +inline void LiveAPIEvent::_internal_set_event_size(uint32_t value) { + + _impl_.event_size_ = value; +} +inline void LiveAPIEvent::set_event_size(uint32_t value) { + _internal_set_event_size(value); + // @@protoc_insertion_point(field_set:rtech.liveapi.LiveAPIEvent.event_size) +} + +// .google.protobuf.Any gameMessage = 3; +inline bool LiveAPIEvent::_internal_has_gamemessage() const { + return this != internal_default_instance() && _impl_.gamemessage_ != nullptr; +} +inline bool LiveAPIEvent::has_gamemessage() const { + return _internal_has_gamemessage(); +} +inline const ::PROTOBUF_NAMESPACE_ID::Any& LiveAPIEvent::_internal_gamemessage() const { + const ::PROTOBUF_NAMESPACE_ID::Any* p = _impl_.gamemessage_; + return p != nullptr ? *p : reinterpret_cast( + ::PROTOBUF_NAMESPACE_ID::_Any_default_instance_); +} +inline const ::PROTOBUF_NAMESPACE_ID::Any& LiveAPIEvent::gamemessage() const { + // @@protoc_insertion_point(field_get:rtech.liveapi.LiveAPIEvent.gameMessage) + return _internal_gamemessage(); +} +inline void LiveAPIEvent::unsafe_arena_set_allocated_gamemessage( + ::PROTOBUF_NAMESPACE_ID::Any* gamemessage) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gamemessage_); + } + _impl_.gamemessage_ = gamemessage; + if (gamemessage) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:rtech.liveapi.LiveAPIEvent.gameMessage) +} +inline ::PROTOBUF_NAMESPACE_ID::Any* LiveAPIEvent::release_gamemessage() { + + ::PROTOBUF_NAMESPACE_ID::Any* temp = _impl_.gamemessage_; + _impl_.gamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::PROTOBUF_NAMESPACE_ID::Any* LiveAPIEvent::unsafe_arena_release_gamemessage() { + // @@protoc_insertion_point(field_release:rtech.liveapi.LiveAPIEvent.gameMessage) + + ::PROTOBUF_NAMESPACE_ID::Any* temp = _impl_.gamemessage_; + _impl_.gamemessage_ = nullptr; + return temp; +} +inline ::PROTOBUF_NAMESPACE_ID::Any* LiveAPIEvent::_internal_mutable_gamemessage() { + + if (_impl_.gamemessage_ == nullptr) { + auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Any>(GetArenaForAllocation()); + _impl_.gamemessage_ = p; + } + return _impl_.gamemessage_; +} +inline ::PROTOBUF_NAMESPACE_ID::Any* LiveAPIEvent::mutable_gamemessage() { + ::PROTOBUF_NAMESPACE_ID::Any* _msg = _internal_mutable_gamemessage(); + // @@protoc_insertion_point(field_mutable:rtech.liveapi.LiveAPIEvent.gameMessage) + return _msg; +} +inline void LiveAPIEvent::set_allocated_gamemessage(::PROTOBUF_NAMESPACE_ID::Any* gamemessage) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gamemessage_); + } + if (gamemessage) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamemessage)); + if (message_arena != submessage_arena) { + gamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, gamemessage, submessage_arena); + } + + } else { + + } + _impl_.gamemessage_ = gamemessage; + // @@protoc_insertion_point(field_set_allocated:rtech.liveapi.LiveAPIEvent.gameMessage) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace liveapi +} // namespace rtech + +PROTOBUF_NAMESPACE_OPEN + +template <> struct is_proto_enum< ::rtech::liveapi::PlayerOfInterest> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::rtech::liveapi::PlayerOfInterest>() { + return ::rtech::liveapi::PlayerOfInterest_descriptor(); +} + +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) + +#include +#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_events_2eproto diff --git a/src/game/server/liveapi/liveapi.cpp b/src/game/server/liveapi/liveapi.cpp new file mode 100644 index 00000000..acfc5dc8 --- /dev/null +++ b/src/game/server/liveapi/liveapi.cpp @@ -0,0 +1,2064 @@ +//=============================================================================// +// +// Purpose: ServerGameDLL LiveAPI implementation +// +// ---------------------------------------------------------------------------- +// TODO: +// - Add code callback for observer target changed ( event ObserverSwitched ) +// - Add code callback for player weapon switched ( event WeaponSwitched ) +// +//=============================================================================// +#include "tier1/utlsymbol.h" +#include "vscript/languages/squirrel_re/include/sqtable.h" +#include "vscript/languages/squirrel_re/include/sqarray.h" +#include "game/server/vscript_server.h" +#include "rtech/liveapi/liveapi.h" +#include "liveapi.h" +#include "engine/sys_utils.h" + +#include "events.pb.h" +#include "protobuf/util/json_util.h" + + +/* + ███████╗██╗ ██╗███████╗███╗ ██╗████████╗ ███╗ ███╗███████╗███████╗███████╗ █████╗ ██████╗ ███████╗███████╗ + ██╔════╝██║ ██║██╔════╝████╗ ██║╚══██╔══╝ ████╗ ████║██╔════╝██╔════╝██╔════╝██╔══██╗██╔════╝ ██╔════╝██╔════╝ + █████╗ ██║ ██║█████╗ ██╔██╗ ██║ ██║ ██╔████╔██║█████╗ ███████╗███████╗███████║██║ ███╗█████╗ ███████╗ + ██╔══╝ ╚██╗ ██╔╝██╔══╝ ██║╚██╗██║ ██║ ██║╚██╔╝██║██╔══╝ ╚════██║╚════██║██╔══██║██║ ██║██╔══╝ ╚════██║ + ███████╗ ╚████╔╝ ███████╗██║ ╚████║ ██║ ██║ ╚═╝ ██║███████╗███████║███████║██║ ██║╚██████╔╝███████╗███████║ + ╚══════╝ ╚═══╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚══════╝ + NOTE: messages are statically allocated to save on runtime overhead, each message is cleared after usage. +*/ + +static rtech::liveapi::AmmoUsed s_ammoUsed; +static rtech::liveapi::ArenasItemDeselected s_arenasItemDeselected; +static rtech::liveapi::ArenasItemSelected s_arenasItemSelected; +static rtech::liveapi::BannerCollected s_bannerCollected; +static rtech::liveapi::BlackMarketAction s_blackMarketAction; +//static rtech::liveapi::ChangeCamera s_changeCamera; +static rtech::liveapi::CharacterSelected s_characterSelected; +//static rtech::liveapi::CustomMatch_CreateLobby s_customMatch_CreateLobby; +//static rtech::liveapi::CustomMatch_GetLobbyPlayers s_customMatch_GetLobbyPlayers; +//static rtech::liveapi::CustomMatch_GetSettings s_customMatch_GetSettings; +//static rtech::liveapi::CustomMatch_JoinLobby s_customMatch_JoinLobby; +//static rtech::liveapi::CustomMatch_KickPlayer s_customMatch_KickPlayer; +//static rtech::liveapi::CustomMatch_LeaveLobby s_customMatch_LeaveLobby; +//static rtech::liveapi::CustomMatch_LobbyPlayers s_customMatch_LobbyPlayers; +//static rtech::liveapi::CustomMatch_SendChat s_customMatch_SendChat; +//static rtech::liveapi::CustomMatch_SetMatchmaking s_customMatch_SetMatchmaking; +//static rtech::liveapi::CustomMatch_SetReady s_customMatch_SetReady; +//static rtech::liveapi::CustomMatch_SetSettings s_customMatch_SetSettings; +//static rtech::liveapi::CustomMatch_SetTeam s_customMatch_SetTeam; +//static rtech::liveapi::CustomMatch_SetTeamName s_customMatch_SetTeamName; +static rtech::liveapi::GameStateChanged s_gameStateChanged; +static rtech::liveapi::GibraltarShieldAbsorbed s_gibraltarShieldAbsorbed; +static rtech::liveapi::GrenadeThrown s_grenadeThrown; +static rtech::liveapi::Init s_init; +static rtech::liveapi::InventoryDrop s_inventoryDrop; +static rtech::liveapi::InventoryPickUp s_inventoryPickUp; +static rtech::liveapi::InventoryUse s_inventoryUse; +static rtech::liveapi::LegendUpgradeSelected s_legendUpgradeSelected; +static rtech::liveapi::LiveAPIEvent s_liveAPIEvent; +static rtech::liveapi::MatchSetup s_matchSetup; +static rtech::liveapi::MatchStateEnd s_matchStateEnd; +static rtech::liveapi::ObserverAnnotation s_observerAnnotation; +static rtech::liveapi::ObserverSwitched s_observerSwitched; +//static rtech::liveapi::PauseToggle s_pauseToggle; +static rtech::liveapi::PlayerAbilityUsed s_playerAbilityUsed; +static rtech::liveapi::PlayerAssist s_playerAssist; +static rtech::liveapi::PlayerConnected s_playerConnected; +static rtech::liveapi::PlayerDamaged s_playerDamaged; +static rtech::liveapi::PlayerDisconnected s_playerDisconnected; +static rtech::liveapi::PlayerDowned s_playerDowned; +static rtech::liveapi::PlayerKilled s_playerKilled; +static rtech::liveapi::PlayerRespawnTeam s_playerRespawnTeam; +static rtech::liveapi::PlayerRevive s_playerRevive; +static rtech::liveapi::PlayerStatChanged s_playerStatChanged; +static rtech::liveapi::PlayerUpgradeTierChanged s_playerUpgradeTierChanged; +//static rtech::liveapi::Request s_request; +//static rtech::liveapi::RequestStatus s_requestStatus; +//static rtech::liveapi::Response s_response; +static rtech::liveapi::RevenantForgedShadowDamaged s_revenantForgedShadowDamaged; +static rtech::liveapi::RingFinishedClosing s_ringFinishedClosing; +static rtech::liveapi::RingStartClosing s_ringStartClosing; +static rtech::liveapi::SquadEliminated s_squadEliminated; +static rtech::liveapi::WarpGateUsed s_warpGateUsed; +static rtech::liveapi::WeaponSwitched s_weaponSwitched; +static rtech::liveapi::WraithPortal s_wraithPortal; +static rtech::liveapi::ZiplineUsed s_ziplineUsed; + + +/* + ███████╗███╗ ██╗██╗ ██╗███╗ ███╗███████╗██████╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗███████╗ + ██╔════╝████╗ ██║██║ ██║████╗ ████║██╔════╝██╔══██╗██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝ + █████╗ ██╔██╗ ██║██║ ██║██╔████╔██║█████╗ ██████╔╝███████║ ██║ ██║██║ ██║██╔██╗ ██║███████╗ + ██╔══╝ ██║╚██╗██║██║ ██║██║╚██╔╝██║██╔══╝ ██╔══██╗██╔══██║ ██║ ██║██║ ██║██║╚██╗██║╚════██║ + ███████╗██║ ╚████║╚██████╔╝██║ ╚═╝ ██║███████╗██║ ██║██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║███████║ + ╚══════╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝ + NOTE: the values here must align with the enumeration exposed to scripts; see section "abstractions"! +*/ + +enum class eLiveAPI_EventTypes +{ + ammoUsed, + arenasItemDeselected, + arenasItemSelected, + + bannerCollected, + blackMarketAction, + //changeCamera, + characterSelected, + //checkedState, + //clientState, + + //customMatch_CreateLobby, + //customMatch_GetLobbyPlayers, + //customMatch_GetSettings, + //customMatch_JoinLobby, + //customMatch_KickPlayer, + //customMatch_LeaveLobby, + //customMatch_LobbyPlayer, + //customMatch_LobbyPlayers, + //customMatch_SendChat, + //customMatch_SetMatchmaking, + //customMatch_SetReady, + //customMatch_SetSettings, + //customMatch_SetTeam, + //customMatch_SetTeamName, + + datacenter, + //gameConVar, + gameStateChanged, + gibraltarShieldAbsorbed, + //globalVars, + grenadeThrown, + init, + + inventoryDrop, + inventoryItem, + inventoryPickUp, + inventoryUse, + + legendUpgradeSelected, + liveAPIEvent, + loadoutConfiguration, + matchSetup, + matchStateEnd, + observerAnnotation, + observerSwitched, + //pauseToggle, + + player, + playerAbilityUsed, + playerAssist, + playerConnected, + playerDamaged, + playerDisconnected, + playerDowned, + playerKilled, + playerRespawnTeam, + playerRevive, + playerStatChanged, + playerUpgradeTierChanged, + + //request, + //requestStatus, + //response, + + revenantForgedShadowDamaged, + + ringFinishedClosing, + ringStartClosing, + + //runCommand, + //scriptCall, + squadEliminated, + //stateCheck, + //svcMsgOverflow, + //svcMsgRemoteScript, + vector3, + version, + warpGateUsed, + weaponSwitched, + wraithPortal, + ziplineUsed, +}; + + +/* + ██╗ ██╗████████╗██╗██╗ ██╗████████╗██╗ ██╗ ██╗ ███╗ ███╗ █████╗ ██████╗██████╗ ██████╗ ███████╗ + ██║ ██║╚══██╔══╝██║██║ ██║╚══██╔══╝╚██╗ ██╔╝ ██║ ████╗ ████║██╔══██╗██╔════╝██╔══██╗██╔═══██╗██╔════╝ + ██║ ██║ ██║ ██║██║ ██║ ██║ ╚████╔╝ ████████╗ ██╔████╔██║███████║██║ ██████╔╝██║ ██║███████╗ + ██║ ██║ ██║ ██║██║ ██║ ██║ ╚██╔╝ ██╔═██╔═╝ ██║╚██╔╝██║██╔══██║██║ ██╔══██╗██║ ██║╚════██║ + ╚██████╔╝ ██║ ██║███████╗██║ ██║ ██║ ██████║ ██║ ╚═╝ ██║██║ ██║╚██████╗██║ ██║╚██████╔╝███████║ + ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ +*/ + +static const char* LiveAPI_EventTypeToString(const eLiveAPI_EventTypes eventType) +{ + switch (eventType) + { + case eLiveAPI_EventTypes::ammoUsed: return "ammoUsed"; + case eLiveAPI_EventTypes::arenasItemDeselected: return "arenasItemDeselected"; + case eLiveAPI_EventTypes::arenasItemSelected: return "arenasItemSelected"; + case eLiveAPI_EventTypes::bannerCollected: return "bannerCollected"; + case eLiveAPI_EventTypes::blackMarketAction: return "blackMarketAction"; + //case eLiveAPI_EventTypes::changeCamera: return "changeCamera"; + case eLiveAPI_EventTypes::characterSelected: return "characterSelected"; + //case eLiveAPI_EventTypes::checkedState: return "checkedState"; + //case eLiveAPI_EventTypes::clientState: return "clientState"; + //case eLiveAPI_EventTypes::customMatch_CreateLobby: return "customMatch_CreateLobby"; + //case eLiveAPI_EventTypes::customMatch_GetLobbyPlayers: return "customMatch_GetLobbyPlayers"; + //case eLiveAPI_EventTypes::customMatch_GetSettings: return "customMatch_GetSettings"; + //case eLiveAPI_EventTypes::customMatch_JoinLobby: return "customMatch_JoinLobby"; + //case eLiveAPI_EventTypes::customMatch_KickPlayer: return "customMatch_KickPlayer"; + //case eLiveAPI_EventTypes::customMatch_LeaveLobby: return "customMatch_LeaveLobby"; + //case eLiveAPI_EventTypes::customMatch_LobbyPlayer: return "customMatch_LobbyPlayer"; + //case eLiveAPI_EventTypes::customMatch_LobbyPlayers: return "customMatch_LobbyPlayers"; + //case eLiveAPI_EventTypes::customMatch_SendChat: return "customMatch_SendChat"; + //case eLiveAPI_EventTypes::customMatch_SetMatchmaking: return "customMatch_SetMatchmaking"; + //case eLiveAPI_EventTypes::customMatch_SetReady: return "customMatch_SetReady"; + //case eLiveAPI_EventTypes::customMatch_SetSettings: return "customMatch_SetSettings"; + //case eLiveAPI_EventTypes::customMatch_SetTeam: return "customMatch_SetTeam"; + //case eLiveAPI_EventTypes::customMatch_SetTeamName: return "customMatch_SetTeamName"; + case eLiveAPI_EventTypes::datacenter: return "datacenter"; + //case eLiveAPI_EventTypes::gameConVar: return "gameConVar"; + case eLiveAPI_EventTypes::gameStateChanged: return "gameStateChanged"; + case eLiveAPI_EventTypes::gibraltarShieldAbsorbed: return "gibraltarShieldAbsorbed"; + //case eLiveAPI_EventTypes::globalVars: return "globalVars"; + case eLiveAPI_EventTypes::grenadeThrown: return "grenadeThrown"; + case eLiveAPI_EventTypes::init: return "init"; + case eLiveAPI_EventTypes::inventoryDrop: return "inventoryDrop"; + case eLiveAPI_EventTypes::inventoryItem: return "inventoryItem"; + case eLiveAPI_EventTypes::inventoryPickUp: return "inventoryPickUp"; + case eLiveAPI_EventTypes::inventoryUse: return "inventoryUse"; + case eLiveAPI_EventTypes::legendUpgradeSelected: return "legendUpgradeSelected"; + case eLiveAPI_EventTypes::liveAPIEvent: return "liveAPIEvent"; + case eLiveAPI_EventTypes::loadoutConfiguration: return "loadoutConfiguration"; + case eLiveAPI_EventTypes::matchSetup: return "matchSetup"; + case eLiveAPI_EventTypes::matchStateEnd: return "matchStateEnd"; + case eLiveAPI_EventTypes::observerAnnotation: return "observerAnnotation"; + case eLiveAPI_EventTypes::observerSwitched: return "observerSwitched"; + //case eLiveAPI_EventTypes::pauseToggle: return "pauseToggle"; + case eLiveAPI_EventTypes::player: return "player"; + case eLiveAPI_EventTypes::playerAbilityUsed: return "playerAbilityUsed"; + case eLiveAPI_EventTypes::playerAssist: return "playerAssist"; + case eLiveAPI_EventTypes::playerConnected: return "playerConnected"; + case eLiveAPI_EventTypes::playerDamaged: return "playerDamaged"; + case eLiveAPI_EventTypes::playerDisconnected: return "playerDisconnected"; + case eLiveAPI_EventTypes::playerDowned: return "playerDowned"; + case eLiveAPI_EventTypes::playerKilled: return "playerKilled"; + case eLiveAPI_EventTypes::playerRespawnTeam: return "playerRespawnTeam"; + case eLiveAPI_EventTypes::playerRevive: return "playerRevive"; + case eLiveAPI_EventTypes::playerStatChanged: return "playerStatChanged"; + case eLiveAPI_EventTypes::playerUpgradeTierChanged: return "playerUpgradeTierChanged"; + //case eLiveAPI_EventTypes::request: return "request"; + //case eLiveAPI_EventTypes::requestStatus: return "requestStatus"; + //case eLiveAPI_EventTypes::response: return "response"; + case eLiveAPI_EventTypes::revenantForgedShadowDamaged: return "revenantForgedShadowDamaged"; + case eLiveAPI_EventTypes::ringFinishedClosing: return "ringFinishedClosing"; + case eLiveAPI_EventTypes::ringStartClosing: return "ringStartClosing"; + //case eLiveAPI_EventTypes::runCommand: return "runCommand"; + //case eLiveAPI_EventTypes::scriptCall: return "scriptCall"; + case eLiveAPI_EventTypes::squadEliminated: return "squadEliminated"; + //case eLiveAPI_EventTypes::stateCheck: return "stateCheck"; + //case eLiveAPI_EventTypes::svcMsgOverflow: return "svcMsgOverflow"; + //case eLiveAPI_EventTypes::svcMsgRemoteScript: return "svcMsgRemoteScript"; + case eLiveAPI_EventTypes::vector3: return "vector3"; + case eLiveAPI_EventTypes::version: return "version"; + case eLiveAPI_EventTypes::warpGateUsed: return "warpGateUsed"; + case eLiveAPI_EventTypes::weaponSwitched: return "weaponSwitched"; + case eLiveAPI_EventTypes::wraithPortal: return "wraithPortal"; + case eLiveAPI_EventTypes::ziplineUsed: return "ziplineUsed"; + + default: Assert(0); return "(unknown)"; + }; +} + +static bool LiveAPI_EnsureType(HSQUIRRELVM const v, const SQObjectPtr& obj, const SQObjectType expectType, + const google::protobuf::Message* const eventMsg, const SQInteger fieldNum) +{ + if (sq_type(obj) == expectType) + return true; + + const char* const expectTypeName = IdType2Name(expectType); + const char* const gotTypeName = IdType2Name(sq_type(obj)); + + if (eventMsg) + { + const google::protobuf::Descriptor* const descriptor = eventMsg->GetDescriptor(); + + if (fieldNum == -1) + { + v_SQVM_RaiseError(v, "Expected type \"%s\", got type \"%s\" for message \"%s\".", expectTypeName, gotTypeName, + descriptor->name().c_str()); + } + else + { + const google::protobuf::FieldDescriptor* const fieldDescriptor = descriptor->field(fieldNum); + + v_SQVM_RaiseError(v, "Expected type \"%s\", got type \"%s\" for field \"%s.%s\".", expectTypeName, gotTypeName, + descriptor->name().c_str(), fieldDescriptor->name().c_str()); + } + } + else + { + v_SQVM_RaiseError(v, "Expected type \"%s\", got type \"%s\".", expectTypeName, gotTypeName); + } + + return false; +} + +static bool LiveAPI_CheckSwitchType(HSQUIRRELVM const v, const SQObjectPtr& obj) +{ + if (sq_type(obj) == OT_INTEGER) + return true; + + v_SQVM_RaiseError(v, "Cannot switch on type \"%s\".", IdType2Name(sq_type(obj))); + return false; +} + +#define LIVEAPI_ENSURE_TYPE(v, obj, expectType, eventMsg, fieldNum) { if (!LiveAPI_EnsureType(v, obj, expectType, eventMsg, fieldNum)) return false; } +#define LIVEAPI_EMPTY_TABLE_ERROR(v, eventMsg) { v_SQVM_RaiseError(v, "Empty table on message \"%s\".", eventMsg->GetTypeName().c_str()); return false; } +#define LIVEAPI_FIELD_ERROR(v, fieldNum, eventMsg) { v_SQVM_RaiseError(v, "Field \"%d\" doesn't exist in message \"%s\".", fieldNum, eventMsg->GetTypeName().c_str()); return false; } +#define LIVEAPI_ONEOF_FIELD_ERROR(v, fieldNum, eventMsg) { v_SQVM_RaiseError(v, "Tried to set member \"%d\" of oneof field in message \"%s\" while another has already been set.", fieldNum, eventMsg->GetTypeName().c_str()); return false; } + +uint64_t GetUnixTimeStamp() // TODO: move elsewhere +{ + __time64_t time; + _time64(&time); + + return time; +} + + +/* + ██╗███╗ ██╗████████╗███████╗██████╗ ███╗ ███╗███████╗██████╗ ██╗ █████╗ ██████╗ ██╗ ██╗ + ██║████╗ ██║╚══██╔══╝██╔════╝██╔══██╗████╗ ████║██╔════╝██╔══██╗██║██╔══██╗██╔══██╗╚██╗ ██╔╝ + ██║██╔██╗ ██║ ██║ █████╗ ██████╔╝██╔████╔██║█████╗ ██║ ██║██║███████║██████╔╝ ╚████╔╝ + ██║██║╚██╗██║ ██║ ██╔══╝ ██╔══██╗██║╚██╔╝██║██╔══╝ ██║ ██║██║██╔══██║██╔══██╗ ╚██╔╝ + ██║██║ ╚████║ ██║ ███████╗██║ ██║██║ ╚═╝ ██║███████╗██████╔╝██║██║ ██║██║ ██║ ██║ + ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═════╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ + Not used directly, but as part of other messages +*/ + +template +static void LiveAPI_SetCommonMessageFields(T const msg, const eLiveAPI_EventTypes eventType) +{ + if (msg->timestamp() == 0) + msg->set_timestamp(GetUnixTimeStamp()); + if (msg->category().empty()) + msg->set_category(LiveAPI_EventTypeToString(eventType)); +} + +static void LiveAPI_SetVector3D(rtech::liveapi::Vector3* const msgVec, const Vector3D* const dataVec) +{ + msgVec->set_x(dataVec->x); + msgVec->set_y(dataVec->y); + msgVec->set_z(dataVec->z); +} + +static void LiveAPI_SetDataCenter(rtech::liveapi::Datacenter* const msg, const char* const name) +{ + LiveAPI_SetCommonMessageFields(msg, eLiveAPI_EventTypes::datacenter); + msg->set_name(name); +} + +static void LiveAPI_SetVersion(rtech::liveapi::Version* const msg) +{ + msg->set_major_num(LIVEAPI_MAJOR_VERSION); + msg->set_minor_num(LIVEAPI_MINOR_VERSION); + msg->set_build_stamp(g_SDKDll.GetNTHeaders()->FileHeader.TimeDateStamp); + msg->set_revision(LIVEAPI_REVISION); +} + +static bool LiveAPI_SetPlayerIdentityFields(HSQUIRRELVM const v, const SQTable* const table, rtech::liveapi::Player* const playerMsg) +{ + bool ranLoop = false; + + SQ_FOR_EACH_TABLE(table, i) + { + const SQTable::_HashNode& node = table->_nodes[i]; + + if (sq_isnull(node.key)) + continue; + + if (!ranLoop) + ranLoop = true; + + if (!LiveAPI_CheckSwitchType(v, node.key)) + return false; + + const SQInteger fieldNum = _integer(node.key); + const SQObjectPtr& obj = node.val; + + switch (fieldNum) + { + case rtech::liveapi::Player::kNameFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, playerMsg, fieldNum); + playerMsg->set_name(_string(obj)->_val); + + break; + } + case rtech::liveapi::Player::kTeamIdFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, playerMsg, fieldNum); + playerMsg->set_teamid(_integer(obj)); + + break; + } + case rtech::liveapi::Player::kPosFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_VECTOR, playerMsg, fieldNum); + LiveAPI_SetVector3D(playerMsg->mutable_pos(), _vector3d(obj)); + + break; + } + case rtech::liveapi::Player::kAnglesFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_VECTOR, playerMsg, fieldNum); + LiveAPI_SetVector3D(playerMsg->mutable_angles(), _vector3d(obj)); + + break; + } + case rtech::liveapi::Player::kCurrentHealthFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, playerMsg, fieldNum); + playerMsg->set_currenthealth(_integer(obj)); + + break; + } + case rtech::liveapi::Player::kMaxHealthFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, playerMsg, fieldNum); + playerMsg->set_maxhealth(_integer(obj)); + + break; + } + case rtech::liveapi::Player::kShieldHealthFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, playerMsg, fieldNum); + playerMsg->set_shieldhealth(_integer(obj)); + + break; + } + case rtech::liveapi::Player::kShieldMaxHealthFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, playerMsg, fieldNum); + playerMsg->set_shieldmaxhealth(_integer(obj)); + + break; + } + case rtech::liveapi::Player::kNucleusHashFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, playerMsg, fieldNum); + playerMsg->set_nucleushash(_string(obj)->_val); + + break; + } + case rtech::liveapi::Player::kHardwareNameFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, playerMsg, fieldNum); + playerMsg->set_hardwarename(_string(obj)->_val); + + break; + } + case rtech::liveapi::Player::kTeamNameFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, playerMsg, fieldNum); + playerMsg->set_teamname(_string(obj)->_val); + + break; + } + case rtech::liveapi::Player::kSquadIndexFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, playerMsg, fieldNum); + playerMsg->set_squadindex(_integer(obj)); + + break; + } + case rtech::liveapi::Player::kCharacterFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, playerMsg, fieldNum); + playerMsg->set_character(_string(obj)->_val); + + break; + } + case rtech::liveapi::Player::kSkinFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, playerMsg, fieldNum); + playerMsg->set_skin(_string(obj)->_val); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, playerMsg); + } + } + + if (!ranLoop) + LIVEAPI_EMPTY_TABLE_ERROR(v, playerMsg); + + return true; +} + +static bool LiveAPI_SetInventoryItem(HSQUIRRELVM const v, const SQTable* const table, rtech::liveapi::InventoryItem* const event) +{ + bool ranLoop = false; + + SQ_FOR_EACH_TABLE(table, i) + { + const SQTable::_HashNode& node = table->_nodes[i]; + + if (sq_isnull(node.key)) + continue; + + if (!ranLoop) + ranLoop = true; + + if (!LiveAPI_CheckSwitchType(v, node.key)) + return false; + + const SQInteger fieldNum = _integer(node.key); + const SQObjectPtr& obj = node.val; + + switch (fieldNum) + { + case rtech::liveapi::InventoryItem::kQuantityFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_quantity(_integer(obj)); + + break; + } + case rtech::liveapi::InventoryItem::kItemFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_item(_string(obj)->_val); + + break; + } + case rtech::liveapi::InventoryItem::kExtraDataFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_extradata(_string(obj)->_val); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + } + + if (!ranLoop) + LIVEAPI_EMPTY_TABLE_ERROR(v, event); + + return true; +} + +static bool LiveAPI_SetLoadoutConfiguration(HSQUIRRELVM const v, rtech::liveapi::LoadoutConfiguration* const msg, const SQTable* const table) +{ + bool ranOuterLoop = false; + bool ranInnerLoop = false; + + SQ_FOR_EACH_TABLE(table, i) + { + const SQTable::_HashNode& node = table->_nodes[i]; + + if (sq_isnull(node.key)) + continue; + + if (!ranOuterLoop) + ranOuterLoop = true; + + if (!LiveAPI_CheckSwitchType(v, node.key)) + return false; + + const SQInteger fieldNum = _integer(node.key); + const SQObjectPtr& obj = node.val; + + rtech::liveapi::InventoryItem* (rtech::liveapi::LoadoutConfiguration:: * addFunctor)(); + + switch (fieldNum) + { + case rtech::liveapi::LoadoutConfiguration::kWeaponsFieldNumber: + { + addFunctor = &rtech::liveapi::LoadoutConfiguration::add_weapons; + break; + } + case rtech::liveapi::LoadoutConfiguration::kEquipmentFieldNumber: + { + addFunctor = &rtech::liveapi::LoadoutConfiguration::add_equipment; + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, msg); + } + + LIVEAPI_ENSURE_TYPE(v, obj, OT_ARRAY, msg, fieldNum); + const SQArray* const fieldArray = _array(obj); + + for (SQInteger j = 0; j < fieldArray->Size(); j++) + { + const SQObject& fieldObj = fieldArray->_values[j]; + + if (sq_isnull(fieldObj)) + continue; + + if (!ranInnerLoop) + ranInnerLoop = true; + + LIVEAPI_ENSURE_TYPE(v, fieldObj, OT_TABLE, msg, fieldNum); + + if (!LiveAPI_SetInventoryItem(v, _table(fieldObj), (msg->*addFunctor)())) + return false; + } + } + + if (!ranOuterLoop || !ranInnerLoop) + LIVEAPI_EMPTY_TABLE_ERROR(v, msg); + + return true; +} + + +/* + ███████╗██╗ ██╗███████╗███╗ ██╗████████╗ ██╗ ██╗ █████╗ ███╗ ██╗██████╗ ██╗ ███████╗██████╗ ███████╗ + ██╔════╝██║ ██║██╔════╝████╗ ██║╚══██╔══╝ ██║ ██║██╔══██╗████╗ ██║██╔══██╗██║ ██╔════╝██╔══██╗██╔════╝ + █████╗ ██║ ██║█████╗ ██╔██╗ ██║ ██║ ███████║███████║██╔██╗ ██║██║ ██║██║ █████╗ ██████╔╝███████╗ + ██╔══╝ ╚██╗ ██╔╝██╔══╝ ██║╚██╗██║ ██║ ██╔══██║██╔══██║██║╚██╗██║██║ ██║██║ ██╔══╝ ██╔══██╗╚════██║ + ███████╗ ╚████╔╝ ███████╗██║ ╚████║ ██║ ██║ ██║██║ ██║██║ ╚████║██████╔╝███████╗███████╗██║ ██║███████║ + ╚══════╝ ╚═══╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚══════╝ + NOTE: one handler may be used for multiple events to cut down on boilerplate code, this is possible if a message + has the same structure layout as another message; the actual field numbers don't matter, but the field names do! +*/ + +static bool LiveAPI_HandleInitEvent(rtech::liveapi::Init* const event, const eLiveAPI_EventTypes eventType) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + event->set_gameversion(Sys_GetBuildString()); + LiveAPI_SetVersion(event->mutable_apiversion()); + event->set_platform(Sys_GetPlatformString()); + event->set_name(liveapi_session_name.GetString()); + + return true; +} + +static bool LiveAPI_HandleMatchSetup(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::MatchSetup* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::MatchSetup::kMapFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_map(_string(obj)->_val); + + break; + } + case rtech::liveapi::MatchSetup::kPlaylistNameFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_playlistname(_string(obj)->_val); + + break; + } + case rtech::liveapi::MatchSetup::kPlaylistDescFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_playlistdesc(_string(obj)->_val); + + break; + } + case rtech::liveapi::MatchSetup::kDatacenterFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + LiveAPI_SetDataCenter(event->mutable_datacenter(), _string(obj)->_val); + + break; + } + case rtech::liveapi::MatchSetup::kAimAssistOnFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_BOOL, event, fieldNum); + event->set_aimassiston(_bool(obj)); + + break; + } + case rtech::liveapi::MatchSetup::kAnonymousModeFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_BOOL, event, fieldNum); + event->set_anonymousmode(_bool(obj)); + + break; + } + case rtech::liveapi::MatchSetup::kServerIdFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_serverid(_string(obj)->_val); + + break; + } + case rtech::liveapi::MatchSetup::kStartingLoadoutFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + + if (!LiveAPI_SetLoadoutConfiguration(v, event->mutable_startingloadout(), _table(obj))) + return false; + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleAmmoUsed(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::AmmoUsed* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::AmmoUsed::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::AmmoUsed::kAmmoTypeFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_ammotype(_string(obj)->_val); + + break; + } + case rtech::liveapi::AmmoUsed::kAmountUsedFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_amountused(_integer(obj)); + + break; + } + case rtech::liveapi::AmmoUsed::kOldAmmoCountFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_oldammocount(_integer(obj)); + + break; + } + case rtech::liveapi::AmmoUsed::kNewAmmoCountFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_newammocount(_integer(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +template +static bool LiveAPI_HandleInventoryChange(HSQUIRRELVM const v, const SQObject& obj, T const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case event->kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case event->kItemFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_item(_string(obj)->_val); + + break; + } + case event->kQuantityFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_quantity(_integer(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleInventoryDrop(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::InventoryDrop* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::InventoryDrop::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::InventoryDrop::kItemFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_item(_string(obj)->_val); + + break; + } + case rtech::liveapi::InventoryDrop::kQuantityFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_quantity(_integer(obj)); + + break; + } + case rtech::liveapi::InventoryDrop::kExtraDataFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_ARRAY, event, fieldNum); + const SQArray* const fieldArray = _array(obj); + + for (SQInteger j = 0; j < fieldArray->Size(); j++) + { + const SQObject& fieldObj = fieldArray->_values[j]; + + if (sq_isnull(fieldObj)) + continue; + + LIVEAPI_ENSURE_TYPE(v, fieldObj, OT_STRING, event, fieldNum); + event->add_extradata(_string(fieldObj)->_val); + } + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleGameStateChanged(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::GameStateChanged* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::GameStateChanged::kStateFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_state(_string(obj)->_val); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleMatchStateEnd(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::MatchStateEnd* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::MatchStateEnd::kStateFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_state(_string(obj)->_val); + + break; + } + case rtech::liveapi::MatchStateEnd::kWinnersFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_ARRAY, event, fieldNum); + const SQArray* const fieldArray = _array(obj); + + for (SQInteger j = 0; j < fieldArray->Size(); j++) + { + const SQObject& fieldObj = fieldArray->_values[j]; + + if (sq_isnull(fieldObj)) + continue; + + LIVEAPI_ENSURE_TYPE(v, fieldObj, OT_TABLE, event, fieldNum); + + if (!LiveAPI_SetPlayerIdentityFields(v, _table(fieldObj), event->add_winners())) + return false; // failure + } + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleObserverSwitched(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::ObserverSwitched* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::ObserverSwitched::kObserverFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_observer())) + return false; + + break; + } + case rtech::liveapi::ObserverSwitched::kTargetFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_target())) + return false; + + break; + } + case rtech::liveapi::ObserverSwitched::kTargetTeamFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_ARRAY, event, fieldNum); + const SQArray* const fieldArray = _array(obj); + + for (SQInteger j = 0; j < fieldArray->Size(); j++) + { + const SQObject& fieldObj = fieldArray->_values[j]; + + if (sq_isnull(fieldObj)) + continue; + + LIVEAPI_ENSURE_TYPE(v, fieldObj, OT_TABLE, event, fieldNum); + + if (!LiveAPI_SetPlayerIdentityFields(v, _table(fieldObj), event->add_targetteam())) + return false; // failure + } + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleObserverAnnotation(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::ObserverAnnotation* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::ObserverAnnotation::kAnnotationSerialFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_annotationserial(_integer(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleBannerCollected(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::BannerCollected* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::BannerCollected::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::BannerCollected::kCollectedFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_collected())) + return false; + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandlePlayerRevive(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::PlayerRevive* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::PlayerRevive::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::PlayerRevive::kRevivedFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_revived())) + return false; + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandlePlayerDisconnected(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::PlayerDisconnected* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::PlayerDisconnected::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::PlayerDisconnected::kCanReconnectFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_BOOL, event, fieldNum); + event->set_canreconnect(_bool(obj)); + + break; + } + case rtech::liveapi::PlayerDisconnected::kIsAliveFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_BOOL, event, fieldNum); + event->set_isalive(_bool(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +template +static bool LiveAPI_HandlePlayerAttackCommon(HSQUIRRELVM const v, const SQObject& obj, T const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case event->kAttackerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_attacker())) + return false; + + break; + } + case event->kVictimFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_victim())) + return false; + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +// PlayerKilled +// PlayerDowned +template +static bool LiveAPI_HandlePlayerInjuredActionCommon(HSQUIRRELVM const v, const SQObject& obj, T const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case event->kAttackerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_attacker())) + return false; + + break; + } + case event->kVictimFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_victim())) + return false; + + break; + } + case event->kWeaponFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_weapon(_string(obj)->_val); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +template +static bool LiveAPI_HandleAbilityDamaged(HSQUIRRELVM const v, const SQObject& obj, T const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case event->kAttackerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_attacker())) + return false; + + break; + } + case event->kVictimFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_victim())) + return false; + + break; + } + case event->kDamageInflictedFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_damageinflicted(_integer(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandlePlayerDamaged(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::PlayerDamaged* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::PlayerDamaged::kAttackerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_attacker())) + return false; + + break; + } + case rtech::liveapi::PlayerDamaged::kVictimFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_victim())) + return false; + + break; + } + case rtech::liveapi::PlayerDamaged::kWeaponFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_weapon(_string(obj)->_val); + + break; + } + case rtech::liveapi::PlayerDamaged::kDamageInflictedFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_damageinflicted(_integer(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandlePlayerAssist(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::PlayerAssist* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::PlayerAssist::kAssistantFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_assistant())) + return false; + + break; + } + case rtech::liveapi::PlayerAssist::kVictimFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_victim())) + return false; + + break; + } + case rtech::liveapi::PlayerAssist::kWeaponFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_weapon(_string(obj)->_val); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +// CharacterSelected +// PlayerConnected +// WraithPortal +// WarpGateUsed +template +static bool LiveAPI_HandleSimplePlayerMessage(HSQUIRRELVM const v, const SQObject& obj, T const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case event->kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleRingFinishedClosing(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::RingFinishedClosing* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case event->kStageFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_stage(_integer(obj)); + + break; + } + case event->kCenterFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_VECTOR, event, fieldNum); + LiveAPI_SetVector3D(event->mutable_center(), _vector3d(obj)); + + break; + } + case event->kCurrentRadiusFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_FLOAT, event, fieldNum); + event->set_currentradius(_float(obj)); + + break; + } + case event->kShrinkDurationFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_FLOAT, event, fieldNum); + event->set_shrinkduration(_float(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleDeathFieldStartClosing(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::RingStartClosing* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::RingStartClosing::kStageFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_stage(_integer(obj)); + + break; + } + case rtech::liveapi::RingStartClosing::kCenterFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_VECTOR, event, fieldNum); + LiveAPI_SetVector3D(event->mutable_center(), _vector3d(obj)); + + break; + } + case rtech::liveapi::RingStartClosing::kCurrentRadiusFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_FLOAT, event, fieldNum); + event->set_currentradius(_float(obj)); + + break; + } + case rtech::liveapi::RingStartClosing::kEndRadiusFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_FLOAT, event, fieldNum); + event->set_endradius(_float(obj)); + + break; + } + case rtech::liveapi::RingStartClosing::kShrinkDurationFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_FLOAT, event, fieldNum); + event->set_shrinkduration(_float(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleSquadEliminated(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::SquadEliminated* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::SquadEliminated::kPlayersFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_ARRAY, event, fieldNum); + const SQArray* const fieldArray = _array(obj); + + for (SQInteger j = 0; j < fieldArray->Size(); j++) + { + const SQObject& fieldObj = fieldArray->_values[j]; + + if (sq_isnull(fieldObj)) + continue; + + LIVEAPI_ENSURE_TYPE(v, fieldObj, OT_TABLE, event, fieldNum); + rtech::liveapi::Player* const player = event->add_players(); + + if (!LiveAPI_SetPlayerIdentityFields(v, _table(fieldObj), player)) + return false; // failure + } + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +template +static bool LiveAPI_HandleLinkedEntityEvent(HSQUIRRELVM const v, const SQObject& obj, T const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case event->kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case event->kLinkedEntityFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_linkedentity(_string(obj)->_val); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleWeaponSwitchedEvent(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::WeaponSwitched* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::WeaponSwitched::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::WeaponSwitched::kOldWeaponFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_oldweapon(_string(obj)->_val); + + break; + } + case rtech::liveapi::WeaponSwitched::kNewWeaponFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_newweapon(_string(obj)->_val); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleBlackMarketActionEvent(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::BlackMarketAction* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::BlackMarketAction::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::BlackMarketAction::kItemFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_item(_string(obj)->_val); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandlePlayerUpgradeTierChanged(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::PlayerUpgradeTierChanged* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::PlayerUpgradeTierChanged::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::PlayerUpgradeTierChanged::kLevelFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_level(_integer(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandleLegendUpgradeSelected(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::LegendUpgradeSelected* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::LegendUpgradeSelected::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::LegendUpgradeSelected::kUpgradeNameFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_upgradename(_string(obj)->_val); + + break; + } + case rtech::liveapi::LegendUpgradeSelected::kUpgradeDescFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_upgradedesc(_string(obj)->_val); + + break; + } + case rtech::liveapi::LegendUpgradeSelected::kLevelFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_level(_integer(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandlePlayerRespawnTeam(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::PlayerRespawnTeam* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::PlayerRespawnTeam::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::PlayerRespawnTeam::kRespawnedFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_ARRAY, event, fieldNum); + const SQArray* const fieldArray = _array(obj); + + for (SQInteger j = 0; j < fieldArray->Size(); j++) + { + const SQObject& fieldObj = fieldArray->_values[j]; + + if (sq_isnull(fieldObj)) + continue; + + LIVEAPI_ENSURE_TYPE(v, fieldObj, OT_TABLE, event, fieldNum); + rtech::liveapi::Player* const player = event->add_respawned(); + + if (!LiveAPI_SetPlayerIdentityFields(v, _table(fieldObj), player)) + return false; // failure + } + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +static bool LiveAPI_HandlePlayerStatChanged(HSQUIRRELVM const v, const SQObject& obj, rtech::liveapi::PlayerStatChanged* const event, + const eLiveAPI_EventTypes eventType, const SQInteger fieldNum) +{ + LiveAPI_SetCommonMessageFields(event, eventType); + + switch (fieldNum) + { + case rtech::liveapi::PlayerStatChanged::kPlayerFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_TABLE, event, fieldNum); + if (!LiveAPI_SetPlayerIdentityFields(v, _table(obj), event->mutable_player())) + return false; + + break; + } + case rtech::liveapi::PlayerStatChanged::kStatNameFieldNumber: + { + LIVEAPI_ENSURE_TYPE(v, obj, OT_STRING, event, fieldNum); + event->set_statname(_string(obj)->_val); + + break; + } + case rtech::liveapi::PlayerStatChanged::kIntValueFieldNumber: + { + if (event->newValue_case() != rtech::liveapi::PlayerStatChanged::NEWVALUE_NOT_SET) + LIVEAPI_ONEOF_FIELD_ERROR(v, fieldNum, event); + + LIVEAPI_ENSURE_TYPE(v, obj, OT_INTEGER, event, fieldNum); + event->set_intvalue(_integer(obj)); + + break; + } + case rtech::liveapi::PlayerStatChanged::kFloatValueFieldNumber: + { + if (event->newValue_case() != rtech::liveapi::PlayerStatChanged::NEWVALUE_NOT_SET) + LIVEAPI_ONEOF_FIELD_ERROR(v, fieldNum, event); + + LIVEAPI_ENSURE_TYPE(v, obj, OT_FLOAT, event, fieldNum); + event->set_floatvalue(_float(obj)); + + break; + } + case rtech::liveapi::PlayerStatChanged::kBoolValueFieldNumber: + { + if (event->newValue_case() != rtech::liveapi::PlayerStatChanged::NEWVALUE_NOT_SET) + LIVEAPI_ONEOF_FIELD_ERROR(v, fieldNum, event); + + LIVEAPI_ENSURE_TYPE(v, obj, OT_BOOL, event, fieldNum); + event->set_boolvalue(_bool(obj)); + + break; + } + default: + LIVEAPI_FIELD_ERROR(v, fieldNum, event); + } + + return true; +} + +/* + ███████╗██╗ ██╗███████╗███╗ ██╗████████╗ ██████╗ ██╗███████╗██████╗ █████╗ ████████╗ ██████╗██╗ ██╗███████╗██████╗ + ██╔════╝██║ ██║██╔════╝████╗ ██║╚══██╔══╝ ██╔══██╗██║██╔════╝██╔══██╗██╔══██╗╚══██╔══╝██╔════╝██║ ██║██╔════╝██╔══██╗ + █████╗ ██║ ██║█████╗ ██╔██╗ ██║ ██║ ██║ ██║██║███████╗██████╔╝███████║ ██║ ██║ ███████║█████╗ ██████╔╝ + ██╔══╝ ╚██╗ ██╔╝██╔══╝ ██║╚██╗██║ ██║ ██║ ██║██║╚════██║██╔═══╝ ██╔══██║ ██║ ██║ ██╔══██║██╔══╝ ██╔══██╗ + ███████╗ ╚████╔╝ ███████╗██║ ╚████║ ██║ ██████╔╝██║███████║██║ ██║ ██║ ██║ ╚██████╗██║ ██║███████╗██║ ██║ + ╚══════╝ ╚═══╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ +*/ + +static void LiveAPI_SendEvent(const google::protobuf::Message* const msg) +{ + s_liveAPIEvent.set_event_size(msg->ByteSize()); + s_liveAPIEvent.mutable_gamemessage()->PackFrom(*msg); + + const string data = s_liveAPIEvent.SerializeAsString(); + LiveAPISystem()->LogEvent(data.c_str(), (int)data.size()); + + std::string jsonStr; + + google::protobuf::util::JsonPrintOptions options; + options.add_whitespace = true; + options.always_print_primitive_fields = true; + + google::protobuf::util::MessageToJsonString(s_liveAPIEvent, &jsonStr, options); + + Msg(eDLL_T::ENGINE, "%s\n", jsonStr.c_str()); + + s_liveAPIEvent.Clear(); +} + +static bool LiveAPI_HandleEventByCategory(HSQUIRRELVM const v, const SQTable* const table, const eLiveAPI_EventTypes eventType) +{ + google::protobuf::Message* msg = nullptr; + + SQ_FOR_EACH_TABLE(table, i) + { + const SQTable::_HashNode& node = table->_nodes[i]; + + if (sq_isnull(node.key)) + continue; + + if (!LiveAPI_CheckSwitchType(v, node.key)) + return false; + + const SQInteger fieldNum = _integer(node.key); + const SQObjectPtr& obj = node.val; + + bool ret = false; + + switch (eventType) + { + case eLiveAPI_EventTypes::init: + msg = &s_init; + ret = LiveAPI_HandleInitEvent(&s_init, eventType); + break; + case eLiveAPI_EventTypes::matchSetup: + msg = &s_matchSetup; + ret = LiveAPI_HandleMatchSetup(v, obj, &s_matchSetup, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::ammoUsed: + msg = &s_ammoUsed; + ret = LiveAPI_HandleAmmoUsed(v, obj, &s_ammoUsed, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::arenasItemDeselected: + msg = &s_arenasItemDeselected; + ret = LiveAPI_HandleInventoryChange(v, obj, &s_arenasItemDeselected, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::arenasItemSelected: + msg = &s_arenasItemSelected; + ret = LiveAPI_HandleInventoryChange(v, obj, &s_arenasItemSelected, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::bannerCollected: + msg = &s_bannerCollected; + ret = LiveAPI_HandleBannerCollected(v, obj, &s_bannerCollected, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::inventoryPickUp: + msg = &s_inventoryPickUp; + ret = LiveAPI_HandleInventoryChange(v, obj, &s_inventoryPickUp, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::inventoryDrop: + msg = &s_inventoryDrop; + ret = LiveAPI_HandleInventoryDrop(v, obj, &s_inventoryDrop, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::inventoryUse: + msg = &s_inventoryUse; + ret = LiveAPI_HandleInventoryChange(v, obj, &s_inventoryUse, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::gameStateChanged: + msg = &s_gameStateChanged; + ret = LiveAPI_HandleGameStateChanged(v, obj, &s_gameStateChanged, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::matchStateEnd: + msg = &s_matchStateEnd; + ret = LiveAPI_HandleMatchStateEnd(v, obj, &s_matchStateEnd, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::characterSelected: + msg = &s_characterSelected; + ret = LiveAPI_HandleSimplePlayerMessage(v, obj, &s_characterSelected, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::warpGateUsed: + msg = &s_warpGateUsed; + ret = LiveAPI_HandleSimplePlayerMessage(v, obj, &s_warpGateUsed, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::wraithPortal: + msg = &s_wraithPortal; + ret = LiveAPI_HandleSimplePlayerMessage(v, obj, &s_wraithPortal, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerConnected: + msg = &s_playerConnected; + ret = LiveAPI_HandleSimplePlayerMessage(v, obj, &s_playerConnected, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerRevive: + msg = &s_playerRevive; + ret = LiveAPI_HandlePlayerRevive(v, obj, &s_playerRevive, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerDisconnected: + msg = &s_playerDisconnected; + ret = LiveAPI_HandlePlayerDisconnected(v, obj, &s_playerDisconnected, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerDamaged: + msg = &s_playerDamaged; + ret = LiveAPI_HandlePlayerDamaged(v, obj, &s_playerDamaged, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerKilled: + msg = &s_playerKilled; + ret = LiveAPI_HandlePlayerInjuredActionCommon(v, obj, &s_playerKilled, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerDowned: + msg = &s_playerDowned; + ret = LiveAPI_HandlePlayerInjuredActionCommon(v, obj, &s_playerDowned, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerAssist: + msg = &s_playerAssist; + ret = LiveAPI_HandlePlayerAssist(v, obj, &s_playerAssist, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerRespawnTeam: + msg = &s_playerRespawnTeam; + ret = LiveAPI_HandlePlayerRespawnTeam(v, obj, &s_playerRespawnTeam, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerStatChanged: + msg = &s_playerStatChanged; + ret = LiveAPI_HandlePlayerStatChanged(v, obj, &s_playerStatChanged, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerUpgradeTierChanged: + msg = &s_playerUpgradeTierChanged; + ret = LiveAPI_HandlePlayerUpgradeTierChanged(v, obj, &s_playerUpgradeTierChanged, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::legendUpgradeSelected: + msg = &s_legendUpgradeSelected; + ret = LiveAPI_HandleLegendUpgradeSelected(v, obj, &s_legendUpgradeSelected, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::gibraltarShieldAbsorbed: + msg = &s_gibraltarShieldAbsorbed; + ret = LiveAPI_HandleAbilityDamaged(v, obj, &s_gibraltarShieldAbsorbed, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::revenantForgedShadowDamaged: + msg = &s_revenantForgedShadowDamaged; + ret = LiveAPI_HandleAbilityDamaged(v, obj, &s_revenantForgedShadowDamaged, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::ringStartClosing: + msg = &s_ringStartClosing; + ret = LiveAPI_HandleDeathFieldStartClosing(v, obj, &s_ringStartClosing, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::ringFinishedClosing: + msg = &s_ringFinishedClosing; + ret = LiveAPI_HandleRingFinishedClosing(v, obj, &s_ringFinishedClosing, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::squadEliminated: + msg = &s_squadEliminated; + ret = LiveAPI_HandleSquadEliminated(v, obj, &s_squadEliminated, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::ziplineUsed: + msg = &s_ziplineUsed; + ret = LiveAPI_HandleLinkedEntityEvent(v, obj, &s_ziplineUsed, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::grenadeThrown: + msg = &s_grenadeThrown; + ret = LiveAPI_HandleLinkedEntityEvent(v, obj, &s_grenadeThrown, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::playerAbilityUsed: + msg = &s_playerAbilityUsed; + ret = LiveAPI_HandleLinkedEntityEvent(v, obj, &s_playerAbilityUsed, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::weaponSwitched: + msg = &s_weaponSwitched; + ret = LiveAPI_HandleWeaponSwitchedEvent(v, obj, &s_weaponSwitched, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::blackMarketAction: + msg = &s_blackMarketAction; + ret = LiveAPI_HandleBlackMarketActionEvent(v, obj, &s_blackMarketAction, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::observerSwitched: + msg = &s_observerSwitched; + ret = LiveAPI_HandleObserverSwitched(v, obj, &s_observerSwitched, eventType, fieldNum); + break; + case eLiveAPI_EventTypes::observerAnnotation: + msg = &s_observerAnnotation; + ret = LiveAPI_HandleObserverAnnotation(v, obj, &s_observerAnnotation, eventType, fieldNum); + break; + default: + v_SQVM_RaiseError(v, "Event type \"%d\" not found.", eventType); + return false; + } + + if (!ret) + { + Assert(msg); + + msg->Clear(); + return false; + } + } + + if (!msg) // Script bug, e.g. giving an empty table (either completely empty or filled with null) + { + v_SQVM_RaiseError(v, "Empty table on event type \"%d\".", eventType); + return false; + } + + LiveAPI_SendEvent(msg); + msg->Clear(); + + return true; +} + +/* + █████╗ ██████╗ ███████╗████████╗██████╗ █████╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗███████╗ + ██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝ + ███████║██████╔╝███████╗ ██║ ██████╔╝███████║██║ ██║ ██║██║ ██║██╔██╗ ██║███████╗ + ██╔══██║██╔══██╗╚════██║ ██║ ██╔══██╗██╔══██║██║ ██║ ██║██║ ██║██║╚██╗██║╚════██║ + ██║ ██║██████╔╝███████║ ██║ ██║ ██║██║ ██║╚██████╗ ██║ ██║╚██████╔╝██║ ╚████║███████║ + ╚═╝ ╚═╝╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝ + Code exposed to scripts +*/ + +namespace VScriptCode +{ + namespace Server + { + SQRESULT LiveAPI_IsValidToRun(HSQUIRRELVM v); + SQRESULT LiveAPI_LogRaw(HSQUIRRELVM v); + } +} + +SQRESULT VScriptCode::Server::LiveAPI_IsValidToRun(HSQUIRRELVM v) +{ + sq_pushbool(v, liveapi_enabled.GetBool()); + + SCRIPT_CHECK_INTERNAL_ERROR(v); + return SQ_OK; +} + +SQRESULT VScriptCode::Server::LiveAPI_LogRaw(HSQUIRRELVM v) +{ + if (!LiveAPISystem()->IsEnabled()) + return SQ_OK; + + SQRESULT result = SQ_OK; + SQObjectPtr& object = v->GetUp(-2); + + if (sq_istable(object)) + { + SQTable* const table = object._unVal.pTable; + const eLiveAPI_EventTypes eventType = eLiveAPI_EventTypes(sq_getinteger(v, 2)); + + if (!LiveAPI_HandleEventByCategory(v, table, eventType)) + result = SQ_ERROR; + } + else + { + v_SQVM_ScriptError("First argument must be a table."); + result = SQ_FAIL; + } + + SCRIPT_CHECK_INTERNAL_ERROR(v); + return result; +} + +void Script_RegisterLiveAPIFunctions(CSquirrelVM* const s) +{ + DEFINE_SERVER_SCRIPTFUNC_NAMED(s, LiveAPI_IsValidToRun, "Whether the LiveAPI system is enabled and able to run", "bool", ""); + DEFINE_SERVER_SCRIPTFUNC_NAMED(s, LiveAPI_LogRaw, "VM bridge to the LiveAPI logger from scripts", "void", "table< int, var > data, int eventType"); +} + +void Script_RegisterLiveAPIEnums(CSquirrelVM* const s) +{ + DEFINE_SCRIPTENUM_NAMED(s, "eLiveAPI_EventTypes", 0, + "ammoUsed", + "arenasItemDeselected", + "arenasItemSelected", + "bannerCollected", + "blackMarketAction", + //"changeCamera", + "characterSelected", + //"checkedState", + //"clientState", + //"customMatch_CreateLobby", + //"customMatch_GetLobbyPlayers", + //"customMatch_GetSettings", + //"customMatch_JoinLobby", + //"customMatch_KickPlayer", + //"customMatch_LeaveLobby", + //"customMatch_LobbyPlayer", + //"customMatch_LobbyPlayers", + //"customMatch_SendChat", + //"customMatch_SetMatchmaking", + //"customMatch_SetReady", + //"customMatch_SetSettings", + //"customMatch_SetTeam", + //"customMatch_SetTeamName", + "datacenter", + //"gameConVar", + "gameStateChanged", + "gibraltarShieldAbsorbed", + //"globalVars", + "grenadeThrown", + "init", + "inventoryDrop", + "inventoryItem", + "inventoryPickUp", + "inventoryUse", + "legendUpgradeSelected", + "liveAPIEvent", + "loadoutConfiguration", + "matchSetup", + "matchStateEnd", + "observerAnnotation", + "observerSwitched", + //"pauseToggle", + "player", + "playerAbilityUsed", + "playerAssist", + "playerConnected", + "playerDamaged", + "playerDisconnected", + "playerDowned", + "playerKilled", + "playerRespawnTeam", + "playerRevive", + "playerStatChanged", + "playerUpgradeTierChanged", + //"request", + //"requestStatus", + //"response", + "revenantForgedShadowDamaged", + "ringFinishedClosing", + "ringStartClosing", + //"runCommand", + //"scriptCall", + "squadEliminated", + //"stateCheck", + //"svcMsgOverflow", + //"svcMsgRemoteScript", + "vector3", + "version", + "warpGateUsed", + "weaponSwitched", + "wraithPortal", + "ziplineUsed" + ); +} diff --git a/src/game/server/liveapi/liveapi.h b/src/game/server/liveapi/liveapi.h new file mode 100644 index 00000000..df589e9f --- /dev/null +++ b/src/game/server/liveapi/liveapi.h @@ -0,0 +1,11 @@ +#ifndef SERVER_LIVEAPI_H +#define SERVER_LIVEAPI_H + +#define LIVEAPI_MAJOR_VERSION 0 +#define LIVEAPI_MINOR_VERSION 1 +#define LIVEAPI_REVISION "Rev: " MKSTRING(LIVEAPI_MAJOR_VERSION) "." MKSTRING(LIVEAPI_MINOR_VERSION) + +extern void Script_RegisterLiveAPIFunctions(CSquirrelVM* const s); +extern void Script_RegisterLiveAPIEnums(CSquirrelVM* const s); + +#endif // SERVER_LIVEAPI_H diff --git a/src/game/server/vscript_server.cpp b/src/game/server/vscript_server.cpp index 43ad588b..4984caf2 100644 --- a/src/game/server/vscript_server.cpp +++ b/src/game/server/vscript_server.cpp @@ -14,6 +14,7 @@ #include "vscript/vscript.h" #include "vscript/languages/squirrel_re/include/sqvm.h" +#include "liveapi/liveapi.h" #include "vscript_server.h" #include #include @@ -216,6 +217,13 @@ void Script_RegisterServerFunctions(CSquirrelVM* s) Script_RegisterCommonAbstractions(s); Script_RegisterCoreServerFunctions(s); Script_RegisterAdminPanelFunctions(s); + + Script_RegisterLiveAPIFunctions(s); +} + +void Script_RegisterServerEnums(CSquirrelVM* const s) +{ + Script_RegisterLiveAPIEnums(s); } //--------------------------------------------------------------------------------- diff --git a/src/game/server/vscript_server.h b/src/game/server/vscript_server.h index fc22dc32..d75cd394 100644 --- a/src/game/server/vscript_server.h +++ b/src/game/server/vscript_server.h @@ -1,5 +1,6 @@ #ifndef VSCRIPT_SERVER_H #define VSCRIPT_SERVER_H +#include "vscript/languages/squirrel_re/vsquirrel.h" namespace VScriptCode { @@ -26,6 +27,8 @@ void Script_RegisterServerFunctions(CSquirrelVM* s); void Script_RegisterCoreServerFunctions(CSquirrelVM* s); void Script_RegisterAdminPanelFunctions(CSquirrelVM* s); +void Script_RegisterServerEnums(CSquirrelVM* const s); + #define DEFINE_SERVER_SCRIPTFUNC_NAMED(s, functionName, helpString, \ returnType, parameters) \ s->RegisterFunction(#functionName, MKSTRING(Script_##functionName), \ diff --git a/src/resource/protobuf/events.proto b/src/resource/protobuf/events.proto new file mode 100644 index 00000000..b5f7e243 --- /dev/null +++ b/src/resource/protobuf/events.proto @@ -0,0 +1,780 @@ +////////////////////////////////////////////////////////////////////// +// Apex Legends Live API +// Copyright 2023 Respawn Entertainment +// +// Contains all messages used by LiveAPI with annotations as comments +// See readme.txt for more information on how to consume this file +////////////////////////////////////////////////////////////////////// + +syntax = "proto3"; + +package rtech.liveapi; + + +////////////////////////////////////////////////////////////////////// +// Intermediary messages: +// Not used directly, but as part of other messages +////////////////////////////////////////////////////////////////////// + +message Vector3 +{ + float x = 1; + float y = 2; + float z = 3; +} + +message Player +{ + string name = 1; + uint32 teamId = 2; + Vector3 pos = 3; + Vector3 angles = 4; + + uint32 currentHealth = 5; + uint32 maxHealth = 6; + uint32 shieldHealth = 7; + uint32 shieldMaxHealth = 8; + + string nucleusHash = 9; + string hardwareName = 10; + + string teamName = 11; + uint32 squadIndex = 12; + string character = 13; + string skin = 14; +} + +message CustomMatch_LobbyPlayer +{ + string name = 1; + uint32 teamId = 2; + + string nucleusHash = 3; + string hardwareName = 4; +} + +message Datacenter +{ + uint64 timestamp = 1; + string category = 2; + + string name = 3; +} + +message Version +{ + uint32 major_num = 1; + uint32 minor_num = 2; + uint32 build_stamp = 3; + string revision = 4; +} + +message InventoryItem +{ + int32 quantity = 1; + string item = 2; + + // any mods or additional info on the item + string extraData = 3; +} + +message LoadoutConfiguration +{ + repeated InventoryItem weapons = 1; + repeated InventoryItem equipment = 2; +} + +////////////////////////////////////////////////////////////////////// +// Output messages: +// Game events that describe the ongoing state of the match +// Every message will have a timestamp and category +////////////////////////////////////////////////////////////////////// + +// Traffic initialization +// This message is sent upon successfully connecting over WebSockets +message Init +{ + uint64 timestamp = 1; + string category = 2; + + string gameVersion = 3; + Version apiVersion = 4; + string platform = 5; + + // Named specified by `liveapi_session_name` + string name = 6; +} + +// Response to the CustomMatch_GetLobbyPlayers +// Contains the list of all players in the lobby +message CustomMatch_LobbyPlayers +{ + string playerToken = 1; + repeated CustomMatch_LobbyPlayer players = 2; +} + +///////////////////////////////////////// +// Observer Events +///////////////////////////////////////// + +// Event when the observer camera switches from viewing one player to another +message ObserverSwitched +{ + uint64 timestamp = 1; + string category = 2; + + Player observer = 3; + Player target = 4; + repeated Player targetTeam = 5; +} + +// Used by observers to annotate events uniquely +message ObserverAnnotation +{ + uint64 timestamp = 1; + string category = 2; + + int32 annotationSerial = 3; +} + + +///////////////////////////////////////// +// Match Information +///////////////////////////////////////// + +// Sent during the first phase of a match. This event gives a full description of what match is being played +message MatchSetup +{ + uint64 timestamp = 1; + string category = 2; + + string map = 3; + string playlistName = 4; + string playlistDesc = 5; + Datacenter datacenter = 6; + bool aimAssistOn = 7; + bool anonymousMode = 8; + string serverId = 9; + + LoadoutConfiguration startingLoadout = 10; +} + +// Sent whenever the match changes phases (e.g. prematch, playing) +message GameStateChanged +{ + uint64 timestamp = 1; + string category = 2; + + string state = 3; +} + +// Occurs when any player has locked in a character during legend select +message CharacterSelected +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; +} + +// Event to summarize the match after it has ended +message MatchStateEnd +{ + uint64 timestamp = 1; + string category = 2; + + string state = 3; + repeated Player winners = 4; +} + +// Fired whenever the ring begins moving in a match +message RingStartClosing +{ + uint64 timestamp = 1; + string category = 2; + + uint32 stage = 3; + Vector3 center = 4; + float currentRadius = 5; + float endRadius = 6; + float shrinkDuration= 7; +} + +// Used when the ring has finished moving and prior to it moving again +message RingFinishedClosing +{ + uint64 timestamp = 1; + string category = 2; + + uint32 stage = 3; + Vector3 center = 4; + float currentRadius = 5; + float shrinkDuration= 7; +} + +// Used when a player has connected to the match +message PlayerConnected +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; +} + +// Used when a player has disconnected, even temporarily +// `canReconnect` will indicate if the player is able to reconnect or has forfeited +message PlayerDisconnected +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + bool canReconnect = 4; + bool isAlive = 5; +} + +// Generic event for a change in the player stats +// Common stat names that can come with this event include "knockdowns", "revivesGiven", "kills" +message PlayerStatChanged +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string statName = 4; + + oneof newValue // R5R: formerly of type `uint32` + { + uint32 intValue = 5; + float floatValue= 6; + bool boolValue = 7; + } +} + +// Event used to notify when a player goes above their current tier level +// Tier levels start at 1. Following this event, players may have Upgrades to their legend +// Selection of upgrades will produce a separate `LegendUpgradeSelected` event +message PlayerUpgradeTierChanged +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + int32 level = 4; +} + +///////////////////////////////////////// +// Combat events +///////////////////////////////////////// + +// Event describing a player taking damage +// Details include the attacker, victim, the weapon used and the amount of damage +message PlayerDamaged +{ + uint64 timestamp = 1; + string category = 2; + + Player attacker = 3; + Player victim = 4; + string weapon = 5; + uint32 damageInflicted = 6; +} + +// Sent when a player is killed. Details are similar to PlayerDamaged event +// The `awardedTo` field has been deprecated for simplicity. +// Listen for the `PlayerStatChanged` message to determine which player the kill was awarded to. +message PlayerKilled +{ + uint64 timestamp = 1; + string category = 2; + + Player attacker = 3; + Player victim = 4; + reserved 5; // formerly `Player awardedTo` + string weapon = 6; +} + +// Event describing a player that has been downed after taking sufficient damage +// Similar to PlayerDamaged, but may not be sent in certain game modes (e.g. Control) +message PlayerDowned +{ + uint64 timestamp = 1; + string category = 2; + + Player attacker = 3; + Player victim = 4; + string weapon = 5; +} + +// Sent when a player is killed if there is an assist awarded +// This event may come in rapid succession to the PlayerKilled event with a corresponding `victim` field +message PlayerAssist +{ + uint64 timestamp = 1; + string category = 2; + + Player assistant = 3; + Player victim = 4; + string weapon = 5; +} + +// Occurs when the entire squad in a game has been eliminated +// The event contains all player in said squad. May not occur in certain game modes +message SquadEliminated +{ + uint64 timestamp = 1; + string category = 2; + + repeated Player players = 3; +} + +// Occurs when Gibraltars shield has taken any enemy damage +// The field `damageInflicted` will indicate how much was absorbed by the shield +message GibraltarShieldAbsorbed +{ + uint64 timestamp = 1; + string category = 2; + + Player attacker = 3; + Player victim = 4; + uint32 damageInflicted = 6; +} + +// Occurs when Revenant, while using his Forged Shadows ultimate, takes any enemy damage +// This event is distinct from `PlayerDamaged` since the player may receive no actual damage if the shadow is able to absorb it +// The field `damageInflicted` will indicate how much damage (in total) was dealt +// If there is any leftover damage that goes affects the player, that amount will be what is registered in a different `PlayerDamaged` event +message RevenantForgedShadowDamaged +{ + uint64 timestamp = 1; + string category = 2; + + Player attacker = 3; + Player victim = 4; + uint32 damageInflicted = 6; +} + +///////////////////////////////////////// +// Interaction events +///////////////////////////////////////// + +// Sent when a player is respawned and comes back into game +// For example, when using a respawn beacon +message PlayerRespawnTeam +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + repeated Player respawned = 4; // R5R: formerly of type `string` +} + +// Occurs when a player finishes assisting a downed player +// May not be sent in certain game modes (e.g. Control) +message PlayerRevive +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + Player revived = 4; +} + +// Specific Arenas-only event that occurs when players select an item +message ArenasItemSelected +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string item = 4; + int32 quantity = 5; +} + +// Specific Arenas-only event that occurs when players deselect an item +message ArenasItemDeselected +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string item = 4; + int32 quantity = 5; +} + +// Event that occurs when a player has picked up loot into their inventory +message InventoryPickUp +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string item = 4; + int32 quantity = 5; +} + +// Event that occurs when a player has dropped loot from their inventory +// The item itself may have attachments that will be described in the `extraData` field +message InventoryDrop +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string item = 4; + int32 quantity = 5; + repeated string extraData = 6; +} + +// Used to indicate the player has used a consumable item (e.g. syringe, shield cell) from their inventory +message InventoryUse +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string item = 4; + int32 quantity = 5; +} + +// Event used when a teammate banner has been picked up +message BannerCollected +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + Player collected = 4; +} + +// Used to indicate that the player has activated one of their legend's abilities +// The ability can be a Tactical or an Ultimate and is decribed in the `linkedEntity` field +// For example: `linkedEntity: "Tactical (Eye of the Allfather)"` for Bloodhound's tactical +message PlayerAbilityUsed +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string linkedEntity = 4; +} + +// Signals that a player has selected an upgrade at a particular tier level +// Updates to their tier level will be sent as a PlayerUpgradeTierChanged event +message LegendUpgradeSelected +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string upgradeName = 4; + string upgradeDesc = 5; + int32 level = 6; +} + +// Indicates that a player has started using the zipline +message ZiplineUsed +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string linkedEntity = 4; +} + +// Used to indicate that a player has tossed a grenade +// The `linkedEntity` will describe the grenade in further detail and it may be a legend's Ability +// For example: `linkedEntity: "Ultimate (Rolling Thunder)"` for Bangalore's Ultimate ability +message GrenadeThrown +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string linkedEntity = 4; +} + +// Event specifying that a player has picked up loot from Loba's Black Market +// This event may fire in quick succession to the InventoryPickUp event +message BlackMarketAction +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string item = 4; +} + +// Used to indicate a player has traversed a Wraith Portal +message WraithPortal +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; +} + +// Used to indicate a player has traversed a Warp Gate +message WarpGateUsed +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; +} + +// Used to indicate that a player has used ammo +// This event may not fire immediately and updates may be batched to save bandwidth +message AmmoUsed +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string ammoType = 4; + uint32 amountUsed = 5; + uint32 oldAmmoCount = 6; + uint32 newAmmoCount = 7; +} + +// Used to indicate that a player has switched weapons, either to a weapon in their inventory or swapped with a weapon on the ground +message WeaponSwitched +{ + uint64 timestamp = 1; + string category = 2; + + Player player = 3; + string oldWeapon = 4; + string newWeapon = 5; +} + +///////////////////////////////////////// +// Custom events +///////////////////////////////////////// + +// Event defining custom user data that is otherwise too specific to create dedicated messages for +message CustomEvent +{ + uint64 timestamp = 1; + string category = 2; + + repeated google.protobuf.Any customData = 3; +} + + +////////////////////////////////////////////////////////////////////// +// Input messages: +// Used by observers to programmatically interact with the game +////////////////////////////////////////////////////////////////////// + + +// Enum used to quickly described the target of a ChangeCamera operation +enum PlayerOfInterest +{ + UNSPECIFIED = 0; + + // cycle through known Players in a team + NEXT = 1; + PREVIOUS = 2; + + // Go to an interesting player + KILL_LEADER = 3; + CLOSEST_ENEMY = 4; + CLOSEST_PLAYER = 5; + LATEST_ATTACKER = 6; +} + +// Request to change the observer camera +// If changing by a target's name, be aware that the +// - server may skip the request if the player is not actively in the game (i.e. waiting for reconnect, downed or killed) +// - If the string is longer than 256 characters, the request will fail +message ChangeCamera +{ + oneof target + { + // Set the camera to an interesting player (e.g. the Kill Leader) + PlayerOfInterest poi = 1; + + // Change camera to a player by name + string name = 2; + } +} + +// Request message to toggle pause in a match type that supports it +message PauseToggle +{ + float preTimer = 1; +} + +// Request to create a custom match lobby +message CustomMatch_CreateLobby +{ +} + +// Request to join an existing custom match lobby identified by the `roleToken` +message CustomMatch_JoinLobby +{ + string roleToken = 1; +} + +// Request to leave a custom match lobby +message CustomMatch_LeaveLobby +{ +} + +// Request to programatically change your player's ready state in a custom match lobby +message CustomMatch_SetReady +{ + bool isReady = 1; +} + +// Request to retrieve all connected players in a custom match lobby +message CustomMatch_GetLobbyPlayers +{ +} + +// Request to change the state of matchmaking in a custom match lobby +// When enabled is True, the lobby will attempt to being a match +message CustomMatch_SetMatchmaking +{ + bool enabled = 1; +} + +// Request to assign a particular player to a specific team +// Note that the `targetHardwareName` and `targetNucleusHash` can be obtained from a prior request to CustomMatch_GetLobbyPlayers +// If the parameters do not match any lobby player, the request is ignored +// The `teamId` is across the entire lobby. Meaning, observers have a teamId of 0 and match players will be teamId of 1 and upwards +message CustomMatch_SetTeam +{ + int32 teamId = 1; + string targetHardwareName = 2; + string targetNucleusHash = 3; +} + +// Request to remove a player from the currently connected custom match lobby +message CustomMatch_KickPlayer +{ + string targetHardwareName = 1; + string targetNucleusHash = 2; +} + +// Request to alter the settings of a custom match lobby +// Your request should specify all fields being set with the new value +// For convinience, call `CustomMatch_GetSettings` to get the full state of settings +message CustomMatch_SetSettings +{ + string playlistName = 1; + bool adminChat = 2; + bool teamRename = 3; + bool selfAssign = 4; + bool aimAssist = 5; + bool anonMode = 6; +} + +// Review all the current settings. This request will be replied to with +// `CustomMatch_SetSettings` from which you can modify and reply with any new values for your convenience +message CustomMatch_GetSettings +{ +} + +// Request to set the name of a team in custom match lobby +// Requires special access and is subject to text filtering +message CustomMatch_SetTeamName +{ + int32 teamId = 1; + string teamName = 2; +} + +// Request to programatically send a chat message to the entire custom match lobby +message CustomMatch_SendChat +{ + string text = 1; +} + +// Envelope message for any Live API request +// This allows a single uniform data structure for requests to be made and for the game to receive them +// Specifically, there is only one possible action per request. You can request an acknowledgement of your request by setting `withAck` to true +// Acknowledgements will come in the form of a Response message. More information can be found with that event +// +// A single example to create a CustomMatch_JoinLobby request in python is as follows +// ``` +// req = Request() +// req.customMatch_JoinLobby.roleToken = "" +// req.withAck = True +// ``` +// For more information, consult the Protobuf documentation for your language of choice and look at details regarding the `oneof` field (https://protobuf.dev/programming-guides/proto3/#oneof) +message Request +{ + // Receive an acknowledgement of the request having been received + bool withAck = 1; + + // Preshared key to use with the request. Only necessary if the connecting game has a preshared key specified through `cl_liveapi_requests_psk` + string preSharedKey = 2; + + oneof actions + { + ChangeCamera changeCam = 4; + PauseToggle pauseToggle = 5; + + // Custom Match specific requests (reserved 10 -> 30) + CustomMatch_CreateLobby customMatch_CreateLobby = 10; + CustomMatch_JoinLobby customMatch_JoinLobby = 11; + CustomMatch_LeaveLobby customMatch_LeaveLobby = 12; + CustomMatch_SetReady customMatch_SetReady = 13; + CustomMatch_SetMatchmaking customMatch_SetMatchmaking = 14; + CustomMatch_SetTeam customMatch_SetTeam = 15; + CustomMatch_KickPlayer customMatch_KickPlayer = 16; + CustomMatch_SetSettings customMatch_SetSettings = 17; + CustomMatch_SendChat customMatch_SendChat = 18; + CustomMatch_GetLobbyPlayers customMatch_GetLobbyPlayers = 19; + CustomMatch_SetTeamName customMatch_SetTeamName = 20; + CustomMatch_GetSettings customMatch_GetSettings = 21; + + } +} + +////////////////////////////////////////////////////////////////////// +// Reply messages: +// Used by the game to send data to any connected clients +////////////////////////////////////////////////////////////////////// + +import "google/protobuf/any.proto"; + +// Message used to indicate the status of a request +// Generally, it is used to provide a plain text, detailed response in case of failures or problems +message RequestStatus +{ + string status = 1; +} + +// Message used to indicate the response to a request made to the API +// Only the requesting part will receive this message and this message is only sent if the request required an acknowledgement by setting `withAck` to true in the Request object +// This message is always sent within a LiveAPIEvent and never on its own to allow any applications to have a uniform method of reading events over the wire +// If `success` is true, it does not mean that the Request has finished or that it was completed correctly. In this case, it means that it was successfully received and contains no issues (it is a well-formed request) +// The `result` field may sometimes be populated to give more context around the request, especially in the case of error +// Refer to the LiveAPIEvent message on how to the the Any field +message Response +{ + bool success = 1; + google.protobuf.Any result = 2; +} + +// Envelope for all LiveAPI Events +// Any game events or responses to requests will be sent using this message. The specific event or message is stored in the `gameMessage` field +// Before proceeding, familiarize yourself with the proto3 `Any` field type at: https://protobuf.dev/programming-guides/proto3/#any +// In order to read the message successfully, check the type contained in `gameMessage` and create an instance of that type where you can unpack the data to +// Protobuf has several ways of doing type to instance lookups that will allow you to do this after you've generated bindings +// For example, to read and unpack any LiveAPIEvent in Python, the following can be done (assume `pb_msg` contains the LiveAPIEvent object) +// ``` +// from events_pb2 import * +// from google.protobuf import symbol_database +// [ ... ] +// result_type = pb_msg.gameMessage.TypeName() +// msg_result = symbol_database.Default().GetSymbol(result_type)() +// pb_msg.gameMessage.Unpack(msg_result) # msg_result now holds the actual event you want to read +// ``` +message LiveAPIEvent +{ + fixed32 event_size = 1; + google.protobuf.Any gameMessage = 3; +} diff --git a/src/resource/protobuf/generate.bat b/src/resource/protobuf/generate.bat index 21d31785..e179f451 100644 --- a/src/resource/protobuf/generate.bat +++ b/src/resource/protobuf/generate.bat @@ -1,3 +1,4 @@ protoc64 --cpp_out=. sig_map.proto protoc64 --cpp_out=. sv_rcon.proto protoc64 --cpp_out=. cl_rcon.proto +protoc64 --cpp_out=. events.proto